Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/sjasm.spec'], chrootPath='/var/lib/mock/f41-build-832035-157196/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': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/sjasm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721433600 Wrote: /builddir/build/SRPMS/sjasm-0.42c-5.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sjasm.spec'], chrootPath='/var/lib/mock/f41-build-832035-157196/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': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sjasm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721433600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.wvxO6M + umask 022 + cd /builddir/build/BUILD/sjasm-0.42c-build + test -d /builddir/build/BUILD/sjasm-0.42c-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/sjasm-0.42c-build + /usr/bin/rm -rf /builddir/build/BUILD/sjasm-0.42c-build + /usr/bin/mkdir -p /builddir/build/BUILD/sjasm-0.42c-build + /usr/bin/mkdir -p /builddir/build/BUILD/sjasm-0.42c-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QC4wbK + umask 022 + cd /builddir/build/BUILD/sjasm-0.42c-build + cd /builddir/build/BUILD/sjasm-0.42c-build + rm -rf sjasm-0.42c + /usr/bin/mkdir -p sjasm-0.42c + cd sjasm-0.42c + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/sjasm42c.zip + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (sjasm-0.42c-fixmakefile.patch):' Patch #0 (sjasm-0.42c-fixmakefile.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file sjasmsrc42c/Makefile + echo 'Patch #1 (sjasm-0.42c-skipblanks.patch):' Patch #1 (sjasm-0.42c-skipblanks.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file sjasmsrc42c/reader.cpp + echo 'Patch #2 (sjasm-0.42c-cxx11.patch):' Patch #2 (sjasm-0.42c-cxx11.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file sjasmsrc42c/Makefile + echo 'Patch #3 (sjasm-0.42c-cstring.patch):' Patch #3 (sjasm-0.42c-cstring.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file sjasmsrc42c/sjasm.h Patch #4 (sjasm-0.42c-signedness.patch): + echo 'Patch #4 (sjasm-0.42c-signedness.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file sjasmsrc42c/rawsource.cpp + sed -i 's/\r//' sjasm.txt + iconv -f iso8859-1 sjasm.txt -t utf8 + /bin/mv -f sjasm.txt.conv sjasm.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5EKd1i + umask 022 + cd /builddir/build/BUILD/sjasm-0.42c-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd sjasm-0.42c + make -C sjasmsrc42c -j4 'CXXFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DMAX_PATH=MAXPATHLEN' make: Entering directory '/builddir/build/BUILD/sjasm-0.42c-build/sjasm-0.42c/sjasmsrc42c' g++ -Wp,-MD,.deps/datadir.d -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DMAX_PATH=MAXPATHLEN -std=c++11 -Wno-write-strings -c -o datadir.o datadir.cpp g++ -Wp,-MD,.deps/datastructures.d -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DMAX_PATH=MAXPATHLEN -std=c++11 -Wno-write-strings -c -o datastructures.o datastructures.cpp g++ -Wp,-MD,.deps/directives.d -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DMAX_PATH=MAXPATHLEN -std=c++11 -Wno-write-strings -c -o directives.o directives.cpp g++ -Wp,-MD,.deps/errors.d -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DMAX_PATH=MAXPATHLEN -std=c++11 -Wno-write-strings -c -o errors.o errors.cpp In file included from sjasm.h:90, from errors.cpp:29: datastructures.h: In member function ‘int FunctionTable::exec(std::string, std::string&, TT*)’: datastructures.h:162:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 162 | while(htr=_hashtable[tr]) { | ~~~^~~~~~~~~~~~~~~ datastructures.h: In member function ‘int FunctionTable::_insert(std::string, T)’: datastructures.h:194:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 194 | while(htr=_hashtable[tr]) { | ~~~^~~~~~~~~~~~~~~ In file included from sjasm.h:90, from datadir.cpp:29: datastructures.h: In member function ‘int FunctionTable::exec(std::string, std::string&, TT*)’: datastructures.h:162:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 162 | while(htr=_hashtable[tr]) { | ~~~^~~~~~~~~~~~~~~ datastructures.h: In member function ‘int FunctionTable::_insert(std::string, T)’: datastructures.h:194:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 194 | while(htr=_hashtable[tr]) { | ~~~^~~~~~~~~~~~~~~ datastructures.h: In constructor ‘LabelTable::_labelEntry::_labelEntry()’: datastructures.h:235:9: warning: ‘LabelTable::_labelEntry::_lastpass’ will be initialized after [-Wreorder] 235 | int _lastpass; | ^~~~~~~~~ datastructures.h:234:11: warning: ‘Rout* LabelTable::_labelEntry::_rout’ [-Wreorder] 234 | Rout *_rout; | ^~~~~ datastructures.h:230:5: warning: when initialized here [-Wreorder] 230 | _labelEntry() : _val(0), _page(0), _set(false),_forward(false),_lastpass(0),_rout(0) { _name.clear(); } | ^~~~~~~~~~~ datastructures.h: In constructor ‘LabelTable::_labelEntry::_labelEntry()’: datastructures.h:235:9: warning: ‘LabelTable::_labelEntry::_lastpass’ will be initialized after [-Wreorder] 235 | int _lastpass; | ^~~~~~~~~ datastructures.h:234:11: warning: ‘Rout* LabelTable::_labelEntry::_rout’ [-Wreorder] 234 | Rout *_rout; | ^~~~~ datastructures.h:230:5: warning: when initialized here [-Wreorder] 230 | _labelEntry() : _val(0), _page(0), _set(false),_forward(false),_lastpass(0),_rout(0) { _name.clear(); } | ^~~~~~~~~~~ In file included from sjasm.h:90, from directives.cpp:29: datastructures.h: In member function ‘int FunctionTable::exec(std::string, std::string&, TT*)’: datastructures.h:162:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 162 | while(htr=_hashtable[tr]) { | ~~~^~~~~~~~~~~~~~~ datastructures.h: In member function ‘int FunctionTable::_insert(std::string, T)’: datastructures.h:194:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 194 | while(htr=_hashtable[tr]) { | ~~~^~~~~~~~~~~~~~~ In file included from sjasm.h:90, from datastructures.cpp:29: datastructures.h: In member function ‘int FunctionTable::exec(std::string, std::string&, TT*)’: datastructures.h:162:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 162 | while(htr=_hashtable[tr]) { | ~~~^~~~~~~~~~~~~~~ datastructures.h: In constructor ‘LabelTable::_labelEntry::_labelEntry()’: datastructures.h:235:9: warning: ‘LabelTable::_labelEntry::_lastpass’ will be initialized after [-Wreorder] 235 | int _lastpass; | ^~~~~~~~~ datastructures.h:234:11: warning: ‘Rout* LabelTable::_labelEntry::_rout’ [-Wreorder] 234 | Rout *_rout; | ^~~~~ datastructures.h:230:5: warning: when initialized here [-Wreorder] 230 | _labelEntry() : _val(0), _page(0), _set(false),_forward(false),_lastpass(0),_rout(0) { _name.clear(); } | ^~~~~~~~~~~ datastructures.h: In member function ‘int FunctionTable::_insert(std::string, T)’: datastructures.h:194:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 194 | while(htr=_hashtable[tr]) { | ~~~^~~~~~~~~~~~~~~ datastructures.h: In constructor ‘LabelTable::_labelEntry::_labelEntry()’: datastructures.h:235:9: warning: ‘LabelTable::_labelEntry::_lastpass’ will be initialized after [-Wreorder] 235 | int _lastpass; | ^~~~~~~~~ In file included from sjasm.h:109: reader.h: In constructor ‘Find::Find(char*)’: reader.h:70:70: warning: array subscript has type ‘char’ [-Wchar-subscripts] 70 | Find(char*s) { for (int i=0;i!=256;++i) _c[i]=false; while (*s) _c[*s++]=true; } | ^~~~ reader.h: In member function ‘int Find::find(std::string&)’: reader.h:71:70: warning: array subscript has type ‘char’ [-Wchar-subscripts] 71 | int find(string&s) { for (int i=0;i!=(int)s.size();++i) if (_c[s[i]]) return i; return (int)string::npos; } | ^ reader.h: In member function ‘int Find::findnot(std::string&)’: reader.h:72:74: warning: array subscript has type ‘char’ [-Wchar-subscripts] 72 | int findnot(string&s) { for (int i=0;i!=(int)s.size();++i) if (!_c[s[i]]) return i; return (int)string::npos; } | ^ datastructures.h:234:11: warning: ‘Rout* LabelTable::_labelEntry::_rout’ [-Wreorder] 234 | Rout *_rout; | ^~~~~ datastructures.h:230:5: warning: when initialized here [-Wreorder] 230 | _labelEntry() : _val(0), _page(0), _set(false),_forward(false),_lastpass(0),_rout(0) { _name.clear(); } | ^~~~~~~~~~~ In file included from sjasm.h:109: reader.h: In constructor ‘Find::Find(char*)’: reader.h:70:70: warning: array subscript has type ‘char’ [-Wchar-subscripts] 70 | Find(char*s) { for (int i=0;i!=256;++i) _c[i]=false; while (*s) _c[*s++]=true; } | ^~~~ reader.h: In member function ‘int Find::find(std::string&)’: reader.h:71:70: warning: array subscript has type ‘char’ [-Wchar-subscripts] 71 | int find(string&s) { for (int i=0;i!=(int)s.size();++i) if (_c[s[i]]) return i; return (int)string::npos; } | ^ reader.h: In member function ‘int Find::findnot(std::string&)’: reader.h:72:74: warning: array subscript has type ‘char’ [-Wchar-subscripts] 72 | int findnot(string&s) { for (int i=0;i!=(int)s.size();++i) if (!_c[s[i]]) return i; return (int)string::npos; } | ^ In file included from sjasm.h:112: source.h: In constructor ‘FieldLabel::FieldLabel(int, std::string)’: source.h:151:7: warning: ‘FieldLabel::_location’ will be initialized after [-Wreorder] 151 | int _location; | ^~~~~~~~~ source.h:150:10: warning: ‘std::string FieldLabel::_expr’ [-Wreorder] 150 | string _expr; | ^~~~~ source.h:146:3: warning: when initialized here [-Wreorder] 146 | FieldLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~~~ source.h: In constructor ‘EquLabel::EquLabel(int, std::string)’: source.h:162:7: warning: ‘EquLabel::_location’ will be initialized after [-Wreorder] 162 | int _location; | ^~~~~~~~~ source.h:161:10: warning: ‘std::string EquLabel::_expr’ [-Wreorder] 161 | string _expr; | ^~~~~ source.h:157:3: warning: when initialized here [-Wreorder] 157 | EquLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~ source.h: In constructor ‘SetLabel::SetLabel(int, std::string)’: source.h:173:7: warning: ‘SetLabel::_location’ will be initialized after [-Wreorder] 173 | int _location; | ^~~~~~~~~ source.h:172:10: warning: ‘std::string SetLabel::_expr’ [-Wreorder] 172 | string _expr; | ^~~~~ source.h:168:3: warning: when initialized here [-Wreorder] 168 | SetLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~ source.h: In constructor ‘dRout::dRout(int, Rout*, std::string)’: source.h:203:14: warning: ‘dRout::_rnr’ will be initialized after [-Wreorder] 203 | int _page, _rnr; | ^~~~ source.h:203:7: warning: ‘int dRout::_page’ [-Wreorder] 203 | int _page, _rnr; | ^~~~~ source.h:200:3: warning: when initialized here [-Wreorder] 200 | dRout(int n_rnr, Rout *n_rout, string n_line) : _rnr(n_rnr), _page(page), _rout(n_rout), _line(n_line) { _listtype=LISTINFO; } | ^~~~~ In file included from sjasm.h:112: source.h: In constructor ‘FieldLabel::FieldLabel(int, std::string)’: source.h:151:7: warning: ‘FieldLabel::_location’ will be initialized after [-Wreorder] 151 | int _location; | ^~~~~~~~~ source.h:150:10: warning: ‘std::string FieldLabel::_expr’ [-Wreorder] 150 | string _expr; | ^~~~~ source.h:146:3: warning: when initialized here [-Wreorder] 146 | FieldLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~~~ source.h: In constructor ‘EquLabel::EquLabel(int, std::string)’: source.h:162:7: warning: ‘EquLabel::_location’ will be initialized after [-Wreorder] 162 | int _location; | ^~~~~~~~~ source.h:161:10: warning: ‘std::string EquLabel::_expr’ [-Wreorder] 161 | string _expr; | ^~~~~ source.h:157:3: warning: when initialized here [-Wreorder] 157 | EquLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~ In file included from sjasm.h:109: reader.h: In constructor ‘Find::Find(char*)’: reader.h:70:70: warning: array subscript has type ‘char’ [-Wchar-subscripts] 70 | Find(char*s) { for (int i=0;i!=256;++i) _c[i]=false; while (*s) _c[*s++]=true; } | ^~~~ reader.h: In member function ‘int Find::find(std::string&)’: reader.h:71:70: warning: array subscript has type ‘char’ [-Wchar-subscripts] 71 | int find(string&s) { for (int i=0;i!=(int)s.size();++i) if (_c[s[i]]) return i; return (int)string::npos; } | ^ reader.h: In member function ‘int Find::findnot(std::string&)’: reader.h:72:74: warning: array subscript has type ‘char’ [-Wchar-subscripts] 72 | int findnot(string&s) { for (int i=0;i!=(int)s.size();++i) if (!_c[s[i]]) return i; return (int)string::npos; } | ^ source.h: In constructor ‘SetLabel::SetLabel(int, std::string)’: source.h:173:7: warning: ‘SetLabel::_location’ will be initialized after [-Wreorder] 173 | int _location; | ^~~~~~~~~ source.h:172:10: warning: ‘std::string SetLabel::_expr’ [-Wreorder] 172 | string _expr; | ^~~~~ source.h:168:3: warning: when initialized here [-Wreorder] 168 | SetLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~ source.h: In constructor ‘dRout::dRout(int, Rout*, std::string)’: source.h:203:14: warning: ‘dRout::_rnr’ will be initialized after [-Wreorder] 203 | int _page, _rnr; | ^~~~ source.h:203:7: warning: ‘int dRout::_page’ [-Wreorder] 203 | int _page, _rnr; | ^~~~~ source.h:200:3: warning: when initialized here [-Wreorder] 200 | dRout(int n_rnr, Rout *n_rout, string n_line) : _rnr(n_rnr), _page(page), _rout(n_rout), _line(n_line) { _listtype=LISTINFO; } | ^~~~~ source.h: In constructor ‘StructExp::StructExp(std::string, int, std::string)’: source.h:377:7: warning: ‘StructExp::_structure’ will be initialized after [-Wreorder] 377 | int _structure; | ^~~~~~~~~~ source.h:376:16: warning: ‘std::string StructExp::_label’ [-Wreorder] 376 | string _line,_label; | ^~~~~~ source.h:370:3: warning: when initialized here [-Wreorder] 370 | StructExp(string n_line, int n_structure, string n_label) | ^~~~~~~~~ In file included from sjasm.h:113: output.h: In constructor ‘Rout::Rout()’: output.h:63:32: warning: ‘Rout::_pooladres’ will be initialized after [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~~ output.h:63:15: warning: ‘int Rout::_page’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:65:29: warning: ‘Rout::_align’ will be initialized after [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~ output.h:64:16: warning: ‘bool Rout::_overlay’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:64:16: warning: ‘Rout::_overlay’ will be initialized after [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ output.h:63:22: warning: ‘int Rout::_lastused’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:68:14: warning: ‘Rout::_forgetmode’ will be initialized after [-Wreorder] 68 | FORGETMODE _forgetmode; | ^~~~~~~~~~~ output.h:64:8: warning: ‘bool Rout::_forget’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:71:7: warning: ‘Rout::_labelindex’ will be initialized after [-Wreorder] 71 | int _labelindex,_curlin,_listcurlin; | ^~~~~~~~~~~ output.h:64:26: warning: ‘bool Rout::_byteadr’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:72:10: warning: ‘Rout::_sourcefile’ will be initialized after [-Wreorder] 72 | string _sourcefile; | ^~~~~~~~~~~ output.h:65:18: warning: ‘int Rout::_maxadres’ [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:65:18: warning: ‘Rout::_maxadres’ will be initialized after [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~~~~ output.h:63:43: warning: ‘int Rout::_multipage’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ In file included from sjasm.h:112: source.h: In constructor ‘FieldLabel::FieldLabel(int, std::string)’: source.h:151:7: warning: ‘FieldLabel::_location’ will be initialized after [-Wreorder] 151 | int _location; | ^~~~~~~~~ source.h:150:10: warning: ‘std::string FieldLabel::_expr’ [-Wreorder] 150 | string _expr; | ^~~~~ source.h:146:3: warning: when initialized here [-Wreorder] 146 | FieldLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~~~ source.h: In constructor ‘StructExp::StructExp(std::string, int, std::string)’: source.h:377:7: warning: ‘StructExp::_structure’ will be initialized after [-Wreorder] 377 | int _structure; | ^~~~~~~~~~ output.h: In constructor ‘Part::Part(int, int, int, int, int, ALIGNMODE, Rout*, int)’: output.h:84:32: warning: ‘Part::_rnr’ will be initialized after [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~ output.h:84:7: warning: ‘int Part::_page’ [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ output.h:84:25: warning: ‘Part::_align’ will be initialized after [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~~~ output.h:83:13: warning: ‘ALIGNMODE Part::_alignmode’ [-Wreorder] 83 | ALIGNMODE _alignmode; | ^~~~~~~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ output.h:86:9: warning: ‘Part::_rout’ will be initialized after [-Wreorder] 86 | Rout *_rout; | ^~~~~ output.h:85:7: warning: ‘int Part::_multipage’ [-Wreorder] 85 | int _multipage,_offset; | ^~~~~~~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ source.h: In constructor ‘EquLabel::EquLabel(int, std::string)’: source.h:162:7: warning: ‘EquLabel::_location’ will be initialized after [-Wreorder] 162 | int _location; | ^~~~~~~~~ source.h:161:10: warning: ‘std::string EquLabel::_expr’ [-Wreorder] 161 | string _expr; | ^~~~~ source.h:157:3: warning: when initialized here [-Wreorder] 157 | EquLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~ source.h: In constructor ‘SetLabel::SetLabel(int, std::string)’: source.h:173:7: warning: ‘SetLabel::_location’ will be initialized after [-Wreorder] 173 | int _location; | ^~~~~~~~~ source.h:172:10: warning: ‘std::string SetLabel::_expr’ [-Wreorder] 172 | string _expr; | ^~~~~ source.h:168:3: warning: when initialized here [-Wreorder] 168 | SetLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~ source.h:376:16: warning: ‘std::string StructExp::_label’ [-Wreorder] 376 | string _line,_label; | ^~~~~~ source.h:370:3: warning: when initialized here [-Wreorder] 370 | StructExp(string n_line, int n_structure, string n_label) | ^~~~~~~~~ source.h: In constructor ‘dRout::dRout(int, Rout*, std::string)’: source.h:203:14: warning: ‘dRout::_rnr’ will be initialized after [-Wreorder] 203 | int _page, _rnr; | ^~~~ source.h:203:7: warning: ‘int dRout::_page’ [-Wreorder] 203 | int _page, _rnr; | ^~~~~ source.h:200:3: warning: when initialized here [-Wreorder] 200 | dRout(int n_rnr, Rout *n_rout, string n_line) : _rnr(n_rnr), _page(page), _rout(n_rout), _line(n_line) { _listtype=LISTINFO; } | ^~~~~ In file included from sjasm.h:113: output.h: In constructor ‘Rout::Rout()’: output.h:63:32: warning: ‘Rout::_pooladres’ will be initialized after [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~~ output.h:63:15: warning: ‘int Rout::_page’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:65:29: warning: ‘Rout::_align’ will be initialized after [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~ output.h:64:16: warning: ‘bool Rout::_overlay’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:64:16: warning: ‘Rout::_overlay’ will be initialized after [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ output.h:63:22: warning: ‘int Rout::_lastused’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:68:14: warning: ‘Rout::_forgetmode’ will be initialized after [-Wreorder] 68 | FORGETMODE _forgetmode; | ^~~~~~~~~~~ output.h:64:8: warning: ‘bool Rout::_forget’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:71:7: warning: ‘Rout::_labelindex’ will be initialized after [-Wreorder] 71 | int _labelindex,_curlin,_listcurlin; | ^~~~~~~~~~~ output.h:64:26: warning: ‘bool Rout::_byteadr’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:72:10: warning: ‘Rout::_sourcefile’ will be initialized after [-Wreorder] 72 | string _sourcefile; | ^~~~~~~~~~~ output.h:65:18: warning: ‘int Rout::_maxadres’ [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:65:18: warning: ‘Rout::_maxadres’ will be initialized after [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~~~~ output.h:63:43: warning: ‘int Rout::_multipage’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h: In constructor ‘Part::Part(int, int, int, int, int, ALIGNMODE, Rout*, int)’: output.h:84:32: warning: ‘Part::_rnr’ will be initialized after [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~ output.h:84:7: warning: ‘int Part::_page’ [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ output.h:84:25: warning: ‘Part::_align’ will be initialized after [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~~~ output.h:83:13: warning: ‘ALIGNMODE Part::_alignmode’ [-Wreorder] 83 | ALIGNMODE _alignmode; | ^~~~~~~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ output.h:86:9: warning: ‘Part::_rout’ will be initialized after [-Wreorder] 86 | Rout *_rout; | ^~~~~ output.h:85:7: warning: ‘int Part::_multipage’ [-Wreorder] 85 | int _multipage,_offset; | ^~~~~~~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ output.h: In constructor ‘Page::Page(int, int, int)’: output.h:120:41: warning: ‘Page::_usedsize’ will be initialized after [-Wreorder] 120 | int _pagenr, _org, _size, _highestad, _usedsize; | ^~~~~~~~~ output.h:120:29: warning: ‘int Page::_highestad’ [-Wreorder] 120 | int _pagenr, _org, _size, _highestad, _usedsize; | ^~~~~~~~~~ output.h:91:3: warning: when initialized here [-Wreorder] 91 | Page(int n_pagenr, int n_org, int n_size) : | ^~~~ output.h: In member function ‘int Page::getfreestartspace()’: output.h:101:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 101 | if (_part.empty()) if (_size==-1) return BIGVALUE; else return _size; | ^ In file included from sjasm.h:109: reader.h: In constructor ‘Find::Find(char*)’: reader.h:70:70: warning: array subscript has type ‘char’ [-Wchar-subscripts] 70 | Find(char*s) { for (int i=0;i!=256;++i) _c[i]=false; while (*s) _c[*s++]=true; } | ^~~~ reader.h: In member function ‘int Find::find(std::string&)’: reader.h:71:70: warning: array subscript has type ‘char’ [-Wchar-subscripts] 71 | int find(string&s) { for (int i=0;i!=(int)s.size();++i) if (_c[s[i]]) return i; return (int)string::npos; } | ^ reader.h: In member function ‘int Find::findnot(std::string&)’: reader.h:72:74: warning: array subscript has type ‘char’ [-Wchar-subscripts] 72 | int findnot(string&s) { for (int i=0;i!=(int)s.size();++i) if (!_c[s[i]]) return i; return (int)string::npos; } | ^ output.h: In constructor ‘Page::Page(int, int, int)’: output.h:120:41: warning: ‘Page::_usedsize’ will be initialized after [-Wreorder] 120 | int _pagenr, _org, _size, _highestad, _usedsize; | ^~~~~~~~~ output.h:120:29: warning: ‘int Page::_highestad’ [-Wreorder] 120 | int _pagenr, _org, _size, _highestad, _usedsize; | ^~~~~~~~~~ output.h:91:3: warning: when initialized here [-Wreorder] 91 | Page(int n_pagenr, int n_org, int n_size) : | ^~~~ source.h: In constructor ‘StructExp::StructExp(std::string, int, std::string)’: source.h:377:7: warning: ‘StructExp::_structure’ will be initialized after [-Wreorder] 377 | int _structure; | ^~~~~~~~~~ source.h:376:16: warning: ‘std::string StructExp::_label’ [-Wreorder] 376 | string _line,_label; | ^~~~~~ source.h:370:3: warning: when initialized here [-Wreorder] 370 | StructExp(string n_line, int n_structure, string n_label) | ^~~~~~~~~ output.h: In member function ‘int Page::getfreestartspace()’: output.h:101:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 101 | if (_part.empty()) if (_size==-1) return BIGVALUE; else return _size; | ^ In file included from sjasm.h:113: output.h: In constructor ‘Rout::Rout()’: output.h:63:32: warning: ‘Rout::_pooladres’ will be initialized after [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~~ output.h:63:15: warning: ‘int Rout::_page’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:65:29: warning: ‘Rout::_align’ will be initialized after [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~ output.h:64:16: warning: ‘bool Rout::_overlay’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:64:16: warning: ‘Rout::_overlay’ will be initialized after [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ output.h:63:22: warning: ‘int Rout::_lastused’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:68:14: warning: ‘Rout::_forgetmode’ will be initialized after [-Wreorder] 68 | FORGETMODE _forgetmode; | ^~~~~~~~~~~ output.h:64:8: warning: ‘bool Rout::_forget’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:71:7: warning: ‘Rout::_labelindex’ will be initialized after [-Wreorder] 71 | int _labelindex,_curlin,_listcurlin; | ^~~~~~~~~~~ output.h:64:26: warning: ‘bool Rout::_byteadr’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:72:10: warning: ‘Rout::_sourcefile’ will be initialized after [-Wreorder] 72 | string _sourcefile; | ^~~~~~~~~~~ output.h:65:18: warning: ‘int Rout::_maxadres’ [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:65:18: warning: ‘Rout::_maxadres’ will be initialized after [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~~~~ output.h:63:43: warning: ‘int Rout::_multipage’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h: In constructor ‘Part::Part(int, int, int, int, int, ALIGNMODE, Rout*, int)’: output.h:84:32: warning: ‘Part::_rnr’ will be initialized after [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~ output.h:84:7: warning: ‘int Part::_page’ [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ output.h:84:25: warning: ‘Part::_align’ will be initialized after [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~~~ output.h:83:13: warning: ‘ALIGNMODE Part::_alignmode’ [-Wreorder] 83 | ALIGNMODE _alignmode; | ^~~~~~~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ output.h:86:9: warning: ‘Part::_rout’ will be initialized after [-Wreorder] 86 | Rout *_rout; | ^~~~~ output.h:85:7: warning: ‘int Part::_multipage’ [-Wreorder] 85 | int _multipage,_offset; | ^~~~~~~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ In file included from sjasm.h:112: source.h: In constructor ‘FieldLabel::FieldLabel(int, std::string)’: source.h:151:7: warning: ‘FieldLabel::_location’ will be initialized after [-Wreorder] 151 | int _location; | ^~~~~~~~~ source.h:150:10: warning: ‘std::string FieldLabel::_expr’ [-Wreorder] 150 | string _expr; | ^~~~~ source.h:146:3: warning: when initialized here [-Wreorder] 146 | FieldLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~~~ output.h: In constructor ‘Output::Output(std::string, FILEMODE)’: output.h:155:9: warning: ‘Output::_outp’ will be initialized after [-Wreorder] 155 | Rout *_outp; | ^~~~~ output.h:154:12: warning: ‘int Output::_org’ [-Wreorder] 154 | int _rn, _org; | ^~~~ output.h:129:3: warning: when initialized here [-Wreorder] 129 | Output(string n_filename,FILEMODE n_mode=OVERWRITE) : | ^~~~~~ source.h: In constructor ‘EquLabel::EquLabel(int, std::string)’: source.h:162:7: warning: ‘EquLabel::_location’ will be initialized after [-Wreorder] 162 | int _location; | ^~~~~~~~~ source.h:161:10: warning: ‘std::string EquLabel::_expr’ [-Wreorder] 161 | string _expr; | ^~~~~ source.h:157:3: warning: when initialized here [-Wreorder] 157 | EquLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~ output.h: In constructor ‘Page::Page(int, int, int)’: output.h:120:41: warning: ‘Page::_usedsize’ will be initialized after [-Wreorder] 120 | int _pagenr, _org, _size, _highestad, _usedsize; | ^~~~~~~~~ output.h:120:29: warning: ‘int Page::_highestad’ [-Wreorder] 120 | int _pagenr, _org, _size, _highestad, _usedsize; | ^~~~~~~~~~ output.h:91:3: warning: when initialized here [-Wreorder] 91 | Page(int n_pagenr, int n_org, int n_size) : | ^~~~ source.h: In constructor ‘SetLabel::SetLabel(int, std::string)’: source.h:173:7: warning: ‘SetLabel::_location’ will be initialized after [-Wreorder] 173 | int _location; | ^~~~~~~~~ source.h:172:10: warning: ‘std::string SetLabel::_expr’ [-Wreorder] 172 | string _expr; | ^~~~~ source.h:168:3: warning: when initialized here [-Wreorder] 168 | SetLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~ output.h: In member function ‘int Page::getfreestartspace()’: output.h:101:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 101 | if (_part.empty()) if (_size==-1) return BIGVALUE; else return _size; | ^ source.h: In constructor ‘dRout::dRout(int, Rout*, std::string)’: source.h:203:14: warning: ‘dRout::_rnr’ will be initialized after [-Wreorder] 203 | int _page, _rnr; | ^~~~ source.h:203:7: warning: ‘int dRout::_page’ [-Wreorder] 203 | int _page, _rnr; | ^~~~~ source.h:200:3: warning: when initialized here [-Wreorder] 200 | dRout(int n_rnr, Rout *n_rout, string n_line) : _rnr(n_rnr), _page(page), _rout(n_rout), _line(n_line) { _listtype=LISTINFO; } | ^~~~~ output.h: In constructor ‘Output::Output(std::string, FILEMODE)’: output.h:155:9: warning: ‘Output::_outp’ will be initialized after [-Wreorder] 155 | Rout *_outp; | ^~~~~ output.h:154:12: warning: ‘int Output::_org’ [-Wreorder] 154 | int _rn, _org; | ^~~~ output.h:129:3: warning: when initialized here [-Wreorder] 129 | Output(string n_filename,FILEMODE n_mode=OVERWRITE) : | ^~~~~~ In file included from sjasm.h:114: rawsource.h: In constructor ‘RSStructure::RSStructure(int, int, bool, Structure&, StringList&)’: rawsource.h:75:14: warning: ‘RSStructure::_s’ will be initialized after [-Wreorder] 75 | Structure &_s; | ^~ rawsource.h:74:17: warning: ‘bool RSStructure::_mustalign’ [-Wreorder] 74 | bool _global, _mustalign; | ^~~~~~~~~~ rawsource.h:69:3: warning: when initialized here [-Wreorder] 69 | RSStructure(int n_offset, int n_align, bool n_global, Structure &n_s, StringList &sl) : | ^~~~~~~~~~~ rawsource.h:74:17: warning: ‘RSStructure::_mustalign’ will be initialized after [-Wreorder] 74 | bool _global, _mustalign; | ^~~~~~~~~~ rawsource.h:70:109: warning: base ‘RawSource’ [-Wreorder] 70 | _offset(n_offset), _defaultalign(n_align), _global(n_global), _s(n_s), _mustalign(false), RawSource(sl) {} | ^ rawsource.h:69:3: warning: when initialized here [-Wreorder] 69 | RSStructure(int n_offset, int n_align, bool n_global, Structure &n_s, StringList &sl) : | ^~~~~~~~~~~ In file included from sjasm.h:114: rawsource.h: In constructor ‘RSStructure::RSStructure(int, int, bool, Structure&, StringList&)’: rawsource.h:75:14: warning: ‘RSStructure::_s’ will be initialized after [-Wreorder] 75 | Structure &_s; | ^~ rawsource.h:74:17: warning: ‘bool RSStructure::_mustalign’ [-Wreorder] 74 | bool _global, _mustalign; | ^~~~~~~~~~ rawsource.h:69:3: warning: when initialized here [-Wreorder] 69 | RSStructure(int n_offset, int n_align, bool n_global, Structure &n_s, StringList &sl) : | ^~~~~~~~~~~ rawsource.h:74:17: warning: ‘RSStructure::_mustalign’ will be initialized after [-Wreorder] 74 | bool _global, _mustalign; | ^~~~~~~~~~ rawsource.h:70:109: warning: base ‘RawSource’ [-Wreorder] 70 | _offset(n_offset), _defaultalign(n_align), _global(n_global), _s(n_s), _mustalign(false), RawSource(sl) {} | ^ rawsource.h:69:3: warning: when initialized here [-Wreorder] 69 | RSStructure(int n_offset, int n_align, bool n_global, Structure &n_s, StringList &sl) : | ^~~~~~~~~~~ source.h: In constructor ‘StructExp::StructExp(std::string, int, std::string)’: source.h:377:7: warning: ‘StructExp::_structure’ will be initialized after [-Wreorder] 377 | int _structure; | ^~~~~~~~~~ source.h:376:16: warning: ‘std::string StructExp::_label’ [-Wreorder] 376 | string _line,_label; | ^~~~~~ source.h:370:3: warning: when initialized here [-Wreorder] 370 | StructExp(string n_line, int n_structure, string n_label) | ^~~~~~~~~ output.h: In constructor ‘Output::Output(std::string, FILEMODE)’: output.h:155:9: warning: ‘Output::_outp’ will be initialized after [-Wreorder] 155 | Rout *_outp; | ^~~~~ output.h:154:12: warning: ‘int Output::_org’ [-Wreorder] 154 | int _rn, _org; | ^~~~ output.h:129:3: warning: when initialized here [-Wreorder] 129 | Output(string n_filename,FILEMODE n_mode=OVERWRITE) : | ^~~~~~ In file included from sjasm.h:113: output.h: In constructor ‘Rout::Rout()’: output.h:63:32: warning: ‘Rout::_pooladres’ will be initialized after [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~~ output.h:63:15: warning: ‘int Rout::_page’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:65:29: warning: ‘Rout::_align’ will be initialized after [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~ output.h:64:16: warning: ‘bool Rout::_overlay’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:64:16: warning: ‘Rout::_overlay’ will be initialized after [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ output.h:63:22: warning: ‘int Rout::_lastused’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:68:14: warning: ‘Rout::_forgetmode’ will be initialized after [-Wreorder] 68 | FORGETMODE _forgetmode; | ^~~~~~~~~~~ output.h:64:8: warning: ‘bool Rout::_forget’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:71:7: warning: ‘Rout::_labelindex’ will be initialized after [-Wreorder] 71 | int _labelindex,_curlin,_listcurlin; | ^~~~~~~~~~~ output.h:64:26: warning: ‘bool Rout::_byteadr’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:72:10: warning: ‘Rout::_sourcefile’ will be initialized after [-Wreorder] 72 | string _sourcefile; | ^~~~~~~~~~~ output.h:65:18: warning: ‘int Rout::_maxadres’ [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:65:18: warning: ‘Rout::_maxadres’ will be initialized after [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~~~~ output.h:63:43: warning: ‘int Rout::_multipage’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h: In constructor ‘Part::Part(int, int, int, int, int, ALIGNMODE, Rout*, int)’: output.h:84:32: warning: ‘Part::_rnr’ will be initialized after [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~ output.h:84:7: warning: ‘int Part::_page’ [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ output.h:84:25: warning: ‘Part::_align’ will be initialized after [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~~~ output.h:83:13: warning: ‘ALIGNMODE Part::_alignmode’ [-Wreorder] 83 | ALIGNMODE _alignmode; | ^~~~~~~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ output.h:86:9: warning: ‘Part::_rout’ will be initialized after [-Wreorder] 86 | Rout *_rout; | ^~~~~ output.h:85:7: warning: ‘int Part::_multipage’ [-Wreorder] 85 | int _multipage,_offset; | ^~~~~~~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ errors.cpp: In member function ‘int ErrorTable::add(int, std::string, int)’: errors.cpp:98:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 98 | while(htr=_hashtable[tr]) { errors.cpp:99:36: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 99 | if (_errtab[htr]._line==n_line && pass>2 || _errtab[htr]._msg==n_msg) return 0; errors.cpp: In member function ‘void ErrorTable::geterrors(int, StringList&)’: errors.cpp:112:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 112 | while (e=_hashtable[p]) { In file included from sjasm.h:114: rawsource.h: In constructor ‘RSStructure::RSStructure(int, int, bool, Structure&, StringList&)’: rawsource.h:75:14: warning: ‘RSStructure::_s’ will be initialized after [-Wreorder] 75 | Structure &_s; | ^~ rawsource.h:74:17: warning: ‘bool RSStructure::_mustalign’ [-Wreorder] 74 | bool _global, _mustalign; | ^~~~~~~~~~ rawsource.h:69:3: warning: when initialized here [-Wreorder] 69 | RSStructure(int n_offset, int n_align, bool n_global, Structure &n_s, StringList &sl) : | ^~~~~~~~~~~ rawsource.h:74:17: warning: ‘RSStructure::_mustalign’ will be initialized after [-Wreorder] 74 | bool _global, _mustalign; | ^~~~~~~~~~ rawsource.h:70:109: warning: base ‘RawSource’ [-Wreorder] 70 | _offset(n_offset), _defaultalign(n_align), _global(n_global), _s(n_s), _mustalign(false), RawSource(sl) {} | ^ rawsource.h:69:3: warning: when initialized here [-Wreorder] 69 | RSStructure(int n_offset, int n_align, bool n_global, Structure &n_s, StringList &sl) : | ^~~~~~~~~~~ output.h: In constructor ‘Page::Page(int, int, int)’: output.h:120:41: warning: ‘Page::_usedsize’ will be initialized after [-Wreorder] 120 | int _pagenr, _org, _size, _highestad, _usedsize; | ^~~~~~~~~ output.h:120:29: warning: ‘int Page::_highestad’ [-Wreorder] 120 | int _pagenr, _org, _size, _highestad, _usedsize; | ^~~~~~~~~~ output.h:91:3: warning: when initialized here [-Wreorder] 91 | Page(int n_pagenr, int n_org, int n_size) : | ^~~~ datadir.cpp: In function ‘void getbytes(std::string&, Data&, bool, bool, bool, bool, bool)’: datadir.cpp:82:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 82 | if (dc) | ^ output.h: In member function ‘int Page::getfreestartspace()’: output.h:101:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 101 | if (_part.empty()) if (_size==-1) return BIGVALUE; else return _size; | ^ datadir.cpp: In function ‘void piASCMAP(std::string, Data&)’: datadir.cpp:163:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 163 | if (first!=last) check8u(last); check8u(first); | ^~ datadir.cpp:163:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 163 | if (first!=last) check8u(last); check8u(first); | ^~~~~~~ output.h: In constructor ‘Output::Output(std::string, FILEMODE)’: output.h:155:9: warning: ‘Output::_outp’ will be initialized after [-Wreorder] 155 | Rout *_outp; | ^~~~~ output.h:154:12: warning: ‘int Output::_org’ [-Wreorder] 154 | int _rn, _org; | ^~~~ output.h:129:3: warning: when initialized here [-Wreorder] 129 | Output(string n_filename,FILEMODE n_mode=OVERWRITE) : | ^~~~~~ In file included from sjasm.h:114: rawsource.h: In constructor ‘RSStructure::RSStructure(int, int, bool, Structure&, StringList&)’: rawsource.h:75:14: warning: ‘RSStructure::_s’ will be initialized after [-Wreorder] 75 | Structure &_s; | ^~ rawsource.h:74:17: warning: ‘bool RSStructure::_mustalign’ [-Wreorder] 74 | bool _global, _mustalign; | ^~~~~~~~~~ rawsource.h:69:3: warning: when initialized here [-Wreorder] 69 | RSStructure(int n_offset, int n_align, bool n_global, Structure &n_s, StringList &sl) : | ^~~~~~~~~~~ rawsource.h:74:17: warning: ‘RSStructure::_mustalign’ will be initialized after [-Wreorder] 74 | bool _global, _mustalign; | ^~~~~~~~~~ rawsource.h:70:109: warning: base ‘RawSource’ [-Wreorder] 70 | _offset(n_offset), _defaultalign(n_align), _global(n_global), _s(n_s), _mustalign(false), RawSource(sl) {} | ^ rawsource.h:69:3: warning: when initialized here [-Wreorder] 69 | RSStructure(int n_offset, int n_align, bool n_global, Structure &n_s, StringList &sl) : | ^~~~~~~~~~~ datastructures.cpp: In member function ‘void DefineTable::add(std::string, std::string)’: datastructures.cpp:139:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 139 | while(htr=_hashtable[tr]) { datastructures.cpp: In member function ‘void DefineTable::add(std::string, std::string, bool, StringList)’: datastructures.cpp:166:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 166 | while(htr=_hashtable[tr]) { datastructures.cpp: In member function ‘int DefineTable::exists(std::string, int)’: datastructures.cpp:218:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 218 | while(htr=_hashtable[tr]) { datastructures.cpp:222:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 222 | if (narg==_deftab[htr]._args.size()) return htr; | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ datastructures.cpp:234:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 234 | while(htr=_hashtable[tr]) { datastructures.cpp:238:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 238 | if (narg==_deftab[htr]._args.size()) return htr; | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ datastructures.cpp: In member function ‘int LabelTable::insert(std::string, bool)’: datastructures.cpp:283:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 283 | while(htr=_hashtable[tr]) { datastructures.cpp: In member function ‘int LabelTable::getvalue(std::string, int&, int&)’: datastructures.cpp:313:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 313 | if (htr=getindex(name)) { | ~~~^~~~~~~~~~~~~~~ datastructures.cpp: In member function ‘int LabelTable::getindex(std::string)’: datastructures.cpp:328:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 328 | while(htr=_hashtable[tr]) { datastructures.cpp: In member function ‘void MacroTable::add(std::string, bool, Macro)’: datastructures.cpp:439:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 439 | while(htr=_hashtable[tr]) { datastructures.cpp: In member function ‘int MacroTable::emit(std::string&, RawSource*, bool)’: datastructures.cpp:468:10: warning: operation on ‘max’ may be undefined [-Wsequence-point] 468 | max=max=im->_maxnum==BIGVALUE?BIGVALUE:(int)im->_namParam.size()+im->_maxnum; | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ datastructures.cpp:479:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 479 | for (i=0; i!=im->_namParam.size(); ++i) { | ~^~~~~~~~~~~~~~~~~~~~~~ datastructures.cpp:499:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 499 | for (i=0; i!=im->_numDefaults.size(); ++i) { | ~^~~~~~~~~~~~~~~~~~~~~~~~~ datastructures.cpp: In member function ‘int MacroTable::exists(std::string)’: datastructures.cpp:550:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 550 | while(htr=_hashtable[tr]) { datastructures.cpp:557:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 557 | while(htr=_hashtable[tr]) { datastructures.cpp: In member function ‘void MacroTable::_macroEntry::add(Macro)’: datastructures.cpp:592:44: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 592 | if (n_macro._maxparam>=im->_minparam && n_macro._maxparam<=im->_maxparam || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ datastructures.cpp: In member function ‘void Structure::emitdata(std::string, Data&, std::string)’: datastructures.cpp:656:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 656 | if (!ParseExpression(d,val)) error("Syntax error"); checkjunk(d); | ^~ datastructures.cpp:656:61: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 656 | if (!ParseExpression(d,val)) error("Syntax error"); checkjunk(d); | ^~~~~~~~~ datastructures.cpp:660:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 660 | if (!ParseExpression(d,val)) error("Syntax error"); checkjunk(d); | ^~ datastructures.cpp:660:61: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 660 | if (!ParseExpression(d,val)) error("Syntax error"); checkjunk(d); | ^~~~~~~~~ datastructures.cpp:664:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if (!ParseExpression(d,val)) error("Syntax error"); checkjunk(d); | ^~ datastructures.cpp:664:61: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if (!ParseExpression(d,val)) error("Syntax error"); checkjunk(d); | ^~~~~~~~~ datastructures.cpp:668:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 668 | if (!ParseExpression(d,val)) error("Syntax error"); checkjunk(d); | ^~ datastructures.cpp:668:61: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 668 | if (!ParseExpression(d,val)) error("Syntax error"); checkjunk(d); | ^~~~~~~~~ datastructures.cpp: In member function ‘int StructTable::add(Structure)’: datastructures.cpp:693:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 693 | while(htr=_hashtable[tr]) { datastructures.cpp: In member function ‘int StructTable::exists(std::string)’: datastructures.cpp:717:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 717 | while(htr=_hashtable[tr]) { g++ -Wp,-MD,.deps/expressions.d -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DMAX_PATH=MAXPATHLEN -std=c++11 -Wno-write-strings -c -o expressions.o expressions.cpp g++ -Wp,-MD,.deps/fileio.d -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DMAX_PATH=MAXPATHLEN -std=c++11 -Wno-write-strings -c -o fileio.o fileio.cpp In file included from sjasm.h:90, from expressions.cpp:29: datastructures.h: In member function ‘int FunctionTable::exec(std::string, std::string&, TT*)’: datastructures.h:162:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 162 | while(htr=_hashtable[tr]) { | ~~~^~~~~~~~~~~~~~~ datastructures.h: In member function ‘int FunctionTable::_insert(std::string, T)’: datastructures.h:194:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 194 | while(htr=_hashtable[tr]) { | ~~~^~~~~~~~~~~~~~~ datastructures.h: In constructor ‘LabelTable::_labelEntry::_labelEntry()’: datastructures.h:235:9: warning: ‘LabelTable::_labelEntry::_lastpass’ will be initialized after [-Wreorder] 235 | int _lastpass; | ^~~~~~~~~ datastructures.h:234:11: warning: ‘Rout* LabelTable::_labelEntry::_rout’ [-Wreorder] 234 | Rout *_rout; | ^~~~~ datastructures.h:230:5: warning: when initialized here [-Wreorder] 230 | _labelEntry() : _val(0), _page(0), _set(false),_forward(false),_lastpass(0),_rout(0) { _name.clear(); } | ^~~~~~~~~~~ In file included from sjasm.h:90, from fileio.cpp:29: datastructures.h: In member function ‘int FunctionTable::exec(std::string, std::string&, TT*)’: datastructures.h:162:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 162 | while(htr=_hashtable[tr]) { | ~~~^~~~~~~~~~~~~~~ datastructures.h: In member function ‘int FunctionTable::_insert(std::string, T)’: datastructures.h:194:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 194 | while(htr=_hashtable[tr]) { | ~~~^~~~~~~~~~~~~~~ In file included from sjasm.h:109: reader.h: In constructor ‘Find::Find(char*)’: reader.h:70:70: warning: array subscript has type ‘char’ [-Wchar-subscripts] 70 | Find(char*s) { for (int i=0;i!=256;++i) _c[i]=false; while (*s) _c[*s++]=true; } | ^~~~ reader.h: In member function ‘int Find::find(std::string&)’: reader.h:71:70: warning: array subscript has type ‘char’ [-Wchar-subscripts] 71 | int find(string&s) { for (int i=0;i!=(int)s.size();++i) if (_c[s[i]]) return i; return (int)string::npos; } | ^ reader.h: In member function ‘int Find::findnot(std::string&)’: reader.h:72:74: warning: array subscript has type ‘char’ [-Wchar-subscripts] 72 | int findnot(string&s) { for (int i=0;i!=(int)s.size();++i) if (!_c[s[i]]) return i; return (int)string::npos; } | ^ datastructures.h: In constructor ‘LabelTable::_labelEntry::_labelEntry()’: datastructures.h:235:9: warning: ‘LabelTable::_labelEntry::_lastpass’ will be initialized after [-Wreorder] 235 | int _lastpass; | ^~~~~~~~~ datastructures.h:234:11: warning: ‘Rout* LabelTable::_labelEntry::_rout’ [-Wreorder] 234 | Rout *_rout; | ^~~~~ datastructures.h:230:5: warning: when initialized here [-Wreorder] 230 | _labelEntry() : _val(0), _page(0), _set(false),_forward(false),_lastpass(0),_rout(0) { _name.clear(); } | ^~~~~~~~~~~ In file included from sjasm.h:112: source.h: In constructor ‘FieldLabel::FieldLabel(int, std::string)’: source.h:151:7: warning: ‘FieldLabel::_location’ will be initialized after [-Wreorder] 151 | int _location; | ^~~~~~~~~ source.h:150:10: warning: ‘std::string FieldLabel::_expr’ [-Wreorder] 150 | string _expr; | ^~~~~ source.h:146:3: warning: when initialized here [-Wreorder] 146 | FieldLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~~~ source.h: In constructor ‘EquLabel::EquLabel(int, std::string)’: source.h:162:7: warning: ‘EquLabel::_location’ will be initialized after [-Wreorder] 162 | int _location; | ^~~~~~~~~ source.h:161:10: warning: ‘std::string EquLabel::_expr’ [-Wreorder] 161 | string _expr; | ^~~~~ source.h:157:3: warning: when initialized here [-Wreorder] 157 | EquLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~ source.h: In constructor ‘SetLabel::SetLabel(int, std::string)’: source.h:173:7: warning: ‘SetLabel::_location’ will be initialized after [-Wreorder] 173 | int _location; | ^~~~~~~~~ source.h:172:10: warning: ‘std::string SetLabel::_expr’ [-Wreorder] 172 | string _expr; | ^~~~~ source.h:168:3: warning: when initialized here [-Wreorder] 168 | SetLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~ source.h: In constructor ‘dRout::dRout(int, Rout*, std::string)’: source.h:203:14: warning: ‘dRout::_rnr’ will be initialized after [-Wreorder] 203 | int _page, _rnr; | ^~~~ source.h:203:7: warning: ‘int dRout::_page’ [-Wreorder] 203 | int _page, _rnr; | ^~~~~ source.h:200:3: warning: when initialized here [-Wreorder] 200 | dRout(int n_rnr, Rout *n_rout, string n_line) : _rnr(n_rnr), _page(page), _rout(n_rout), _line(n_line) { _listtype=LISTINFO; } | ^~~~~ source.h: In constructor ‘StructExp::StructExp(std::string, int, std::string)’: source.h:377:7: warning: ‘StructExp::_structure’ will be initialized after [-Wreorder] 377 | int _structure; | ^~~~~~~~~~ source.h:376:16: warning: ‘std::string StructExp::_label’ [-Wreorder] 376 | string _line,_label; | ^~~~~~ source.h:370:3: warning: when initialized here [-Wreorder] 370 | StructExp(string n_line, int n_structure, string n_label) | ^~~~~~~~~ In file included from sjasm.h:113: output.h: In constructor ‘Rout::Rout()’: output.h:63:32: warning: ‘Rout::_pooladres’ will be initialized after [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~~ output.h:63:15: warning: ‘int Rout::_page’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:65:29: warning: ‘Rout::_align’ will be initialized after [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~ output.h:64:16: warning: ‘bool Rout::_overlay’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:64:16: warning: ‘Rout::_overlay’ will be initialized after [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ output.h:63:22: warning: ‘int Rout::_lastused’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:68:14: warning: ‘Rout::_forgetmode’ will be initialized after [-Wreorder] 68 | FORGETMODE _forgetmode; | ^~~~~~~~~~~ output.h:64:8: warning: ‘bool Rout::_forget’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:71:7: warning: ‘Rout::_labelindex’ will be initialized after [-Wreorder] 71 | int _labelindex,_curlin,_listcurlin; | ^~~~~~~~~~~ output.h:64:26: warning: ‘bool Rout::_byteadr’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:72:10: warning: ‘Rout::_sourcefile’ will be initialized after [-Wreorder] 72 | string _sourcefile; | ^~~~~~~~~~~ output.h:65:18: warning: ‘int Rout::_maxadres’ [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:65:18: warning: ‘Rout::_maxadres’ will be initialized after [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~~~~ output.h:63:43: warning: ‘int Rout::_multipage’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h: In constructor ‘Part::Part(int, int, int, int, int, ALIGNMODE, Rout*, int)’: output.h:84:32: warning: ‘Part::_rnr’ will be initialized after [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~ output.h:84:7: warning: ‘int Part::_page’ [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ output.h:84:25: warning: ‘Part::_align’ will be initialized after [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~~~ output.h:83:13: warning: ‘ALIGNMODE Part::_alignmode’ [-Wreorder] 83 | ALIGNMODE _alignmode; | ^~~~~~~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ output.h:86:9: warning: ‘Part::_rout’ will be initialized after [-Wreorder] 86 | Rout *_rout; | ^~~~~ output.h:85:7: warning: ‘int Part::_multipage’ [-Wreorder] 85 | int _multipage,_offset; | ^~~~~~~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ In file included from sjasm.h:109: reader.h: In constructor ‘Find::Find(char*)’: reader.h:70:70: warning: array subscript has type ‘char’ [-Wchar-subscripts] 70 | Find(char*s) { for (int i=0;i!=256;++i) _c[i]=false; while (*s) _c[*s++]=true; } | ^~~~ reader.h: In member function ‘int Find::find(std::string&)’: reader.h:71:70: warning: array subscript has type ‘char’ [-Wchar-subscripts] 71 | int find(string&s) { for (int i=0;i!=(int)s.size();++i) if (_c[s[i]]) return i; return (int)string::npos; } | ^ reader.h: In member function ‘int Find::findnot(std::string&)’: reader.h:72:74: warning: array subscript has type ‘char’ [-Wchar-subscripts] 72 | int findnot(string&s) { for (int i=0;i!=(int)s.size();++i) if (!_c[s[i]]) return i; return (int)string::npos; } | ^ In file included from sjasm.h:112: source.h: In constructor ‘FieldLabel::FieldLabel(int, std::string)’: source.h:151:7: warning: ‘FieldLabel::_location’ will be initialized after [-Wreorder] 151 | int _location; | ^~~~~~~~~ source.h:150:10: warning: ‘std::string FieldLabel::_expr’ [-Wreorder] 150 | string _expr; | ^~~~~ source.h:146:3: warning: when initialized here [-Wreorder] 146 | FieldLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~~~ output.h: In constructor ‘Page::Page(int, int, int)’: output.h:120:41: warning: ‘Page::_usedsize’ will be initialized after [-Wreorder] 120 | int _pagenr, _org, _size, _highestad, _usedsize; | ^~~~~~~~~ output.h:120:29: warning: ‘int Page::_highestad’ [-Wreorder] 120 | int _pagenr, _org, _size, _highestad, _usedsize; | ^~~~~~~~~~ output.h:91:3: warning: when initialized here [-Wreorder] 91 | Page(int n_pagenr, int n_org, int n_size) : | ^~~~ source.h: In constructor ‘EquLabel::EquLabel(int, std::string)’: source.h:162:7: warning: ‘EquLabel::_location’ will be initialized after [-Wreorder] 162 | int _location; | ^~~~~~~~~ source.h:161:10: warning: ‘std::string EquLabel::_expr’ [-Wreorder] 161 | string _expr; | ^~~~~ source.h:157:3: warning: when initialized here [-Wreorder] 157 | EquLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~ output.h: In member function ‘int Page::getfreestartspace()’: output.h:101:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 101 | if (_part.empty()) if (_size==-1) return BIGVALUE; else return _size; | ^ source.h: In constructor ‘SetLabel::SetLabel(int, std::string)’: source.h:173:7: warning: ‘SetLabel::_location’ will be initialized after [-Wreorder] 173 | int _location; | ^~~~~~~~~ source.h:172:10: warning: ‘std::string SetLabel::_expr’ [-Wreorder] 172 | string _expr; | ^~~~~ source.h:168:3: warning: when initialized here [-Wreorder] 168 | SetLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~ source.h: In constructor ‘dRout::dRout(int, Rout*, std::string)’: source.h:203:14: warning: ‘dRout::_rnr’ will be initialized after [-Wreorder] 203 | int _page, _rnr; | ^~~~ source.h:203:7: warning: ‘int dRout::_page’ [-Wreorder] 203 | int _page, _rnr; | ^~~~~ source.h:200:3: warning: when initialized here [-Wreorder] 200 | dRout(int n_rnr, Rout *n_rout, string n_line) : _rnr(n_rnr), _page(page), _rout(n_rout), _line(n_line) { _listtype=LISTINFO; } | ^~~~~ g++ -Wp,-MD,.deps/output.d -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DMAX_PATH=MAXPATHLEN -std=c++11 -Wno-write-strings -c -o output.o output.cpp output.h: In constructor ‘Output::Output(std::string, FILEMODE)’: output.h:155:9: warning: ‘Output::_outp’ will be initialized after [-Wreorder] 155 | Rout *_outp; | ^~~~~ output.h:154:12: warning: ‘int Output::_org’ [-Wreorder] 154 | int _rn, _org; | ^~~~ output.h:129:3: warning: when initialized here [-Wreorder] 129 | Output(string n_filename,FILEMODE n_mode=OVERWRITE) : | ^~~~~~ source.h: In constructor ‘StructExp::StructExp(std::string, int, std::string)’: source.h:377:7: warning: ‘StructExp::_structure’ will be initialized after [-Wreorder] 377 | int _structure; | ^~~~~~~~~~ source.h:376:16: warning: ‘std::string StructExp::_label’ [-Wreorder] 376 | string _line,_label; | ^~~~~~ source.h:370:3: warning: when initialized here [-Wreorder] 370 | StructExp(string n_line, int n_structure, string n_label) | ^~~~~~~~~ In file included from sjasm.h:114: rawsource.h: In constructor ‘RSStructure::RSStructure(int, int, bool, Structure&, StringList&)’: rawsource.h:75:14: warning: ‘RSStructure::_s’ will be initialized after [-Wreorder] 75 | Structure &_s; | ^~ In file included from sjasm.h:113: output.h: In constructor ‘Rout::Rout()’: output.h:63:32: warning: ‘Rout::_pooladres’ will be initialized after [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~~ rawsource.h:74:17: warning: ‘bool RSStructure::_mustalign’ [-Wreorder] 74 | bool _global, _mustalign; | ^~~~~~~~~~ output.h:63:15: warning: ‘int Rout::_page’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~ rawsource.h:69:3: warning: when initialized here [-Wreorder] 69 | RSStructure(int n_offset, int n_align, bool n_global, Structure &n_s, StringList &sl) : | ^~~~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ rawsource.h:74:17: warning: ‘RSStructure::_mustalign’ will be initialized after [-Wreorder] 74 | bool _global, _mustalign; | ^~~~~~~~~~ output.h:65:29: warning: ‘Rout::_align’ will be initialized after [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~ output.h:64:16: warning: ‘bool Rout::_overlay’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ rawsource.h:70:109: warning: base ‘RawSource’ [-Wreorder] 70 | _offset(n_offset), _defaultalign(n_align), _global(n_global), _s(n_s), _mustalign(false), RawSource(sl) {} | ^ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ rawsource.h:69:3: warning: when initialized here [-Wreorder] 69 | RSStructure(int n_offset, int n_align, bool n_global, Structure &n_s, StringList &sl) : | ^~~~~~~~~~~ output.h:64:16: warning: ‘Rout::_overlay’ will be initialized after [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ output.h:63:22: warning: ‘int Rout::_lastused’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:68:14: warning: ‘Rout::_forgetmode’ will be initialized after [-Wreorder] 68 | FORGETMODE _forgetmode; | ^~~~~~~~~~~ output.h:64:8: warning: ‘bool Rout::_forget’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:71:7: warning: ‘Rout::_labelindex’ will be initialized after [-Wreorder] 71 | int _labelindex,_curlin,_listcurlin; | ^~~~~~~~~~~ output.h:64:26: warning: ‘bool Rout::_byteadr’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:72:10: warning: ‘Rout::_sourcefile’ will be initialized after [-Wreorder] 72 | string _sourcefile; | ^~~~~~~~~~~ output.h:65:18: warning: ‘int Rout::_maxadres’ [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:65:18: warning: ‘Rout::_maxadres’ will be initialized after [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~~~~ output.h:63:43: warning: ‘int Rout::_multipage’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h: In constructor ‘Part::Part(int, int, int, int, int, ALIGNMODE, Rout*, int)’: output.h:84:32: warning: ‘Part::_rnr’ will be initialized after [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~ output.h:84:7: warning: ‘int Part::_page’ [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ output.h:84:25: warning: ‘Part::_align’ will be initialized after [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~~~ output.h:83:13: warning: ‘ALIGNMODE Part::_alignmode’ [-Wreorder] 83 | ALIGNMODE _alignmode; | ^~~~~~~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ output.h:86:9: warning: ‘Part::_rout’ will be initialized after [-Wreorder] 86 | Rout *_rout; | ^~~~~ output.h:85:7: warning: ‘int Part::_multipage’ [-Wreorder] 85 | int _multipage,_offset; | ^~~~~~~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ expressions.cpp: In function ‘int getLabelValue(std::string&, int&, int&)’: expressions.cpp:44:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const std::__cxx11::basic_string::size_type’ {aka ‘const long unsigned int’} [-Wsign-compare] 44 | if (loc!=string::npos) mlp=mlp.substr(0,loc); | ~~~^~~~~~~~~~~~~~ expressions.cpp:55:10: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const std::__cxx11::basic_string::size_type’ {aka ‘const long unsigned int’} [-Wsign-compare] 55 | if (pos!=string::npos) s=s.substr(pos); else s.clear(); | ~~~^~~~~~~~~~~~~~ expressions.cpp:62:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const std::__cxx11::basic_string::size_type’ {aka ‘const long unsigned int’} [-Wsign-compare] 62 | if (loc!=string::npos) mlp=mlp.substr(0,loc); else break; | ~~~^~~~~~~~~~~~~~ expressions.cpp: In function ‘int getval(std::string&, int&, unsigned int, int)’: expressions.cpp:95:10: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 95 | if (v!=-1) { | ~^~~~ expressions.cpp: In function ‘int getConstant(std::string&, int&)’: expressions.cpp:125:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const std::__cxx11::basic_string::size_type’ {aka ‘const long unsigned int’} [-Wsign-compare] 125 | if (pos==string::npos) pos=(int)p.length(); | ~~~^~~~~~~~~~~~~~ output.h: In constructor ‘Page::Page(int, int, int)’: output.h:120:41: warning: ‘Page::_usedsize’ will be initialized after [-Wreorder] 120 | int _pagenr, _org, _size, _highestad, _usedsize; | ^~~~~~~~~ output.h:120:29: warning: ‘int Page::_highestad’ [-Wreorder] 120 | int _pagenr, _org, _size, _highestad, _usedsize; | ^~~~~~~~~~ output.h:91:3: warning: when initialized here [-Wreorder] 91 | Page(int n_pagenr, int n_org, int n_size) : | ^~~~ output.h: In member function ‘int Page::getfreestartspace()’: output.h:101:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 101 | if (_part.empty()) if (_size==-1) return BIGVALUE; else return _size; | ^ expressions.cpp: In function ‘int ParseExpPrim(std::string&, int&)’: expressions.cpp:172:103: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 172 | else if (isdigit(p[0]) || (p[0]=='#' && isalnum(p[1])) || (p[0]=='$' && isalnum(p[1])) || p[0]=='%' && isdigit(p[1])) { return getConstant(p,nval); } output.h: In constructor ‘Output::Output(std::string, FILEMODE)’: output.h:155:9: warning: ‘Output::_outp’ will be initialized after [-Wreorder] 155 | Rout *_outp; | ^~~~~ output.h:154:12: warning: ‘int Output::_org’ [-Wreorder] 154 | int _rn, _org; | ^~~~ output.h:129:3: warning: when initialized here [-Wreorder] 129 | Output(string n_filename,FILEMODE n_mode=OVERWRITE) : | ^~~~~~ expressions.cpp: In function ‘int ParseExpAdd(std::string&, int&)’: expressions.cpp:234:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 234 | while (oper=need(p,"+ - ")) { | ~~~~^~~~~~~~~~~~~~~ expressions.cpp: In function ‘int ParseExpMinMax(std::string&, int&)’: expressions.cpp:267:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 267 | while (oper=need(p,"?")) { | ~~~~^~~~~~~~~~~~~~~ expressions.cpp: In function ‘int ParseExpCmp(std::string&, int&)’: expressions.cpp:282:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 282 | while (oper=need(p,"<=>=< > ")) { | ~~~~^~~~~~~~~~~~~~~~~~~ expressions.cpp: In function ‘int ParseExpEqu(std::string&, int&)’: expressions.cpp:299:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 299 | while (oper=need(p,"=_==!=")) { | ~~~~^~~~~~~~~~~~~~~~~ In file included from sjasm.h:114: rawsource.h: In constructor ‘RSStructure::RSStructure(int, int, bool, Structure&, StringList&)’: rawsource.h:75:14: warning: ‘RSStructure::_s’ will be initialized after [-Wreorder] 75 | Structure &_s; | ^~ rawsource.h:74:17: warning: ‘bool RSStructure::_mustalign’ [-Wreorder] 74 | bool _global, _mustalign; | ^~~~~~~~~~ rawsource.h:69:3: warning: when initialized here [-Wreorder] 69 | RSStructure(int n_offset, int n_align, bool n_global, Structure &n_s, StringList &sl) : | ^~~~~~~~~~~ rawsource.h:74:17: warning: ‘RSStructure::_mustalign’ will be initialized after [-Wreorder] 74 | bool _global, _mustalign; | ^~~~~~~~~~ rawsource.h:70:109: warning: base ‘RawSource’ [-Wreorder] 70 | _offset(n_offset), _defaultalign(n_align), _global(n_global), _s(n_s), _mustalign(false), RawSource(sl) {} | ^ rawsource.h:69:3: warning: when initialized here [-Wreorder] 69 | RSStructure(int n_offset, int n_align, bool n_global, Structure &n_s, StringList &sl) : | ^~~~~~~~~~~ fileio.cpp: In function ‘std::string getpath(std::string&)’: fileio.cpp:51:10: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const std::__cxx11::basic_string::size_type’ {aka ‘const long unsigned int’} [-Wsign-compare] 51 | if (pos==string::npos) { listopt._path.clear(); return filename; } | ~~~^~~~~~~~~~~~~~ fileio.cpp: In function ‘std::string getfilename(std::string&)’: fileio.cpp:61:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const std::__cxx11::basic_string::size_type’ {aka ‘const long unsigned int’} [-Wsign-compare] 61 | if (pos==string::npos) error1("No closing '\"'"); | ~~~^~~~~~~~~~~~~~ fileio.cpp:65:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const std::__cxx11::basic_string::size_type’ {aka ‘const long unsigned int’} [-Wsign-compare] 65 | if (pos==string::npos) error1("No closing '>'"); | ~~~^~~~~~~~~~~~~~ fileio.cpp:70:10: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const std::__cxx11::basic_string::size_type’ {aka ‘const long unsigned int’} [-Wsign-compare] 70 | if (pos==string::npos) p.clear(); else p=p.substr(pos); | ~~~^~~~~~~~~~~~~~ In file included from sjasm.h:90, from output.cpp:29: datastructures.h: In member function ‘int FunctionTable::exec(std::string, std::string&, TT*)’: datastructures.h:162:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 162 | while(htr=_hashtable[tr]) { | ~~~^~~~~~~~~~~~~~~ datastructures.h: In member function ‘int FunctionTable::_insert(std::string, T)’: datastructures.h:194:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 194 | while(htr=_hashtable[tr]) { | ~~~^~~~~~~~~~~~~~~ datastructures.h: In constructor ‘LabelTable::_labelEntry::_labelEntry()’: datastructures.h:235:9: warning: ‘LabelTable::_labelEntry::_lastpass’ will be initialized after [-Wreorder] 235 | int _lastpass; | ^~~~~~~~~ datastructures.h:234:11: warning: ‘Rout* LabelTable::_labelEntry::_rout’ [-Wreorder] 234 | Rout *_rout; | ^~~~~ datastructures.h:230:5: warning: when initialized here [-Wreorder] 230 | _labelEntry() : _val(0), _page(0), _set(false),_forward(false),_lastpass(0),_rout(0) { _name.clear(); } | ^~~~~~~~~~~ In file included from sjasm.h:109: reader.h: In constructor ‘Find::Find(char*)’: reader.h:70:70: warning: array subscript has type ‘char’ [-Wchar-subscripts] 70 | Find(char*s) { for (int i=0;i!=256;++i) _c[i]=false; while (*s) _c[*s++]=true; } | ^~~~ reader.h: In member function ‘int Find::find(std::string&)’: reader.h:71:70: warning: array subscript has type ‘char’ [-Wchar-subscripts] 71 | int find(string&s) { for (int i=0;i!=(int)s.size();++i) if (_c[s[i]]) return i; return (int)string::npos; } | ^ reader.h: In member function ‘int Find::findnot(std::string&)’: reader.h:72:74: warning: array subscript has type ‘char’ [-Wchar-subscripts] 72 | int findnot(string&s) { for (int i=0;i!=(int)s.size();++i) if (!_c[s[i]]) return i; return (int)string::npos; } | ^ In file included from sjasm.h:112: source.h: In constructor ‘FieldLabel::FieldLabel(int, std::string)’: source.h:151:7: warning: ‘FieldLabel::_location’ will be initialized after [-Wreorder] 151 | int _location; | ^~~~~~~~~ source.h:150:10: warning: ‘std::string FieldLabel::_expr’ [-Wreorder] 150 | string _expr; | ^~~~~ source.h:146:3: warning: when initialized here [-Wreorder] 146 | FieldLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~~~ source.h: In constructor ‘EquLabel::EquLabel(int, std::string)’: source.h:162:7: warning: ‘EquLabel::_location’ will be initialized after [-Wreorder] 162 | int _location; | ^~~~~~~~~ source.h:161:10: warning: ‘std::string EquLabel::_expr’ [-Wreorder] 161 | string _expr; | ^~~~~ source.h:157:3: warning: when initialized here [-Wreorder] 157 | EquLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~ source.h: In constructor ‘SetLabel::SetLabel(int, std::string)’: source.h:173:7: warning: ‘SetLabel::_location’ will be initialized after [-Wreorder] 173 | int _location; | ^~~~~~~~~ source.h:172:10: warning: ‘std::string SetLabel::_expr’ [-Wreorder] 172 | string _expr; | ^~~~~ source.h:168:3: warning: when initialized here [-Wreorder] 168 | SetLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~ source.h: In constructor ‘dRout::dRout(int, Rout*, std::string)’: source.h:203:14: warning: ‘dRout::_rnr’ will be initialized after [-Wreorder] 203 | int _page, _rnr; | ^~~~ source.h:203:7: warning: ‘int dRout::_page’ [-Wreorder] 203 | int _page, _rnr; | ^~~~~ source.h:200:3: warning: when initialized here [-Wreorder] 200 | dRout(int n_rnr, Rout *n_rout, string n_line) : _rnr(n_rnr), _page(page), _rout(n_rout), _line(n_line) { _listtype=LISTINFO; } | ^~~~~ source.h: In constructor ‘StructExp::StructExp(std::string, int, std::string)’: source.h:377:7: warning: ‘StructExp::_structure’ will be initialized after [-Wreorder] 377 | int _structure; | ^~~~~~~~~~ source.h:376:16: warning: ‘std::string StructExp::_label’ [-Wreorder] 376 | string _line,_label; | ^~~~~~ source.h:370:3: warning: when initialized here [-Wreorder] 370 | StructExp(string n_line, int n_structure, string n_label) | ^~~~~~~~~ In file included from sjasm.h:113: output.h: In constructor ‘Rout::Rout()’: output.h:63:32: warning: ‘Rout::_pooladres’ will be initialized after [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~~ output.h:63:15: warning: ‘int Rout::_page’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:65:29: warning: ‘Rout::_align’ will be initialized after [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~ output.h:64:16: warning: ‘bool Rout::_overlay’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:64:16: warning: ‘Rout::_overlay’ will be initialized after [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ output.h:63:22: warning: ‘int Rout::_lastused’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:68:14: warning: ‘Rout::_forgetmode’ will be initialized after [-Wreorder] 68 | FORGETMODE _forgetmode; | ^~~~~~~~~~~ output.h:64:8: warning: ‘bool Rout::_forget’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:71:7: warning: ‘Rout::_labelindex’ will be initialized after [-Wreorder] 71 | int _labelindex,_curlin,_listcurlin; | ^~~~~~~~~~~ output.h:64:26: warning: ‘bool Rout::_byteadr’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:72:10: warning: ‘Rout::_sourcefile’ will be initialized after [-Wreorder] 72 | string _sourcefile; | ^~~~~~~~~~~ output.h:65:18: warning: ‘int Rout::_maxadres’ [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:65:18: warning: ‘Rout::_maxadres’ will be initialized after [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~~~~ output.h:63:43: warning: ‘int Rout::_multipage’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h: In constructor ‘Part::Part(int, int, int, int, int, ALIGNMODE, Rout*, int)’: output.h:84:32: warning: ‘Part::_rnr’ will be initialized after [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~ output.h:84:7: warning: ‘int Part::_page’ [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ output.h:84:25: warning: ‘Part::_align’ will be initialized after [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~~~ output.h:83:13: warning: ‘ALIGNMODE Part::_alignmode’ [-Wreorder] 83 | ALIGNMODE _alignmode; | ^~~~~~~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ output.h:86:9: warning: ‘Part::_rout’ will be initialized after [-Wreorder] 86 | Rout *_rout; | ^~~~~ output.h:85:7: warning: ‘int Part::_multipage’ [-Wreorder] 85 | int _multipage,_offset; | ^~~~~~~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ output.h: In constructor ‘Page::Page(int, int, int)’: output.h:120:41: warning: ‘Page::_usedsize’ will be initialized after [-Wreorder] 120 | int _pagenr, _org, _size, _highestad, _usedsize; | ^~~~~~~~~ output.h:120:29: warning: ‘int Page::_highestad’ [-Wreorder] 120 | int _pagenr, _org, _size, _highestad, _usedsize; | ^~~~~~~~~~ output.h:91:3: warning: when initialized here [-Wreorder] 91 | Page(int n_pagenr, int n_org, int n_size) : | ^~~~ output.h: In member function ‘int Page::getfreestartspace()’: output.h:101:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 101 | if (_part.empty()) if (_size==-1) return BIGVALUE; else return _size; | ^ output.h: In constructor ‘Output::Output(std::string, FILEMODE)’: output.h:155:9: warning: ‘Output::_outp’ will be initialized after [-Wreorder] 155 | Rout *_outp; | ^~~~~ output.h:154:12: warning: ‘int Output::_org’ [-Wreorder] 154 | int _rn, _org; | ^~~~ output.h:129:3: warning: when initialized here [-Wreorder] 129 | Output(string n_filename,FILEMODE n_mode=OVERWRITE) : | ^~~~~~ In file included from sjasm.h:114: rawsource.h: In constructor ‘RSStructure::RSStructure(int, int, bool, Structure&, StringList&)’: rawsource.h:75:14: warning: ‘RSStructure::_s’ will be initialized after [-Wreorder] 75 | Structure &_s; | ^~ rawsource.h:74:17: warning: ‘bool RSStructure::_mustalign’ [-Wreorder] 74 | bool _global, _mustalign; | ^~~~~~~~~~ rawsource.h:69:3: warning: when initialized here [-Wreorder] 69 | RSStructure(int n_offset, int n_align, bool n_global, Structure &n_s, StringList &sl) : | ^~~~~~~~~~~ rawsource.h:74:17: warning: ‘RSStructure::_mustalign’ will be initialized after [-Wreorder] 74 | bool _global, _mustalign; | ^~~~~~~~~~ rawsource.h:70:109: warning: base ‘RawSource’ [-Wreorder] 70 | _offset(n_offset), _defaultalign(n_align), _global(n_global), _s(n_s), _mustalign(false), RawSource(sl) {} | ^ rawsource.h:69:3: warning: when initialized here [-Wreorder] 69 | RSStructure(int n_offset, int n_align, bool n_global, Structure &n_s, StringList &sl) : | ^~~~~~~~~~~ output.cpp: In member function ‘int Rout::pool(int)’: output.cpp:36:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 36 | for (int i=0;i!=_pool.size();++i) if (_pool[i]==d) return _pooladres+4*i; | ~^~~~~~~~~~~~~~ output.cpp: In member function ‘void Output::dump(StringList&)’: output.cpp:359:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 359 | for(int i=0; i!=_page.size(); ++i) | ~^~~~~~~~~~~~~~ output.cpp: In member function ‘void Output::sort()’: output.cpp:401:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 401 | for (i=1; i!=_page.size(); ++i) { | ~^~~~~~~~~~~~~~ output.cpp:407:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 407 | for (i=0; i!=_rout.size(); ++i) | ~^~~~~~~~~~~~~~ output.cpp:408:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 408 | if (_rout[i] && _rout[i]->makepart(overlay,pm,am,npage,nadres,nlen,nalign,nalignmode,nmultipart)) | ^ output.cpp:430:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 430 | for (i=0; i!=_page.size(); ++i) if (_page[i]) _page[i]->reset(); | ~^~~~~~~~~~~~~~ output.cpp:499:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 499 | for(int i=0; i!=_page.size(); ++i) if (_page[i]) _page[i]->checkparts(); | ~^~~~~~~~~~~~~~ output.cpp: In member function ‘void Output::save()’: output.cpp:516:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 516 | for(int i=0; i!=_page.size(); ++i) | ~^~~~~~~~~~~~~~ output.cpp:524:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 524 | if (file.ok()) for(int i=0; i!=_page.size(); ++i) if (_page[i]) _page[i]->saveoverlay(file); | ~^~~~~~~~~~~~~~ output.cpp: In member function ‘void Output::reset()’: output.cpp:555:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 555 | for(int i=0; i!=_rout.size(); ++i) if (_rout[i]) _rout[i]->reset(); | ~^~~~~~~~~~~~~~ output.cpp:556:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 556 | for(int i=0; i!=_page.size(); ++i) if (_page[i]) _page[i]->reset(); | ~^~~~~~~~~~~~~~ output.cpp: In function ‘void resetoutput()’: output.cpp:561:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 561 | for(int i=0; i!=output.size(); ++i) if (output[i]) output[i]->reset(); | ~^~~~~~~~~~~~~~~ output.cpp: In function ‘void dumpoutput(StringList&)’: output.cpp:566:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 566 | for(int i=0; i!=output.size(); ++i) if (output[i]) output[i]->dump(sl); | ~^~~~~~~~~~~~~~~ output.cpp: In function ‘void sortoutput()’: output.cpp:570:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 570 | for(int i=0; i!=output.size(); ++i) if (output[i]) output[i]->sort(); | ~^~~~~~~~~~~~~~~ output.cpp: In function ‘void saveoutput()’: output.cpp:574:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 574 | for(int i=0; i!=output.size(); ++i) if (output[i]) output[i]->save(); | ~^~~~~~~~~~~~~~~ g++ -Wp,-MD,.deps/pimsx.d -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DMAX_PATH=MAXPATHLEN -std=c++11 -Wno-write-strings -c -o pimsx.o pimsx.cpp output.cpp: In member function ‘int Page::addpart(Part&)’: output.cpp:216:7: warning: ‘minadres’ may be used uninitialized [-Wmaybe-uninitialized] 216 | int minadres, maxadres,ap; | ^~~~~~~~ output.cpp:222:3: warning: ‘maxadres’ may be used uninitialized [-Wmaybe-uninitialized] 222 | if (_org>maxadres) return 0; | ^~ output.cpp:216:17: note: ‘maxadres’ was declared here 216 | int minadres, maxadres,ap; | ^~~~~~~~ g++ -Wp,-MD,.deps/preprocessor.d -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DMAX_PATH=MAXPATHLEN -std=c++11 -Wno-write-strings -c -o preprocessor.o preprocessor.cpp In file included from sjasm.h:90, from pimsx.cpp:29: datastructures.h: In member function ‘int FunctionTable::exec(std::string, std::string&, TT*)’: datastructures.h:162:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 162 | while(htr=_hashtable[tr]) { | ~~~^~~~~~~~~~~~~~~ datastructures.h: In member function ‘int FunctionTable::_insert(std::string, T)’: datastructures.h:194:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 194 | while(htr=_hashtable[tr]) { | ~~~^~~~~~~~~~~~~~~ datastructures.h: In constructor ‘LabelTable::_labelEntry::_labelEntry()’: datastructures.h:235:9: warning: ‘LabelTable::_labelEntry::_lastpass’ will be initialized after [-Wreorder] 235 | int _lastpass; | ^~~~~~~~~ datastructures.h:234:11: warning: ‘Rout* LabelTable::_labelEntry::_rout’ [-Wreorder] 234 | Rout *_rout; | ^~~~~ datastructures.h:230:5: warning: when initialized here [-Wreorder] 230 | _labelEntry() : _val(0), _page(0), _set(false),_forward(false),_lastpass(0),_rout(0) { _name.clear(); } | ^~~~~~~~~~~ In file included from sjasm.h:109: reader.h: In constructor ‘Find::Find(char*)’: reader.h:70:70: warning: array subscript has type ‘char’ [-Wchar-subscripts] 70 | Find(char*s) { for (int i=0;i!=256;++i) _c[i]=false; while (*s) _c[*s++]=true; } | ^~~~ reader.h: In member function ‘int Find::find(std::string&)’: reader.h:71:70: warning: array subscript has type ‘char’ [-Wchar-subscripts] 71 | int find(string&s) { for (int i=0;i!=(int)s.size();++i) if (_c[s[i]]) return i; return (int)string::npos; } | ^ reader.h: In member function ‘int Find::findnot(std::string&)’: reader.h:72:74: warning: array subscript has type ‘char’ [-Wchar-subscripts] 72 | int findnot(string&s) { for (int i=0;i!=(int)s.size();++i) if (!_c[s[i]]) return i; return (int)string::npos; } | ^ In file included from sjasm.h:112: source.h: In constructor ‘FieldLabel::FieldLabel(int, std::string)’: source.h:151:7: warning: ‘FieldLabel::_location’ will be initialized after [-Wreorder] 151 | int _location; | ^~~~~~~~~ source.h:150:10: warning: ‘std::string FieldLabel::_expr’ [-Wreorder] 150 | string _expr; | ^~~~~ source.h:146:3: warning: when initialized here [-Wreorder] 146 | FieldLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~~~ source.h: In constructor ‘EquLabel::EquLabel(int, std::string)’: source.h:162:7: warning: ‘EquLabel::_location’ will be initialized after [-Wreorder] 162 | int _location; | ^~~~~~~~~ source.h:161:10: warning: ‘std::string EquLabel::_expr’ [-Wreorder] 161 | string _expr; | ^~~~~ source.h:157:3: warning: when initialized here [-Wreorder] 157 | EquLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~ source.h: In constructor ‘SetLabel::SetLabel(int, std::string)’: source.h:173:7: warning: ‘SetLabel::_location’ will be initialized after [-Wreorder] 173 | int _location; | ^~~~~~~~~ source.h:172:10: warning: ‘std::string SetLabel::_expr’ [-Wreorder] 172 | string _expr; | ^~~~~ source.h:168:3: warning: when initialized here [-Wreorder] 168 | SetLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~ source.h: In constructor ‘dRout::dRout(int, Rout*, std::string)’: source.h:203:14: warning: ‘dRout::_rnr’ will be initialized after [-Wreorder] 203 | int _page, _rnr; | ^~~~ source.h:203:7: warning: ‘int dRout::_page’ [-Wreorder] 203 | int _page, _rnr; | ^~~~~ source.h:200:3: warning: when initialized here [-Wreorder] 200 | dRout(int n_rnr, Rout *n_rout, string n_line) : _rnr(n_rnr), _page(page), _rout(n_rout), _line(n_line) { _listtype=LISTINFO; } | ^~~~~ source.h: In constructor ‘StructExp::StructExp(std::string, int, std::string)’: source.h:377:7: warning: ‘StructExp::_structure’ will be initialized after [-Wreorder] 377 | int _structure; | ^~~~~~~~~~ source.h:376:16: warning: ‘std::string StructExp::_label’ [-Wreorder] 376 | string _line,_label; | ^~~~~~ source.h:370:3: warning: when initialized here [-Wreorder] 370 | StructExp(string n_line, int n_structure, string n_label) | ^~~~~~~~~ In file included from sjasm.h:113: output.h: In constructor ‘Rout::Rout()’: output.h:63:32: warning: ‘Rout::_pooladres’ will be initialized after [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~~ output.h:63:15: warning: ‘int Rout::_page’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:65:29: warning: ‘Rout::_align’ will be initialized after [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~ output.h:64:16: warning: ‘bool Rout::_overlay’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:64:16: warning: ‘Rout::_overlay’ will be initialized after [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ output.h:63:22: warning: ‘int Rout::_lastused’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:68:14: warning: ‘Rout::_forgetmode’ will be initialized after [-Wreorder] 68 | FORGETMODE _forgetmode; | ^~~~~~~~~~~ output.h:64:8: warning: ‘bool Rout::_forget’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:71:7: warning: ‘Rout::_labelindex’ will be initialized after [-Wreorder] 71 | int _labelindex,_curlin,_listcurlin; | ^~~~~~~~~~~ output.h:64:26: warning: ‘bool Rout::_byteadr’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:72:10: warning: ‘Rout::_sourcefile’ will be initialized after [-Wreorder] 72 | string _sourcefile; | ^~~~~~~~~~~ output.h:65:18: warning: ‘int Rout::_maxadres’ [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:65:18: warning: ‘Rout::_maxadres’ will be initialized after [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~~~~ output.h:63:43: warning: ‘int Rout::_multipage’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h: In constructor ‘Part::Part(int, int, int, int, int, ALIGNMODE, Rout*, int)’: output.h:84:32: warning: ‘Part::_rnr’ will be initialized after [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~ output.h:84:7: warning: ‘int Part::_page’ [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ output.h:84:25: warning: ‘Part::_align’ will be initialized after [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~~~ output.h:83:13: warning: ‘ALIGNMODE Part::_alignmode’ [-Wreorder] 83 | ALIGNMODE _alignmode; | ^~~~~~~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ output.h:86:9: warning: ‘Part::_rout’ will be initialized after [-Wreorder] 86 | Rout *_rout; | ^~~~~ output.h:85:7: warning: ‘int Part::_multipage’ [-Wreorder] 85 | int _multipage,_offset; | ^~~~~~~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ output.h: In constructor ‘Page::Page(int, int, int)’: output.h:120:41: warning: ‘Page::_usedsize’ will be initialized after [-Wreorder] 120 | int _pagenr, _org, _size, _highestad, _usedsize; | ^~~~~~~~~ output.h:120:29: warning: ‘int Page::_highestad’ [-Wreorder] 120 | int _pagenr, _org, _size, _highestad, _usedsize; | ^~~~~~~~~~ output.h:91:3: warning: when initialized here [-Wreorder] 91 | Page(int n_pagenr, int n_org, int n_size) : | ^~~~ output.h: In member function ‘int Page::getfreestartspace()’: output.h:101:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 101 | if (_part.empty()) if (_size==-1) return BIGVALUE; else return _size; | ^ output.h: In constructor ‘Output::Output(std::string, FILEMODE)’: output.h:155:9: warning: ‘Output::_outp’ will be initialized after [-Wreorder] 155 | Rout *_outp; | ^~~~~ output.h:154:12: warning: ‘int Output::_org’ [-Wreorder] 154 | int _rn, _org; | ^~~~ output.h:129:3: warning: when initialized here [-Wreorder] 129 | Output(string n_filename,FILEMODE n_mode=OVERWRITE) : | ^~~~~~ In file included from sjasm.h:114: rawsource.h: In constructor ‘RSStructure::RSStructure(int, int, bool, Structure&, StringList&)’: rawsource.h:75:14: warning: ‘RSStructure::_s’ will be initialized after [-Wreorder] 75 | Structure &_s; | ^~ rawsource.h:74:17: warning: ‘bool RSStructure::_mustalign’ [-Wreorder] 74 | bool _global, _mustalign; | ^~~~~~~~~~ rawsource.h:69:3: warning: when initialized here [-Wreorder] 69 | RSStructure(int n_offset, int n_align, bool n_global, Structure &n_s, StringList &sl) : | ^~~~~~~~~~~ rawsource.h:74:17: warning: ‘RSStructure::_mustalign’ will be initialized after [-Wreorder] 74 | bool _global, _mustalign; | ^~~~~~~~~~ rawsource.h:70:109: warning: base ‘RawSource’ [-Wreorder] 70 | _offset(n_offset), _defaultalign(n_align), _global(n_global), _s(n_s), _mustalign(false), RawSource(sl) {} | ^ rawsource.h:69:3: warning: when initialized here [-Wreorder] 69 | RSStructure(int n_offset, int n_align, bool n_global, Structure &n_s, StringList &sl) : | ^~~~~~~~~~~ pimsx.cpp: In function ‘Z80Reg getz80reg(std::string&)’: pimsx.cpp:106:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 106 | if (s[p]!='c') break; ++p; | ^~ pimsx.cpp:106:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 106 | if (s[p]!='c') break; ++p; | ^~ pimsx.cpp:116:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 116 | if (s[p]!='e') break; ++p; | ^~ pimsx.cpp:116:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 116 | if (s[p]!='e') break; ++p; | ^~ pimsx.cpp:129:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 129 | if (s[p]!='l') break; ++p; | ^~ pimsx.cpp:129:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 129 | if (s[p]!='l') break; ++p; | ^~ pimsx.cpp:186:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 186 | if (s[p]!='C') break; ++p; | ^~ pimsx.cpp:186:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 186 | if (s[p]!='C') break; ++p; | ^~ pimsx.cpp:193:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 193 | if (s[p]!='E') break; ++p; | ^~ pimsx.cpp:193:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 193 | if (s[p]!='E') break; ++p; | ^~ pimsx.cpp:200:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 200 | if (s[p]!='L') break; ++p; | ^~ pimsx.cpp:200:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 200 | if (s[p]!='L') break; ++p; | ^~ pimsx.cpp: In function ‘void getOperand(std::string&, Op&)’: pimsx.cpp:269:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 269 | if (op.ind) | ^ pimsx.cpp: In function ‘int getjumpoperand(std::string&, Op&)’: pimsx.cpp:328:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 328 | if (!res) if (pass==1) labsnok=1; else error("Label not found",ns); | ^ pimsx.cpp: In function ‘void preinc(Data&, Op)’: pimsx.cpp:357:10: warning: enumeration value ‘Z80_B’ not handled in switch [-Wswitch] 357 | switch (x.reg) { | ^ pimsx.cpp:357:10: warning: enumeration value ‘Z80_C’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80_D’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80_E’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80_H’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80_L’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80_A’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80_I’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80_R’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80_F’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80_IXH’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80_IXL’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80_IYH’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80_IYL’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80_BC’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80_DE’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80_HL’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80_IX’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80_IY’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80_SP’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80_AF’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80_M’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80_NC’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80_NZ’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80_P’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80_PE’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80_PO’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80_Z’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80_nn’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80_UNK’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80mBC’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80mBCi’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80mBCd’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80mDE’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80mDEi’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80mDEd’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80mHL’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80mHLi’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80mHLd’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80mIX’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80mIXi’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80mIXd’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80mIY’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80mIYi’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80mIYd’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80mSP’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80mnn’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80mC’ not handled in switch [-Wswitch] pimsx.cpp:357:10: warning: enumeration value ‘Z80_DUMMY’ not handled in switch [-Wswitch] pimsx.cpp: In function ‘void postinc(Data&, Op)’: pimsx.cpp:366:10: warning: enumeration value ‘Z80_B’ not handled in switch [-Wswitch] 366 | switch (x.reg) { | ^ pimsx.cpp:366:10: warning: enumeration value ‘Z80_C’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80_D’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80_E’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80_H’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80_L’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80_A’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80_I’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80_R’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80_F’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80_IXH’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80_IXL’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80_IYH’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80_IYL’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80_BC’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80_DE’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80_HL’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80_IX’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80_IY’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80_SP’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80_AF’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80_M’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80_NC’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80_NZ’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80_P’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80_PE’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80_PO’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80_Z’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80_nn’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80_UNK’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80mBC’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80miBC’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80mdBC’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80mDE’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80miDE’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80mdDE’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80mHL’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80miHL’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80mdHL’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80mIX’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80miIX’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80mdIX’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80mIY’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80miIY’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80mdIY’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80mSP’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80mnn’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80mC’ not handled in switch [-Wswitch] pimsx.cpp:366:10: warning: enumeration value ‘Z80_DUMMY’ not handled in switch [-Wswitch] pimsx.cpp: In function ‘void pmLD(std::string, Data&)’: pimsx.cpp:940:12: warning: enumeration value ‘Z80_I’ not handled in switch [-Wswitch] 940 | switch (y.reg) { | ^ pimsx.cpp:940:12: warning: enumeration value ‘Z80_R’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80_F’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80_IXH’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80_IXL’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80_IYH’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80_IYL’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80_BC’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80_DE’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80_HL’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80_IX’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80_IY’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80_SP’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80_AF’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80_M’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80_NC’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80_NZ’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80_P’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80_PE’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80_PO’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80_Z’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80_UNK’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80mBC’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80miBC’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80mdBC’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80mBCi’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80mBCd’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80mDE’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80miDE’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80mdDE’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80mDEi’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80mDEd’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80mHL’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80miHL’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80mdHL’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80mHLi’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80mHLd’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80mIX’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80miIX’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80mdIX’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80mIXi’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80mIXd’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80mIY’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80miIY’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80mdIY’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80mIYi’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80mIYd’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80mSP’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80mC’ not handled in switch [-Wswitch] pimsx.cpp:940:12: warning: enumeration value ‘Z80_DUMMY’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80_I’ not handled in switch [-Wswitch] 948 | switch (y.reg) { | ^ pimsx.cpp:948:12: warning: enumeration value ‘Z80_R’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80_F’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80_IXH’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80_IXL’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80_IYH’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80_IYL’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80_BC’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80_DE’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80_HL’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80_IX’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80_IY’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80_SP’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80_AF’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80_M’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80_NC’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80_NZ’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80_P’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80_PE’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80_PO’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80_Z’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80_UNK’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80mBC’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80miBC’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80mdBC’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80mBCi’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80mBCd’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80mDE’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80miDE’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80mdDE’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80mDEi’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80mDEd’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80mHL’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80miHL’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80mdHL’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80mHLi’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80mHLd’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80mIX’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80miIX’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80mdIX’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80mIXi’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80mIXd’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80mIY’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80miIY’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80mdIY’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80mIYi’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80mIYd’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80mSP’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80mC’ not handled in switch [-Wswitch] pimsx.cpp:948:12: warning: enumeration value ‘Z80_DUMMY’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80_I’ not handled in switch [-Wswitch] 956 | switch (y.reg) { | ^ pimsx.cpp:956:12: warning: enumeration value ‘Z80_R’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80_F’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80_IXH’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80_IXL’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80_IYH’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80_IYL’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80_BC’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80_DE’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80_HL’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80_IX’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80_IY’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80_SP’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80_AF’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80_M’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80_NC’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80_NZ’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80_P’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80_PE’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80_PO’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80_Z’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80_UNK’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80mBC’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80miBC’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80mdBC’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80mBCi’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80mBCd’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80mDE’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80miDE’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80mdDE’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80mDEi’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80mDEd’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80mHL’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80miHL’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80mdHL’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80mHLi’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80mHLd’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80mIX’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80miIX’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80mdIX’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80mIXi’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80mIXd’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80mIY’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80miIY’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80mdIY’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80mIYi’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80mIYd’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80mSP’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80mC’ not handled in switch [-Wswitch] pimsx.cpp:956:12: warning: enumeration value ‘Z80_DUMMY’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80_B’ not handled in switch [-Wswitch] 964 | switch (y.reg) { | ^ pimsx.cpp:964:12: warning: enumeration value ‘Z80_C’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80_D’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80_E’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80_H’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80_L’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80_I’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80_R’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80_F’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80_IXH’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80_IXL’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80_IYH’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80_IYL’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80_AF’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80_M’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80_NC’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80_NZ’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80_P’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80_PE’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80_PO’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80_Z’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80_nn’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80_UNK’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80mBC’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80miBC’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80mdBC’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80mBCi’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80mBCd’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80mDE’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80miDE’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80mdDE’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80mDEi’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80mDEd’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80mHL’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80miHL’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80mdHL’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80mHLi’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80mHLd’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80mIX’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80miIX’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80mdIX’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80mIXi’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80mIXd’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80mIY’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80miIY’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80mdIY’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80mIYi’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80mIYd’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80mSP’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80mnn’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80mC’ not handled in switch [-Wswitch] pimsx.cpp:964:12: warning: enumeration value ‘Z80_DUMMY’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80_B’ not handled in switch [-Wswitch] 974 | switch (y.reg) { | ^ pimsx.cpp:974:12: warning: enumeration value ‘Z80_C’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80_D’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80_E’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80_H’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80_L’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80_A’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80_F’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80_IXH’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80_IXL’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80_IYH’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80_IYL’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80_BC’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80_DE’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80_HL’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80_IX’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80_IY’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80_SP’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80_AF’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80_M’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80_NC’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80_NZ’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80_P’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80_PE’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80_PO’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80_Z’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80_nn’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80_UNK’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80mHL’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80miHL’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80mdHL’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80mHLi’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80mHLd’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80mIX’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80miIX’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80mdIX’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80mIXi’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80mIXd’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80mIY’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80miIY’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80mdIY’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80mIYi’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80mIYd’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80mSP’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80mC’ not handled in switch [-Wswitch] pimsx.cpp:974:12: warning: enumeration value ‘Z80_DUMMY’ not handled in switch [-Wswitch] pimsx.cpp:985:12: warning: enumeration value ‘Z80_I’ not handled in switch [-Wswitch] 985 | switch (y.reg) { | ^ pimsx.cpp:985:12: warning: enumeration value ‘Z80_R’ not handled in switch [-Wswitch] pimsx.cpp:985:12: warning: enumeration value ‘Z80_F’ not handled in switch [-Wswitch] pimsx.cpp:985:12: warning: enumeration value ‘Z80_BC’ not handled in switch [-Wswitch] pimsx.cpp:985:12: warning: enumeration value ‘Z80_DE’ not handled in switch [-Wswitch] pimsx.cpp:985:12: warning: enumeration value ‘Z80_HL’ not handled in switch [-Wswitch] pimsx.cpp:985:12: warning: enumeration value ‘Z80_IX’ not handled in switch [-Wswitch] pimsx.cpp:985:12: warning: enumeration value ‘Z80_IY’ not handled in switch [-Wswitch] pimsx.cpp:985:12: warning: enumeration value ‘Z80_SP’ not handled in switch [-Wswitch] pimsx.cpp:985:12: warning: enumeration value ‘Z80_AF’ not handled in switch [-Wswitch] pimsx.cpp:985:12: warning: enumeration value ‘Z80_M’ not handled in switch [-Wswitch] pimsx.cpp:985:12: warning: enumeration value ‘Z80_NC’ not handled in switch [-Wswitch] pimsx.cpp:985:12: warning: enumeration value ‘Z80_NZ’ not handled in switch [-Wswitch] pimsx.cpp:985:12: warning: enumeration value ‘Z80_P’ not handled in switch [-Wswitch] pimsx.cpp:985:12: warning: enumeration value ‘Z80_PE’ not handled in switch [-Wswitch] pimsx.cpp:985:12: warning: enumeration value ‘Z80_PO’ not handled in switch [-Wswitch] pimsx.cpp:985:12: warning: enumeration value ‘Z80_Z’ not handled in switch [-Wswitch] pimsx.cpp:985:12: warning: enumeration value ‘Z80_UNK’ not handled in switch [-Wswitch] pimsx.cpp:985:12: warning: enumeration value ‘Z80mBC’ not handled in switch [-Wswitch] pimsx.cpp:985:12: warning: enumeration value ‘Z80miBC’ not handled in switch [-Wswitch] pimsx.cpp:985:12: warning: enumeration value ‘Z80mdBC’ not handled in switch [-Wswitch] pimsx.cpp:985:12: warning: enumeration value ‘Z80mBCi’ not handled in switch [-Wswitch] pimsx.cpp:985:12: warning: enumeration value ‘Z80mBCd’ not handled in switch [-Wswitch] pimsx.cpp:985:12: warning: enumeration value ‘Z80mDE’ not handled in switch [-Wswitch] pimsx.cpp:985:12: warning: enumeration value ‘Z80miDE’ not handled in switch [-Wswitch] pimsx.cpp:985:12: warning: enumeration value ‘Z80mdDE’ not handled in switch [-Wswitch] pimsx.cpp:985:12: warning: enumeration value ‘Z80mDEi’ not handled in switch [-Wswitch] pimsx.cpp:985:12: warning: enumeration value ‘Z80mDEd’ not handled in switch [-Wswitch] pimsx.cpp:985:12: warning: enumeration value ‘Z80mSP’ not handled in switch [-Wswitch] pimsx.cpp:985:12: warning: enumeration value ‘Z80mC’ not handled in switch [-Wswitch] pimsx.cpp:985:12: warning: enumeration value ‘Z80_DUMMY’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80_B’ not handled in switch [-Wswitch] 1003 | switch (y.reg) { | ^ pimsx.cpp:1003:12: warning: enumeration value ‘Z80_C’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80_D’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80_E’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80_H’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80_L’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80_A’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80_I’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80_R’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80_F’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80_IXH’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80_IXL’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80_IYH’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80_IYL’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80_BC’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80_DE’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80_SP’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80_AF’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80_M’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80_NC’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80_NZ’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80_P’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80_PE’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80_PO’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80_Z’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80_nn’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80_UNK’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80mBC’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80miBC’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80mdBC’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80mBCi’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80mBCd’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80mDE’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80miDE’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80mdDE’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80mDEi’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80mDEd’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80mHL’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80miHL’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80mdHL’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80mHLi’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80mHLd’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80mIX’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80miIX’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80mdIX’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80mIXi’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80mIXd’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80mIY’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80miIY’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80mdIY’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80mIYi’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80mIYd’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80mSP’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80mnn’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80mC’ not handled in switch [-Wswitch] pimsx.cpp:1003:12: warning: enumeration value ‘Z80_DUMMY’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80_B’ not handled in switch [-Wswitch] 1009 | switch (y.reg) { | ^ pimsx.cpp:1009:12: warning: enumeration value ‘Z80_C’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80_D’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80_E’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80_H’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80_L’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80_A’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80_I’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80_R’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80_F’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80_IXH’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80_IXL’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80_IYH’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80_IYL’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80_BC’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80_DE’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80_HL’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80_IX’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80_IY’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80_SP’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80_AF’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80_M’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80_NC’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80_NZ’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80_P’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80_PE’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80_PO’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80_Z’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80_UNK’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80mBC’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80miBC’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80mdBC’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80mBCi’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80mBCd’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80mDE’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80miDE’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80mdDE’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80mDEi’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80mDEd’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80mHL’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80miHL’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80mdHL’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80mHLi’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80mHLd’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80mIX’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80miIX’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80mdIX’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80mIXi’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80mIXd’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80mIY’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80miIY’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80mdIY’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80mIYi’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80mIYd’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80mSP’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80mC’ not handled in switch [-Wswitch] pimsx.cpp:1009:12: warning: enumeration value ‘Z80_DUMMY’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80_B’ not handled in switch [-Wswitch] 1021 | switch (y.reg) { | ^ pimsx.cpp:1021:12: warning: enumeration value ‘Z80_C’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80_D’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80_E’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80_H’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80_L’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80_A’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80_I’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80_R’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80_F’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80_IXH’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80_IXL’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80_IYH’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80_IYL’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80_BC’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80_DE’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80_HL’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80_IX’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80_IY’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80_SP’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80_AF’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80_M’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80_NC’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80_NZ’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80_P’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80_PE’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80_PO’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80_Z’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80_UNK’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80mBC’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80miBC’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80mdBC’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80mBCi’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80mBCd’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80mDE’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80miDE’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80mdDE’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80mDEi’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80mDEd’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80mHL’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80miHL’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80mdHL’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80mHLi’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80mHLd’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80mIX’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80miIX’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80mdIX’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80mIXi’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80mIXd’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80mIY’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80miIY’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80mdIY’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80mIYi’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80mIYd’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80mSP’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80mC’ not handled in switch [-Wswitch] pimsx.cpp:1021:12: warning: enumeration value ‘Z80_DUMMY’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80_B’ not handled in switch [-Wswitch] 1032 | switch (x.reg) { | ^ pimsx.cpp:1032:14: warning: enumeration value ‘Z80_C’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80_D’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80_E’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80_H’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80_L’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80_A’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80_I’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80_R’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80_F’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80_BC’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80_DE’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80_HL’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80_IX’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80_IY’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80_SP’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80_AF’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80_M’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80_NC’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80_NZ’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80_P’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80_PE’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80_PO’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80_Z’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80_nn’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80_UNK’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80mBC’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80miBC’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80mdBC’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80mBCi’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80mBCd’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80mDE’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80miDE’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80mdDE’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80mDEi’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80mDEd’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80mHL’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80miHL’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80mdHL’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80mHLi’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80mHLd’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80mIX’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80miIX’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80mdIX’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80mIXi’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80mIXd’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80mIY’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80miIY’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80mdIY’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80mIYi’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80mIYd’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80mSP’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80mnn’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80mC’ not handled in switch [-Wswitch] pimsx.cpp:1032:14: warning: enumeration value ‘Z80_DUMMY’ not handled in switch [-Wswitch] pimsx.cpp:1039:22: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 1039 | case Z80_IXH: if (y.reg==Z80_IXH) if (x.reg==Z80_IYH || x.reg==Z80_IYL) break; else y.reg=Z80_H; | ^ pimsx.cpp:1040:22: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 1040 | case Z80_IXL: if (y.reg==Z80_IXL) if (x.reg==Z80_IYH || x.reg==Z80_IYL) break; else y.reg=Z80_L; | ^ pimsx.cpp:1041:22: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 1041 | case Z80_IYH: if (y.reg==Z80_IYH) if (x.reg==Z80_IXH || x.reg==Z80_IXL) break; else y.reg=Z80_H; | ^ pimsx.cpp:1042:22: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 1042 | case Z80_IYL: if (y.reg==Z80_IYL) if (x.reg==Z80_IXH || x.reg==Z80_IXL) break; else y.reg=Z80_L; | ^ pimsx.cpp:1044:14: warning: enumeration value ‘Z80_B’ not handled in switch [-Wswitch] 1044 | switch (x.reg) { | ^ pimsx.cpp:1044:14: warning: enumeration value ‘Z80_C’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80_D’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80_E’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80_H’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80_L’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80_A’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80_I’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80_R’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80_F’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80_BC’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80_DE’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80_HL’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80_IX’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80_IY’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80_SP’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80_AF’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80_M’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80_NC’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80_NZ’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80_P’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80_PE’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80_PO’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80_Z’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80_nn’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80_UNK’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80mBC’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80miBC’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80mdBC’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80mBCi’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80mBCd’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80mDE’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80miDE’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80mdDE’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80mDEi’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80mDEd’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80mHL’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80miHL’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80mdHL’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80mHLi’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80mHLd’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80mIX’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80miIX’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80mdIX’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80mIXi’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80mIXd’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80mIY’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80miIY’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80mdIY’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80mIYi’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80mIYd’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80mSP’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80mnn’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80mC’ not handled in switch [-Wswitch] pimsx.cpp:1044:14: warning: enumeration value ‘Z80_DUMMY’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80_H’ not handled in switch [-Wswitch] 1029 | switch (y.reg) { | ^ pimsx.cpp:1029:12: warning: enumeration value ‘Z80_L’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80_I’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80_R’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80_F’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80_BC’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80_DE’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80_HL’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80_IX’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80_IY’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80_SP’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80_AF’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80_M’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80_NC’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80_NZ’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80_P’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80_PE’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80_PO’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80_Z’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80_UNK’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80mBC’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80miBC’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80mdBC’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80mBCi’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80mBCd’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80mDE’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80miDE’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80mdDE’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80mDEi’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80mDEd’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80mHL’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80miHL’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80mdHL’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80mHLi’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80mHLd’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80mIX’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80miIX’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80mdIX’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80mIXi’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80mIXd’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80mIY’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80miIY’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80mdIY’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80mIYi’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80mIYd’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80mSP’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80mC’ not handled in switch [-Wswitch] pimsx.cpp:1029:12: warning: enumeration value ‘Z80_DUMMY’ not handled in switch [-Wswitch] pimsx.cpp:932:10: warning: enumeration value ‘Z80_F’ not handled in switch [-Wswitch] 932 | switch (x.reg) { | ^ pimsx.cpp:932:10: warning: enumeration value ‘Z80_AF’ not handled in switch [-Wswitch] pimsx.cpp:932:10: warning: enumeration value ‘Z80_M’ not handled in switch [-Wswitch] pimsx.cpp:932:10: warning: enumeration value ‘Z80_NC’ not handled in switch [-Wswitch] pimsx.cpp:932:10: warning: enumeration value ‘Z80_NZ’ not handled in switch [-Wswitch] pimsx.cpp:932:10: warning: enumeration value ‘Z80_P’ not handled in switch [-Wswitch] pimsx.cpp:932:10: warning: enumeration value ‘Z80_PE’ not handled in switch [-Wswitch] pimsx.cpp:932:10: warning: enumeration value ‘Z80_PO’ not handled in switch [-Wswitch] pimsx.cpp:932:10: warning: enumeration value ‘Z80_Z’ not handled in switch [-Wswitch] pimsx.cpp:932:10: warning: enumeration value ‘Z80_nn’ not handled in switch [-Wswitch] pimsx.cpp:932:10: warning: enumeration value ‘Z80_UNK’ not handled in switch [-Wswitch] pimsx.cpp:932:10: warning: enumeration value ‘Z80mSP’ not handled in switch [-Wswitch] pimsx.cpp:932:10: warning: enumeration value ‘Z80mC’ not handled in switch [-Wswitch] pimsx.cpp:932:10: warning: enumeration value ‘Z80_DUMMY’ not handled in switch [-Wswitch] pimsx.cpp: In function ‘void pmRST(std::string, Data&)’: pimsx.cpp:1391:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 1391 | if (x.reg==Z80mnn) if (x.ind>1) { error("Indirection not allowed"); return; } else x.reg=Z80_nn; | ^ In file included from sjasm.h:90, from preprocessor.cpp:29: datastructures.h: In member function ‘int FunctionTable::exec(std::string, std::string&, TT*)’: datastructures.h:162:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 162 | while(htr=_hashtable[tr]) { | ~~~^~~~~~~~~~~~~~~ datastructures.h: In member function ‘int FunctionTable::_insert(std::string, T)’: datastructures.h:194:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 194 | while(htr=_hashtable[tr]) { | ~~~^~~~~~~~~~~~~~~ datastructures.h: In constructor ‘LabelTable::_labelEntry::_labelEntry()’: datastructures.h:235:9: warning: ‘LabelTable::_labelEntry::_lastpass’ will be initialized after [-Wreorder] 235 | int _lastpass; | ^~~~~~~~~ datastructures.h:234:11: warning: ‘Rout* LabelTable::_labelEntry::_rout’ [-Wreorder] 234 | Rout *_rout; | ^~~~~ datastructures.h:230:5: warning: when initialized here [-Wreorder] 230 | _labelEntry() : _val(0), _page(0), _set(false),_forward(false),_lastpass(0),_rout(0) { _name.clear(); } | ^~~~~~~~~~~ In file included from sjasm.h:109: reader.h: In constructor ‘Find::Find(char*)’: reader.h:70:70: warning: array subscript has type ‘char’ [-Wchar-subscripts] 70 | Find(char*s) { for (int i=0;i!=256;++i) _c[i]=false; while (*s) _c[*s++]=true; } | ^~~~ reader.h: In member function ‘int Find::find(std::string&)’: reader.h:71:70: warning: array subscript has type ‘char’ [-Wchar-subscripts] 71 | int find(string&s) { for (int i=0;i!=(int)s.size();++i) if (_c[s[i]]) return i; return (int)string::npos; } | ^ reader.h: In member function ‘int Find::findnot(std::string&)’: reader.h:72:74: warning: array subscript has type ‘char’ [-Wchar-subscripts] 72 | int findnot(string&s) { for (int i=0;i!=(int)s.size();++i) if (!_c[s[i]]) return i; return (int)string::npos; } | ^ In file included from sjasm.h:112: source.h: In constructor ‘FieldLabel::FieldLabel(int, std::string)’: source.h:151:7: warning: ‘FieldLabel::_location’ will be initialized after [-Wreorder] 151 | int _location; | ^~~~~~~~~ source.h:150:10: warning: ‘std::string FieldLabel::_expr’ [-Wreorder] 150 | string _expr; | ^~~~~ source.h:146:3: warning: when initialized here [-Wreorder] 146 | FieldLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~~~ source.h: In constructor ‘EquLabel::EquLabel(int, std::string)’: source.h:162:7: warning: ‘EquLabel::_location’ will be initialized after [-Wreorder] 162 | int _location; | ^~~~~~~~~ source.h:161:10: warning: ‘std::string EquLabel::_expr’ [-Wreorder] 161 | string _expr; | ^~~~~ source.h:157:3: warning: when initialized here [-Wreorder] 157 | EquLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~ source.h: In constructor ‘SetLabel::SetLabel(int, std::string)’: source.h:173:7: warning: ‘SetLabel::_location’ will be initialized after [-Wreorder] 173 | int _location; | ^~~~~~~~~ source.h:172:10: warning: ‘std::string SetLabel::_expr’ [-Wreorder] 172 | string _expr; | ^~~~~ source.h:168:3: warning: when initialized here [-Wreorder] 168 | SetLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~ source.h: In constructor ‘dRout::dRout(int, Rout*, std::string)’: source.h:203:14: warning: ‘dRout::_rnr’ will be initialized after [-Wreorder] 203 | int _page, _rnr; | ^~~~ source.h:203:7: warning: ‘int dRout::_page’ [-Wreorder] 203 | int _page, _rnr; | ^~~~~ source.h:200:3: warning: when initialized here [-Wreorder] 200 | dRout(int n_rnr, Rout *n_rout, string n_line) : _rnr(n_rnr), _page(page), _rout(n_rout), _line(n_line) { _listtype=LISTINFO; } | ^~~~~ source.h: In constructor ‘StructExp::StructExp(std::string, int, std::string)’: source.h:377:7: warning: ‘StructExp::_structure’ will be initialized after [-Wreorder] 377 | int _structure; | ^~~~~~~~~~ source.h:376:16: warning: ‘std::string StructExp::_label’ [-Wreorder] 376 | string _line,_label; | ^~~~~~ source.h:370:3: warning: when initialized here [-Wreorder] 370 | StructExp(string n_line, int n_structure, string n_label) | ^~~~~~~~~ In file included from sjasm.h:113: output.h: In constructor ‘Rout::Rout()’: output.h:63:32: warning: ‘Rout::_pooladres’ will be initialized after [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~~ output.h:63:15: warning: ‘int Rout::_page’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:65:29: warning: ‘Rout::_align’ will be initialized after [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~ output.h:64:16: warning: ‘bool Rout::_overlay’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:64:16: warning: ‘Rout::_overlay’ will be initialized after [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ output.h:63:22: warning: ‘int Rout::_lastused’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:68:14: warning: ‘Rout::_forgetmode’ will be initialized after [-Wreorder] 68 | FORGETMODE _forgetmode; | ^~~~~~~~~~~ output.h:64:8: warning: ‘bool Rout::_forget’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:71:7: warning: ‘Rout::_labelindex’ will be initialized after [-Wreorder] 71 | int _labelindex,_curlin,_listcurlin; | ^~~~~~~~~~~ output.h:64:26: warning: ‘bool Rout::_byteadr’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:72:10: warning: ‘Rout::_sourcefile’ will be initialized after [-Wreorder] 72 | string _sourcefile; | ^~~~~~~~~~~ output.h:65:18: warning: ‘int Rout::_maxadres’ [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:65:18: warning: ‘Rout::_maxadres’ will be initialized after [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~~~~ output.h:63:43: warning: ‘int Rout::_multipage’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h: In constructor ‘Part::Part(int, int, int, int, int, ALIGNMODE, Rout*, int)’: output.h:84:32: warning: ‘Part::_rnr’ will be initialized after [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~ output.h:84:7: warning: ‘int Part::_page’ [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ output.h:84:25: warning: ‘Part::_align’ will be initialized after [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~~~ output.h:83:13: warning: ‘ALIGNMODE Part::_alignmode’ [-Wreorder] 83 | ALIGNMODE _alignmode; | ^~~~~~~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ output.h:86:9: warning: ‘Part::_rout’ will be initialized after [-Wreorder] 86 | Rout *_rout; | ^~~~~ output.h:85:7: warning: ‘int Part::_multipage’ [-Wreorder] 85 | int _multipage,_offset; | ^~~~~~~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ output.h: In constructor ‘Page::Page(int, int, int)’: output.h:120:41: warning: ‘Page::_usedsize’ will be initialized after [-Wreorder] 120 | int _pagenr, _org, _size, _highestad, _usedsize; | ^~~~~~~~~ output.h:120:29: warning: ‘int Page::_highestad’ [-Wreorder] 120 | int _pagenr, _org, _size, _highestad, _usedsize; | ^~~~~~~~~~ output.h:91:3: warning: when initialized here [-Wreorder] 91 | Page(int n_pagenr, int n_org, int n_size) : | ^~~~ output.h: In member function ‘int Page::getfreestartspace()’: output.h:101:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 101 | if (_part.empty()) if (_size==-1) return BIGVALUE; else return _size; | ^ output.h: In constructor ‘Output::Output(std::string, FILEMODE)’: output.h:155:9: warning: ‘Output::_outp’ will be initialized after [-Wreorder] 155 | Rout *_outp; | ^~~~~ output.h:154:12: warning: ‘int Output::_org’ [-Wreorder] 154 | int _rn, _org; | ^~~~ output.h:129:3: warning: when initialized here [-Wreorder] 129 | Output(string n_filename,FILEMODE n_mode=OVERWRITE) : | ^~~~~~ In file included from sjasm.h:114: rawsource.h: In constructor ‘RSStructure::RSStructure(int, int, bool, Structure&, StringList&)’: rawsource.h:75:14: warning: ‘RSStructure::_s’ will be initialized after [-Wreorder] 75 | Structure &_s; | ^~ rawsource.h:74:17: warning: ‘bool RSStructure::_mustalign’ [-Wreorder] 74 | bool _global, _mustalign; | ^~~~~~~~~~ rawsource.h:69:3: warning: when initialized here [-Wreorder] 69 | RSStructure(int n_offset, int n_align, bool n_global, Structure &n_s, StringList &sl) : | ^~~~~~~~~~~ rawsource.h:74:17: warning: ‘RSStructure::_mustalign’ will be initialized after [-Wreorder] 74 | bool _global, _mustalign; | ^~~~~~~~~~ rawsource.h:70:109: warning: base ‘RawSource’ [-Wreorder] 70 | _offset(n_offset), _defaultalign(n_align), _global(n_global), _s(n_s), _mustalign(false), RawSource(sl) {} | ^ rawsource.h:69:3: warning: when initialized here [-Wreorder] 69 | RSStructure(int n_offset, int n_align, bool n_global, Structure &n_s, StringList &sl) : | ^~~~~~~~~~~ preprocessor.cpp: In function ‘std::string getbuildindefine(std::string, std::string&)’: preprocessor.cpp:54:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 54 | if (d=="__MODULE__") if (modlabp.empty()) return " "; else return modlabp; | ^ preprocessor.cpp: In function ‘std::string ReplaceDefines(std::string)’: preprocessor.cpp:82:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const std::__cxx11::basic_string::size_type’ {aka ‘const long unsigned int’} [-Wsign-compare] 82 | if (pos==string::npos) break; | ~~~^~~~~~~~~~~~~~ preprocessor.cpp:138:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const std::__cxx11::basic_string::size_type’ {aka ‘const long unsigned int’} [-Wsign-compare] 138 | if (pos==string::npos) break; | ~~~^~~~~~~~~~~~~~ preprocessor.cpp:150:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const std::__cxx11::basic_string::size_type’ {aka ‘const long unsigned int’} [-Wsign-compare] 150 | if (pos==string::npos) break; | ~~~^~~~~~~~~~~~~~ preprocessor.cpp:157:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const std::__cxx11::basic_string::size_type’ {aka ‘const long unsigned int’} [-Wsign-compare] 157 | if (pos!=string::npos) r.erase(pos+1); | ~~~^~~~~~~~~~~~~~ preprocessor.cpp: In function ‘void ifIFNUM(std::string&, void (*)(bool))’: preprocessor.cpp:289:116: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 289 | if (isdigit(line[0]) || (line[0]=='#' && isalnum(line[1])) || (line[0]=='$' && isalnum(line[1])) || line[0]=='%' && isdigit(line[1])) { preprocessor.cpp: In function ‘void ifIFNNUM(std::string&, void (*)(bool))’: preprocessor.cpp:313:122: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 313 | (*push)(!(isdigit(line[0]) || (line[0]=='#' && isalnum(line[1])) || (line[0]=='$' && isalnum(line[1])) || line[0]=='%' && isdigit(line[1]))); preprocessor.cpp: In function ‘int pregetmacro(std::string&, bool, RawSource*, bool, bool)’: preprocessor.cpp:501:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 501 | if (comma(line)) continue; break; | ^~ preprocessor.cpp:501:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 501 | if (comma(line)) continue; break; | ^~~~~ preprocessor.cpp:514:10: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 514 | if (sbcneed(line,'+')) | ^ g++ -Wp,-MD,.deps/rawsource.d -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DMAX_PATH=MAXPATHLEN -std=c++11 -Wno-write-strings -c -o rawsource.o rawsource.cpp In file included from sjasm.h:90, from rawsource.cpp:29: datastructures.h: In member function ‘int FunctionTable::exec(std::string, std::string&, TT*)’: datastructures.h:162:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 162 | while(htr=_hashtable[tr]) { | ~~~^~~~~~~~~~~~~~~ datastructures.h: In member function ‘int FunctionTable::_insert(std::string, T)’: datastructures.h:194:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 194 | while(htr=_hashtable[tr]) { | ~~~^~~~~~~~~~~~~~~ datastructures.h: In constructor ‘LabelTable::_labelEntry::_labelEntry()’: datastructures.h:235:9: warning: ‘LabelTable::_labelEntry::_lastpass’ will be initialized after [-Wreorder] 235 | int _lastpass; | ^~~~~~~~~ datastructures.h:234:11: warning: ‘Rout* LabelTable::_labelEntry::_rout’ [-Wreorder] 234 | Rout *_rout; | ^~~~~ datastructures.h:230:5: warning: when initialized here [-Wreorder] 230 | _labelEntry() : _val(0), _page(0), _set(false),_forward(false),_lastpass(0),_rout(0) { _name.clear(); } | ^~~~~~~~~~~ In file included from sjasm.h:109: reader.h: In constructor ‘Find::Find(char*)’: reader.h:70:70: warning: array subscript has type ‘char’ [-Wchar-subscripts] 70 | Find(char*s) { for (int i=0;i!=256;++i) _c[i]=false; while (*s) _c[*s++]=true; } | ^~~~ reader.h: In member function ‘int Find::find(std::string&)’: reader.h:71:70: warning: array subscript has type ‘char’ [-Wchar-subscripts] 71 | int find(string&s) { for (int i=0;i!=(int)s.size();++i) if (_c[s[i]]) return i; return (int)string::npos; } | ^ reader.h: In member function ‘int Find::findnot(std::string&)’: reader.h:72:74: warning: array subscript has type ‘char’ [-Wchar-subscripts] 72 | int findnot(string&s) { for (int i=0;i!=(int)s.size();++i) if (!_c[s[i]]) return i; return (int)string::npos; } | ^ In file included from sjasm.h:112: source.h: In constructor ‘FieldLabel::FieldLabel(int, std::string)’: source.h:151:7: warning: ‘FieldLabel::_location’ will be initialized after [-Wreorder] 151 | int _location; | ^~~~~~~~~ source.h:150:10: warning: ‘std::string FieldLabel::_expr’ [-Wreorder] 150 | string _expr; | ^~~~~ source.h:146:3: warning: when initialized here [-Wreorder] 146 | FieldLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~~~ source.h: In constructor ‘EquLabel::EquLabel(int, std::string)’: source.h:162:7: warning: ‘EquLabel::_location’ will be initialized after [-Wreorder] 162 | int _location; | ^~~~~~~~~ source.h:161:10: warning: ‘std::string EquLabel::_expr’ [-Wreorder] 161 | string _expr; | ^~~~~ source.h:157:3: warning: when initialized here [-Wreorder] 157 | EquLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~ source.h: In constructor ‘SetLabel::SetLabel(int, std::string)’: source.h:173:7: warning: ‘SetLabel::_location’ will be initialized after [-Wreorder] 173 | int _location; | ^~~~~~~~~ source.h:172:10: warning: ‘std::string SetLabel::_expr’ [-Wreorder] 172 | string _expr; | ^~~~~ source.h:168:3: warning: when initialized here [-Wreorder] 168 | SetLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~ source.h: In constructor ‘dRout::dRout(int, Rout*, std::string)’: source.h:203:14: warning: ‘dRout::_rnr’ will be initialized after [-Wreorder] 203 | int _page, _rnr; | ^~~~ source.h:203:7: warning: ‘int dRout::_page’ [-Wreorder] 203 | int _page, _rnr; | ^~~~~ source.h:200:3: warning: when initialized here [-Wreorder] 200 | dRout(int n_rnr, Rout *n_rout, string n_line) : _rnr(n_rnr), _page(page), _rout(n_rout), _line(n_line) { _listtype=LISTINFO; } | ^~~~~ source.h: In constructor ‘StructExp::StructExp(std::string, int, std::string)’: source.h:377:7: warning: ‘StructExp::_structure’ will be initialized after [-Wreorder] 377 | int _structure; | ^~~~~~~~~~ source.h:376:16: warning: ‘std::string StructExp::_label’ [-Wreorder] 376 | string _line,_label; | ^~~~~~ source.h:370:3: warning: when initialized here [-Wreorder] 370 | StructExp(string n_line, int n_structure, string n_label) | ^~~~~~~~~ In file included from sjasm.h:113: output.h: In constructor ‘Rout::Rout()’: output.h:63:32: warning: ‘Rout::_pooladres’ will be initialized after [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~~ output.h:63:15: warning: ‘int Rout::_page’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:65:29: warning: ‘Rout::_align’ will be initialized after [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~ output.h:64:16: warning: ‘bool Rout::_overlay’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:64:16: warning: ‘Rout::_overlay’ will be initialized after [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ output.h:63:22: warning: ‘int Rout::_lastused’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:68:14: warning: ‘Rout::_forgetmode’ will be initialized after [-Wreorder] 68 | FORGETMODE _forgetmode; | ^~~~~~~~~~~ output.h:64:8: warning: ‘bool Rout::_forget’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:71:7: warning: ‘Rout::_labelindex’ will be initialized after [-Wreorder] 71 | int _labelindex,_curlin,_listcurlin; | ^~~~~~~~~~~ output.h:64:26: warning: ‘bool Rout::_byteadr’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:72:10: warning: ‘Rout::_sourcefile’ will be initialized after [-Wreorder] 72 | string _sourcefile; | ^~~~~~~~~~~ output.h:65:18: warning: ‘int Rout::_maxadres’ [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:65:18: warning: ‘Rout::_maxadres’ will be initialized after [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~~~~ output.h:63:43: warning: ‘int Rout::_multipage’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h: In constructor ‘Part::Part(int, int, int, int, int, ALIGNMODE, Rout*, int)’: output.h:84:32: warning: ‘Part::_rnr’ will be initialized after [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~ output.h:84:7: warning: ‘int Part::_page’ [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ output.h:84:25: warning: ‘Part::_align’ will be initialized after [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~~~ output.h:83:13: warning: ‘ALIGNMODE Part::_alignmode’ [-Wreorder] 83 | ALIGNMODE _alignmode; | ^~~~~~~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ output.h:86:9: warning: ‘Part::_rout’ will be initialized after [-Wreorder] 86 | Rout *_rout; | ^~~~~ output.h:85:7: warning: ‘int Part::_multipage’ [-Wreorder] 85 | int _multipage,_offset; | ^~~~~~~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ output.h: In constructor ‘Page::Page(int, int, int)’: output.h:120:41: warning: ‘Page::_usedsize’ will be initialized after [-Wreorder] 120 | int _pagenr, _org, _size, _highestad, _usedsize; | ^~~~~~~~~ output.h:120:29: warning: ‘int Page::_highestad’ [-Wreorder] 120 | int _pagenr, _org, _size, _highestad, _usedsize; | ^~~~~~~~~~ output.h:91:3: warning: when initialized here [-Wreorder] 91 | Page(int n_pagenr, int n_org, int n_size) : | ^~~~ output.h: In member function ‘int Page::getfreestartspace()’: output.h:101:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 101 | if (_part.empty()) if (_size==-1) return BIGVALUE; else return _size; | ^ output.h: In constructor ‘Output::Output(std::string, FILEMODE)’: output.h:155:9: warning: ‘Output::_outp’ will be initialized after [-Wreorder] 155 | Rout *_outp; | ^~~~~ output.h:154:12: warning: ‘int Output::_org’ [-Wreorder] 154 | int _rn, _org; | ^~~~ output.h:129:3: warning: when initialized here [-Wreorder] 129 | Output(string n_filename,FILEMODE n_mode=OVERWRITE) : | ^~~~~~ In file included from sjasm.h:114: rawsource.h: In constructor ‘RSStructure::RSStructure(int, int, bool, Structure&, StringList&)’: rawsource.h:75:14: warning: ‘RSStructure::_s’ will be initialized after [-Wreorder] 75 | Structure &_s; | ^~ rawsource.h:74:17: warning: ‘bool RSStructure::_mustalign’ [-Wreorder] 74 | bool _global, _mustalign; | ^~~~~~~~~~ rawsource.h:69:3: warning: when initialized here [-Wreorder] 69 | RSStructure(int n_offset, int n_align, bool n_global, Structure &n_s, StringList &sl) : | ^~~~~~~~~~~ rawsource.h:74:17: warning: ‘RSStructure::_mustalign’ will be initialized after [-Wreorder] 74 | bool _global, _mustalign; | ^~~~~~~~~~ rawsource.h:70:109: warning: base ‘RawSource’ [-Wreorder] 70 | _offset(n_offset), _defaultalign(n_align), _global(n_global), _s(n_s), _mustalign(false), RawSource(sl) {} | ^ rawsource.h:69:3: warning: when initialized here [-Wreorder] 69 | RSStructure(int n_offset, int n_align, bool n_global, Structure &n_s, StringList &sl) : | ^~~~~~~~~~~ rawsource.cpp: In member function ‘std::string RawSource::_KillComments()’: rawsource.cpp:173:15: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 173 | if (!af && *p=='a' || *p=='A') { | ~~~~^~~~~~~~~~ rawsource.cpp:176:17: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 176 | if (af==1 && *p=='f' || *p=='F') { | ~~~~~~^~~~~~~~~~ rawsource.cpp: In member function ‘void RawSource::_CutLines(std::string&)’: rawsource.cpp:236:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const std::__cxx11::basic_string::size_type’ {aka ‘const long unsigned int’} [-Wsign-compare] 236 | if (pos==string::npos) break; | ~~~^~~~~~~~~~~~~~ rawsource.cpp: In member function ‘int RawSource::_ParseLabel(std::string&)’: rawsource.cpp:273:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const std::__cxx11::basic_string::size_type’ {aka ‘const long unsigned int’} [-Wsign-compare] 273 | if (loc!=string::npos) mlp=mlp.substr(0,loc); | ~~~^~~~~~~~~~~~~~ rawsource.cpp:284:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const std::__cxx11::basic_string::size_type’ {aka ‘const long unsigned int’} [-Wsign-compare] 284 | n=line.substr(0,pos); if (pos!=string::npos) line=line.substr(pos); else line.clear(); | ~~~^~~~~~~~~~~~~~ rawsource.cpp: In member function ‘void RawSource::_ParseRepeat(std::string&)’: rawsource.cpp:342:10: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const std::__cxx11::basic_string::size_type’ {aka ‘const long unsigned int’} [-Wsign-compare] 342 | if (p==string::npos) { error("] expected"); return; } | ~^~~~~~~~~~~~~~ g++ -Wp,-MD,.deps/reader.d -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DMAX_PATH=MAXPATHLEN -std=c++11 -Wno-write-strings -c -o reader.o reader.cpp In file included from sjasm.h:90, from reader.cpp:29: datastructures.h: In member function ‘int FunctionTable::exec(std::string, std::string&, TT*)’: datastructures.h:162:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 162 | while(htr=_hashtable[tr]) { | ~~~^~~~~~~~~~~~~~~ datastructures.h: In member function ‘int FunctionTable::_insert(std::string, T)’: datastructures.h:194:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 194 | while(htr=_hashtable[tr]) { | ~~~^~~~~~~~~~~~~~~ datastructures.h: In constructor ‘LabelTable::_labelEntry::_labelEntry()’: datastructures.h:235:9: warning: ‘LabelTable::_labelEntry::_lastpass’ will be initialized after [-Wreorder] 235 | int _lastpass; | ^~~~~~~~~ datastructures.h:234:11: warning: ‘Rout* LabelTable::_labelEntry::_rout’ [-Wreorder] 234 | Rout *_rout; | ^~~~~ datastructures.h:230:5: warning: when initialized here [-Wreorder] 230 | _labelEntry() : _val(0), _page(0), _set(false),_forward(false),_lastpass(0),_rout(0) { _name.clear(); } | ^~~~~~~~~~~ In file included from sjasm.h:109: reader.h: In constructor ‘Find::Find(char*)’: reader.h:70:70: warning: array subscript has type ‘char’ [-Wchar-subscripts] 70 | Find(char*s) { for (int i=0;i!=256;++i) _c[i]=false; while (*s) _c[*s++]=true; } | ^~~~ reader.h: In member function ‘int Find::find(std::string&)’: reader.h:71:70: warning: array subscript has type ‘char’ [-Wchar-subscripts] 71 | int find(string&s) { for (int i=0;i!=(int)s.size();++i) if (_c[s[i]]) return i; return (int)string::npos; } | ^ reader.h: In member function ‘int Find::findnot(std::string&)’: reader.h:72:74: warning: array subscript has type ‘char’ [-Wchar-subscripts] 72 | int findnot(string&s) { for (int i=0;i!=(int)s.size();++i) if (!_c[s[i]]) return i; return (int)string::npos; } | ^ In file included from sjasm.h:112: source.h: In constructor ‘FieldLabel::FieldLabel(int, std::string)’: source.h:151:7: warning: ‘FieldLabel::_location’ will be initialized after [-Wreorder] 151 | int _location; | ^~~~~~~~~ source.h:150:10: warning: ‘std::string FieldLabel::_expr’ [-Wreorder] 150 | string _expr; | ^~~~~ source.h:146:3: warning: when initialized here [-Wreorder] 146 | FieldLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~~~ source.h: In constructor ‘EquLabel::EquLabel(int, std::string)’: source.h:162:7: warning: ‘EquLabel::_location’ will be initialized after [-Wreorder] 162 | int _location; | ^~~~~~~~~ source.h:161:10: warning: ‘std::string EquLabel::_expr’ [-Wreorder] 161 | string _expr; | ^~~~~ source.h:157:3: warning: when initialized here [-Wreorder] 157 | EquLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~ source.h: In constructor ‘SetLabel::SetLabel(int, std::string)’: source.h:173:7: warning: ‘SetLabel::_location’ will be initialized after [-Wreorder] 173 | int _location; | ^~~~~~~~~ source.h:172:10: warning: ‘std::string SetLabel::_expr’ [-Wreorder] 172 | string _expr; | ^~~~~ source.h:168:3: warning: when initialized here [-Wreorder] 168 | SetLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~ source.h: In constructor ‘dRout::dRout(int, Rout*, std::string)’: source.h:203:14: warning: ‘dRout::_rnr’ will be initialized after [-Wreorder] 203 | int _page, _rnr; | ^~~~ source.h:203:7: warning: ‘int dRout::_page’ [-Wreorder] 203 | int _page, _rnr; | ^~~~~ source.h:200:3: warning: when initialized here [-Wreorder] 200 | dRout(int n_rnr, Rout *n_rout, string n_line) : _rnr(n_rnr), _page(page), _rout(n_rout), _line(n_line) { _listtype=LISTINFO; } | ^~~~~ source.h: In constructor ‘StructExp::StructExp(std::string, int, std::string)’: source.h:377:7: warning: ‘StructExp::_structure’ will be initialized after [-Wreorder] 377 | int _structure; | ^~~~~~~~~~ source.h:376:16: warning: ‘std::string StructExp::_label’ [-Wreorder] 376 | string _line,_label; | ^~~~~~ source.h:370:3: warning: when initialized here [-Wreorder] 370 | StructExp(string n_line, int n_structure, string n_label) | ^~~~~~~~~ In file included from sjasm.h:113: output.h: In constructor ‘Rout::Rout()’: output.h:63:32: warning: ‘Rout::_pooladres’ will be initialized after [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~~ output.h:63:15: warning: ‘int Rout::_page’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:65:29: warning: ‘Rout::_align’ will be initialized after [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~ output.h:64:16: warning: ‘bool Rout::_overlay’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:64:16: warning: ‘Rout::_overlay’ will be initialized after [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ output.h:63:22: warning: ‘int Rout::_lastused’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:68:14: warning: ‘Rout::_forgetmode’ will be initialized after [-Wreorder] 68 | FORGETMODE _forgetmode; | ^~~~~~~~~~~ output.h:64:8: warning: ‘bool Rout::_forget’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:71:7: warning: ‘Rout::_labelindex’ will be initialized after [-Wreorder] 71 | int _labelindex,_curlin,_listcurlin; | ^~~~~~~~~~~ output.h:64:26: warning: ‘bool Rout::_byteadr’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:72:10: warning: ‘Rout::_sourcefile’ will be initialized after [-Wreorder] 72 | string _sourcefile; | ^~~~~~~~~~~ output.h:65:18: warning: ‘int Rout::_maxadres’ [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:65:18: warning: ‘Rout::_maxadres’ will be initialized after [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~~~~ output.h:63:43: warning: ‘int Rout::_multipage’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h: In constructor ‘Part::Part(int, int, int, int, int, ALIGNMODE, Rout*, int)’: output.h:84:32: warning: ‘Part::_rnr’ will be initialized after [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~ output.h:84:7: warning: ‘int Part::_page’ [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ output.h:84:25: warning: ‘Part::_align’ will be initialized after [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~~~ output.h:83:13: warning: ‘ALIGNMODE Part::_alignmode’ [-Wreorder] 83 | ALIGNMODE _alignmode; | ^~~~~~~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ output.h:86:9: warning: ‘Part::_rout’ will be initialized after [-Wreorder] 86 | Rout *_rout; | ^~~~~ output.h:85:7: warning: ‘int Part::_multipage’ [-Wreorder] 85 | int _multipage,_offset; | ^~~~~~~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ output.h: In constructor ‘Page::Page(int, int, int)’: output.h:120:41: warning: ‘Page::_usedsize’ will be initialized after [-Wreorder] 120 | int _pagenr, _org, _size, _highestad, _usedsize; | ^~~~~~~~~ output.h:120:29: warning: ‘int Page::_highestad’ [-Wreorder] 120 | int _pagenr, _org, _size, _highestad, _usedsize; | ^~~~~~~~~~ output.h:91:3: warning: when initialized here [-Wreorder] 91 | Page(int n_pagenr, int n_org, int n_size) : | ^~~~ output.h: In member function ‘int Page::getfreestartspace()’: output.h:101:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 101 | if (_part.empty()) if (_size==-1) return BIGVALUE; else return _size; | ^ output.h: In constructor ‘Output::Output(std::string, FILEMODE)’: output.h:155:9: warning: ‘Output::_outp’ will be initialized after [-Wreorder] 155 | Rout *_outp; | ^~~~~ output.h:154:12: warning: ‘int Output::_org’ [-Wreorder] 154 | int _rn, _org; | ^~~~ output.h:129:3: warning: when initialized here [-Wreorder] 129 | Output(string n_filename,FILEMODE n_mode=OVERWRITE) : | ^~~~~~ In file included from sjasm.h:114: rawsource.h: In constructor ‘RSStructure::RSStructure(int, int, bool, Structure&, StringList&)’: rawsource.h:75:14: warning: ‘RSStructure::_s’ will be initialized after [-Wreorder] 75 | Structure &_s; | ^~ rawsource.h:74:17: warning: ‘bool RSStructure::_mustalign’ [-Wreorder] 74 | bool _global, _mustalign; | ^~~~~~~~~~ rawsource.h:69:3: warning: when initialized here [-Wreorder] 69 | RSStructure(int n_offset, int n_align, bool n_global, Structure &n_s, StringList &sl) : | ^~~~~~~~~~~ rawsource.h:74:17: warning: ‘RSStructure::_mustalign’ will be initialized after [-Wreorder] 74 | bool _global, _mustalign; | ^~~~~~~~~~ rawsource.h:70:109: warning: base ‘RawSource’ [-Wreorder] 70 | _offset(n_offset), _defaultalign(n_align), _global(n_global), _s(n_s), _mustalign(false), RawSource(sl) {} | ^ rawsource.h:69:3: warning: when initialized here [-Wreorder] 69 | RSStructure(int n_offset, int n_align, bool n_global, Structure &n_s, StringList &sl) : | ^~~~~~~~~~~ reader.cpp: In function ‘std::string tolower(std::string)’: reader.cpp:75:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 75 | while(*p++=(char)tolower(*op)) ++op; | ~~~~^~~~~~~~~~~~~~~~~~~ reader.cpp: In function ‘void skipblanks(std::string&)’: reader.cpp:81:10: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const std::__cxx11::basic_string::size_type’ {aka ‘const long unsigned int’} [-Wsign-compare] 81 | if (pos==string::npos) p.clear(); | ~~~^~~~~~~~~~~~~~ reader.cpp: In function ‘std::string getinstructionpart(std::string&)’: reader.cpp:102:10: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const std::__cxx11::basic_string::size_type’ {aka ‘const long unsigned int’} [-Wsign-compare] 102 | if (pos!=string::npos) p=p.substr(pos); else p.clear(); | ~~~^~~~~~~~~~~~~~ reader.cpp:104:15: warning: comparison of integer expressions of different signedness: ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 104 | if (d.size()==u) return tolower(d); | ~~~~~~~~^~~ reader.cpp: In function ‘std::string getid(std::string&)’: reader.cpp:121:10: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const std::__cxx11::basic_string::size_type’ {aka ‘const long unsigned int’} [-Wsign-compare] 121 | if (pos!=string::npos) p=p.substr(pos); else p.clear(); | ~~~^~~~~~~~~~~~~~ reader.cpp: In function ‘StringList getarguments(std::string&)’: reader.cpp:311:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 311 | if (heind=(p[0]=='(')) p.erase(0,1); | ~~~~~^~~~~~~~~~~~ reader.cpp:317:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 317 | if (!res.empty()) a.push_back(res); return a; | ^~ reader.cpp:317:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 317 | if (!res.empty()) a.push_back(res); return a; | ^~~~~~ g++ -Wp,-MD,.deps/sjasm.d -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DMAX_PATH=MAXPATHLEN -std=c++11 -Wno-write-strings -c -o sjasm.o sjasm.cpp g++ -Wp,-MD,.deps/source.d -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DMAX_PATH=MAXPATHLEN -std=c++11 -Wno-write-strings -c -o source.o source.cpp In file included from sjasm.h:90, from sjasm.cpp:27: datastructures.h: In member function ‘int FunctionTable::exec(std::string, std::string&, TT*)’: datastructures.h:162:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 162 | while(htr=_hashtable[tr]) { | ~~~^~~~~~~~~~~~~~~ datastructures.h: In member function ‘int FunctionTable::_insert(std::string, T)’: datastructures.h:194:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 194 | while(htr=_hashtable[tr]) { | ~~~^~~~~~~~~~~~~~~ datastructures.h: In constructor ‘LabelTable::_labelEntry::_labelEntry()’: datastructures.h:235:9: warning: ‘LabelTable::_labelEntry::_lastpass’ will be initialized after [-Wreorder] 235 | int _lastpass; | ^~~~~~~~~ datastructures.h:234:11: warning: ‘Rout* LabelTable::_labelEntry::_rout’ [-Wreorder] 234 | Rout *_rout; | ^~~~~ datastructures.h:230:5: warning: when initialized here [-Wreorder] 230 | _labelEntry() : _val(0), _page(0), _set(false),_forward(false),_lastpass(0),_rout(0) { _name.clear(); } | ^~~~~~~~~~~ In file included from sjasm.h:109: reader.h: In constructor ‘Find::Find(char*)’: reader.h:70:70: warning: array subscript has type ‘char’ [-Wchar-subscripts] 70 | Find(char*s) { for (int i=0;i!=256;++i) _c[i]=false; while (*s) _c[*s++]=true; } | ^~~~ reader.h: In member function ‘int Find::find(std::string&)’: reader.h:71:70: warning: array subscript has type ‘char’ [-Wchar-subscripts] 71 | int find(string&s) { for (int i=0;i!=(int)s.size();++i) if (_c[s[i]]) return i; return (int)string::npos; } | ^ reader.h: In member function ‘int Find::findnot(std::string&)’: reader.h:72:74: warning: array subscript has type ‘char’ [-Wchar-subscripts] 72 | int findnot(string&s) { for (int i=0;i!=(int)s.size();++i) if (!_c[s[i]]) return i; return (int)string::npos; } | ^ In file included from sjasm.h:112: source.h: In constructor ‘FieldLabel::FieldLabel(int, std::string)’: source.h:151:7: warning: ‘FieldLabel::_location’ will be initialized after [-Wreorder] 151 | int _location; | ^~~~~~~~~ source.h:150:10: warning: ‘std::string FieldLabel::_expr’ [-Wreorder] 150 | string _expr; | ^~~~~ source.h:146:3: warning: when initialized here [-Wreorder] 146 | FieldLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~~~ source.h: In constructor ‘EquLabel::EquLabel(int, std::string)’: source.h:162:7: warning: ‘EquLabel::_location’ will be initialized after [-Wreorder] 162 | int _location; | ^~~~~~~~~ source.h:161:10: warning: ‘std::string EquLabel::_expr’ [-Wreorder] 161 | string _expr; | ^~~~~ source.h:157:3: warning: when initialized here [-Wreorder] 157 | EquLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~ source.h: In constructor ‘SetLabel::SetLabel(int, std::string)’: source.h:173:7: warning: ‘SetLabel::_location’ will be initialized after [-Wreorder] 173 | int _location; | ^~~~~~~~~ source.h:172:10: warning: ‘std::string SetLabel::_expr’ [-Wreorder] 172 | string _expr; | ^~~~~ source.h:168:3: warning: when initialized here [-Wreorder] 168 | SetLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~ source.h: In constructor ‘dRout::dRout(int, Rout*, std::string)’: source.h:203:14: warning: ‘dRout::_rnr’ will be initialized after [-Wreorder] 203 | int _page, _rnr; | ^~~~ source.h:203:7: warning: ‘int dRout::_page’ [-Wreorder] 203 | int _page, _rnr; | ^~~~~ source.h:200:3: warning: when initialized here [-Wreorder] 200 | dRout(int n_rnr, Rout *n_rout, string n_line) : _rnr(n_rnr), _page(page), _rout(n_rout), _line(n_line) { _listtype=LISTINFO; } | ^~~~~ source.h: In constructor ‘StructExp::StructExp(std::string, int, std::string)’: source.h:377:7: warning: ‘StructExp::_structure’ will be initialized after [-Wreorder] 377 | int _structure; | ^~~~~~~~~~ source.h:376:16: warning: ‘std::string StructExp::_label’ [-Wreorder] 376 | string _line,_label; | ^~~~~~ source.h:370:3: warning: when initialized here [-Wreorder] 370 | StructExp(string n_line, int n_structure, string n_label) | ^~~~~~~~~ In file included from sjasm.h:113: output.h: In constructor ‘Rout::Rout()’: output.h:63:32: warning: ‘Rout::_pooladres’ will be initialized after [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~~ output.h:63:15: warning: ‘int Rout::_page’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:65:29: warning: ‘Rout::_align’ will be initialized after [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~ output.h:64:16: warning: ‘bool Rout::_overlay’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:64:16: warning: ‘Rout::_overlay’ will be initialized after [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ output.h:63:22: warning: ‘int Rout::_lastused’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:68:14: warning: ‘Rout::_forgetmode’ will be initialized after [-Wreorder] 68 | FORGETMODE _forgetmode; | ^~~~~~~~~~~ output.h:64:8: warning: ‘bool Rout::_forget’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:71:7: warning: ‘Rout::_labelindex’ will be initialized after [-Wreorder] 71 | int _labelindex,_curlin,_listcurlin; | ^~~~~~~~~~~ output.h:64:26: warning: ‘bool Rout::_byteadr’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:72:10: warning: ‘Rout::_sourcefile’ will be initialized after [-Wreorder] 72 | string _sourcefile; | ^~~~~~~~~~~ output.h:65:18: warning: ‘int Rout::_maxadres’ [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:65:18: warning: ‘Rout::_maxadres’ will be initialized after [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~~~~ output.h:63:43: warning: ‘int Rout::_multipage’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h: In constructor ‘Part::Part(int, int, int, int, int, ALIGNMODE, Rout*, int)’: output.h:84:32: warning: ‘Part::_rnr’ will be initialized after [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~ output.h:84:7: warning: ‘int Part::_page’ [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ output.h:84:25: warning: ‘Part::_align’ will be initialized after [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~~~ output.h:83:13: warning: ‘ALIGNMODE Part::_alignmode’ [-Wreorder] 83 | ALIGNMODE _alignmode; | ^~~~~~~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ output.h:86:9: warning: ‘Part::_rout’ will be initialized after [-Wreorder] 86 | Rout *_rout; | ^~~~~ output.h:85:7: warning: ‘int Part::_multipage’ [-Wreorder] 85 | int _multipage,_offset; | ^~~~~~~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ output.h: In constructor ‘Page::Page(int, int, int)’: output.h:120:41: warning: ‘Page::_usedsize’ will be initialized after [-Wreorder] 120 | int _pagenr, _org, _size, _highestad, _usedsize; | ^~~~~~~~~ output.h:120:29: warning: ‘int Page::_highestad’ [-Wreorder] 120 | int _pagenr, _org, _size, _highestad, _usedsize; | ^~~~~~~~~~ output.h:91:3: warning: when initialized here [-Wreorder] 91 | Page(int n_pagenr, int n_org, int n_size) : | ^~~~ output.h: In member function ‘int Page::getfreestartspace()’: output.h:101:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 101 | if (_part.empty()) if (_size==-1) return BIGVALUE; else return _size; | ^ output.h: In constructor ‘Output::Output(std::string, FILEMODE)’: output.h:155:9: warning: ‘Output::_outp’ will be initialized after [-Wreorder] 155 | Rout *_outp; | ^~~~~ output.h:154:12: warning: ‘int Output::_org’ [-Wreorder] 154 | int _rn, _org; | ^~~~ output.h:129:3: warning: when initialized here [-Wreorder] 129 | Output(string n_filename,FILEMODE n_mode=OVERWRITE) : | ^~~~~~ In file included from sjasm.h:114: rawsource.h: In constructor ‘RSStructure::RSStructure(int, int, bool, Structure&, StringList&)’: rawsource.h:75:14: warning: ‘RSStructure::_s’ will be initialized after [-Wreorder] 75 | Structure &_s; | ^~ rawsource.h:74:17: warning: ‘bool RSStructure::_mustalign’ [-Wreorder] 74 | bool _global, _mustalign; | ^~~~~~~~~~ rawsource.h:69:3: warning: when initialized here [-Wreorder] 69 | RSStructure(int n_offset, int n_align, bool n_global, Structure &n_s, StringList &sl) : | ^~~~~~~~~~~ rawsource.h:74:17: warning: ‘RSStructure::_mustalign’ will be initialized after [-Wreorder] 74 | bool _global, _mustalign; | ^~~~~~~~~~ rawsource.h:70:109: warning: base ‘RawSource’ [-Wreorder] 70 | _offset(n_offset), _defaultalign(n_align), _global(n_global), _s(n_s), _mustalign(false), RawSource(sl) {} | ^ rawsource.h:69:3: warning: when initialized here [-Wreorder] 69 | RSStructure(int n_offset, int n_align, bool n_global, Structure &n_s, StringList &sl) : | ^~~~~~~~~~~ sjasm.cpp: In function ‘std::string makefilename(std::string&, std::string)’: sjasm.cpp:110:8: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const std::__cxx11::basic_string::size_type’ {aka ‘const long unsigned int’} [-Wsign-compare] 110 | if (p==string::npos) return fn+ext; | ~^~~~~~~~~~~~~~ sjasm.cpp: In function ‘int main(int, char**)’: sjasm.cpp:181:30: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 181 | } while (pass<3 || labsnok && !errors); | ~~~~~~~~^~~~~~~~~~ In file included from sjasm.h:90, from source.cpp:29: datastructures.h: In member function ‘int FunctionTable::exec(std::string, std::string&, TT*)’: datastructures.h:162:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 162 | while(htr=_hashtable[tr]) { | ~~~^~~~~~~~~~~~~~~ datastructures.h: In member function ‘int FunctionTable::_insert(std::string, T)’: datastructures.h:194:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 194 | while(htr=_hashtable[tr]) { | ~~~^~~~~~~~~~~~~~~ datastructures.h: In constructor ‘LabelTable::_labelEntry::_labelEntry()’: datastructures.h:235:9: warning: ‘LabelTable::_labelEntry::_lastpass’ will be initialized after [-Wreorder] 235 | int _lastpass; | ^~~~~~~~~ datastructures.h:234:11: warning: ‘Rout* LabelTable::_labelEntry::_rout’ [-Wreorder] 234 | Rout *_rout; | ^~~~~ datastructures.h:230:5: warning: when initialized here [-Wreorder] 230 | _labelEntry() : _val(0), _page(0), _set(false),_forward(false),_lastpass(0),_rout(0) { _name.clear(); } | ^~~~~~~~~~~ In file included from sjasm.h:109: reader.h: In constructor ‘Find::Find(char*)’: reader.h:70:70: warning: array subscript has type ‘char’ [-Wchar-subscripts] 70 | Find(char*s) { for (int i=0;i!=256;++i) _c[i]=false; while (*s) _c[*s++]=true; } | ^~~~ reader.h: In member function ‘int Find::find(std::string&)’: reader.h:71:70: warning: array subscript has type ‘char’ [-Wchar-subscripts] 71 | int find(string&s) { for (int i=0;i!=(int)s.size();++i) if (_c[s[i]]) return i; return (int)string::npos; } | ^ reader.h: In member function ‘int Find::findnot(std::string&)’: reader.h:72:74: warning: array subscript has type ‘char’ [-Wchar-subscripts] 72 | int findnot(string&s) { for (int i=0;i!=(int)s.size();++i) if (!_c[s[i]]) return i; return (int)string::npos; } | ^ In file included from sjasm.h:112: source.h: In constructor ‘FieldLabel::FieldLabel(int, std::string)’: source.h:151:7: warning: ‘FieldLabel::_location’ will be initialized after [-Wreorder] 151 | int _location; | ^~~~~~~~~ source.h:150:10: warning: ‘std::string FieldLabel::_expr’ [-Wreorder] 150 | string _expr; | ^~~~~ source.h:146:3: warning: when initialized here [-Wreorder] 146 | FieldLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~~~ source.h: In constructor ‘EquLabel::EquLabel(int, std::string)’: source.h:162:7: warning: ‘EquLabel::_location’ will be initialized after [-Wreorder] 162 | int _location; | ^~~~~~~~~ source.h:161:10: warning: ‘std::string EquLabel::_expr’ [-Wreorder] 161 | string _expr; | ^~~~~ source.h:157:3: warning: when initialized here [-Wreorder] 157 | EquLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~ source.h: In constructor ‘SetLabel::SetLabel(int, std::string)’: source.h:173:7: warning: ‘SetLabel::_location’ will be initialized after [-Wreorder] 173 | int _location; | ^~~~~~~~~ source.h:172:10: warning: ‘std::string SetLabel::_expr’ [-Wreorder] 172 | string _expr; | ^~~~~ source.h:168:3: warning: when initialized here [-Wreorder] 168 | SetLabel(int n_location, string n_expr) : _location(n_location), _expr(n_expr) { _listtype=LISTINFO; } | ^~~~~~~~ source.h: In constructor ‘dRout::dRout(int, Rout*, std::string)’: source.h:203:14: warning: ‘dRout::_rnr’ will be initialized after [-Wreorder] 203 | int _page, _rnr; | ^~~~ source.h:203:7: warning: ‘int dRout::_page’ [-Wreorder] 203 | int _page, _rnr; | ^~~~~ source.h:200:3: warning: when initialized here [-Wreorder] 200 | dRout(int n_rnr, Rout *n_rout, string n_line) : _rnr(n_rnr), _page(page), _rout(n_rout), _line(n_line) { _listtype=LISTINFO; } | ^~~~~ source.h: In constructor ‘StructExp::StructExp(std::string, int, std::string)’: source.h:377:7: warning: ‘StructExp::_structure’ will be initialized after [-Wreorder] 377 | int _structure; | ^~~~~~~~~~ source.h:376:16: warning: ‘std::string StructExp::_label’ [-Wreorder] 376 | string _line,_label; | ^~~~~~ source.h:370:3: warning: when initialized here [-Wreorder] 370 | StructExp(string n_line, int n_structure, string n_label) | ^~~~~~~~~ In file included from sjasm.h:113: output.h: In constructor ‘Rout::Rout()’: output.h:63:32: warning: ‘Rout::_pooladres’ will be initialized after [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~~ output.h:63:15: warning: ‘int Rout::_page’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:65:29: warning: ‘Rout::_align’ will be initialized after [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~ output.h:64:16: warning: ‘bool Rout::_overlay’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:64:16: warning: ‘Rout::_overlay’ will be initialized after [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ output.h:63:22: warning: ‘int Rout::_lastused’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:68:14: warning: ‘Rout::_forgetmode’ will be initialized after [-Wreorder] 68 | FORGETMODE _forgetmode; | ^~~~~~~~~~~ output.h:64:8: warning: ‘bool Rout::_forget’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:71:7: warning: ‘Rout::_labelindex’ will be initialized after [-Wreorder] 71 | int _labelindex,_curlin,_listcurlin; | ^~~~~~~~~~~ output.h:64:26: warning: ‘bool Rout::_byteadr’ [-Wreorder] 64 | bool _forget,_overlay, _byteadr; | ^~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:72:10: warning: ‘Rout::_sourcefile’ will be initialized after [-Wreorder] 72 | string _sourcefile; | ^~~~~~~~~~~ output.h:65:18: warning: ‘int Rout::_maxadres’ [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h:65:18: warning: ‘Rout::_maxadres’ will be initialized after [-Wreorder] 65 | int _minadres, _maxadres, _align; | ^~~~~~~~~ output.h:63:43: warning: ‘int Rout::_multipage’ [-Wreorder] 63 | int _adres, _page, _lastused,_pooladres,_multipage; | ^~~~~~~~~~ output.h:37:3: warning: when initialized here [-Wreorder] 37 | Rout() : _adres(adres), _pooladres(adres),_page(page), _minadres(adres), _align(1), _overlay(false), | ^~~~ output.h: In constructor ‘Part::Part(int, int, int, int, int, ALIGNMODE, Rout*, int)’: output.h:84:32: warning: ‘Part::_rnr’ will be initialized after [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~ output.h:84:7: warning: ‘int Part::_page’ [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ output.h:84:25: warning: ‘Part::_align’ will be initialized after [-Wreorder] 84 | int _page,_adres,_len,_align,_rnr; | ^~~~~~ output.h:83:13: warning: ‘ALIGNMODE Part::_alignmode’ [-Wreorder] 83 | ALIGNMODE _alignmode; | ^~~~~~~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ output.h:86:9: warning: ‘Part::_rout’ will be initialized after [-Wreorder] 86 | Rout *_rout; | ^~~~~ output.h:85:7: warning: ‘int Part::_multipage’ [-Wreorder] 85 | int _multipage,_offset; | ^~~~~~~~~~ output.h:77:3: warning: when initialized here [-Wreorder] 77 | Part(int n_rnr, int n_page, int n_adres, int n_len, int n_align, ALIGNMODE n_alignmode, Rout *n_rout, | ^~~~ output.h: In constructor ‘Page::Page(int, int, int)’: output.h:120:41: warning: ‘Page::_usedsize’ will be initialized after [-Wreorder] 120 | int _pagenr, _org, _size, _highestad, _usedsize; | ^~~~~~~~~ output.h:120:29: warning: ‘int Page::_highestad’ [-Wreorder] 120 | int _pagenr, _org, _size, _highestad, _usedsize; | ^~~~~~~~~~ output.h:91:3: warning: when initialized here [-Wreorder] 91 | Page(int n_pagenr, int n_org, int n_size) : | ^~~~ output.h: In member function ‘int Page::getfreestartspace()’: output.h:101:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 101 | if (_part.empty()) if (_size==-1) return BIGVALUE; else return _size; | ^ output.h: In constructor ‘Output::Output(std::string, FILEMODE)’: output.h:155:9: warning: ‘Output::_outp’ will be initialized after [-Wreorder] 155 | Rout *_outp; | ^~~~~ output.h:154:12: warning: ‘int Output::_org’ [-Wreorder] 154 | int _rn, _org; | ^~~~ output.h:129:3: warning: when initialized here [-Wreorder] 129 | Output(string n_filename,FILEMODE n_mode=OVERWRITE) : | ^~~~~~ In file included from sjasm.h:114: rawsource.h: In constructor ‘RSStructure::RSStructure(int, int, bool, Structure&, StringList&)’: rawsource.h:75:14: warning: ‘RSStructure::_s’ will be initialized after [-Wreorder] 75 | Structure &_s; | ^~ rawsource.h:74:17: warning: ‘bool RSStructure::_mustalign’ [-Wreorder] 74 | bool _global, _mustalign; | ^~~~~~~~~~ rawsource.h:69:3: warning: when initialized here [-Wreorder] 69 | RSStructure(int n_offset, int n_align, bool n_global, Structure &n_s, StringList &sl) : | ^~~~~~~~~~~ rawsource.h:74:17: warning: ‘RSStructure::_mustalign’ will be initialized after [-Wreorder] 74 | bool _global, _mustalign; | ^~~~~~~~~~ rawsource.h:70:109: warning: base ‘RawSource’ [-Wreorder] 70 | _offset(n_offset), _defaultalign(n_align), _global(n_global), _s(n_s), _mustalign(false), RawSource(sl) {} | ^ rawsource.h:69:3: warning: when initialized here [-Wreorder] 69 | RSStructure(int n_offset, int n_align, bool n_global, Structure &n_s, StringList &sl) : | ^~~~~~~~~~~ g++ -o sjasm datadir.o datastructures.o directives.o errors.o expressions.o fileio.o output.o pimsx.o preprocessor.o rawsource.o reader.o sjasm.o source.o make: Leaving directory '/builddir/build/BUILD/sjasm-0.42c-build/sjasm-0.42c/sjasmsrc42c' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.QP0Cpz + umask 022 + cd /builddir/build/BUILD/sjasm-0.42c-build + '[' /builddir/build/BUILD/sjasm-0.42c-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/sjasm-0.42c-build/BUILDROOT ++ dirname /builddir/build/BUILD/sjasm-0.42c-build/BUILDROOT + mkdir -p /builddir/build/BUILD/sjasm-0.42c-build + mkdir /builddir/build/BUILD/sjasm-0.42c-build/BUILDROOT + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd sjasm-0.42c + rm -rf /builddir/build/BUILD/sjasm-0.42c-build/BUILDROOT + make -C sjasmsrc42c install DESTDIR=/builddir/build/BUILD/sjasm-0.42c-build/BUILDROOT make: Entering directory '/builddir/build/BUILD/sjasm-0.42c-build/sjasm-0.42c/sjasmsrc42c' mkdir -p /builddir/build/BUILD/sjasm-0.42c-build/BUILDROOT/usr/bin cp -f sjasm /builddir/build/BUILD/sjasm-0.42c-build/BUILDROOT/usr/bin make: Leaving directory '/builddir/build/BUILD/sjasm-0.42c-build/sjasm-0.42c/sjasmsrc42c' + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.42c-5.fc41 --unique-debug-suffix -0.42c-5.fc41.riscv64 --unique-debug-src-base sjasm-0.42c-5.fc41.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/sjasm-0.42c-build/sjasm-0.42c find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/sjasm-0.42c-5.fc41.riscv64 489 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j4 /builddir/build/BUILD/sjasm-0.42c-build/BUILDROOT Scanned 11 directories and 28 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/sjasm-0.42c-build/SPECPARTS/rpm-debuginfo.specpart Processing files: sjasm-0.42c-5.fc41.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.NXoqSR + umask 022 + cd /builddir/build/BUILD/sjasm-0.42c-build + cd sjasm-0.42c + DOCDIR=/builddir/build/BUILD/sjasm-0.42c-build/BUILDROOT/usr/share/doc/sjasm + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/sjasm-0.42c-build/BUILDROOT/usr/share/doc/sjasm + cp -pr /builddir/build/BUILD/sjasm-0.42c-build/sjasm-0.42c/sjasm.txt /builddir/build/BUILD/sjasm-0.42c-build/BUILDROOT/usr/share/doc/sjasm + RPM_EC=0 ++ jobs -p + exit 0 Provides: sjasm = 0.42c-5.fc41 sjasm(riscv-64) = 0.42c-5.fc41 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) libc.so.6(GLIBC_2.34)(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(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.32)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: sjasm-debugsource-0.42c-5.fc41.riscv64 Provides: sjasm-debugsource = 0.42c-5.fc41 sjasm-debugsource(riscv-64) = 0.42c-5.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: sjasm-debuginfo-0.42c-5.fc41.riscv64 Provides: debuginfo(build-id) = 37197e8439b344178c4c0ecc6d8b6f4b584d19cb sjasm-debuginfo = 0.42c-5.fc41 sjasm-debuginfo(riscv-64) = 0.42c-5.fc41 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.42c-5.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/sjasm-0.42c-build/BUILDROOT Wrote: /builddir/build/RPMS/sjasm-0.42c-5.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/sjasm-debugsource-0.42c-5.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/sjasm-debuginfo-0.42c-5.fc41.riscv64.rpm Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.Y4opbC + umask 022 + cd /builddir/build/BUILD/sjasm-0.42c-build + test -d /builddir/build/BUILD/sjasm-0.42c-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/sjasm-0.42c-build + rm -rf /builddir/build/BUILD/sjasm-0.42c-build + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0