<86>Feb 18 07:01:42 userdel[43681]: delete user 'rooter' <86>Feb 18 07:01:42 userdel[43681]: removed group 'rooter' owned by 'rooter' <86>Feb 18 07:01:42 userdel[43681]: removed shadow group 'rooter' owned by 'rooter' <86>Feb 18 07:01:42 groupadd[43732]: group added to /etc/group: name=rooter, GID=699 <86>Feb 18 07:01:42 groupadd[43732]: group added to /etc/gshadow: name=rooter <86>Feb 18 07:01:42 groupadd[43732]: new group: name=rooter, GID=699 <86>Feb 18 07:01:42 useradd[43771]: new user: name=rooter, UID=699, GID=699, home=/root, shell=/bin/bash <86>Feb 18 07:01:42 userdel[43806]: delete user 'builder' <86>Feb 18 07:01:42 userdel[43806]: removed group 'builder' owned by 'builder' <86>Feb 18 07:01:42 userdel[43806]: removed shadow group 'builder' owned by 'builder' <86>Feb 18 07:01:42 groupadd[43828]: group added to /etc/group: name=builder, GID=700 <86>Feb 18 07:01:42 groupadd[43828]: group added to /etc/gshadow: name=builder <86>Feb 18 07:01:42 groupadd[43828]: new group: name=builder, GID=700 <86>Feb 18 07:01:42 useradd[43857]: new user: name=builder, UID=700, GID=700, home=/usr/src, shell=/bin/bash <13>Feb 18 07:01:45 rpmi: xorg-proto-devel-2018.4-alt3 1527685079 installed <13>Feb 18 07:01:45 rpmi: libICE-1.0.9-alt1 1409902721 installed <13>Feb 18 07:01:45 rpmi: libglvnd-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Feb 18 07:01:45 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Feb 18 07:01:45 rpmi: libSM-1.2.3-alt1 sisyphus.215747.100 1540812795 installed <13>Feb 18 07:01:45 rpmi: libICE-devel-1.0.9-alt1 1409902721 installed <13>Feb 18 07:01:45 rpmi: libSM-devel-1.2.3-alt1 sisyphus.215747.100 1540812795 installed <13>Feb 18 07:01:45 rpmi: libjpeg-2:1.5.1-alt1 1498218318 installed <13>Feb 18 07:01:45 rpmi: libXau-1.0.8-alt1 1369565808 installed <13>Feb 18 07:01:45 rpmi: libwayland-server-1.16.0-alt1 1535614871 installed <13>Feb 18 07:01:46 rpmi: libicu63-1:6.3.1-alt1 sisyphus.215328.100 1540049988 installed <13>Feb 18 07:01:46 rpmi: libpng16-1.6.36-alt1 sisyphus+219478.100.1.1 1547633314 installed <13>Feb 18 07:01:46 rpmi: libgraphite2-1.3.13-alt1 sisyphus.218545.100 1545686511 installed <13>Feb 18 07:01:46 rpmi: libharfbuzz-2.2.0-alt1 sisyphus.218134.500 1545261518 installed <13>Feb 18 07:01:46 rpmi: libfreetype-2.9.1-alt1.S1 1530781053 installed <13>Feb 18 07:01:46 rpmi: fontconfig-2.13.1-alt1 sisyphus.215917.100 1540973886 installed Updating fonts cache: <29>Feb 18 07:01:47 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Feb 18 07:01:47 rpmi: libharfbuzz-icu-2.2.0-alt1 sisyphus.218134.500 1545261518 installed <13>Feb 18 07:01:47 rpmi: libgraphite2-devel-1.3.13-alt1 sisyphus.218545.100 1545686511 installed <13>Feb 18 07:01:47 rpmi: icu-utils-1:6.3.1-alt1 sisyphus.215328.100 1540049988 installed <13>Feb 18 07:01:47 rpmi: libicu-devel-1:6.3.1-alt1 sisyphus.215328.100 1540049988 installed <13>Feb 18 07:01:47 rpmi: libXau-devel-1.0.8-alt1 1369565808 installed <13>Feb 18 07:01:47 rpmi: libOpenGL-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Feb 18 07:01:47 rpmi: libGLES-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Feb 18 07:01:47 rpmi: zlib-devel-1.2.11-alt1 sisyphus.217171.100 1543710737 installed <13>Feb 18 07:01:47 rpmi: rpm-macros-qt3-3.3.8d-alt12 sisyphus.217048.100 1543491450 installed <13>Feb 18 07:01:47 rpmi: libqt3-settings-3.3-alt5 1393236356 installed <13>Feb 18 07:01:47 rpmi: libltdl7-2.4.2-alt8 sisyphus+220900.100.1.1 1549488295 installed <13>Feb 18 07:01:47 rpmi: libunixODBC2-2.3.4-alt2.1 sisyphus+220885.100.1.1 1549488931 installed <13>Feb 18 07:01:47 rpmi: libunixODBC-devel-compat-2.3.4-alt2.1 sisyphus+220885.100.1.1 1549488931 installed <13>Feb 18 07:01:47 rpmi: libunixODBC-devel-2.3.4-alt2.1 sisyphus+220885.100.1.1 1549488931 installed <13>Feb 18 07:01:47 rpmi: liblcms2-2.9-alt1 1516411892 installed <13>Feb 18 07:01:47 rpmi: libmng-2.0.3-alt2 sisyphus.215736.100 1540804101 installed <13>Feb 18 07:01:47 rpmi: libxshmfence-1.2-alt2 1518613552 installed <13>Feb 18 07:01:47 rpmi: libX11-locales-3:1.6.7-alt1 sisyphus.214413.200 1539171080 installed <13>Feb 18 07:01:47 rpmi: libXdmcp-1.1.1-alt1 1334617701 installed <13>Feb 18 07:01:48 rpmi: libxcb-1.13.1-alt1 sisyphus.214413.100 1539170896 installed <13>Feb 18 07:01:48 rpmi: libX11-3:1.6.7-alt1 sisyphus.214413.200 1539171143 installed <13>Feb 18 07:01:48 rpmi: libXext-1.3.3-alt1 1409902959 installed <13>Feb 18 07:01:48 rpmi: libXrender-0.9.8-alt1 1371312112 installed <13>Feb 18 07:01:48 rpmi: libXfixes-5.0.3-alt1 sisyphus.216396.300 1542022162 installed <13>Feb 18 07:01:48 rpmi: libXcursor-1.1.15-alt1.S1 1512373366 installed <13>Feb 18 07:01:48 rpmi: libXft-2.3.2-alt1 1409902660 installed <13>Feb 18 07:01:48 rpmi: libXrandr-1.5.0-alt1 1431936189 installed <13>Feb 18 07:01:48 rpmi: libXi-1.7.9-alt1.S1 1515755342 installed <13>Feb 18 07:01:48 rpmi: libXinerama-1.1.3-alt2 1527671619 installed <13>Feb 18 07:01:48 rpmi: libXt-1.1.4-alt1 1369984722 installed <13>Feb 18 07:01:48 rpmi: libXmu-1.1.2-alt1 1391072530 installed <13>Feb 18 07:01:48 rpmi: libqt3-3.3.8d-alt12 sisyphus.217048.100 1543491450 installed <13>Feb 18 07:01:48 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed <13>Feb 18 07:01:48 rpmi: libXv-1.0.11-alt1 1527685499 installed <13>Feb 18 07:01:48 rpmi: libXdamage-1.1.3-alt4 1297162593 installed <13>Feb 18 07:01:49 rpmi: libxcb-devel-1.13.1-alt1 sisyphus.214413.100 1539170896 installed <13>Feb 18 07:01:49 rpmi: libX11-devel-3:1.6.7-alt1 sisyphus.214413.200 1539171143 installed <13>Feb 18 07:01:49 rpmi: libXext-devel-1.3.3-alt1 1409902959 installed <13>Feb 18 07:01:49 rpmi: libXrender-devel-0.9.8-alt1 1371312112 installed <13>Feb 18 07:01:49 rpmi: libXfixes-devel-5.0.3-alt1 sisyphus.216396.300 1542022162 installed <13>Feb 18 07:01:49 rpmi: libXi-devel-1.7.9-alt1.S1 1515755342 installed <13>Feb 18 07:01:49 rpmi: libXrandr-devel-1.5.0-alt1 1431936189 installed <13>Feb 18 07:01:49 rpmi: libXv-devel-1.0.11-alt1 1527685499 installed <13>Feb 18 07:01:49 rpmi: libXcursor-devel-1.1.15-alt1.S1 1512373366 installed <13>Feb 18 07:01:49 rpmi: libXinerama-devel-1.1.3-alt2 1527671619 installed <13>Feb 18 07:01:50 rpmi: libXt-devel-1.1.4-alt1 1369984722 installed <13>Feb 18 07:01:50 rpmi: libXmu-devel-1.1.2-alt1 1391072530 installed <13>Feb 18 07:01:50 rpmi: libwayland-client-1.16.0-alt1 1535614871 installed <13>Feb 18 07:01:50 rpmi: libpciaccess-1:0.14-alt1 1528969252 installed <13>Feb 18 07:01:50 rpmi: libdrm-1:2.4.97-alt1 sisyphus+220483.100.1.1 1549270242 installed <13>Feb 18 07:01:50 rpmi: libGLX-mesa-4:18.3.3-alt1 sisyphus+220483.200.1.1 1549271174 installed <13>Feb 18 07:01:50 rpmi: libGLX-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Feb 18 07:01:50 rpmi: libGL-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Feb 18 07:01:50 rpmi: libGLU-4:9.0.0-alt1 1347643784 installed <13>Feb 18 07:01:50 rpmi: libgbm-4:18.3.3-alt1 sisyphus+220483.200.1.1 1549271174 installed <13>Feb 18 07:01:50 rpmi: libEGL-mesa-4:18.3.3-alt1 sisyphus+220483.200.1.1 1549271174 installed <13>Feb 18 07:01:50 rpmi: libEGL-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Feb 18 07:01:50 rpmi: libglvnd-devel-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Feb 18 07:01:50 rpmi: libEGL-devel-4:18.3.3-alt1 sisyphus+220483.200.1.1 1549271174 installed <13>Feb 18 07:01:50 rpmi: libGL-devel-4:18.3.3-alt1 sisyphus+220483.200.1.1 1549271174 installed <13>Feb 18 07:01:50 rpmi: libGLU-devel-4:9.0.0-alt1 1347643784 installed <13>Feb 18 07:01:50 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus.218115.200 1545282875 installed <13>Feb 18 07:01:50 rpmi: libstdc++8-devel-8.2.1-alt5 sisyphus+219286.200.2.1 1549854113 installed <13>Feb 18 07:01:51 rpmi: gcc8-c++-8.2.1-alt5 sisyphus+219286.200.2.1 1549854113 installed <13>Feb 18 07:01:51 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Feb 18 07:01:51 rpmi: xml-utils-1:2.9.4.0.12.e905-alt1.1 1525115767 installed <13>Feb 18 07:01:51 rpmi: rpm-build-gir-0.7.2-alt4 1534675014 installed <13>Feb 18 07:01:51 rpmi: libtasn1-4.13-alt2 1521133850 installed <13>Feb 18 07:01:51 rpmi: libp11-kit-0.23.9-alt5 1525798298 installed <13>Feb 18 07:01:51 rpmi: rpm-macros-alternatives-0.5.0-alt1 sisyphus.219012.300 1546745004 installed <13>Feb 18 07:01:51 rpmi: alternatives-0.5.0-alt1 sisyphus.219012.300 1546745004 installed <13>Feb 18 07:01:51 rpmi: ca-certificates-2019.02.01-alt1 sisyphus+220384.200.1.1 1549032756 installed <13>Feb 18 07:01:51 rpmi: ca-trust-0.1.1-alt2 1515595785 installed <13>Feb 18 07:01:51 rpmi: p11-kit-trust-0.23.9-alt5 1525798298 installed <13>Feb 18 07:01:51 rpmi: libcrypto1.1-1.1.0j-alt1 sisyphus.216647.100 1542743878 installed <13>Feb 18 07:01:51 rpmi: libssl1.1-1.1.0j-alt1 sisyphus.216647.100 1542743878 installed <13>Feb 18 07:01:51 rpmi: libpython3-3.6.8-alt1 sisyphus+220164.200.3.1 1548842636 installed <13>Feb 18 07:01:51 rpmi: python3-3.6.8-alt1 sisyphus+220164.200.3.1 1548842636 installed <13>Feb 18 07:01:52 rpmi: python3-base-3.6.8-alt1 sisyphus+220164.200.3.1 1548842636 installed <13>Feb 18 07:01:52 rpmi: glib2-devel-2.58.3-alt1 sisyphus+219722.100.1.1 1548088777 installed <13>Feb 18 07:01:52 rpmi: libharfbuzz-devel-2.2.0-alt1 sisyphus.218134.500 1545261518 installed <13>Feb 18 07:01:52 rpmi: libfreetype-devel-2.9.1-alt1.S1 1530781053 installed <13>Feb 18 07:01:52 rpmi: fontconfig-devel-2.13.1-alt1 sisyphus.215917.100 1540973886 installed <13>Feb 18 07:01:52 rpmi: libXft-devel-2.3.2-alt1 1409902660 installed <13>Feb 18 07:01:52 rpmi: libqt3-devel-3.3.8d-alt12 sisyphus.217048.100 1543491450 installed <13>Feb 18 07:01:52 rpmi: gcc-c++-8-alt1 sisyphus.214000.40 1542664775 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/picmicrosim-1.0-alt3.nosrc.rpm Installing picmicrosim-1.0-alt3.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.97014 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf version-1.0 + echo 'Source #0 (microsim_v1.0.tar.gz):' Source #0 (microsim_v1.0.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/microsim_v1.0.tar.gz + /bin/tar -xf - + cd version-1.0 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (picmicrosim-fix-permissive.patch):' Patch #1 (picmicrosim-fix-permissive.patch): + /usr/bin/patch -p2 patching file interface.cpp + echo 'Patch #2 (picmicrosim-fix-missing-includes.patch):' Patch #2 (picmicrosim-fix-missing-includes.patch): + /usr/bin/patch -p2 patching file microsim.ui.h + echo 'Patch #3 (picmicrosim-use-stuff-from-app-dir.patch):' Patch #3 (picmicrosim-use-stuff-from-app-dir.patch): + /usr/bin/patch -p2 patching file helpbrowser.cpp patching file helpwindow.ui.h patching file microsim.ui.h + echo 'Patch #4 (picmicrosim-1.0-alt-gcc6.patch):' Patch #4 (picmicrosim-1.0-alt-gcc6.patch): + /usr/bin/patch -p2 patching file microsim.ui.h ++ pkg-config --cflags qt-mt + qmake-qt3 'QMAKE_CXXFLAGS+=-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/lib/qt3/include' 'DEFINES+=APPSDIR=\"/usr/share/apps/microsim/\"' microsim.pro + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.97014 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd version-1.0 + make -j8 make: Entering directory '/usr/src/RPM/BUILD/version-1.0' g++ -c -pipe -g -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/lib/qt3/include -Wall -W -pipe -frecord-gcc-switches -Wall -g -Os -march=i586 -mtune=generic -DGLX_GLXEXT_LEGACY -D_REENTRANT -DAPPSDIR=\"/usr/share/apps/microsim/\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/lib/qt3/mkspecs/default -I. -I/usr/lib/qt3/include -I.ui/ -I. -I.moc/ -o .obj/main.o main.cpp In file included from ./interface.h:34, from ./processor.h:4, from .ui/microsim.h:20, from main.cpp:2: ./symbol.h: In member function 'virtual void symbol::put_value(int)': ./symbol.h:136:30: warning: unused parameter 'i' [-Wunused-parameter] virtual void put_value(int i) {;}; ~~~~^ In file included from ./breakpoints.h:25, from ./tmr0.h:4, from ./processor.h:8, from .ui/microsim.h:20, from main.cpp:2: ./instruction.h: In member function 'virtual void Instruction::initialize(bool)': ./instruction.h:168:36: warning: unused parameter 'init_state' [-Wunused-parameter] virtual void initialize(bool init_state) {}; ~~~~~^~~~~~~~~~ In file included from .ui/microsim.h:20, from main.cpp:2: ./processor.h: In member function 'Instruction* Processor::disasm_cpu(unsigned int, unsigned int)': ./processor.h:815:47: warning: unused parameter 'address' [-Wunused-parameter] Instruction * disasm_cpu ( unsigned int address,unsigned int inst) ~~~~~~~~~~~~~^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/version-1.0' make: Entering directory '/usr/src/RPM/BUILD/version-1.0' g++ -c -pipe -g -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/lib/qt3/include -Wall -W -pipe -frecord-gcc-switches -Wall -g -Os -march=i586 -mtune=generic -DGLX_GLXEXT_LEGACY -D_REENTRANT -DAPPSDIR=\"/usr/share/apps/microsim/\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/lib/qt3/mkspecs/default -I. -I/usr/lib/qt3/include -I.ui/ -I. -I.moc/ -o .obj/hexutils.o hexutils.cpp In file included from interface.h:34, from processor.h:4, from hexutils.h:6, from hexutils.cpp:4: symbol.h: In member function 'virtual void symbol::put_value(int)': symbol.h:136:30: warning: unused parameter 'i' [-Wunused-parameter] virtual void put_value(int i) {;}; ~~~~^ In file included from breakpoints.h:25, from tmr0.h:4, from processor.h:8, from hexutils.h:6, from hexutils.cpp:4: instruction.h: In member function 'virtual void Instruction::initialize(bool)': instruction.h:168:36: warning: unused parameter 'init_state' [-Wunused-parameter] virtual void initialize(bool init_state) {}; ~~~~~^~~~~~~~~~ In file included from hexutils.h:6, from hexutils.cpp:4: processor.h: In member function 'Instruction* Processor::disasm_cpu(unsigned int, unsigned int)': processor.h:815:47: warning: unused parameter 'address' [-Wunused-parameter] Instruction * disasm_cpu ( unsigned int address,unsigned int inst) ~~~~~~~~~~~~~^~~~~~~ hexutils.cpp: In function 'unsigned char getbyte(FILE*)': hexutils.cpp:85:10: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf (file, "%02x", &data); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/version-1.0' make: Entering directory '/usr/src/RPM/BUILD/version-1.0' g++ -c -pipe -g -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/lib/qt3/include -Wall -W -pipe -frecord-gcc-switches -Wall -g -Os -march=i586 -mtune=generic -DGLX_GLXEXT_LEGACY -D_REENTRANT -DAPPSDIR=\"/usr/share/apps/microsim/\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/lib/qt3/mkspecs/default -I. -I/usr/lib/qt3/include -I.ui/ -I. -I.moc/ -o .obj/register.o register.cpp In file included from interface.h:34, from processor.h:4, from register.cpp:3: symbol.h: In member function 'virtual void symbol::put_value(int)': symbol.h:136:30: warning: unused parameter 'i' [-Wunused-parameter] virtual void put_value(int i) {;}; ~~~~^ In file included from breakpoints.h:25, from tmr0.h:4, from processor.h:8, from register.cpp:3: instruction.h: In member function 'virtual void Instruction::initialize(bool)': instruction.h:168:36: warning: unused parameter 'init_state' [-Wunused-parameter] virtual void initialize(bool init_state) {}; ~~~~~^~~~~~~~~~ In file included from register.cpp:3: processor.h: In member function 'Instruction* Processor::disasm_cpu(unsigned int, unsigned int)': processor.h:815:47: warning: unused parameter 'address' [-Wunused-parameter] Instruction * disasm_cpu ( unsigned int address,unsigned int inst) ~~~~~~~~~~~~~^~~~~~~ register.cpp: In constructor 'Register::Register()': register.cpp:11:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] new_name("File Register"); ^ register.cpp: In constructor 'Invalid_File_Register::Invalid_File_Register(unsigned int)': register.cpp:51:59: warning: unused parameter 'at_address' [-Wunused-parameter] Invalid_File_Register::Invalid_File_Register(unsigned int at_address):File_Register() ~~~~~~~~~~~~~^~~~~~~~~~ register.cpp: In constructor 'FSR::FSR()': register.cpp:62:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] new_name("FSR"); ^ register.cpp: In constructor 'STATUS_Register::STATUS_Register()': register.cpp:73:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] new_name("STATUS"); ^ register.cpp: In constructor 'WREG::WREG()': register.cpp:112:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] new_name("W"); ^ register.cpp: In constructor 'INDF::INDF()': register.cpp:123:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] new_name("INDF"); ^ register.cpp: In member function 'virtual void INDF::put(unsigned int)': register.cpp:128:29: warning: unused parameter 'new_value' [-Wunused-parameter] void INDF::put(unsigned int new_value) ~~~~~~~~~~~~~^~~~~~~~~ register.cpp: In constructor 'OPTION_REG::OPTION_REG()': register.cpp:203:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] new_name("OPTION"); ^ register.cpp: In constructor 'PCL::PCL()': register.cpp:257:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] new_name("PCL"); ^ register.cpp: In constructor 'PCLATH::PCLATH()': register.cpp:299:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] new_name("PCLATH"); ^ register.cpp: In constructor 'INTCON::INTCON()': register.cpp:352:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] new_name("INTCON"); ^ register.cpp: In member function 'virtual unsigned int Stack::pop()': register.cpp:467:16: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] if(--pointer < 0) { ~~~~~~~~~~^~~ make: Leaving directory '/usr/src/RPM/BUILD/version-1.0' make: Entering directory '/usr/src/RPM/BUILD/version-1.0' g++ -c -pipe -g -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/lib/qt3/include -Wall -W -pipe -frecord-gcc-switches -Wall -g -Os -march=i586 -mtune=generic -DGLX_GLXEXT_LEGACY -D_REENTRANT -DAPPSDIR=\"/usr/share/apps/microsim/\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/lib/qt3/mkspecs/default -I. -I/usr/lib/qt3/include -I.ui/ -I. -I.moc/ -o .obj/cod.o cod.cpp In file included from interface.h:34, from processor.h:4, from cod.cpp:40: symbol.h: In member function 'virtual void symbol::put_value(int)': symbol.h:136:30: warning: unused parameter 'i' [-Wunused-parameter] virtual void put_value(int i) {;}; ~~~~^ In file included from breakpoints.h:25, from tmr0.h:4, from processor.h:8, from cod.cpp:40: instruction.h: In member function 'virtual void Instruction::initialize(bool)': instruction.h:168:36: warning: unused parameter 'init_state' [-Wunused-parameter] virtual void initialize(bool init_state) {}; ~~~~~^~~~~~~~~~ In file included from cod.cpp:40: processor.h: In member function 'Instruction* Processor::disasm_cpu(unsigned int, unsigned int)': processor.h:815:47: warning: unused parameter 'address' [-Wunused-parameter] Instruction * disasm_cpu ( unsigned int address,unsigned int inst) ~~~~~~~~~~~~~^~~~~~~ cod.cpp: In function 'void read_src_files_from_cod(Processor*)': cod.cpp:312:9: warning: unused variable 't' [-Wunused-variable] FILE *t; ^ cod.cpp: In function 'void read_line_numbers_from_cod(Processor*)': cod.cpp:481:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (address <= cpu->program_memory_size()) && ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cod.cpp:450:7: warning: unused variable 'last_src_line' [-Wunused-variable] int last_src_line = 0; ^~~~~~~~~~~~~ cod.cpp:451:8: warning: unused variable 'buf' [-Wunused-variable] char buf[256]; ^~~ cod.cpp:452:7: warning: unused variable 'i' [-Wunused-variable] int i,j,start_block,end_block,offset; ^ cod.cpp: In function 'void check_for_gpasm(char*)': cod.cpp:629:7: warning: variable 'have_gpasm' set but not used [-Wunused-but-set-variable] int have_gpasm = 0; ^~~~~~~~~~ cod.cpp: In function 'void read_block(char*, int)': cod.cpp:129:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(block, COD_BLOCK_SIZE, 1, codefile); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cod.cpp: In function 'int open_cod_file(Processor**, const char*)': cod.cpp:907:12: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] chdir(directory); ~~~~~^~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/version-1.0' make: Entering directory '/usr/src/RPM/BUILD/version-1.0' g++ -c -pipe -g -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/lib/qt3/include -Wall -W -pipe -frecord-gcc-switches -Wall -g -Os -march=i586 -mtune=generic -DGLX_GLXEXT_LEGACY -D_REENTRANT -DAPPSDIR=\"/usr/share/apps/microsim/\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/lib/qt3/mkspecs/default -I. -I/usr/lib/qt3/include -I.ui/ -I. -I.moc/ -o .obj/symbol.o symbol.cpp In file included from interface.h:34, from processor.h:4, from symbol.cpp:36: symbol.h: In member function 'virtual void symbol::put_value(int)': symbol.h:136:30: warning: unused parameter 'i' [-Wunused-parameter] virtual void put_value(int i) {;}; ~~~~^ In file included from breakpoints.h:25, from tmr0.h:4, from processor.h:8, from symbol.cpp:36: instruction.h: In member function 'virtual void Instruction::initialize(bool)': instruction.h:168:36: warning: unused parameter 'init_state' [-Wunused-parameter] virtual void initialize(bool init_state) {}; ~~~~~^~~~~~~~~~ In file included from symbol.cpp:36: processor.h: In member function 'Instruction* Processor::disasm_cpu(unsigned int, unsigned int)': processor.h:815:47: warning: unused parameter 'address' [-Wunused-parameter] Instruction * disasm_cpu ( unsigned int address,unsigned int inst) ~~~~~~~~~~~~~^~~~~~~ symbol.cpp: At global scope: symbol.cpp:78:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ symbol.cpp:78:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] symbol.cpp:78:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] symbol.cpp:78:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] symbol.cpp:78:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] symbol.cpp:78:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] symbol.cpp:78:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] symbol.cpp:78:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] symbol.cpp:78:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] symbol.cpp:78:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] make: Leaving directory '/usr/src/RPM/BUILD/version-1.0' make: Entering directory '/usr/src/RPM/BUILD/version-1.0' g++ -c -pipe -g -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/lib/qt3/include -Wall -W -pipe -frecord-gcc-switches -Wall -g -Os -march=i586 -mtune=generic -DGLX_GLXEXT_LEGACY -D_REENTRANT -DAPPSDIR=\"/usr/share/apps/microsim/\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/lib/qt3/mkspecs/default -I. -I/usr/lib/qt3/include -I.ui/ -I. -I.moc/ -o .obj/instruction.o instruction.cpp In file included from instruction.cpp:1: instruction.h: In member function 'virtual void Instruction::initialize(bool)': instruction.h:168:36: warning: unused parameter 'init_state' [-Wunused-parameter] virtual void initialize(bool init_state) {}; ~~~~~^~~~~~~~~~ In file included from interface.h:34, from processor.h:4, from symbol.h:29, from instruction.cpp:3: symbol.h: In member function 'virtual void symbol::put_value(int)': symbol.h:136:30: warning: unused parameter 'i' [-Wunused-parameter] virtual void put_value(int i) {;}; ~~~~^ In file included from symbol.h:29, from instruction.cpp:3: processor.h: In member function 'Instruction* Processor::disasm_cpu(unsigned int, unsigned int)': processor.h:815:47: warning: unused parameter 'address' [-Wunused-parameter] Instruction * disasm_cpu ( unsigned int address,unsigned int inst) ~~~~~~~~~~~~~^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/version-1.0' make: Entering directory '/usr/src/RPM/BUILD/version-1.0' g++ -c -pipe -g -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/lib/qt3/include -Wall -W -pipe -frecord-gcc-switches -Wall -g -Os -march=i586 -mtune=generic -DGLX_GLXEXT_LEGACY -D_REENTRANT -DAPPSDIR=\"/usr/share/apps/microsim/\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/lib/qt3/mkspecs/default -I. -I/usr/lib/qt3/include -I.ui/ -I. -I.moc/ -o .obj/fopen-path.o fopen-path.cpp In file included from interface.h:34, from processor.h:4, from fopen-path.cpp:36: symbol.h: In member function 'virtual void symbol::put_value(int)': symbol.h:136:30: warning: unused parameter 'i' [-Wunused-parameter] virtual void put_value(int i) {;}; ~~~~^ In file included from breakpoints.h:25, from tmr0.h:4, from processor.h:8, from fopen-path.cpp:36: instruction.h: In member function 'virtual void Instruction::initialize(bool)': instruction.h:168:36: warning: unused parameter 'init_state' [-Wunused-parameter] virtual void initialize(bool init_state) {}; ~~~~~^~~~~~~~~~ In file included from fopen-path.cpp:36: processor.h: In member function 'Instruction* Processor::disasm_cpu(unsigned int, unsigned int)': processor.h:815:47: warning: unused parameter 'address' [-Wunused-parameter] Instruction * disasm_cpu ( unsigned int address,unsigned int inst) ~~~~~~~~~~~~~^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/version-1.0' make: Entering directory '/usr/src/RPM/BUILD/version-1.0' g++ -c -pipe -g -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/lib/qt3/include -Wall -W -pipe -frecord-gcc-switches -Wall -g -Os -march=i586 -mtune=generic -DGLX_GLXEXT_LEGACY -D_REENTRANT -DAPPSDIR=\"/usr/share/apps/microsim/\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/lib/qt3/mkspecs/default -I. -I/usr/lib/qt3/include -I.ui/ -I. -I.moc/ -o .obj/interface.o interface.cpp In file included from breakpoints.h:25, from tmr0.h:4, from processor.h:8, from symbol.h:29, from interface.h:34, from interface.cpp:41: instruction.h: In member function 'virtual void Instruction::initialize(bool)': instruction.h:168:36: warning: unused parameter 'init_state' [-Wunused-parameter] virtual void initialize(bool init_state) {}; ~~~~~^~~~~~~~~~ In file included from symbol.h:29, from interface.h:34, from interface.cpp:41: processor.h: In member function 'Instruction* Processor::disasm_cpu(unsigned int, unsigned int)': processor.h:815:47: warning: unused parameter 'address' [-Wunused-parameter] Instruction * disasm_cpu ( unsigned int address,unsigned int inst) ~~~~~~~~~~~~~^~~~~~~ In file included from interface.h:34, from interface.cpp:41: symbol.h: In member function 'virtual void symbol::put_value(int)': symbol.h:136:30: warning: unused parameter 'i' [-Wunused-parameter] virtual void put_value(int i) {;}; ~~~~^ In file included from interface.cpp:43: eeprom.h: In member function 'void EECON1::set_valid_bits(unsigned int)': eeprom.h:77:43: warning: unused parameter 'vb' [-Wunused-parameter] inline void set_valid_bits(unsigned int vb) { valid_bits = valid_bits; } ~~~~~~~~~~~~~^~ interface.cpp: In function 'unsigned int valid_register(Processor*, REGISTER_TYPE, unsigned int)': interface.cpp:152:59: warning: unused parameter 'type' [-Wunused-parameter] unsigned int valid_register(Processor *pic, REGISTER_TYPE type, unsigned int register_number) ~~~~~~~~~~~~~~^~~~ In file included from symbol.h:28, from interface.h:34, from interface.cpp:41: register.h: At global scope: register.h:260:15: warning: inline function 'virtual void STATUS_Register::put_value(unsigned int)' used but never defined inline void put_value(unsigned int new_value); ^~~~~~~~~ interface.cpp: In member function 'Register* Interface::get_register_ref(REGISTER_TYPE, unsigned int)': interface.cpp:211:5: warning: this statement may fall through [-Wimplicit-fallthrough=] if(pic->eeprom) ^~ interface.cpp:214:3: note: here default: ^~~~~~~ interface.cpp: In function 'Register* get_register(Processor*, REGISTER_TYPE, unsigned int)': interface.cpp:229:5: warning: this statement may fall through [-Wimplicit-fallthrough=] if(pic->eeprom) ^~ interface.cpp:232:3: note: here default: ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/version-1.0' make: Entering directory '/usr/src/RPM/BUILD/version-1.0' g++ -c -pipe -g -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/lib/qt3/include -Wall -W -pipe -frecord-gcc-switches -Wall -g -Os -march=i586 -mtune=generic -DGLX_GLXEXT_LEGACY -D_REENTRANT -DAPPSDIR=\"/usr/share/apps/microsim/\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/lib/qt3/mkspecs/default -I. -I/usr/lib/qt3/include -I.ui/ -I. -I.moc/ -o .obj/cycles.o cycles.cpp In file included from interface.h:34, from processor.h:4, from cycles.cpp:7: symbol.h: In member function 'virtual void symbol::put_value(int)': symbol.h:136:30: warning: unused parameter 'i' [-Wunused-parameter] virtual void put_value(int i) {;}; ~~~~^ In file included from breakpoints.h:25, from tmr0.h:4, from processor.h:8, from cycles.cpp:7: instruction.h: In member function 'virtual void Instruction::initialize(bool)': instruction.h:168:36: warning: unused parameter 'init_state' [-Wunused-parameter] virtual void initialize(bool init_state) {}; ~~~~~^~~~~~~~~~ In file included from cycles.cpp:7: processor.h: In member function 'Instruction* Processor::disasm_cpu(unsigned int, unsigned int)': processor.h:815:47: warning: unused parameter 'address' [-Wunused-parameter] Instruction * disasm_cpu ( unsigned int address,unsigned int inst) ~~~~~~~~~~~~~^~~~~~~ cycles.cpp: In member function 'void Cycle_Counter::clear_break(BreakCallBack*)': cycles.cpp:263:8: warning: unused variable 'found' [-Wunused-variable] bool found = 0; ^~~~~ cycles.cpp: In member function 'bool Cycle_Counter::reassign_break(guint64, guint64, BreakCallBack*)': cycles.cpp:611:1: error: control reaches end of non-void function [-Werror=return-type] } ^ cc1plus: some warnings being treated as errors make: *** [Makefile:382: .obj/cycles.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/version-1.0' make: *** Waiting for unfinished jobs.... make: Entering directory '/usr/src/RPM/BUILD/version-1.0' g++ -c -pipe -g -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/lib/qt3/include -Wall -W -pipe -frecord-gcc-switches -Wall -g -Os -march=i586 -mtune=generic -DGLX_GLXEXT_LEGACY -D_REENTRANT -DAPPSDIR=\"/usr/share/apps/microsim/\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/lib/qt3/mkspecs/default -I. -I/usr/lib/qt3/include -I.ui/ -I. -I.moc/ -o .obj/eeprom.o eeprom.cpp In file included from breakpoints.h:25, from eeprom.h:7, from eeprom.cpp:8: instruction.h: In member function 'virtual void Instruction::initialize(bool)': instruction.h:168:36: warning: unused parameter 'init_state' [-Wunused-parameter] virtual void initialize(bool init_state) {}; ~~~~~^~~~~~~~~~ In file included from interface.h:34, from processor.h:4, from eeprom.h:8, from eeprom.cpp:8: symbol.h: In member function 'virtual void symbol::put_value(int)': symbol.h:136:30: warning: unused parameter 'i' [-Wunused-parameter] virtual void put_value(int i) {;}; ~~~~^ In file included from eeprom.h:8, from eeprom.cpp:8: processor.h: In member function 'Instruction* Processor::disasm_cpu(unsigned int, unsigned int)': processor.h:815:47: warning: unused parameter 'address' [-Wunused-parameter] Instruction * disasm_cpu ( unsigned int address,unsigned int inst) ~~~~~~~~~~~~~^~~~~~~ In file included from eeprom.cpp:8: eeprom.h: In member function 'void EECON1::set_valid_bits(unsigned int)': eeprom.h:77:43: warning: unused parameter 'vb' [-Wunused-parameter] inline void set_valid_bits(unsigned int vb) { valid_bits = valid_bits; } ~~~~~~~~~~~~~^~ eeprom.cpp: In constructor 'EECON1::EECON1()': eeprom.cpp:96:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] new_name("EECON1"); ^ eeprom.cpp: In constructor 'EECON2::EECON2()': eeprom.cpp:131:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] new_name("EECON2"); ^ eeprom.cpp: In constructor 'EEDATA::EEDATA()': eeprom.cpp:155:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] new_name("EEDATA"); ^ eeprom.cpp: In constructor 'EEADR::EEADR()': eeprom.cpp:180:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] new_name("EEADR"); ^ eeprom.cpp: In member function 'void EEPROM::reset(RESET_TYPE)': eeprom.cpp:317:9: warning: enumeration value 'WDT_RESET' not handled in switch [-Wswitch] switch(by) ^ eeprom.cpp:317:9: warning: enumeration value 'SOFT_RESET' not handled in switch [-Wswitch] eeprom.cpp: In member function 'void EEPROM::initialize(unsigned int)': eeprom.cpp:347:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (int i = 0; i < rom_size; i++) ~~^~~~~~~~~~ eeprom.cpp: In member function 'virtual void EEPROM::callback()': eeprom.cpp:306:18: warning: this statement may fall through [-Wimplicit-fallthrough=] eecon1.value &= (~EECON1::WR); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ eeprom.cpp:307:3: note: here default: ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/version-1.0' make: Entering directory '/usr/src/RPM/BUILD/version-1.0' g++ -c -pipe -g -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/lib/qt3/include -Wall -W -pipe -frecord-gcc-switches -Wall -g -Os -march=i586 -mtune=generic -DGLX_GLXEXT_LEGACY -D_REENTRANT -DAPPSDIR=\"/usr/share/apps/microsim/\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/lib/qt3/mkspecs/default -I. -I/usr/lib/qt3/include -I.ui/ -I. -I.moc/ -o .obj/tmr0.o tmr0.cpp In file included from breakpoints.h:25, from tmr0.h:4, from tmr0.cpp:1: instruction.h: In member function 'virtual void Instruction::initialize(bool)': instruction.h:168:36: warning: unused parameter 'init_state' [-Wunused-parameter] virtual void initialize(bool init_state) {}; ~~~~~^~~~~~~~~~ In file included from interface.h:34, from processor.h:4, from tmr0.cpp:2: symbol.h: In member function 'virtual void symbol::put_value(int)': symbol.h:136:30: warning: unused parameter 'i' [-Wunused-parameter] virtual void put_value(int i) {;}; ~~~~^ In file included from tmr0.cpp:2: processor.h: In member function 'Instruction* Processor::disasm_cpu(unsigned int, unsigned int)': processor.h:815:47: warning: unused parameter 'address' [-Wunused-parameter] Instruction * disasm_cpu ( unsigned int address,unsigned int inst) ~~~~~~~~~~~~~^~~~~~~ tmr0.cpp: In constructor 'TMR0::TMR0()': tmr0.cpp:18:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] new_name("TMR0"); ^ tmr0.cpp: In member function 'virtual void TMR0::start(int, int)': tmr0.cpp:71:13: warning: unused variable 'fc' [-Wunused-variable] guint64 fc = last_cycle + max_counts() * prescale; ^~ tmr0.cpp: In member function 'virtual void TMR0::reset(RESET_TYPE)': tmr0.cpp:407:3: warning: label 'POR_RESET' defined but not used [-Wunused-label] POR_RESET: ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/version-1.0' make: Entering directory '/usr/src/RPM/BUILD/version-1.0' g++ -c -pipe -g -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/lib/qt3/include -Wall -W -pipe -frecord-gcc-switches -Wall -g -Os -march=i586 -mtune=generic -DGLX_GLXEXT_LEGACY -D_REENTRANT -DAPPSDIR=\"/usr/share/apps/microsim/\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/lib/qt3/mkspecs/default -I. -I/usr/lib/qt3/include -I.ui/ -I. -I.moc/ -o .obj/wdt.o wdt.cpp In file included from breakpoints.h:25, from wdt.h:4, from wdt.cpp:1: instruction.h: In member function 'virtual void Instruction::initialize(bool)': instruction.h:168:36: warning: unused parameter 'init_state' [-Wunused-parameter] virtual void initialize(bool init_state) {}; ~~~~~^~~~~~~~~~ In file included from interface.h:34, from processor.h:4, from wdt.cpp:2: symbol.h: In member function 'virtual void symbol::put_value(int)': symbol.h:136:30: warning: unused parameter 'i' [-Wunused-parameter] virtual void put_value(int i) {;}; ~~~~^ In file included from wdt.cpp:2: processor.h: In member function 'Instruction* Processor::disasm_cpu(unsigned int, unsigned int)': processor.h:815:47: warning: unused parameter 'address' [-Wunused-parameter] Instruction * disasm_cpu ( unsigned int address,unsigned int inst) ~~~~~~~~~~~~~^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/version-1.0' make: Entering directory '/usr/src/RPM/BUILD/version-1.0' g++ -c -pipe -g -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/lib/qt3/include -Wall -W -pipe -frecord-gcc-switches -Wall -g -Os -march=i586 -mtune=generic -DGLX_GLXEXT_LEGACY -D_REENTRANT -DAPPSDIR=\"/usr/share/apps/microsim/\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/lib/qt3/mkspecs/default -I. -I/usr/lib/qt3/include -I.ui/ -I. -I.moc/ -o .obj/ioports.o ioports.cpp In file included from interface.h:34, from processor.h:4, from ioports.cpp:10: symbol.h: In member function 'virtual void symbol::put_value(int)': symbol.h:136:30: warning: unused parameter 'i' [-Wunused-parameter] virtual void put_value(int i) {;}; ~~~~^ In file included from breakpoints.h:25, from tmr0.h:4, from processor.h:8, from ioports.cpp:10: instruction.h: In member function 'virtual void Instruction::initialize(bool)': instruction.h:168:36: warning: unused parameter 'init_state' [-Wunused-parameter] virtual void initialize(bool init_state) {}; ~~~~~^~~~~~~~~~ In file included from ioports.cpp:10: processor.h: In member function 'Instruction* Processor::disasm_cpu(unsigned int, unsigned int)': processor.h:815:47: warning: unused parameter 'address' [-Wunused-parameter] Instruction * disasm_cpu ( unsigned int address,unsigned int inst) ~~~~~~~~~~~~~^~~~~~~ ioports.cpp: In member function 'void PIC_IOPORT::update_pin_directions(unsigned int)': ioports.cpp:460:53: warning: unused parameter 'new_tris' [-Wunused-parameter] void PIC_IOPORT::update_pin_directions(unsigned int new_tris) ~~~~~~~~~~~~~^~~~~~~~ ioports.cpp: In constructor 'IOPORT::IOPORT(unsigned int)': ioports.cpp:505:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] new_name("IOPORT"); ^ ioports.cpp: In constructor 'IOPORT_TRIS::IOPORT_TRIS()': ioports.cpp:600:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] new_name("IOPORT"); ^ ioports.cpp: In constructor 'PORTB::PORTB()': ioports.cpp:610:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] new_name("PORTB"); ^ ioports.cpp: In member function 'virtual void PORTB::reset(RESET_TYPE)': ioports.cpp:614:30: warning: unused parameter 'r' [-Wunused-parameter] void PORTB::reset(RESET_TYPE r) ~~~~~~~~~~~^ ioports.cpp: In member function 'void PORTB::rbpu_intedg_update(unsigned int)': ioports.cpp:626:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ ioports.cpp: In constructor 'PORTA::PORTA()': ioports.cpp:741:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] new_name("PORTA"); ^ make: Leaving directory '/usr/src/RPM/BUILD/version-1.0' make: Entering directory '/usr/src/RPM/BUILD/version-1.0' g++ -c -pipe -g -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/lib/qt3/include -Wall -W -pipe -frecord-gcc-switches -Wall -g -Os -march=i586 -mtune=generic -DGLX_GLXEXT_LEGACY -D_REENTRANT -DAPPSDIR=\"/usr/share/apps/microsim/\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/lib/qt3/mkspecs/default -I. -I/usr/lib/qt3/include -I.ui/ -I. -I.moc/ -o .obj/processor.o processor.cpp In file included from interface.h:34, from processor.h:4, from processor.cpp:1: symbol.h: In member function 'virtual void symbol::put_value(int)': symbol.h:136:30: warning: unused parameter 'i' [-Wunused-parameter] virtual void put_value(int i) {;}; ~~~~^ In file included from breakpoints.h:25, from tmr0.h:4, from processor.h:8, from processor.cpp:1: instruction.h: In member function 'virtual void Instruction::initialize(bool)': instruction.h:168:36: warning: unused parameter 'init_state' [-Wunused-parameter] virtual void initialize(bool init_state) {}; ~~~~~^~~~~~~~~~ In file included from processor.cpp:1: processor.h: In member function 'Instruction* Processor::disasm_cpu(unsigned int, unsigned int)': processor.h:815:47: warning: unused parameter 'address' [-Wunused-parameter] Instruction * disasm_cpu ( unsigned int address,unsigned int inst) ~~~~~~~~~~~~~^~~~~~~ In file included from processor.cpp:10: eeprom.h: In member function 'void EECON1::set_valid_bits(unsigned int)': eeprom.h:77:43: warning: unused parameter 'vb' [-Wunused-parameter] inline void set_valid_bits(unsigned int vb) { valid_bits = valid_bits; } ~~~~~~~~~~~~~^~ processor.cpp: In member function 'void Processor::init_program_memory(int, int)': processor.cpp:53:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if(address == config_word_address()) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ processor.cpp:66:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] else if( (address>= 0x2100) && (address < 0x2100 + get_eeprom()->get_rom_size())) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ processor.cpp: In member function 'void ProgramMemoryAccess::set_profile_start_at_address(int, BreakCallBack*)': processor.cpp:571:33: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if( pm_index >= 0 && pm_indexprogram_memory_size()) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ processor.cpp: In member function 'int ProgramMemoryAccess::clear_break_at_address(int, Instruction::INSTRUCTION_TYPES)': processor.cpp:589:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if( address >= 0 && addressprogram_memory_size()) { ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ processor.cpp: In member function 'void Processor::disassemble(int, int)': processor.cpp:1198:16: warning: variable 'inst' set but not used [-Wunused-but-set-variable] Instruction *inst; ^~~~ processor.cpp:1204:8: warning: variable 'str' set but not used [-Wunused-but-set-variable] char str[50]; ^~~ processor.cpp: In member function 'void Processor::create()': processor.cpp:1384:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] W->new_name("W"); ^ processor.cpp:1388:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] fsr->new_name("FSR"); ^ processor.cpp: In member function 'void Processor::create_iopin_map()': processor.cpp:1476:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] trisa.new_name("TRISA"); ^ processor.cpp:1478:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] trisb.new_name("TRISB"); ^ processor.cpp: In member function 'Instruction* ProgramMemoryAccess::find_instruction(int, Instruction::INSTRUCTION_TYPES)': processor.cpp:1532:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if(cpu->program_memory_size()<=address || address<0) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ processor.cpp: In member function 'char* ProgramMemoryAccess::get_opcode_name(int, char*, int)': processor.cpp:1659:72: warning: unused parameter 'size' [-Wunused-parameter] char *ProgramMemoryAccess::get_opcode_name(int addr, char* buffer, int size) ~~~~^~~~ processor.cpp: In member function 'void ProgramMemoryAccess::put_opcode(int, unsigned int)': processor.cpp:1747:18: warning: deleting object of polymorphic class type 'Instruction' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete(old_inst); ^ processor.cpp:1691:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ processor.cpp: In member function 'virtual Register* RegisterMemoryAccess::get_register(unsigned int)': processor.cpp:1893:38: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if(!cpu || !registers || nRegisters<=address) ~~~~~~~~~~^~~~~~~~~ In file included from tmr0.h:4, from processor.h:8, from processor.cpp:1: breakpoints.h: In member function 'virtual char* Notify_Register::name()': breakpoints.h:496:5: error: control reaches end of non-void function [-Werror=return-type] }; ^ cc1plus: some warnings being treated as errors make: *** [Makefile:321: .obj/processor.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/version-1.0' make: Entering directory '/usr/src/RPM/BUILD/version-1.0' g++ -c -pipe -g -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/lib/qt3/include -Wall -W -pipe -frecord-gcc-switches -Wall -g -Os -march=i586 -mtune=generic -DGLX_GLXEXT_LEGACY -D_REENTRANT -DAPPSDIR=\"/usr/share/apps/microsim/\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/lib/qt3/mkspecs/default -I. -I/usr/lib/qt3/include -I.ui/ -I. -I.moc/ -o .obj/breakpoints.o breakpoints.cpp In file included from interface.h:34, from processor.h:4, from breakpoints.cpp:25: symbol.h: In member function 'virtual void symbol::put_value(int)': symbol.h:136:30: warning: unused parameter 'i' [-Wunused-parameter] virtual void put_value(int i) {;}; ~~~~^ In file included from breakpoints.h:25, from tmr0.h:4, from processor.h:8, from breakpoints.cpp:25: instruction.h: In member function 'virtual void Instruction::initialize(bool)': instruction.h:168:36: warning: unused parameter 'init_state' [-Wunused-parameter] virtual void initialize(bool init_state) {}; ~~~~~^~~~~~~~~~ In file included from breakpoints.cpp:25: processor.h: In member function 'Instruction* Processor::disasm_cpu(unsigned int, unsigned int)': processor.h:815:47: warning: unused parameter 'address' [-Wunused-parameter] Instruction * disasm_cpu ( unsigned int address,unsigned int inst) ~~~~~~~~~~~~~^~~~~~~ breakpoints.cpp: In member function 'unsigned int Breakpoints::set_breakpoint(Breakpoints::BREAKPOINT_TYPES, Processor*, unsigned int, unsigned int, BreakCallBack*)': breakpoints.cpp:45:13: warning: variable 'fr' set but not used [-Wunused-but-set-variable] Register *fr; ^~ breakpoints.cpp:47:27: warning: unused variable 'abp' [-Wunused-variable] Breakpoint_Instruction *abp; ^~~ breakpoints.cpp: In member function 'unsigned int Breakpoints::check_break(Register*)': breakpoints.cpp:472:49: warning: unused parameter 'fr' [-Wunused-parameter] unsigned int Breakpoints::check_break(Register *fr) ~~~~~~~~~~^~ breakpoints.cpp: In member function 'void Breakpoints::clear(unsigned int)': breakpoints.cpp:645:11: warning: deleting object of polymorphic class type 'Breakpoint_Instruction' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete abp; ^~~ breakpoints.cpp:673:11: warning: deleting object of polymorphic class type 'Breakpoint_Instruction' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete abp; ^~~ breakpoints.cpp:699:11: warning: deleting object of polymorphic class type 'Breakpoint_Instruction' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete abp; ^~~ breakpoints.cpp:726:11: warning: deleting object of polymorphic class type 'Breakpoint_Instruction' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete abp; ^~~ breakpoints.cpp:614:14: warning: enumeration value 'BREAK_CLEAR' not handled in switch [-Wswitch] switch (bs.type) ^ breakpoints.cpp:614:14: warning: enumeration value 'BREAK_ON_INVALID_FR' not handled in switch [-Wswitch] breakpoints.cpp:614:14: warning: enumeration value 'BREAK_MASK' not handled in switch [-Wswitch] breakpoints.cpp: In member function 'void Breakpoints::clear_all_register(Processor*, unsigned int)': breakpoints.cpp:909:19: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] if(!c || address<0 || address > c->register_memory_size()) ~~~~~~~^~ breakpoints.cpp: In member function 'virtual void Break_register_write_value::setBit(unsigned int, bool)': breakpoints.cpp:1205:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] ( (replaced->value & break_mask) == new_value) ) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ breakpoints.cpp: In member function 'virtual void Log_Register_Write::put(unsigned int)': breakpoints.cpp:1224:9: warning: variable 'v' set but not used [-Wunused-but-set-variable] int v; ^ In file included from tmr0.h:4, from processor.h:8, from breakpoints.cpp:25: breakpoints.h: In member function 'virtual char* Notify_Register::name()': breakpoints.h:496:5: error: control reaches end of non-void function [-Werror=return-type] }; ^ breakpoints.cpp: In member function 'virtual int Log_Register_Read_value::getBit(unsigned int)': breakpoints.cpp:1308:1: error: control reaches end of non-void function [-Werror=return-type] } ^ cc1plus: some warnings being treated as errors make: *** [Makefile:351: .obj/breakpoints.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/version-1.0' make: Entering directory '/usr/src/RPM/BUILD/version-1.0' g++ -c -pipe -g -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/lib/qt3/include -Wall -W -pipe -frecord-gcc-switches -Wall -g -Os -march=i586 -mtune=generic -DGLX_GLXEXT_LEGACY -D_REENTRANT -DAPPSDIR=\"/usr/share/apps/microsim/\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/lib/qt3/mkspecs/default -I. -I/usr/lib/qt3/include -I.ui/ -I. -I.moc/ -o .obj/hardware_mapper.o hardware_mapper.cpp In file included from interface.h:34, from processor.h:4, from hardware_mapper.cpp:2: symbol.h: In member function 'virtual void symbol::put_value(int)': symbol.h:136:30: warning: unused parameter 'i' [-Wunused-parameter] virtual void put_value(int i) {;}; ~~~~^ In file included from breakpoints.h:25, from tmr0.h:4, from processor.h:8, from hardware_mapper.cpp:2: instruction.h: In member function 'virtual void Instruction::initialize(bool)': instruction.h:168:36: warning: unused parameter 'init_state' [-Wunused-parameter] virtual void initialize(bool init_state) {}; ~~~~~^~~~~~~~~~ In file included from hardware_mapper.cpp:2: processor.h: In member function 'Instruction* Processor::disasm_cpu(unsigned int, unsigned int)': processor.h:815:47: warning: unused parameter 'address' [-Wunused-parameter] Instruction * disasm_cpu ( unsigned int address,unsigned int inst) ~~~~~~~~~~~~~^~~~~~~ hardware_mapper.cpp: In member function 'bool HardwareMapper::read()': hardware_mapper.cpp:352:9: warning: unused variable 'byte3' [-Wunused-variable] char byte3; ^~~~~ hardware_mapper.cpp: In member function 'bool HardwareMapper::saveMap(std::__cxx11::string)': hardware_mapper.cpp:461:43: warning: unused parameter 'filename' [-Wunused-parameter] bool HardwareMapper::saveMap(const string filename) ~~~~~~~~~~~~~^~~~~~~~ hardware_mapper.cpp: In member function 'bool HardwareMapper::loadMap(std::__cxx11::string)': hardware_mapper.cpp:467:43: warning: unused parameter 'filename' [-Wunused-parameter] bool HardwareMapper::loadMap(const string filename) ~~~~~~~~~~~~~^~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/version-1.0' error: Bad exit status from /usr/src/tmp/rpm-tmp.97014 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.97014 (%build) Command exited with non-zero status 1 10.57user 0.81system 0:02.78elapsed 409%CPU (0avgtext+0avgdata 82016maxresident)k 0inputs+0outputs (0major+348712minor)pagefaults 0swaps hsh-rebuild: rebuild of `picmicrosim-1.0-alt3.src.rpm' failed. Command exited with non-zero status 1 24.61user 3.92system 0:23.01elapsed 124%CPU (0avgtext+0avgdata 122056maxresident)k 18040inputs+0outputs (0major+794670minor)pagefaults 0swaps