The following packages will be installed: beebem Fetching README... 0%100%100%100%100%100%Done Fetching beebem.SlackBuild... 0%100%100%100%100%100%Done Fetching beebem.desktop... 0%100%100%100%100%100%Done Fetching beebem.info... 0%100%100%100%100%100%Done Fetching doinst.sh... 0%100%100%100%100%100%Done Fetching slack-desc... 0%100%100%100%100%100%Done beebem-0.0.13/ beebem-0.0.13/m4/ beebem-0.0.13/m4/sdl11.m4 beebem-0.0.13/m4/Makefile.am beebem-0.0.13/m4/Makefile.in beebem-0.0.13/doc/ beebem-0.0.13/doc/COPYRIGHT.txt beebem-0.0.13/doc/Makefile.am beebem-0.0.13/doc/Makefile.in beebem-0.0.13/doc/README_Z80.TXT beebem-0.0.13/doc/README.txt beebem-0.0.13/doc/Econet.zip beebem-0.0.13/doc/CHANGES.txt beebem-0.0.13/doc/Integra-B.zip beebem-0.0.13/doc/Ibos.txt beebem-0.0.13/src/ beebem-0.0.13/src/gui/ beebem-0.0.13/src/gui/tabgroup_private.h beebem-0.0.13/src/gui/radiobutton_private.h beebem-0.0.13/src/gui/widget_shared.c beebem-0.0.13/src/gui/widget_shared.h beebem-0.0.13/src/gui/progressbar.c beebem-0.0.13/src/gui/progressbar.h beebem-0.0.13/src/gui/box.c beebem-0.0.13/src/gui/box.h beebem-0.0.13/src/gui/gui.h beebem-0.0.13/src/gui/log.c beebem-0.0.13/src/gui/log.h beebem-0.0.13/src/gui/label.c beebem-0.0.13/src/gui/label.h beebem-0.0.13/src/gui/sdl.c beebem-0.0.13/src/gui/sdl.h beebem-0.0.13/src/gui/progressbar_private.h beebem-0.0.13/src/gui/tickbox_private.h beebem-0.0.13/src/gui/functions.c beebem-0.0.13/src/gui/functions.h beebem-0.0.13/src/gui/togglebutton.c beebem-0.0.13/src/gui/togglebutton.h beebem-0.0.13/src/gui/togglebutton_private.h beebem-0.0.13/src/gui/radiobutton.c beebem-0.0.13/src/gui/radiobutton.h beebem-0.0.13/src/gui/label_private.h beebem-0.0.13/src/gui/slidebar.c beebem-0.0.13/src/gui/slidebar.h beebem-0.0.13/src/gui/messagebox_private.h beebem-0.0.13/src/gui/Makefile.am beebem-0.0.13/src/gui/Makefile.in beebem-0.0.13/src/gui/widget.c beebem-0.0.13/src/gui/widget.h beebem-0.0.13/src/gui/widget_private.h beebem-0.0.13/src/gui/window_private.h beebem-0.0.13/src/gui/tabpage_private.h beebem-0.0.13/src/gui/line.h beebem-0.0.13/src/gui/button_private.h beebem-0.0.13/src/gui/window.c beebem-0.0.13/src/gui/window.h beebem-0.0.13/src/gui/types.h beebem-0.0.13/src/gui/box_private.h beebem-0.0.13/src/gui/radiogroup_private.h beebem-0.0.13/src/gui/tickbox.c beebem-0.0.13/src/gui/tickbox.h beebem-0.0.13/src/gui/button.c beebem-0.0.13/src/gui/button.h beebem-0.0.13/src/gui/messagebox.c beebem-0.0.13/src/gui/messagebox.h beebem-0.0.13/src/gui/tabgroup.c beebem-0.0.13/src/gui/tabgroup.h beebem-0.0.13/src/gui/radiogroup.c beebem-0.0.13/src/gui/radiogroup.h beebem-0.0.13/src/gui/slidebar_private.h beebem-0.0.13/src/gui/tabpage.c beebem-0.0.13/src/gui/tabpage.h beebem-0.0.13/src/ea.h beebem-0.0.13/src/zlib/ beebem-0.0.13/src/zlib/zconf.h beebem-0.0.13/src/zlib/zlib.h beebem-0.0.13/src/hardware.cpp beebem-0.0.13/src/i386dasm.cpp beebem-0.0.13/src/fake_registry.c beebem-0.0.13/src/fake_registry.h beebem-0.0.13/src/debug.h beebem-0.0.13/src/video.cpp beebem-0.0.13/src/user_config.c beebem-0.0.13/src/user_config.h beebem-0.0.13/src/windows.h beebem-0.0.13/src/z80dis.cpp beebem-0.0.13/src/hardware.h beebem-0.0.13/src/viastate.h beebem-0.0.13/src/atodconv.h beebem-0.0.13/src/csw.cpp beebem-0.0.13/src/disc1770.h beebem-0.0.13/src/i86.cpp beebem-0.0.13/src/avi.h beebem-0.0.13/src/cregistry.h beebem-0.0.13/src/csw.h beebem-0.0.13/src/i86.h beebem-0.0.13/src/log.c beebem-0.0.13/src/log.h beebem-0.0.13/src/sdl.h beebem-0.0.13/src/uef.h beebem-0.0.13/src/z80.h beebem-0.0.13/src/via.h beebem-0.0.13/src/sasi.cpp beebem-0.0.13/src/speech.h beebem-0.0.13/src/disc8271.h beebem-0.0.13/src/sdl.cpp beebem-0.0.13/src/atodconv.cpp beebem-0.0.13/src/debug.cpp beebem-0.0.13/src/beebem.h beebem-0.0.13/src/beebmem.h beebem-0.0.13/src/beebwin.h beebem-0.0.13/src/main.cpp beebem-0.0.13/src/beebem_pages.cpp beebem-0.0.13/src/disc8271.cpp beebem-0.0.13/src/tube.cpp beebem-0.0.13/src/scsi.cpp beebem-0.0.13/src/beebmem.cpp beebem-0.0.13/src/z80mem.h beebem-0.0.13/src/beebemrc.h beebem-0.0.13/src/beebsound.h beebem-0.0.13/src/Makefile.am beebem-0.0.13/src/Makefile.in beebem-0.0.13/src/uef.cpp beebem-0.0.13/src/6502core.cpp beebem-0.0.13/src/beebem_pages_disks.h beebem-0.0.13/src/speech.cpp beebem-0.0.13/src/uefstate.h beebem-0.0.13/src/line.h beebem-0.0.13/src/main.h beebem-0.0.13/src/z80_support.cpp beebem-0.0.13/src/z80.cpp beebem-0.0.13/src/beebem_pages_disks.cpp beebem-0.0.13/src/serial.cpp beebem-0.0.13/src/port.h beebem-0.0.13/src/beebem_pages.h beebem-0.0.13/src/sasi.h beebem-0.0.13/src/types.h beebem-0.0.13/src/scsi.h beebem-0.0.13/src/windows.cpp beebem-0.0.13/src/teletext.cpp beebem-0.0.13/src/sysvia.cpp beebem-0.0.13/src/sysvia.h beebem-0.0.13/src/serialdevices.h beebem-0.0.13/src/uefstate.cpp beebem-0.0.13/src/tube.h beebem-0.0.13/src/via.cpp beebem-0.0.13/src/video.h beebem-0.0.13/src/serial.h beebem-0.0.13/src/userkybd.h beebem-0.0.13/src/6502core.h beebem-0.0.13/src/econet.cpp beebem-0.0.13/src/userkybd.cpp beebem-0.0.13/src/avi.cpp beebem-0.0.13/src/serialdevices.cpp beebem-0.0.13/src/teletext.h beebem-0.0.13/src/uservia.h beebem-0.0.13/src/uservia.cpp beebem-0.0.13/src/beebsound.cpp beebem-0.0.13/src/econet.h beebem-0.0.13/src/instr86.h beebem-0.0.13/src/osd_cpu.h beebem-0.0.13/src/disc1770.cpp beebem-0.0.13/src/beebwin.cpp beebem-0.0.13/src/cregistry.cpp beebem-0.0.13/NEWS beebem-0.0.13/data/ beebem-0.0.13/data/roms/ beebem-0.0.13/data/roms/bbc/ beebem-0.0.13/data/roms/bbc/os12.rom beebem-0.0.13/data/roms/bbc/ats-3.0-1.rom beebem-0.0.13/data/roms/bbc/basic2.rom beebem-0.0.13/data/roms/bbc/wdfs.rom beebem-0.0.13/data/roms/bbc/dnfs.rom beebem-0.0.13/data/roms/bbc/adfs-1.30.rom beebem-0.0.13/data/roms/bbc/mcp120.cbl beebem-0.0.13/data/roms/m128/ beebem-0.0.13/data/roms/m128/edit.rom beebem-0.0.13/data/roms/m128/dfs.rom beebem-0.0.13/data/roms/m128/terminal.rom beebem-0.0.13/data/roms/m128/adfs1-53.rom beebem-0.0.13/data/roms/m128/mos.rom beebem-0.0.13/data/roms/m128/ats-3.0-1.rom beebem-0.0.13/data/roms/m128/adfs.rom beebem-0.0.13/data/roms/m128/basic4.rom beebem-0.0.13/data/roms/m128/viewsht.rom beebem-0.0.13/data/roms/m128/mcp122.abm beebem-0.0.13/data/roms/m128/anfs-4.25-2201351.rom beebem-0.0.13/data/roms/m128/view.rom beebem-0.0.13/data/roms/bplus/ beebem-0.0.13/data/roms/bplus/basic2.rom beebem-0.0.13/data/roms/bplus/b+mos.rom beebem-0.0.13/data/roms/bplus/wdfs.rom beebem-0.0.13/data/roms/bplus/adfs-1.30.rom beebem-0.0.13/data/roms/bplus/dfs-2.26.rom beebem-0.0.13/data/roms/other/ beebem-0.0.13/data/roms/other/bios.rom beebem-0.0.13/data/roms/other/6502tube.rom beebem-0.0.13/data/roms/other/z80.rom beebem-0.0.13/data/roms/other/hibasic3.rom beebem-0.0.13/data/roms/other/ccpn102.rom beebem-0.0.13/data/roms/bbcint/ beebem-0.0.13/data/roms/bbcint/ibos.rom beebem-0.0.13/data/roms/bbcint/os12.rom beebem-0.0.13/data/roms/bbcint/basic2.rom beebem-0.0.13/data/roms/bbcint/wdfs.rom beebem-0.0.13/data/roms/bbcint/dnfs.rom beebem-0.0.13/data/media/ beebem-0.0.13/data/media/scsi/ beebem-0.0.13/data/media/scsi/sasi0.dat beebem-0.0.13/data/media/scsi/scsi0.dat beebem-0.0.13/data/media/scsi/scsi0.dsc beebem-0.0.13/data/media/scsi/scsi1.dat beebem-0.0.13/data/media/scsi/scsi1.dsc beebem-0.0.13/data/media/scsi/scsi2.dat beebem-0.0.13/data/media/scsi/scsi2.dsc beebem-0.0.13/data/media/scsi/scsi3.dat beebem-0.0.13/data/media/scsi/scsi3.dsc beebem-0.0.13/data/media/discs/ beebem-0.0.13/data/media/discs/test.ssd beebem-0.0.13/data/media/discs/cpm_utilities_disc.dsd beebem-0.0.13/data/media/discs/econet_level_2_utils.ssd beebem-0.0.13/data/media/discs/master_welcome.adl beebem-0.0.13/data/media/discs/econet_level_1_utils.ssd beebem-0.0.13/data/media/discs/welcome.ssd beebem-0.0.13/data/media/discs/bbcmaster512-disc1-dosplusboot.adl beebem-0.0.13/data/media/discs/games.ssd beebem-0.0.13/data/media/tapes/ beebem-0.0.13/data/media/tapes/test.uef beebem-0.0.13/data/state/ beebem-0.0.13/data/state/cmos.ram beebem-0.0.13/data/config/ beebem-0.0.13/data/config/roms.cfg beebem-0.0.13/data/config/roms_torch.cfg beebem-0.0.13/data/config/phroms.cfg beebem-0.0.13/data/config/roms_bbc.cfg beebem-0.0.13/data/config/econet.cfg beebem-0.0.13/data/Makefile.am beebem-0.0.13/data/Makefile.in beebem-0.0.13/data/phroms/ beebem-0.0.13/data/phroms/phromsus.txt beebem-0.0.13/data/phroms/phroma beebem-0.0.13/data/phroms/phromus beebem-0.0.13/data/resources/ beebem-0.0.13/data/resources/font10x16.bmp beebem-0.0.13/data/resources/icon.bmp beebem-0.0.13/data/resources/relayoff.snd beebem-0.0.13/data/resources/relayon.snd beebem-0.0.13/data/resources/teletext.fnt beebem-0.0.13/data/resources/font5x8.bmp beebem-0.0.13/depcomp beebem-0.0.13/aclocal.m4 beebem-0.0.13/README beebem-0.0.13/THANKS beebem-0.0.13/configure beebem-0.0.13/configure.in beebem-0.0.13/config.guess beebem-0.0.13/install-sh beebem-0.0.13/config.sub beebem-0.0.13/missing beebem-0.0.13/mkinstalldirs beebem-0.0.13/Makefile.am beebem-0.0.13/Makefile.in beebem-0.0.13/config.h.in beebem-0.0.13/reconf beebem-0.0.13/AUTHORS beebem-0.0.13/INSTALL beebem-0.0.13/ChangeLog beebem-0.0.13/COPYING patching file beebem-0.0.13/src/beebem_pages.cpp patching file beebem-0.0.13/src/sdl.cpp patching file beebem-0.0.13/src/sdl.cpp checking build system type... i586-slackware-linux-gnu checking host system type... i586-slackware-linux-gnu checking target system type... i586-slackware-linux-gnu checking for a BSD-compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/ginstall -c checking for pkg-config... /usr/bin/pkg-config checking for GTK+ - version >= 2.2.0... yes (version 2.24.33) checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.2.0... yes checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for zlibVersion in -lz... yes -------------------------------------------------------------------- BeebEm will: compile without debugging output compile with econet support compile with realtime slider on slide bar compile without welcome message compile with fullscreen FPS indicator compile with call to system 'cp' command when copying files compile with a forced colormap for 8 bit displays -------------------------------------------------------------------- configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating m4/Makefile config.status: creating src/Makefile config.status: creating src/gui/Makefile config.status: creating data/Makefile config.status: creating config.h config.status: executing depfiles commands make all-recursive make[1]: Entering directory '/usr/src/slapt-src-i486/system/beebem/beebem-0.0.13' Making all in m4 make[2]: Entering directory '/usr/src/slapt-src-i486/system/beebem/beebem-0.0.13/m4' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/usr/src/slapt-src-i486/system/beebem/beebem-0.0.13/m4' Making all in doc make[2]: Entering directory '/usr/src/slapt-src-i486/system/beebem/beebem-0.0.13/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/usr/src/slapt-src-i486/system/beebem/beebem-0.0.13/doc' Making all in src make[2]: Entering directory '/usr/src/slapt-src-i486/system/beebem/beebem-0.0.13/src' Making all in gui make[3]: Entering directory '/usr/src/slapt-src-i486/system/beebem/beebem-0.0.13/src/gui' if gcc -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT sdl.o -MD -MP -MF ".deps/sdl.Tpo" -c -o sdl.o sdl.c; \ then mv -f ".deps/sdl.Tpo" ".deps/sdl.Po"; else rm -f ".deps/sdl.Tpo"; exit 1; fi sdl.c: In function ‘EG_Draw_Char’: sdl.c:231:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 231 | SDL_Color *tmp; // Dump compiler warning | ^~~ if gcc -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT functions.o -MD -MP -MF ".deps/functions.Tpo" -c -o functions.o functions.c; \ then mv -f ".deps/functions.Tpo" ".deps/functions.Po"; else rm -f ".deps/functions.Tpo"; exit 1; fi if gcc -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT log.o -MD -MP -MF ".deps/log.Tpo" -c -o log.o log.c; \ then mv -f ".deps/log.Tpo" ".deps/log.Po"; else rm -f ".deps/log.Tpo"; exit 1; fi if gcc -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT messagebox.o -MD -MP -MF ".deps/messagebox.Tpo" -c -o messagebox.o messagebox.c; \ then mv -f ".deps/messagebox.Tpo" ".deps/messagebox.Po"; else rm -f ".deps/messagebox.Tpo"; exit 1; fi if gcc -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT window.o -MD -MP -MF ".deps/window.Tpo" -c -o window.o window.c; \ then mv -f ".deps/window.Tpo" ".deps/window.Po"; else rm -f ".deps/window.Tpo"; exit 1; fi window.c: In function ‘EG_Window_Diagnositc_DumpChildren’: window.c:267:18: warning: variable ‘clipping’ set but not used [-Wunused-but-set-variable] 267 | SDL_Rect clipping; | ^~~~~~~~ if gcc -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT widget.o -MD -MP -MF ".deps/widget.Tpo" -c -o widget.o widget.c; \ then mv -f ".deps/widget.Tpo" ".deps/widget.Po"; else rm -f ".deps/widget.Tpo"; exit 1; fi widget.c: In function ‘Callback_SDL_Event’: widget.c:65:20: warning: variable ‘tmp_e_ptr’ set but not used [-Wunused-but-set-variable] 65 | SDL_Event *tmp_e_ptr; | ^~~~~~~~~ widget.c:64:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 64 | EG_Widget *tmp; | ^~~ widget.c: In function ‘Callback_Paint’: widget.c:82:19: warning: variable ‘area_ptr’ set but not used [-Wunused-but-set-variable] 82 | SDL_Rect *area_ptr; | ^~~~~~~~ widget.c:81:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 81 | EG_Widget *tmp; | ^~~ widget.c: In function ‘Callback_Visible’: widget.c:96:17: warning: variable ‘tmp_v’ set but not used [-Wunused-but-set-variable] 96 | EG_BOOL tmp_v; | ^~~~~ widget.c:95:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 95 | EG_Widget *tmp; | ^~~ widget.c: In function ‘Callback_Enabled’: widget.c:109:17: warning: variable ‘tmp_e’ set but not used [-Wunused-but-set-variable] 109 | EG_BOOL tmp_e; | ^~~~~ widget.c:108:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 108 | EG_Widget *tmp; | ^~~ widget.c: In function ‘Callback_GotFocus’: widget.c:119:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 119 | EG_Widget *tmp; | ^~~ widget.c: In function ‘Callback_LostFocus’: widget.c:129:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 129 | EG_Widget *tmp; | ^~~ widget.c: In function ‘Callback_Stopped’: widget.c:138:17: warning: variable ‘tmp_e’ set but not used [-Wunused-but-set-variable] 138 | EG_BOOL tmp_e; | ^~~~~ widget.c:137:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 137 | EG_Widget *tmp; | ^~~ widget.c: In function ‘Callback_Attach’: widget.c:158:17: warning: variable ‘tmp_attached’ set but not used [-Wunused-but-set-variable] 158 | EG_BOOL tmp_attached; | ^~~~~~~~~~~~ widget.c:157:15: warning: variable ‘tmp_attach_to_ptr’ set but not used [-Wunused-but-set-variable] 157 | void *tmp_attach_to_ptr; | ^~~~~~~~~~~~~~~~~ widget.c:156:23: warning: variable ‘tmp_attach_to_type’ set but not used [-Wunused-but-set-variable] 156 | EG_StringHash tmp_attach_to_type; | ^~~~~~~~~~~~~~~~~~ widget.c:155:20: warning: variable ‘tmp_widget_ptr’ set but not used [-Wunused-but-set-variable] 155 | EG_Widget *tmp_widget_ptr; | ^~~~~~~~~~~~~~ if gcc -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT widget_shared.o -MD -MP -MF ".deps/widget_shared.Tpo" -c -o widget_shared.o widget_shared.c; \ then mv -f ".deps/widget_shared.Tpo" ".deps/widget_shared.Po"; else rm -f ".deps/widget_shared.Tpo"; exit 1; fi widget_shared.c: In function ‘EG_Callback_Generic_SDL_Event’: widget_shared.c:96:20: warning: variable ‘tmp_event’ set but not used [-Wunused-but-set-variable] 96 | SDL_Event *tmp_event; | ^~~~~~~~~ widget_shared.c:95:20: warning: variable ‘tmp_widget’ set but not used [-Wunused-but-set-variable] 95 | EG_Widget *tmp_widget; | ^~~~~~~~~~ widget_shared.c: In function ‘EG_Callback_Generic_Visible_NoSupport’: widget_shared.c:121:17: warning: variable ‘tmp_is_visible’ set but not used [-Wunused-but-set-variable] 121 | EG_BOOL tmp_is_visible; | ^~~~~~~~~~~~~~ widget_shared.c:120:20: warning: variable ‘tmp_widget_ptr’ set but not used [-Wunused-but-set-variable] 120 | EG_Widget *tmp_widget_ptr; | ^~~~~~~~~~~~~~ widget_shared.c: In function ‘EG_Callback_Generic_Enabled_NoSupport’: widget_shared.c:170:17: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 170 | EG_BOOL tmp; | ^~~ widget_shared.c:169:20: warning: variable ‘tmp_widget_ptr’ set but not used [-Wunused-but-set-variable] 169 | EG_Widget *tmp_widget_ptr; | ^~~~~~~~~~~~~~ widget_shared.c: In function ‘EG_Callback_Generic_GotFocus_NoSupport’: widget_shared.c:194:20: warning: variable ‘tmp_widget_ptr’ set but not used [-Wunused-but-set-variable] 194 | EG_Widget *tmp_widget_ptr; | ^~~~~~~~~~~~~~ widget_shared.c: In function ‘EG_Callback_Generic_LostFocus_NoSupport’: widget_shared.c:244:20: warning: variable ‘tmp_ptr’ set but not used [-Wunused-but-set-variable] 244 | EG_Widget *tmp_ptr; | ^~~~~~~ widget_shared.c: In function ‘EG_Callback_Generic_LostFocus’: widget_shared.c:256:20: warning: variable ‘tmp_ptr’ set but not used [-Wunused-but-set-variable] 256 | EG_Widget *tmp_ptr; | ^~~~~~~ widget_shared.c: In function ‘EG_Callback_Generic_Attach’: widget_shared.c:290:17: warning: variable ‘tmp_attached’ set but not used [-Wunused-but-set-variable] 290 | EG_BOOL tmp_attached; | ^~~~~~~~~~~~ widget_shared.c:289:15: warning: variable ‘tmp_attach_to_ptr’ set but not used [-Wunused-but-set-variable] 289 | void *tmp_attach_to_ptr; | ^~~~~~~~~~~~~~~~~ widget_shared.c:288:23: warning: variable ‘tmp_attach_to_type’ set but not used [-Wunused-but-set-variable] 288 | EG_StringHash tmp_attach_to_type; | ^~~~~~~~~~~~~~~~~~ widget_shared.c:287:20: warning: variable ‘tmp_widget_ptr’ set but not used [-Wunused-but-set-variable] 287 | EG_Widget *tmp_widget_ptr; | ^~~~~~~~~~~~~~ if gcc -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT label.o -MD -MP -MF ".deps/label.Tpo" -c -o label.o label.c; \ then mv -f ".deps/label.Tpo" ".deps/label.Po"; else rm -f ".deps/label.Tpo"; exit 1; fi if gcc -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT button.o -MD -MP -MF ".deps/button.Tpo" -c -o button.o button.c; \ then mv -f ".deps/button.Tpo" ".deps/button.Po"; else rm -f ".deps/button.Tpo"; exit 1; fi if gcc -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT box.o -MD -MP -MF ".deps/box.Tpo" -c -o box.o box.c; \ then mv -f ".deps/box.Tpo" ".deps/box.Po"; else rm -f ".deps/box.Tpo"; exit 1; fi if gcc -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT tickbox.o -MD -MP -MF ".deps/tickbox.Tpo" -c -o tickbox.o tickbox.c; \ then mv -f ".deps/tickbox.Tpo" ".deps/tickbox.Po"; else rm -f ".deps/tickbox.Tpo"; exit 1; fi if gcc -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT togglebutton.o -MD -MP -MF ".deps/togglebutton.Tpo" -c -o togglebutton.o togglebutton.c; \ then mv -f ".deps/togglebutton.Tpo" ".deps/togglebutton.Po"; else rm -f ".deps/togglebutton.Tpo"; exit 1; fi if gcc -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT radiobutton.o -MD -MP -MF ".deps/radiobutton.Tpo" -c -o radiobutton.o radiobutton.c; \ then mv -f ".deps/radiobutton.Tpo" ".deps/radiobutton.Po"; else rm -f ".deps/radiobutton.Tpo"; exit 1; fi if gcc -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT radiogroup.o -MD -MP -MF ".deps/radiogroup.Tpo" -c -o radiogroup.o radiogroup.c; \ then mv -f ".deps/radiogroup.Tpo" ".deps/radiogroup.Po"; else rm -f ".deps/radiogroup.Tpo"; exit 1; fi radiogroup.c: In function ‘Callback_Paint’: radiogroup.c:115:19: warning: variable ‘tmp_area’ set but not used [-Wunused-but-set-variable] 115 | SDL_Rect *tmp_area; | ^~~~~~~~ radiogroup.c: In function ‘Callback_Attach’: radiogroup.c:235:23: warning: variable ‘tmp_attach_to_type’ set but not used [-Wunused-but-set-variable] 235 | EG_StringHash tmp_attach_to_type; | ^~~~~~~~~~~~~~~~~~ if gcc -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT tabgroup.o -MD -MP -MF ".deps/tabgroup.Tpo" -c -o tabgroup.o tabgroup.c; \ then mv -f ".deps/tabgroup.Tpo" ".deps/tabgroup.Po"; else rm -f ".deps/tabgroup.Tpo"; exit 1; fi tabgroup.c: In function ‘Callback_Attach’: tabgroup.c:254:23: warning: variable ‘tmp_attach_to_type’ set but not used [-Wunused-but-set-variable] 254 | EG_StringHash tmp_attach_to_type; | ^~~~~~~~~~~~~~~~~~ if gcc -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT tabpage.o -MD -MP -MF ".deps/tabpage.Tpo" -c -o tabpage.o tabpage.c; \ then mv -f ".deps/tabpage.Tpo" ".deps/tabpage.Po"; else rm -f ".deps/tabpage.Tpo"; exit 1; fi if gcc -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT slidebar.o -MD -MP -MF ".deps/slidebar.Tpo" -c -o slidebar.o slidebar.c; \ then mv -f ".deps/slidebar.Tpo" ".deps/slidebar.Po"; else rm -f ".deps/slidebar.Tpo"; exit 1; fi if gcc -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT progressbar.o -MD -MP -MF ".deps/progressbar.Tpo" -c -o progressbar.o progressbar.c; \ then mv -f ".deps/progressbar.Tpo" ".deps/progressbar.Po"; else rm -f ".deps/progressbar.Tpo"; exit 1; fi rm -f libeg.a ar cru libeg.a sdl.o functions.o log.o messagebox.o window.o widget.o widget_shared.o label.o button.o box.o tickbox.o togglebutton.o radiobutton.o radiogroup.o tabgroup.o tabpage.o slidebar.o progressbar.o ranlib libeg.a make[3]: Leaving directory '/usr/src/slapt-src-i486/system/beebem/beebem-0.0.13/src/gui' make[3]: Entering directory '/usr/src/slapt-src-i486/system/beebem/beebem-0.0.13/src' if g++ -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.cpp; \ then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi main.cpp: In function ‘int main(int, char**)’: main.cpp:457:45: warning: variable ‘pressed’ set but not used [-Wunused-but-set-variable] 457 | int pressed=0, col=0, row=0; | ^~~~~~~ if gcc -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT log.o -MD -MP -MF ".deps/log.Tpo" -c -o log.o log.c; \ then mv -f ".deps/log.Tpo" ".deps/log.Po"; else rm -f ".deps/log.Tpo"; exit 1; fi if g++ -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT sdl.o -MD -MP -MF ".deps/sdl.Tpo" -c -o sdl.o sdl.cpp; \ then mv -f ".deps/sdl.Tpo" ".deps/sdl.Po"; else rm -f ".deps/sdl.Tpo"; exit 1; fi sdl.cpp: In function ‘void fill_audio(void*, Uint8*, int)’: sdl.cpp:306:15: warning: variable ‘tmp_udata’ set but not used [-Wunused-but-set-variable] 306 | void *tmp_udata; | ^~~~~~~~~ sdl.cpp: In function ‘int InitialiseSDL(int, char**)’: sdl.cpp:631:13: warning: variable ‘tmp_argc’ set but not used [-Wunused-but-set-variable] 631 | int tmp_argc; | ^~~~~~~~ sdl.cpp:632:16: warning: variable ‘tmp_argv’ set but not used [-Wunused-but-set-variable] 632 | char **tmp_argv; | ^~~~~~~~ if g++ -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT windows.o -MD -MP -MF ".deps/windows.Tpo" -c -o windows.o windows.cpp; \ then mv -f ".deps/windows.Tpo" ".deps/windows.Po"; else rm -f ".deps/windows.Tpo"; exit 1; fi windows.cpp: In function ‘int MessageBox(HWND, const char*, const char*, int)’: windows.cpp:20:14: warning: variable ‘tmp_hwnd’ set but not used [-Wunused-but-set-variable] 20 | HWND tmp_hwnd; | ^~~~~~~~ if g++ -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT beebem_pages.o -MD -MP -MF ".deps/beebem_pages.Tpo" -c -o beebem_pages.o beebem_pages.cpp; \ then mv -f ".deps/beebem_pages.Tpo" ".deps/beebem_pages.Po"; else rm -f ".deps/beebem_pages.Tpo"; exit 1; fi In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from beebem_pages.cpp:16: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from beebem_pages.cpp:16: /usr/include/glib-2.0/gobject/gtype.h:704:3: note: declared here 704 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from beebem_pages.cpp:16: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from beebem_pages.cpp:16: /usr/include/glib-2.0/glib/gtypes.h:545:26: note: declared here 545 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ beebem_pages.cpp: In function ‘void RunDisc(EG_Widget*, void*)’: beebem_pages.cpp:452:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 452 | EG_Widget *tmp; | ^~~ beebem_pages.cpp: In function ‘void SaveState(EG_Widget*, void*)’: beebem_pages.cpp:471:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 471 | EG_Widget *tmp; | ^~~ beebem_pages.cpp: In function ‘void LoadState(EG_Widget*, void*)’: beebem_pages.cpp:493:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 493 | EG_Widget *tmp; | ^~~ beebem_pages.cpp: In function ‘void Main_Button_Reset(EG_Widget*, void*)’: beebem_pages.cpp:809:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 809 | EG_Widget *tmp; | ^~~ beebem_pages.cpp:810:15: warning: variable ‘tmp2’ set but not used [-Wunused-but-set-variable] 810 | void *tmp2; | ^~~~ beebem_pages.cpp: In function ‘void Main_Button_Okay(EG_Widget*, void*)’: beebem_pages.cpp:837:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 837 | EG_Widget *tmp; | ^~~ beebem_pages.cpp:838:15: warning: variable ‘tmp2’ set but not used [-Wunused-but-set-variable] 838 | void *tmp2; | ^~~~ beebem_pages.cpp: In function ‘void Main_Tick_FullScreen(EG_Widget*, void*)’: beebem_pages.cpp:867:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 867 | EG_Widget *tmp; | ^~~ beebem_pages.cpp:868:15: warning: variable ‘tmp2’ set but not used [-Wunused-but-set-variable] 868 | void *tmp2; | ^~~~ beebem_pages.cpp: In function ‘void Main_Button_Quit(EG_Widget*, void*)’: beebem_pages.cpp:886:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 886 | EG_Widget *tmp; | ^~~ beebem_pages.cpp:887:15: warning: variable ‘tmp2’ set but not used [-Wunused-but-set-variable] 887 | void *tmp2; | ^~~~ beebem_pages.cpp: In function ‘void Main_Button_System(EG_Widget*, void*)’: beebem_pages.cpp:898:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 898 | EG_Widget *tmp; | ^~~ beebem_pages.cpp:899:15: warning: variable ‘tmp2’ set but not used [-Wunused-but-set-variable] 899 | void *tmp2; | ^~~~ beebem_pages.cpp: In function ‘void Main_Button_Screen(EG_Widget*, void*)’: beebem_pages.cpp:913:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 913 | EG_Widget *tmp; | ^~~ beebem_pages.cpp:914:15: warning: variable ‘tmp2’ set but not used [-Wunused-but-set-variable] 914 | void *tmp2; | ^~~~ beebem_pages.cpp: In function ‘void Main_Button_Sound(EG_Widget*, void*)’: beebem_pages.cpp:928:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 928 | EG_Widget *tmp; | ^~~ beebem_pages.cpp:929:15: warning: variable ‘tmp2’ set but not used [-Wunused-but-set-variable] 929 | void *tmp2; | ^~~~ beebem_pages.cpp: In function ‘void Main_Button_ROMs(EG_Widget*, void*)’: beebem_pages.cpp:943:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 943 | EG_Widget *tmp; | ^~~ beebem_pages.cpp:944:15: warning: variable ‘tmp2’ set but not used [-Wunused-but-set-variable] 944 | void *tmp2; | ^~~~ beebem_pages.cpp: In function ‘void Main_Button_Speed(EG_Widget*, void*)’: beebem_pages.cpp:959:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 959 | EG_Widget *tmp; | ^~~ beebem_pages.cpp:960:15: warning: variable ‘tmp2’ set but not used [-Wunused-but-set-variable] 960 | void *tmp2; | ^~~~ beebem_pages.cpp: In function ‘void Main_Button_About(EG_Widget*, void*)’: beebem_pages.cpp:974:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 974 | EG_Widget *tmp; | ^~~ beebem_pages.cpp:975:15: warning: variable ‘tmp2’ set but not used [-Wunused-but-set-variable] 975 | void *tmp2; | ^~~~ beebem_pages.cpp: In function ‘void Main_Button_Devices(EG_Widget*, void*)’: beebem_pages.cpp:998:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 998 | EG_Widget *tmp; | ^~~ beebem_pages.cpp:999:15: warning: variable ‘tmp2’ set but not used [-Wunused-but-set-variable] 999 | void *tmp2; | ^~~~ beebem_pages.cpp: In function ‘void Main_Button_Disks(EG_Widget*, void*)’: beebem_pages.cpp:1013:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 1013 | EG_Widget *tmp; | ^~~ beebem_pages.cpp:1014:15: warning: variable ‘tmp2’ set but not used [-Wunused-but-set-variable] 1014 | void *tmp2; | ^~~~ beebem_pages.cpp: In function ‘void Main_Button_Tapes(EG_Widget*, void*)’: beebem_pages.cpp:1028:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 1028 | EG_Widget *tmp; | ^~~ beebem_pages.cpp:1029:15: warning: variable ‘tmp2’ set but not used [-Wunused-but-set-variable] 1029 | void *tmp2; | ^~~~ beebem_pages.cpp: In function ‘void Main_Button_Keyboard(EG_Widget*, void*)’: beebem_pages.cpp:1043:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 1043 | EG_Widget *tmp; | ^~~ beebem_pages.cpp:1044:15: warning: variable ‘tmp2’ set but not used [-Wunused-but-set-variable] 1044 | void *tmp2; | ^~~~ beebem_pages.cpp: In function ‘void Main_Button_AMX(EG_Widget*, void*)’: beebem_pages.cpp:1058:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 1058 | EG_Widget *tmp; | ^~~ beebem_pages.cpp:1059:15: warning: variable ‘tmp2’ set but not used [-Wunused-but-set-variable] 1059 | void *tmp2; | ^~~~ beebem_pages.cpp: In function ‘EG_BOOL Make_Main(SDL_Surface*)’: beebem_pages.cpp:1089:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1089 | window_ptr = EG_Window_Create("win_menu", dst_ptr, col, win); | ^~~~~~~~~~ beebem_pages.cpp: In function ‘void Disks_AcornDFS(EG_Widget*, void*)’: beebem_pages.cpp:1299:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1299 | mainWin->LoadFDC("Acorn", true); | ^~~~~~~ beebem_pages.cpp:1294:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 1294 | EG_Widget *tmp; | ^~~ beebem_pages.cpp:1295:15: warning: variable ‘tmp2’ set but not used [-Wunused-but-set-variable] 1295 | void *tmp2; | ^~~~ beebem_pages.cpp: In function ‘void Disks_WatfordDFS(EG_Widget*, void*)’: beebem_pages.cpp:1310:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1310 | mainWin->LoadFDC("Watford", true); | ^~~~~~~~~ beebem_pages.cpp:1305:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 1305 | EG_Widget *tmp; | ^~~ beebem_pages.cpp:1306:15: warning: variable ‘tmp2’ set but not used [-Wunused-but-set-variable] 1306 | void *tmp2; | ^~~~ beebem_pages.cpp: In function ‘void Disks_OpusDFS(EG_Widget*, void*)’: beebem_pages.cpp:1321:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1321 | mainWin->LoadFDC("Opus", true); | ^~~~~~ beebem_pages.cpp:1316:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 1316 | EG_Widget *tmp; | ^~~ beebem_pages.cpp:1317:15: warning: variable ‘tmp2’ set but not used [-Wunused-but-set-variable] 1317 | void *tmp2; | ^~~~ beebem_pages.cpp: In function ‘void Disks_NativeDFS(EG_Widget*, void*)’: beebem_pages.cpp:1327:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 1327 | EG_Widget *tmp; | ^~~ beebem_pages.cpp:1328:15: warning: variable ‘tmp2’ set but not used [-Wunused-but-set-variable] 1328 | void *tmp2; | ^~~~ beebem_pages.cpp: In function ‘void System_Button_Back(EG_Widget*, void*)’: beebem_pages.cpp:1418:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 1418 | EG_Widget *tmp; | ^~~ beebem_pages.cpp:1419:15: warning: variable ‘tmp2’ set but not used [-Wunused-but-set-variable] 1419 | void *tmp2; | ^~~~ beebem_pages.cpp: In function ‘EG_BOOL Make_System(SDL_Surface*)’: beebem_pages.cpp:1448:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1448 | window_ptr = EG_Window_Create("system:window", dst_ptr, col, win); | ^~~~~~~~~~~~~~~ beebem_pages.cpp: In function ‘void Screen_Button_Back(EG_Widget*, void*)’: beebem_pages.cpp:1620:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 1620 | EG_Widget *tmp; | ^~~ beebem_pages.cpp:1621:15: warning: variable ‘tmp2’ set but not used [-Wunused-but-set-variable] 1621 | void *tmp2; | ^~~~ beebem_pages.cpp: In function ‘EG_BOOL Make_Video(SDL_Surface*)’: beebem_pages.cpp:1738:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1738 | window_ptr = EG_Window_Create("screen:window", dst_ptr, col, win); | ^~~~~~~~~~~~~~~ beebem_pages.cpp: In function ‘void Sound_Button_Back(EG_Widget*, void*)’: beebem_pages.cpp:2113:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 2113 | EG_Widget *tmp; | ^~~ beebem_pages.cpp:2114:15: warning: variable ‘tmp2’ set but not used [-Wunused-but-set-variable] 2114 | void *tmp2; | ^~~~ beebem_pages.cpp: In function ‘EG_BOOL Make_Sound(SDL_Surface*)’: beebem_pages.cpp:2137:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2137 | window_ptr = EG_Window_Create("sound:window", dst_ptr, col, win); | ^~~~~~~~~~~~~~ beebem_pages.cpp: In function ‘void ROMs_Button_Back(EG_Widget*, void*)’: beebem_pages.cpp:2293:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 2293 | EG_Widget *tmp; | ^~~ beebem_pages.cpp:2294:15: warning: variable ‘tmp2’ set but not used [-Wunused-but-set-variable] 2294 | void *tmp2; | ^~~~ beebem_pages.cpp: In function ‘EG_BOOL Make_ROMs(SDL_Surface*)’: beebem_pages.cpp:2318:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2318 | window_ptr = EG_Window_Create("win_roms", dst_ptr, col, win); | ^~~~~~~~~~ beebem_pages.cpp: In function ‘void Speed_Button_Back(EG_Widget*, void*)’: beebem_pages.cpp:2378:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 2378 | EG_Widget *tmp; | ^~~ beebem_pages.cpp:2379:15: warning: variable ‘tmp2’ set but not used [-Wunused-but-set-variable] 2379 | void *tmp2; | ^~~~ beebem_pages.cpp: In function ‘EG_BOOL Make_Speed(SDL_Surface*)’: beebem_pages.cpp:2411:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2411 | window_ptr = EG_Window_Create("speed:window", dst_ptr, col, win); | ^~~~~~~~~~~~~~ beebem_pages.cpp: In function ‘void Devices_Button_Back(EG_Widget*, void*)’: beebem_pages.cpp:2581:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 2581 | EG_Widget *tmp; | ^~~ beebem_pages.cpp:2582:15: warning: variable ‘tmp2’ set but not used [-Wunused-but-set-variable] 2582 | void *tmp2; | ^~~~ beebem_pages.cpp: In function ‘EG_BOOL Make_Devices(SDL_Surface*)’: beebem_pages.cpp:2629:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2629 | window_ptr = EG_Window_Create("win_devices", dst_ptr, col, win); | ^~~~~~~~~~~~~ beebem_pages.cpp: In function ‘void Tapes_Button_Back(EG_Widget*, void*)’: beebem_pages.cpp:2742:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 2742 | EG_Widget *tmp; | ^~~ beebem_pages.cpp:2743:15: warning: variable ‘tmp2’ set but not used [-Wunused-but-set-variable] 2743 | void *tmp2; | ^~~~ beebem_pages.cpp: In function ‘EG_BOOL Make_Tapes(SDL_Surface*)’: beebem_pages.cpp:2766:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2766 | window_ptr = EG_Window_Create("win_tapes", dst_ptr, col, win); | ^~~~~~~~~~~ beebem_pages.cpp: In function ‘void Disks_Button_Back(EG_Widget*, void*)’: beebem_pages.cpp:2885:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 2885 | EG_Widget *tmp; | ^~~ beebem_pages.cpp:2886:15: warning: variable ‘tmp2’ set but not used [-Wunused-but-set-variable] 2886 | void *tmp2; | ^~~~ beebem_pages.cpp: In function ‘EG_BOOL Make_Disks(SDL_Surface*)’: beebem_pages.cpp:2909:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2909 | window_ptr = EG_Window_Create("win_disks", dst_ptr, col, win); | ^~~~~~~~~~~ beebem_pages.cpp: In function ‘void Keyboard_Button_Back(EG_Widget*, void*)’: beebem_pages.cpp:2948:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 2948 | EG_Widget *tmp; | ^~~ beebem_pages.cpp:2949:15: warning: variable ‘tmp2’ set but not used [-Wunused-but-set-variable] 2949 | void *tmp2; | ^~~~ beebem_pages.cpp: In function ‘void Disks_SaveRegistry(EG_Widget*, void*)’: beebem_pages.cpp:2963:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 2963 | EG_Widget *tmp; | ^~~ beebem_pages.cpp:2964:15: warning: variable ‘tmp2’ set but not used [-Wunused-but-set-variable] 2964 | void *tmp2; | ^~~~ beebem_pages.cpp: In function ‘EG_BOOL Make_Keyboard(SDL_Surface*)’: beebem_pages.cpp:3018:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 3018 | window_ptr = EG_Window_Create("win_keyboard", dst_ptr, col, win); | ^~~~~~~~~~~~~~ beebem_pages.cpp: In function ‘void AMX_Button_Back(EG_Widget*, void*)’: beebem_pages.cpp:3244:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 3244 | EG_Widget *tmp; | ^~~ beebem_pages.cpp:3245:15: warning: variable ‘tmp2’ set but not used [-Wunused-but-set-variable] 3245 | void *tmp2; | ^~~~ beebem_pages.cpp: In function ‘EG_BOOL Make_AMX(SDL_Surface*)’: beebem_pages.cpp:3267:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 3267 | window_ptr = EG_Window_Create("win_amx", dst_ptr, col, win); | ^~~~~~~~~ if g++ -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT beebem_pages_disks.o -MD -MP -MF ".deps/beebem_pages_disks.Tpo" -c -o beebem_pages_disks.o beebem_pages_disks.cpp; \ then mv -f ".deps/beebem_pages_disks.Tpo" ".deps/beebem_pages_disks.Po"; else rm -f ".deps/beebem_pages_disks.Tpo"; exit 1; fi beebem_pages_disks.cpp:36:19: warning: ‘v_slider’ defined but not used [-Wunused-variable] 36 | static EG_Widget *v_slider; | ^~~~~~~~ beebem_pages_disks.cpp:34:17: warning: ‘scrolling_area’ defined but not used [-Wunused-variable] 34 | static SDL_Rect scrolling_area; | ^~~~~~~~~~~~~~ beebem_pages_disks.cpp:32:17: warning: ‘widget_loc’ defined but not used [-Wunused-variable] 32 | static SDL_Rect widget_loc[25]; | ^~~~~~~~~~ beebem_pages_disks.cpp:31:19: warning: ‘widget_about’ defined but not used [-Wunused-variable] 31 | static EG_Widget *widget_about[25]; | ^~~~~~~~~~~~ beebem_pages_disks.cpp:28:12: warning: ‘d’ defined but not used [-Wunused-variable] 28 | static int d; | ^ beebem_pages_disks.cpp:27:19: warning: ‘window_ptr’ defined but not used [-Wunused-variable] 27 | static EG_Window *window_ptr; | ^~~~~~~~~~ beebem_pages_disks.cpp:26:13: warning: ‘about_lines’ defined but not used [-Wunused-variable] 26 | static long about_lines; | ^~~~~~~~~~~ beebem_pages_disks.cpp:24:12: warning: ‘return_value’ defined but not used [-Wunused-variable] 24 | static int return_value; | ^~~~~~~~~~~~ beebem_pages_disks.cpp:22:14: warning: ‘about2’ defined but not used [-Wunused-variable] 22 | static char *about2[1000]; | ^~~~~~ if gcc -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT fake_registry.o -MD -MP -MF ".deps/fake_registry.Tpo" -c -o fake_registry.o fake_registry.c; \ then mv -f ".deps/fake_registry.Tpo" ".deps/fake_registry.Po"; else rm -f ".deps/fake_registry.Tpo"; exit 1; fi if gcc -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT user_config.o -MD -MP -MF ".deps/user_config.Tpo" -c -o user_config.o user_config.c; \ then mv -f ".deps/user_config.Tpo" ".deps/user_config.Po"; else rm -f ".deps/user_config.Tpo"; exit 1; fi if g++ -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT serialdevices.o -MD -MP -MF ".deps/serialdevices.Tpo" -c -o serialdevices.o serialdevices.cpp; \ then mv -f ".deps/serialdevices.Tpo" ".deps/serialdevices.Po"; else rm -f ".deps/serialdevices.Tpo"; exit 1; fi if g++ -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT csw.o -MD -MP -MF ".deps/csw.Tpo" -c -o csw.o csw.cpp; \ then mv -f ".deps/csw.Tpo" ".deps/csw.Po"; else rm -f ".deps/csw.Tpo"; exit 1; fi csw.cpp: In function ‘void LoadCSW(char*)’: csw.cpp:85:13: warning: unused variable ‘flags’ [-Wunused-variable] 85 | int flags = file_buf[0x22]; | ^~~~~ if g++ -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT 6502core.o -MD -MP -MF ".deps/6502core.Tpo" -c -o 6502core.o 6502core.cpp; \ then mv -f ".deps/6502core.Tpo" ".deps/6502core.Po"; else rm -f ".deps/6502core.Tpo"; exit 1; fi 6502core.cpp: In function ‘void SBCInstrHandler(int16)’: 6502core.cpp:735:17: warning: variable ‘nhn’ set but not used [-Wunused-but-set-variable] 735 | unsigned char nhn,nln; | ^~~ 6502core.cpp:735:21: warning: variable ‘nln’ set but not used [-Wunused-but-set-variable] 735 | unsigned char nhn,nln; | ^~~ 6502core.cpp: In function ‘void Load6502UEF(FILE*)’: 6502core.cpp:2366:13: warning: variable ‘Dlong’ set but not used [-Wunused-but-set-variable] 2366 | int Dlong; | ^~~~~ if g++ -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT atodconv.o -MD -MP -MF ".deps/atodconv.Tpo" -c -o atodconv.o atodconv.cpp; \ then mv -f ".deps/atodconv.Tpo" ".deps/atodconv.Po"; else rm -f ".deps/atodconv.Tpo"; exit 1; fi if g++ -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT avi.o -MD -MP -MF ".deps/avi.Tpo" -c -o avi.o avi.cpp; \ then mv -f ".deps/avi.Tpo" ".deps/avi.Po"; else rm -f ".deps/avi.Tpo"; exit 1; fi if g++ -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT beebmem.o -MD -MP -MF ".deps/beebmem.Tpo" -c -o beebmem.o beebmem.cpp; \ then mv -f ".deps/beebmem.Tpo" ".deps/beebmem.Po"; else rm -f ".deps/beebmem.Tpo"; exit 1; fi beebmem.cpp: In function ‘void BeebWriteMem(int, int)’: beebmem.cpp:785:51: warning: bitwise comparison always evaluates to false [-Wtautological-compare] 785 | ((MachineType!=3 && (Address & ~8)==0xfe18) || | ~~~~~~~~~~~~~~^~~~~~~~ beebmem.cpp:786:51: warning: bitwise comparison always evaluates to false [-Wtautological-compare] 786 | (MachineType==3 && (Address & ~8)==0xfe38)) ) { | ~~~~~~~~~~~~~~^~~~~~~~ beebmem.cpp: In function ‘void BeebReadRoms()’: beebmem.cpp:1011:23: warning: variable ‘Shortener’ set but not used [-Wunused-but-set-variable] 1011 | unsigned char Shortener=1; | ^~~~~~~~~ if g++ -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT beebsound.o -MD -MP -MF ".deps/beebsound.Tpo" -c -o beebsound.o beebsound.cpp; \ then mv -f ".deps/beebsound.Tpo" ".deps/beebsound.Po"; else rm -f ".deps/beebsound.Tpo"; exit 1; fi beebsound.cpp: In function ‘void Sound_RegWrite(int)’: beebsound.cpp:831:17: warning: variable ‘VolChange’ set but not used [-Wunused-but-set-variable] 831 | unsigned char VolChange; | ^~~~~~~~~ beebsound.cpp: In function ‘void SwitchOnSound()’: beebsound.cpp:687:56: warning: array subscript 3 is above array bounds of ‘int [3]’ [-Warray-bounds] 687 | if (freqval<5) Speech[Channel]=1; else Speech[Channel]=0; | ~~~~~~~~~~~~~~^ beebsound.cpp:91:5: note: while referencing ‘Speech’ 91 | int Speech[3]; | ^~~~~~ if g++ -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT beebwin.o -MD -MP -MF ".deps/beebwin.Tpo" -c -o beebwin.o beebwin.cpp; \ then mv -f ".deps/beebwin.Tpo" ".deps/beebwin.Po"; else rm -f ".deps/beebwin.Tpo"; exit 1; fi beebwin.cpp:138:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 138 | char *CFG_REG_KEY = "Software\\BeebEm"; | ^~~~~~~~~~~~~~~~~~ beebwin.cpp:141:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 141 | static char *CFG_VIEW_SECTION = "View"; | ^~~~~~ beebwin.cpp:142:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 142 | static char *CFG_VIEW_WIN_SIZE = "WinSize"; | ^~~~~~~~~ beebwin.cpp:143:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 143 | static char *CFG_VIEW_SHOW_FPS = "ShowFSP"; | ^~~~~~~~~ beebwin.cpp:144:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 144 | static char *CFG_VIEW_DIRECT_ENABLED = "DirectDrawEnabled"; | ^~~~~~~~~~~~~~~~~~~ beebwin.cpp:145:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 145 | static char *CFG_VIEW_BUFFER_IN_VIDEO = "BufferInVideoRAM"; | ^~~~~~~~~~~~~~~~~~ beebwin.cpp:146:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 146 | static char *CFG_VIEW_MONITOR = "Monitor"; | ^~~~~~~~~ beebwin.cpp:148:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 148 | static char *CFG_SOUND_SECTION = "Sound"; | ^~~~~~~ beebwin.cpp:149:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 149 | static char *CFG_SOUND_SAMPLE_RATE = "SampleRate"; | ^~~~~~~~~~~~ beebwin.cpp:150:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 150 | static char *CFG_SOUND_VOLUME = "Volume"; | ^~~~~~~~ beebwin.cpp:151:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 151 | static char *CFG_SOUND_ENABLED = "SoundEnabled"; | ^~~~~~~~~~~~~~ beebwin.cpp:152:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 152 | static char *CFG_SOUND_DIRECT_ENABLED = "DirectSoundEnabled"; | ^~~~~~~~~~~~~~~~~~~~ beebwin.cpp:154:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 154 | static char *CFG_OPTIONS_SECTION = "Options"; | ^~~~~~~~~ beebwin.cpp:155:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 155 | static char *CFG_OPTIONS_STICKS = "Sticks"; | ^~~~~~~~ beebwin.cpp:156:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 156 | static char *CFG_OPTIONS_KEY_MAPPING = "KeyMapping"; | ^~~~~~~~~~~~ beebwin.cpp:158:43: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 158 | static char *CFG_OPTIONS_FREEZEINACTIVE = "FreezeWhenInactive"; | ^~~~~~~~~~~~~~~~~~~~ beebwin.cpp:159:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 159 | static char *CFG_OPTIONS_HIDE_CURSOR = "HideCursor"; | ^~~~~~~~~~~~ beebwin.cpp:161:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 161 | static char *CFG_SPEED_SECTION = "Speed"; | ^~~~~~~ beebwin.cpp:162:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 162 | static char *CFG_SPEED_TIMING = "Timing"; | ^~~~~~~~ beebwin.cpp:164:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 164 | static char *CFG_AMX_SECTION = "AMX"; | ^~~~~ beebwin.cpp:165:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 165 | static char *CFG_AMX_ENABLED = "AMXMouseEnabled"; | ^~~~~~~~~~~~~~~~~ beebwin.cpp:166:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 166 | static char *CFG_AMX_LRFORMIDDLE = "AMXMouseLRForMiddle"; | ^~~~~~~~~~~~~~~~~~~~~ beebwin.cpp:167:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 167 | static char *CFG_AMX_SIZE = "AMXMouseSize"; | ^~~~~~~~~~~~~~ beebwin.cpp:168:31: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 168 | static char *CFG_AMX_ADJUST = "AMXMouseAdjust"; | ^~~~~~~~~~~~~~~~ beebwin.cpp:170:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 170 | static char *CFG_PRINTER_SECTION = "Printer"; | ^~~~~~~~~ beebwin.cpp:171:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 171 | static char *CFG_PRINTER_ENABLED = "PrinterEnabled"; | ^~~~~~~~~~~~~~~~ beebwin.cpp:172:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 172 | static char *CFG_PRINTER_PORT = "PrinterPort"; | ^~~~~~~~~~~~~ beebwin.cpp:173:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 173 | static char *CFG_PRINTER_FILE = "PrinterFile"; | ^~~~~~~~~~~~~ beebwin.cpp: In member function ‘void BeebWin::updateLines(HDC, int, int)’: beebwin.cpp:2020:16: warning: variable ‘TTLines’ set but not used [-Wunused-but-set-variable] 2020 | int i, TTLines=0; | ^~~~~~~ beebwin.cpp: In member function ‘int BeebWin::ReadDisc(int, HMENU)’: beebwin.cpp:2575:63: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 2575 | SysReg.GetStringValue(HKEY_CURRENT_USER, CFG_REG_KEY, "DiscsPath", FileName); | ^~~~~~~~~~~ beebwin.cpp:2630:69: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 2630 | SysReg.SetStringValue(HKEY_CURRENT_USER,CFG_REG_KEY,"DiscsPath",FileName); | ^~~~~~~~~~~ beebwin.cpp:2643:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 2643 | if (ext != NULL) | ^~ beebwin.cpp:2646:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 2646 | if (stricmp(ext+1, "adl") == 0) | ^~ beebwin.cpp: In member function ‘void BeebWin::LoadTape()’: beebwin.cpp:2730:61: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 2730 | SysReg.GetStringValue(HKEY_CURRENT_USER,CFG_REG_KEY,"TapesPath",FileName); | ^~~~~~~~~~~ beebwin.cpp:2769:69: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 2769 | SysReg.SetStringValue(HKEY_CURRENT_USER,CFG_REG_KEY,"TapesPath",FileName); | ^~~~~~~~~~~ beebwin.cpp: In member function ‘void BeebWin::NewTapeImage(char*)’: beebwin.cpp:2829:12: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 2829 | , "TapesPath", FileName); | ^~~~~~~~~~~ beebwin.cpp: In member function ‘void BeebWin::NewDiscImage(int)’: beebwin.cpp:2950:19: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 2950 | ,"DiscsPath",FileName); | ^~~~~~~~~~~ beebwin.cpp: In member function ‘void BeebWin::LoadPreferences()’: beebwin.cpp:3379:68: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 3379 | RegRes=SysReg.GetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"MachineType",&MachineType,binsize); | ^~~~~~~~~~~~~ beebwin.cpp:3466:65: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 3466 | if (SysReg.GetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"isFullScreen",&flag,binsize)) | ^~~~~~~~~~~~~~ beebwin.cpp:3497:68: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 3497 | RegRes=SysReg.GetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"HideMenuEnabled",&HideMenuEnabled,binsize); | ^~~~~~~~~~~~~~~~~ beebwin.cpp:3504:68: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 3504 | RegRes=SysReg.GetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"LED Information",&LEDByte,binsize); | ^~~~~~~~~~~~~~~~~ beebwin.cpp:3515:64: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 3515 | if (SysReg.GetDWORDValue(HKEY_CURRENT_USER,CFG_REG_KEY,"MotionBlur",dword)) { | ^~~~~~~~~~~~ beebwin.cpp:3523:66: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 3523 | if (!SysReg.GetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"MotionBlurIntensities",m_BlurIntensities,binsize)) { | ^~~~~~~~~~~~~~~~~~~~~~~ beebwin.cpp:3534:68: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 3534 | RegRes=SysReg.GetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"TextViewEnabled",&m_TextViewEnabled,binsize); | ^~~~~~~~~~~~~~~~~ beebwin.cpp:3558:68: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 3558 | RegRes=SysReg.GetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"SoundChipEnabled",&SoundChipEnabled,binsize); | ^~~~~~~~~~~~~~~~~~ beebwin.cpp:3611:68: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 3611 | RegRes=SysReg.GetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"RelaySoundEnabled",&RelaySoundEnabled,binsize); | ^~~~~~~~~~~~~~~~~~~ beebwin.cpp:3618:68: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 3618 | RegRes=SysReg.GetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"TapeSoundEnabled",&TapeSoundEnabled,binsize); | ^~~~~~~~~~~~~~~~~~ beebwin.cpp:3625:68: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 3625 | RegRes=SysReg.GetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"UsePrimaryBuffer",&UsePrimaryBuffer,binsize); | ^~~~~~~~~~~~~~~~~~ beebwin.cpp:3632:68: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 3632 | RegRes=SysReg.GetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"Part Samples",&PartSamples,binsize); | ^~~~~~~~~~~~~~ beebwin.cpp:3641:68: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 3641 | RegRes=SysReg.GetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"ExponentialVolume",&SoundExponentialVolume,binsize); | ^~~~~~~~~~~~~~~~~~~ beebwin.cpp:3645:68: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 3645 | RegRes=SysReg.GetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"TextToSpeechEnabled",&m_TextToSpeechEnabled,binsize); | ^~~~~~~~~~~~~~~~~~~~~ beebwin.cpp:3708:68: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 3708 | RegRes=SysReg.GetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"KeyMapAS",&flag,binsize); | ^~~~~~~~~~ beebwin.cpp:3896:64: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 3896 | if (SysReg.GetDWORDValue(HKEY_CURRENT_USER,CFG_REG_KEY,"Tape Clock Speed",dword)) | ^~~~~~~~~~~~~~~~~~ beebwin.cpp:3903:68: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 3903 | RegRes=SysReg.GetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"UnlockTape",&flag,binsize); | ^~~~~~~~~~~~ beebwin.cpp:3913:68: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 3913 | RegRes=SysReg.GetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"SerialPortEnabled",&SerialPortEnabled,binsize); | ^~~~~~~~~~~~~~~~~~~ beebwin.cpp:3918:68: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 3918 | RegRes=SysReg.GetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"TouchScreenEnabled",&TouchScreenEnabled,binsize); | ^~~~~~~~~~~~~~~~~~~~ beebwin.cpp:3923:68: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 3923 | RegRes=SysReg.GetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"SerialPort",&SerialPort,binsize); | ^~~~~~~~~~~~ beebwin.cpp:3932:68: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 3932 | RegRes=SysReg.GetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"EconetEnabled",&EconetEnabled,binsize); | ^~~~~~~~~~~~~~~ beebwin.cpp:3939:68: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 3939 | RegRes=SysReg.GetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"SpeechEnabled",&flag,binsize); | ^~~~~~~~~~~~~~~ beebwin.cpp:3949:68: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 3949 | RegRes=SysReg.GetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"TorchTube",&TorchTube,binsize); | ^~~~~~~~~~~ beebwin.cpp:3954:68: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 3954 | RegRes=SysReg.GetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"AcornZ80",&AcornZ80,binsize); | ^~~~~~~~~~ beebwin.cpp:3959:64: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 3959 | RegRes=SysReg.GetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"TubeEnabled",&TubeEnabled,binsize); | ^~~~~~~~~~~~~ beebwin.cpp:3964:64: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 3964 | RegRes=SysReg.GetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"Tube186Enabled",&Tube186Enabled,binsize); | ^~~~~~~~~~~~~~~~ beebwin.cpp:3969:64: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 3969 | RegRes=SysReg.GetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"OpCodes",&OpCodes,binsize); | ^~~~~~~~~ beebwin.cpp:3976:68: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 3976 | RegRes=SysReg.GetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"Basic Hardware",&BHardware,binsize); | ^~~~~~~~~~~~~~~~ beebwin.cpp:3983:68: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 3983 | RegRes=SysReg.GetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"Teletext Half Mode",&THalfMode,binsize); | ^~~~~~~~~~~~~~~~~~~~ beebwin.cpp:3990:68: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 3990 | RegRes=SysReg.GetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"SoundBlockSize",&SBSize,binsize); | ^~~~~~~~~~~~~~~~ beebwin.cpp:3998:68: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 3998 | RegRes=SysReg.GetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"TeleTextAdapterEnabled",&TeleTextAdapterEnabled,binsize); | ^~~~~~~~~~~~~~~~~~~~~~~~ beebwin.cpp:4002:68: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4002 | RegRes=SysReg.GetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"HardDriveEnabled",&HardDriveEnabled,binsize); | ^~~~~~~~~~~~~~~~~~ beebwin.cpp:4036:64: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4036 | if (SysReg.GetDWORDValue(HKEY_CURRENT_USER,CFG_REG_KEY,"CaptureResolution",dword)) { | ^~~~~~~~~~~~~~~~~~~ beebwin.cpp:4046:64: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4046 | if (SysReg.GetDWORDValue(HKEY_CURRENT_USER,CFG_REG_KEY,"FrameSkip",dword)) { | ^~~~~~~~~~~ In file included from windows.h:13, from beebwin.cpp:29: sdl.h:34:32: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 34 | #define CFG_EMULATECRTGRAPHICS "EmulateCrtGraphics" | ^~~~~~~~~~~~~~~~~~~~ beebwin.cpp:4058:64: note: in expansion of macro ‘CFG_EMULATECRTGRAPHICS’ 4058 | if (SysReg.GetDWORDValue(HKEY_CURRENT_USER,CFG_REG_KEY,CFG_EMULATECRTGRAPHICS,dword)) | ^~~~~~~~~~~~~~~~~~~~~~ sdl.h:38:32: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 38 | #define CFG_EMUALTECRTTELETEXT "EmulateCrtTeletext" | ^~~~~~~~~~~~~~~~~~~~ beebwin.cpp:4063:64: note: in expansion of macro ‘CFG_EMUALTECRTTELETEXT’ 4063 | if (SysReg.GetDWORDValue(HKEY_CURRENT_USER,CFG_REG_KEY,CFG_EMUALTECRTTELETEXT,dword)) | ^~~~~~~~~~~~~~~~~~~~~~ sdl.h:42:33: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 42 | #define CFG_WANTLOWLATENCYSOUND "WantLowLatencySound" | ^~~~~~~~~~~~~~~~~~~~~ beebwin.cpp:4068:64: note: in expansion of macro ‘CFG_WANTLOWLATENCYSOUND’ 4068 | if (SysReg.GetDWORDValue(HKEY_CURRENT_USER,CFG_REG_KEY,CFG_WANTLOWLATENCYSOUND,dword)) | ^~~~~~~~~~~~~~~~~~~~~~~ sdl.h:74:25: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 74 | #define CFG_SLEEP_TYPE "SleepType" | ^~~~~~~~~~~ beebwin.cpp:4073:64: note: in expansion of macro ‘CFG_SLEEP_TYPE’ 4073 | if (SysReg.GetDWORDValue(HKEY_CURRENT_USER,CFG_REG_KEY,CFG_SLEEP_TYPE,dword)) | ^~~~~~~~~~~~~~ sdl.h:52:33: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 52 | #define CFG_WINDOWEDRESOLUTION "WindowedResolution" | ^~~~~~~~~~~~~~~~~~~~ beebwin.cpp:4078:66: note: in expansion of macro ‘CFG_WINDOWEDRESOLUTION’ 4078 | if (SysReg.GetDWORDValue(HKEY_CURRENT_USER, CFG_REG_KEY, CFG_WINDOWEDRESOLUTION, dword)) | ^~~~~~~~~~~~~~~~~~~~~~ sdl.h:55:41: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 55 | #define CFG_FULLSCREENRESOLUTION "FullscreenResolution" | ^~~~~~~~~~~~~~~~~~~~~~ beebwin.cpp:4083:66: note: in expansion of macro ‘CFG_FULLSCREENRESOLUTION’ 4083 | if (SysReg.GetDWORDValue(HKEY_CURRENT_USER, CFG_REG_KEY, CFG_FULLSCREENRESOLUTION, dword)) | ^~~~~~~~~~~~~~~~~~~~~~~~ beebwin.cpp: In member function ‘void BeebWin::SavePreferences()’: beebwin.cpp:4108:61: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4108 | SysReg.SetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"MachineType",&MachineType,binsize); | ^~~~~~~~~~~~~ beebwin.cpp:4114:60: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4114 | SysReg.SetDWORDValue(HKEY_CURRENT_USER,CFG_REG_KEY,"DDFullScreenMode",m_DDFullScreenMode); | ^~~~~~~~~~~~~~~~~~ beebwin.cpp:4116:61: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4116 | SysReg.SetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"isDD32",&flag,binsize); | ^~~~~~~~ beebwin.cpp:4119:61: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4119 | SysReg.SetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"isFullScreen",&flag,binsize); | ^~~~~~~~~~~~~~ beebwin.cpp:4124:61: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4124 | SysReg.SetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"HideMenuEnabled",&HideMenuEnabled,binsize); | ^~~~~~~~~~~~~~~~~ beebwin.cpp:4126:61: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4126 | SysReg.SetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"LED Information",&LEDByte,binsize); | ^~~~~~~~~~~~~~~~~ beebwin.cpp:4128:61: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4128 | SysReg.SetDWORDValue(HKEY_CURRENT_USER,CFG_REG_KEY, "MotionBlur", m_MotionBlur); | ^~~~~~~~~~~~ beebwin.cpp:4130:61: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4130 | SysReg.SetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"MotionBlurIntensities",m_BlurIntensities,binsize); | ^~~~~~~~~~~~~~~~~~~~~~~ beebwin.cpp:4132:61: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4132 | SysReg.SetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"TextViewEnabled",&m_TextViewEnabled,binsize); | ^~~~~~~~~~~~~~~~~ beebwin.cpp:4138:61: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4138 | SysReg.SetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"SoundChipEnabled",&flag,binsize); | ^~~~~~~~~~~~~~~~~~ beebwin.cpp:4143:61: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4143 | SysReg.SetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"RelaySoundEnabled",&RelaySoundEnabled,binsize); | ^~~~~~~~~~~~~~~~~~~ beebwin.cpp:4144:61: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4144 | SysReg.SetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"TapeSoundEnabled",&TapeSoundEnabled,binsize); | ^~~~~~~~~~~~~~~~~~ beebwin.cpp:4145:61: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4145 | SysReg.SetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"UsePrimaryBuffer",&UsePrimaryBuffer,binsize); | ^~~~~~~~~~~~~~~~~~ beebwin.cpp:4146:61: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4146 | SysReg.SetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"Part Samples",&PartSamples,binsize); | ^~~~~~~~~~~~~~ beebwin.cpp:4148:61: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4148 | SysReg.SetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"ExponentialVolume",&SoundExponentialVolume,binsize); | ^~~~~~~~~~~~~~~~~~~ beebwin.cpp:4149:61: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4149 | SysReg.SetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"TextToSpeechEnabled",&m_TextToSpeechEnabled,binsize); | ^~~~~~~~~~~~~~~~~~~~~ beebwin.cpp:4158:61: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4158 | SysReg.SetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"KeyMapAS",&flag,binsize); | ^~~~~~~~~~ beebwin.cpp:4160:61: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4160 | SysReg.SetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"KeyMapFunc",&flag,binsize); | ^~~~~~~~~~~~ beebwin.cpp:4162:61: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4162 | SysReg.SetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"DisableKeysBreak",&m_DisableKeysBreak,binsize); | ^~~~~~~~~~~~~~~~~~ beebwin.cpp:4163:61: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4163 | SysReg.SetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"DisableKeysEscape",&m_DisableKeysEscape,binsize); | ^~~~~~~~~~~~~~~~~~~ beebwin.cpp:4164:61: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4164 | SysReg.SetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"DisableKeysShortcut",&m_DisableKeysShortcut,binsize); | ^~~~~~~~~~~~~~~~~~~~~ beebwin.cpp:4199:61: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4199 | SysReg.SetDWORDValue(HKEY_CURRENT_USER,CFG_REG_KEY, "Tape Clock Speed", TapeClockSpeed); | ^~~~~~~~~~~~~~~~~~ beebwin.cpp:4204:61: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4204 | SysReg.SetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"UnlockTape",&flag,binsize); | ^~~~~~~~~~~~ beebwin.cpp:4206:61: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4206 | SysReg.SetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"TouchScreenEnabled",&TouchScreenEnabled,binsize); | ^~~~~~~~~~~~~~~~~~~~ beebwin.cpp:4208:61: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4208 | SysReg.SetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"SerialPortEnabled",&SerialPortEnabled,binsize); | ^~~~~~~~~~~~~~~~~~~ beebwin.cpp:4209:61: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4209 | SysReg.SetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"SerialPort",&SerialPort,binsize); | ^~~~~~~~~~~~ beebwin.cpp:4212:61: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4212 | SysReg.SetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"EconetEnabled",&EconetEnabled,binsize); //Rob | ^~~~~~~~~~~~~~~ beebwin.cpp:4216:61: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4216 | SysReg.SetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"SpeechEnabled",&flag,binsize); | ^~~~~~~~~~~~~~~ beebwin.cpp:4218:61: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4218 | SysReg.SetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"TorchTube",&TorchTube,binsize); | ^~~~~~~~~~~ beebwin.cpp:4219:61: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4219 | SysReg.SetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"AcornZ80",&AcornZ80,binsize); | ^~~~~~~~~~ beebwin.cpp:4220:61: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4220 | SysReg.SetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"Tube186Enabled",&Tube186Enabled,binsize); | ^~~~~~~~~~~~~~~~ beebwin.cpp:4221:61: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4221 | SysReg.SetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"TubeEnabled",&TubeEnabled,binsize); | ^~~~~~~~~~~~~ beebwin.cpp:4222:61: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4222 | SysReg.SetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"OpCodes",&OpCodes,binsize); | ^~~~~~~~~ beebwin.cpp:4223:61: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4223 | SysReg.SetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"Basic Hardware",&BHardware,binsize); | ^~~~~~~~~~~~~~~~ beebwin.cpp:4224:61: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4224 | SysReg.SetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"Teletext Half Mode",&THalfMode,binsize); | ^~~~~~~~~~~~~~~~~~~~ beebwin.cpp:4225:61: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4225 | SysReg.SetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"SoundBlockSize",&SBSize,binsize); | ^~~~~~~~~~~~~~~~ beebwin.cpp:4226:61: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4226 | SysReg.SetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"TeleTextAdapterEnabled",&TeleTextAdapterEnabled,binsize); | ^~~~~~~~~~~~~~~~~~~~~~~~ beebwin.cpp:4227:61: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4227 | SysReg.SetBinaryValue(HKEY_CURRENT_USER,CFG_REG_KEY,"HardDriveEnabled",&HardDriveEnabled,binsize); | ^~~~~~~~~~~~~~~~~~ beebwin.cpp:4229:60: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4229 | SysReg.SetDWORDValue(HKEY_CURRENT_USER,CFG_REG_KEY,"CaptureResolution",m_MenuIdAviResolution); | ^~~~~~~~~~~~~~~~~~~ beebwin.cpp:4230:60: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 4230 | SysReg.SetDWORDValue(HKEY_CURRENT_USER,CFG_REG_KEY,"FrameSkip",m_MenuIdAviSkip); | ^~~~~~~~~~~ In file included from windows.h:13, from beebwin.cpp:29: sdl.h:34:32: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 34 | #define CFG_EMULATECRTGRAPHICS "EmulateCrtGraphics" | ^~~~~~~~~~~~~~~~~~~~ beebwin.cpp:4235:60: note: in expansion of macro ‘CFG_EMULATECRTGRAPHICS’ 4235 | SysReg.SetDWORDValue(HKEY_CURRENT_USER,CFG_REG_KEY,CFG_EMULATECRTGRAPHICS, cfg_EmulateCrtGraphics); | ^~~~~~~~~~~~~~~~~~~~~~ sdl.h:38:32: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 38 | #define CFG_EMUALTECRTTELETEXT "EmulateCrtTeletext" | ^~~~~~~~~~~~~~~~~~~~ beebwin.cpp:4236:60: note: in expansion of macro ‘CFG_EMUALTECRTTELETEXT’ 4236 | SysReg.SetDWORDValue(HKEY_CURRENT_USER,CFG_REG_KEY,CFG_EMUALTECRTTELETEXT, cfg_EmulateCrtTeletext); | ^~~~~~~~~~~~~~~~~~~~~~ sdl.h:42:33: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 42 | #define CFG_WANTLOWLATENCYSOUND "WantLowLatencySound" | ^~~~~~~~~~~~~~~~~~~~~ beebwin.cpp:4237:60: note: in expansion of macro ‘CFG_WANTLOWLATENCYSOUND’ 4237 | SysReg.SetDWORDValue(HKEY_CURRENT_USER,CFG_REG_KEY,CFG_WANTLOWLATENCYSOUND, cfg_WantLowLatencySound); | ^~~~~~~~~~~~~~~~~~~~~~~ sdl.h:74:25: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 74 | #define CFG_SLEEP_TYPE "SleepType" | ^~~~~~~~~~~ beebwin.cpp:4238:60: note: in expansion of macro ‘CFG_SLEEP_TYPE’ 4238 | SysReg.SetDWORDValue(HKEY_CURRENT_USER,CFG_REG_KEY,CFG_SLEEP_TYPE,cfg_WaitType); | ^~~~~~~~~~~~~~ sdl.h:52:33: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 52 | #define CFG_WINDOWEDRESOLUTION "WindowedResolution" | ^~~~~~~~~~~~~~~~~~~~ beebwin.cpp:4240:60: note: in expansion of macro ‘CFG_WINDOWEDRESOLUTION’ 4240 | SysReg.SetDWORDValue(HKEY_CURRENT_USER,CFG_REG_KEY,CFG_WINDOWEDRESOLUTION, cfg_Windowed_Resolution); | ^~~~~~~~~~~~~~~~~~~~~~ sdl.h:55:41: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 55 | #define CFG_FULLSCREENRESOLUTION "FullscreenResolution" | ^~~~~~~~~~~~~~~~~~~~~~ beebwin.cpp:4241:59: note: in expansion of macro ‘CFG_FULLSCREENRESOLUTION’ 4241 | SysReg.SetDWORDValue(HKEY_CURRENT_USER,CFG_REG_KEY,CFG_FULLSCREENRESOLUTION,cfg_Fullscreen_Resolution); | ^~~~~~~~~~~~~~~~~~~~~~~~ beebwin.cpp: In member function ‘void BeebWin::HandleCommand(int)’: beebwin.cpp:5215:85: warning: ISO C++ forbids converting a string constant to ‘LPSTR’ {aka ‘char*’} [-Wwrite-strings] 5215 | SysReg.SetStringValue(HKEY_CURRENT_USER,CFG_REG_KEY,CfgName,"None"); | ^~~~~~ beebwin.cpp: At global scope: beebwin.cpp:180:22: warning: ‘CFG_DISABLE_WINDOWS_KEYS’ defined but not used [-Wunused-variable] 180 | static unsigned char CFG_DISABLE_WINDOWS_KEYS[24] = { | ^~~~~~~~~~~~~~~~~~~~~~~~ beebwin.cpp: In member function ‘void BeebWin::QuickSave()’: beebwin.cpp:6129:39: warning: ‘beebstate\quicksave’ directive writing 19 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 6129 | sprintf(FileName1, "%sbeebstate\\quicksave%d.uef", m_AppPath, i); | ^~~~~~~~~~~~~~~~~~~~ beebwin.cpp:6129:24: note: ‘sprintf’ output between 25 and 1048 bytes into a destination of size 1024 6129 | sprintf(FileName1, "%sbeebstate\\quicksave%d.uef", m_AppPath, i); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ beebwin.cpp:6134:47: warning: ‘beebstate\quicksave’ directive writing 19 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 6134 | sprintf(FileName2, "%sbeebstate\\quicksave%d.uef", m_AppPath, i+1); | ^~~~~~~~~~~~~~~~~~~~ beebwin.cpp:6134:44: note: directive argument in the range [2, 9] 6134 | sprintf(FileName2, "%sbeebstate\\quicksave%d.uef", m_AppPath, i+1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ beebwin.cpp:6134:32: note: ‘sprintf’ output between 25 and 1048 bytes into a destination of size 1024 6134 | sprintf(FileName2, "%sbeebstate\\quicksave%d.uef", m_AppPath, i+1); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ beebwin.cpp:6129:39: warning: ‘beebstate\quicksave’ directive writing 19 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 6129 | sprintf(FileName1, "%sbeebstate\\quicksave%d.uef", m_AppPath, i); | ^~~~~~~~~~~~~~~~~~~~ beebwin.cpp:6129:36: note: directive argument in the range [2, 9] 6129 | sprintf(FileName1, "%sbeebstate\\quicksave%d.uef", m_AppPath, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ beebwin.cpp:6129:24: note: ‘sprintf’ output between 25 and 1048 bytes into a destination of size 1024 6129 | sprintf(FileName1, "%sbeebstate\\quicksave%d.uef", m_AppPath, i); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ beebwin.cpp:6132:47: warning: ‘beebstate\quicksave.uef’ directive writing 23 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 6132 | sprintf(FileName2, "%sbeebstate\\quicksave.uef", m_AppPath); | ^~~~~~~~~~~~~~~~~~~~~~~~ beebwin.cpp:6132:32: note: ‘sprintf’ output between 24 and 1047 bytes into a destination of size 1024 6132 | sprintf(FileName2, "%sbeebstate\\quicksave.uef", m_AppPath); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if g++ -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT cregistry.o -MD -MP -MF ".deps/cregistry.Tpo" -c -o cregistry.o cregistry.cpp; \ then mv -f ".deps/cregistry.Tpo" ".deps/cregistry.Po"; else rm -f ".deps/cregistry.Tpo"; exit 1; fi if g++ -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT debug.o -MD -MP -MF ".deps/debug.Tpo" -c -o debug.o debug.cpp; \ then mv -f ".deps/debug.Tpo" ".deps/debug.Po"; else rm -f ".deps/debug.Tpo"; exit 1; fi if g++ -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT disc1770.o -MD -MP -MF ".deps/disc1770.Tpo" -c -o disc1770.o disc1770.cpp; \ then mv -f ".deps/disc1770.Tpo" ".deps/disc1770.Po"; else rm -f ".deps/disc1770.Tpo"; exit 1; fi disc1770.cpp: In function ‘void Poll1770(int)’: disc1770.cpp:358:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 358 | if (ByteCount==0 || ((ByteCount==1) && (MultiSect))) RotSect++; if (RotSect>MaxSects[CurrentDrive]) RotSect=0; | ^~ disc1770.cpp:358:89: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 358 | if (ByteCount==0 || ((ByteCount==1) && (MultiSect))) RotSect++; if (RotSect>MaxSects[CurrentDrive]) RotSect=0; | ^~ disc1770.cpp:382:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 382 | if (ByteCount<=1) RotSect++; if (RotSect>MaxSects[CurrentDrive]) RotSect=0; | ^~ disc1770.cpp:382:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 382 | if (ByteCount<=1) RotSect++; if (RotSect>MaxSects[CurrentDrive]) RotSect=0; | ^~ disc1770.cpp:593:11: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 593 | if (LoadingCycles<=0) FDCommand=10; NFDCommand=255; // Go to spin down, but report error. | ^~ disc1770.cpp:593:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 593 | if (LoadingCycles<=0) FDCommand=10; NFDCommand=255; // Go to spin down, but report error. | ^~~~~~~~~~ disc1770.cpp: In function ‘void CreateADFSImage(char*, unsigned char, unsigned char, HMENU)’: disc1770.cpp:787:17: warning: macro expands to multiple statements [-Wmultistatement-macros] 787 | #define BPUT(a) fputc(a,NewImage); CheckSum=(CheckSum+a)&255 | ^~~~~ disc1770.cpp:801:44: note: in expansion of macro ‘BPUT’ 801 | for (ent=0;ent<0xf9;ent++) BPUT(0); | ^~~~ disc1770.cpp:801:17: note: some parts of macro expansion are not guarded by this ‘for’ clause 801 | for (ent=0;ent<0xf9;ent++) BPUT(0); | ^~~ disc1770.cpp:787:54: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 787 | #define BPUT(a) fputc(a,NewImage); CheckSum=(CheckSum+a)&255 | ^ disc1770.cpp:802:17: note: in expansion of macro ‘BPUT’ 802 | BPUT(sectors & 255); BPUT((sectors>>8)&255); BPUT(0); // Total sectors | ^~~~ disc1770.cpp:787:54: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 787 | #define BPUT(a) fputc(a,NewImage); CheckSum=(CheckSum+a)&255 | ^ disc1770.cpp:802:38: note: in expansion of macro ‘BPUT’ 802 | BPUT(sectors & 255); BPUT((sectors>>8)&255); BPUT(0); // Total sectors | ^~~~ disc1770.cpp:787:54: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 787 | #define BPUT(a) fputc(a,NewImage); CheckSum=(CheckSum+a)&255 | ^ disc1770.cpp:803:17: note: in expansion of macro ‘BPUT’ 803 | BPUT(CheckSum&255); // Checksum Byte | ^~~~ disc1770.cpp:787:54: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 787 | #define BPUT(a) fputc(a,NewImage); CheckSum=(CheckSum+a)&255 | ^ disc1770.cpp:806:17: note: in expansion of macro ‘BPUT’ 806 | BPUT((sectors-7)&255); BPUT(((sectors-7)>>8)&255); BPUT(0); // Length of first free space | ^~~~ disc1770.cpp:787:54: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 787 | #define BPUT(a) fputc(a,NewImage); CheckSum=(CheckSum+a)&255 | ^ disc1770.cpp:806:40: note: in expansion of macro ‘BPUT’ 806 | BPUT((sectors-7)&255); BPUT(((sectors-7)>>8)&255); BPUT(0); // Length of first free space | ^~~~ disc1770.cpp:787:17: warning: macro expands to multiple statements [-Wmultistatement-macros] 787 | #define BPUT(a) fputc(a,NewImage); CheckSum=(CheckSum+a)&255 | ^~~~~ disc1770.cpp:807:44: note: in expansion of macro ‘BPUT’ 807 | for (ent=0;ent<0xfb;ent++) BPUT(0); | ^~~~ disc1770.cpp:807:17: note: some parts of macro expansion are not guarded by this ‘for’ clause 807 | for (ent=0;ent<0xfb;ent++) BPUT(0); | ^~~ disc1770.cpp:787:17: warning: macro expands to multiple statements [-Wmultistatement-macros] 787 | #define BPUT(a) fputc(a,NewImage); CheckSum=(CheckSum+a)&255 | ^~~~~ disc1770.cpp:815:63: note: in expansion of macro ‘BPUT’ 815 | for (bcount=5; bcount<0x1e; bcount++) BPUT(0); | ^~~~ disc1770.cpp:815:25: note: some parts of macro expansion are not guarded by this ‘for’ clause 815 | for (bcount=5; bcount<0x1e; bcount++) BPUT(0); | ^~~ disc1770.cpp:787:17: warning: macro expands to multiple statements [-Wmultistatement-macros] 787 | #define BPUT(a) fputc(a,NewImage); CheckSum=(CheckSum+a)&255 | ^~~~~ disc1770.cpp:818:51: note: in expansion of macro ‘BPUT’ 818 | for (ent=0x4cb; ent<0x4fa; ent++) BPUT(0); | ^~~~ disc1770.cpp:818:17: note: some parts of macro expansion are not guarded by this ‘for’ clause 818 | for (ent=0x4cb; ent<0x4fa; ent++) BPUT(0); | ^~~ if g++ -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT disc8271.o -MD -MP -MF ".deps/disc8271.Tpo" -c -o disc8271.o disc8271.cpp; \ then mv -f ".deps/disc8271.Tpo" ".deps/disc8271.Po"; else rm -f ".deps/disc8271.Tpo"; exit 1; fi disc8271.cpp:908:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 908 | {0x00, 0x3f, 3, DoVarLength_ScanDataCommand, NULL, "Scan Data (Variable Length/Multi-Record)"}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ disc8271.cpp:909:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 909 | {0x04, 0x3f, 3, DoVarLength_ScanDataAndDeldCommand, NULL, "Scan Data & deleted data (Variable Length/Multi-Record)"}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ disc8271.cpp:910:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 910 | {0x0a, 0x3f, 2, Do128ByteSR_WriteDataCommand, NULL, "Write Data (128 byte/single record)"}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ disc8271.cpp:911:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 911 | {0x0b, 0x3f, 3, DoVarLength_WriteDataCommand, WriteInterrupt, "Write Data (Variable Length/Multi-Record)"}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ disc8271.cpp:912:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 912 | {0x0e, 0x3f, 2, Do128ByteSR_WriteDeletedDataCommand, NULL, "Write Deleted Data (128 byte/single record)"}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ disc8271.cpp:913:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 913 | {0x0f, 0x3f, 3, DoVarLength_WriteDeletedDataCommand, NULL, "Write Deleted Data (Variable Length/Multi-Record)"}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ disc8271.cpp:914:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 914 | {0x12, 0x3f, 2, Do128ByteSR_ReadDataCommand, NULL, "Read Data (128 byte/single record)"}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ disc8271.cpp:915:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 915 | {0x13, 0x3f, 3, DoVarLength_ReadDataCommand, ReadInterrupt, "Read Data (Variable Length/Multi-Record)"}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ disc8271.cpp:916:61: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 916 | {0x16, 0x3f, 2, Do128ByteSR_ReadDataAndDeldCommand, NULL, "Read Data & deleted data (128 byte/single record)"}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ disc8271.cpp:917:70: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 917 | {0x17, 0x3f, 3, DoVarLength_ReadDataAndDeldCommand, ReadInterrupt, "Read Data & deleted data (Variable Length/Multi-Record)"}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ disc8271.cpp:918:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 918 | {0x1b, 0x3f, 3, DoReadIDCommand, ReadIDInterrupt, "ReadID" }, | ^~~~~~~~ disc8271.cpp:919:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 919 | {0x1e, 0x3f, 2, Do128ByteSR_VerifyDataAndDeldCommand, NULL, "Verify Data and Deleted Data (128 byte/single record)"}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ disc8271.cpp:920:74: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 920 | {0x1f, 0x3f, 3, DoVarLength_VerifyDataAndDeldCommand, VerifyInterrupt, "Verify Data and Deleted Data (Variable Length/Multi-Record)"}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ disc8271.cpp:921:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 921 | {0x23, 0x3f, 5, DoFormatCommand, FormatInterrupt, "Format"}, | ^~~~~~~~ disc8271.cpp:922:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 922 | {0x29, 0x3f, 1, DoSeekCommand, DoSeekInt, "Seek"}, | ^~~~~~ disc8271.cpp:923:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 923 | {0x2c, 0x3f, 0, DoReadDriveStatusCommand, NULL, "Read drive status"}, | ^~~~~~~~~~~~~~~~~~~ disc8271.cpp:924:43: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 924 | {0x35, 0xff, 4, DoSpecifyCommand, NULL, "Specify" }, | ^~~~~~~~~ disc8271.cpp:925:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 925 | {0x3a, 0x3f, 2, DoWriteSpecialCommand, NULL, "Write special registers" }, | ^~~~~~~~~~~~~~~~~~~~~~~~~ disc8271.cpp:926:47: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 926 | {0x3d, 0x3f, 1, DoReadSpecialCommand, NULL, "Read special registers" }, | ^~~~~~~~~~~~~~~~~~~~~~~~ disc8271.cpp:927:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 927 | {0, 0, 0, DoBadCommand, NULL, "Unknown command"} /* Terminator due to 0 mask matching all */ | ^~~~~~~~~~~~~~~~~ if g++ -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT econet.o -MD -MP -MF ".deps/econet.Tpo" -c -o econet.o econet.cpp; \ then mv -f ".deps/econet.Tpo" ".deps/econet.Po"; else rm -f ".deps/econet.Tpo"; exit 1; fi econet.cpp: In function ‘void ReadNetwork()’: econet.cpp:435:82: warning: ‘%s’ directive writing up to 255 bytes into a region of size 150 [-Wformat-overflow=] 435 | sprintf(info, "Econet: Failed to open econet configuration file: %s", TmpPath); | ^~ ~~~~~~~ econet.cpp:435:24: note: ‘sprintf’ output between 51 and 306 bytes into a destination of size 200 435 | sprintf(info, "Econet: Failed to open econet configuration file: %s", TmpPath); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if g++ -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT sasi.o -MD -MP -MF ".deps/sasi.Tpo" -c -o sasi.o sasi.cpp; \ then mv -f ".deps/sasi.Tpo" ".deps/sasi.Po"; else rm -f ".deps/sasi.Tpo"; exit 1; fi sasi.cpp: In function ‘int SASIRead(int)’: sasi.cpp:167:30: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 167 | if (sasi.req = false) data |= 0x40; | ~~~~~~~~~^~~~~~~ sasi.cpp: In function ‘void SASIVerify()’: sasi.cpp:712:21: warning: variable ‘blocks’ set but not used [-Wunused-but-set-variable] 712 | int sector, blocks; | ^~~~~~ sasi.cpp: In function ‘void SASIReset()’: sasi.cpp:95:26: warning: ‘sasi’ directive writing 4 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 95 | sprintf(buff, "%ssasi%d.dat", pathbuff, i); | ^~~~ sasi.cpp:95:16: note: ‘sprintf’ output between 10 and 265 bytes into a destination of size 256 95 | sprintf(buff, "%ssasi%d.dat", pathbuff, i); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if g++ -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT scsi.o -MD -MP -MF ".deps/scsi.Tpo" -c -o scsi.o scsi.cpp; \ then mv -f ".deps/scsi.Tpo" ".deps/scsi.Po"; else rm -f ".deps/scsi.Tpo"; exit 1; fi scsi.cpp: In function ‘void SCSIReset()’: scsi.cpp:96:26: warning: ‘scsi’ directive writing 4 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 96 | sprintf(buff, "%sscsi%d.dat", pathbuff, i); | ^~~~ scsi.cpp:96:23: note: directive argument in the range [0, 3] 96 | sprintf(buff, "%sscsi%d.dat", pathbuff, i); | ^~~~~~~~~~~~~~ scsi.cpp:96:16: note: ‘sprintf’ output between 10 and 265 bytes into a destination of size 256 96 | sprintf(buff, "%sscsi%d.dat", pathbuff, i); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scsi.cpp:127:42: warning: ‘scsi’ directive writing 4 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 127 | sprintf(buff, "%sscsi%d.dsc", pathbuff, i); | ^~~~ scsi.cpp:127:39: note: directive argument in the range [0, 3] 127 | sprintf(buff, "%sscsi%d.dsc", pathbuff, i); | ^~~~~~~~~~~~~~ scsi.cpp:127:32: note: ‘sprintf’ output between 10 and 265 bytes into a destination of size 256 127 | sprintf(buff, "%sscsi%d.dsc", pathbuff, i); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if g++ -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT serial.o -MD -MP -MF ".deps/serial.Tpo" -c -o serial.o serial.cpp; \ then mv -f ".deps/serial.Tpo" ".deps/serial.Po"; else rm -f ".deps/serial.Tpo"; exit 1; fi serial.cpp: In function ‘void Write_SERPROC(unsigned char)’: serial.cpp:233:22: warning: variable ‘HigherRate’ set but not used [-Wunused-but-set-variable] 233 | unsigned int HigherRate; | ^~~~~~~~~~ serial.cpp: In function ‘void StatThread(void*)’: serial.cpp:589:15: warning: unused variable ‘dwOvRes’ [-Wunused-variable] 589 | DWORD dwOvRes=0; | ^~~~~~~ serial.cpp: In function ‘void SerialThread(void*)’: serial.cpp:635:15: warning: unused variable ‘spResult’ [-Wunused-variable] 635 | DWORD spResult; | ^~~~~~~~ serial.cpp: In function ‘void InitSerialPort()’: serial.cpp:670:49: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 670 | if (SerialPort==1) pnSerialPort="Com1"; | ^~~~~~ serial.cpp:671:49: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 671 | if (SerialPort==2) pnSerialPort="Com2"; | ^~~~~~ serial.cpp:672:49: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 672 | if (SerialPort==3) pnSerialPort="Com3"; | ^~~~~~ serial.cpp:673:49: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 673 | if (SerialPort==4) pnSerialPort="Com4"; | ^~~~~~ serial.cpp:667:14: warning: unused variable ‘bPortStat’ [-Wunused-variable] 667 | BOOL bPortStat; | ^~~~~~~~~ serial.cpp: In function ‘bool map_file(char*)’: serial.cpp:807:21: warning: NULL used in arithmetic [-Wpointer-arith] 807 | if (file == NULL) | ^~~~ serial.cpp: In function ‘void TapeControlOpenFile(char*)’: serial.cpp:970:13: warning: unused variable ‘i’ [-Wunused-variable] 970 | int i; | ^ serial.cpp: At global scope: serial.cpp:95:13: warning: ‘hwndMap’ defined but not used [-Wunused-variable] 95 | static HWND hwndMap; | ^~~~~~~ serial.cpp:94:13: warning: ‘hwndTapeControl’ defined but not used [-Wunused-variable] 94 | static HWND hwndTapeControl; | ^~~~~~~~~~~~~~~ serial.cpp: In function ‘bool map_file(char*)’: serial.cpp:910:61: warning: ‘blk’ may be used uninitialized in this function [-Wmaybe-uninitialized] 910 | block[blk++]=UEFRES_BYTE(data); serial.cpp: In function ‘void Serial_Poll()’: serial.cpp:381:96: warning: ‘%s’ directive writing up to 255 bytes into a region of size 227 [-Wformat-overflow=] 381 | sprintf(errstr, "Error writing to UEF file:\n %s", UEFTapeName); | ^~ ~~~~~~~~~~~ serial.cpp:381:56: note: ‘sprintf’ output between 30 and 285 bytes into a destination of size 256 381 | sprintf(errstr, "Error writing to UEF file:\n %s", UEFTapeName); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ serial.cpp:358:96: warning: ‘%s’ directive writing up to 255 bytes into a region of size 227 [-Wformat-overflow=] 358 | sprintf(errstr, "Error writing to UEF file:\n %s", UEFTapeName); | ^~ ~~~~~~~~~~~ serial.cpp:358:56: note: ‘sprintf’ output between 30 and 285 bytes into a destination of size 256 358 | sprintf(errstr, "Error writing to UEF file:\n %s", UEFTapeName); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ serial.cpp: In function ‘void LoadSerialUEF(FILE*)’: serial.cpp:1191:75: warning: ‘%s’ directive writing up to 255 bytes into a region of size 176 [-Wformat-overflow=] 1191 | sprintf(errstr, "Cannot open UEF file:\n %s", FileName); | ^~ ~~~~~~~~ serial.cpp:1191:40: note: ‘sprintf’ output between 25 and 280 bytes into a destination of size 200 1191 | sprintf(errstr, "Cannot open UEF file:\n %s", FileName); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if g++ -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT speech.o -MD -MP -MF ".deps/speech.Tpo" -c -o speech.o speech.cpp; \ then mv -f ".deps/speech.Tpo" ".deps/speech.Po"; else rm -f ".deps/speech.Tpo"; exit 1; fi speech.cpp: In function ‘void tms5220_data_write(tms5220*, int)’: speech.cpp:569:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 569 | if (DEBUG_5220) logerror("Added byte to FIFO (size=%2d)\n", tms->fifo_count); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ speech.cpp:573:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 573 | if (DEBUG_5220) logerror("Ran out of room in the FIFO! - PC = 0x%04x\n", ProgramCounter); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ speech.cpp: In function ‘int tms5220_status_read(tms5220*)’: speech.cpp:623:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 623 | if (DEBUG_5220) logerror("Status read: TS=%d BL=%d BE=%d\n", tms->talk_status, tms->buffer_low, tms->buffer_empty); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ speech.cpp: In function ‘void process_command(tms5220*)’: speech.cpp:917:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 917 | if (DEBUG_5220) logerror("read and branch command received\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ speech.cpp: In function ‘int parse_frame(tms5220*, int)’: speech.cpp:1052:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1052 | if (DEBUG_5220) logerror(" (4-bit energy=%d frame)\n",tms->new_energy); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ speech.cpp:1089:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1089 | if (DEBUG_5220) logerror(" (11-bit energy=%d pitch=%d rep=%d frame)\n", tms->new_energy, tms->new_pitch, rep_flag); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ speech.cpp:1108:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1108 | if (DEBUG_5220) logerror(" (29-bit energy=%d pitch=%d rep=%d 4K frame)\n", tms->new_energy, tms->new_pitch, rep_flag); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ speech.cpp:1131:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1131 | if (DEBUG_5220) logerror(" (50-bit energy=%d pitch=%d rep=%d 10K frame)\n", tms->new_energy, tms->new_pitch, rep_flag); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ speech.cpp:1137:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1137 | logerror("Parsed a frame successfully in FIFO - %d bits remaining\n", bits); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ speech.cpp:1139:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1139 | logerror("Parsed a frame successfully in ROM\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ speech.cpp:1157:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1157 | if (DEBUG_5220) logerror("Ran out of bits on a parse!\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ speech.cpp: In function ‘void check_buffer_low(tms5220*)’: speech.cpp:1189:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1189 | if (DEBUG_5220) logerror("Buffer low set\n"); | ^~~~~~~~~~~~~~~~~~ speech.cpp:1197:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1197 | if (DEBUG_5220) logerror("Buffer low cleared\n"); | ^~~~~~~~~~~~~~~~~~~~~~ if g++ -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT sysvia.o -MD -MP -MF ".deps/sysvia.Tpo" -c -o sysvia.o sysvia.cpp; \ then mv -f ".deps/sysvia.Tpo" ".deps/sysvia.Po"; else rm -f ".deps/sysvia.Tpo"; exit 1; fi if g++ -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT tube.o -MD -MP -MF ".deps/tube.Tpo" -c -o tube.o tube.cpp; \ then mv -f ".deps/tube.Tpo" ".deps/tube.Po"; else rm -f ".deps/tube.Tpo"; exit 1; fi tube.cpp: In function ‘void SBCInstrHandler(int16)’: tube.cpp:1082:17: warning: variable ‘nhn’ set but not used [-Wunused-but-set-variable] 1082 | unsigned char nhn,nln; | ^~~ tube.cpp:1082:21: warning: variable ‘nln’ set but not used [-Wunused-but-set-variable] 1082 | unsigned char nhn,nln; | ^~~ tube.cpp: In function ‘void Exec65C02Instruction()’: tube.cpp:149:33: warning: macro expands to multiple statements [-Wmultistatement-macros] 149 | #define TUBEFASTWRITE(addr,val) tmpaddr=addr; if (tmpaddr<0xfef8) TUBEWRITEMEM_DIRECT(tmpaddr,val) else TubeWriteMem(tmpaddr,val); | ^~~~~~~ tube.cpp:1868:31: note: in expansion of macro ‘TUBEFASTWRITE’ 1868 | if (TubeMachineType==3) TUBEFASTWRITE(ZPIndAddrModeHandler_Address(),Accumulator); /* STA */ | ^~~~~~~~~~~~~ tube.cpp:1868:7: note: some parts of macro expansion are not guarded by this ‘if’ clause 1868 | if (TubeMachineType==3) TUBEFASTWRITE(ZPIndAddrModeHandler_Address(),Accumulator); /* STA */ | ^~ tube.cpp: In function ‘void Load65C02UEF(FILE*)’: tube.cpp:2648:13: warning: variable ‘Dlong’ set but not used [-Wunused-but-set-variable] 2648 | int Dlong; | ^~~~~ if g++ -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT uef.o -MD -MP -MF ".deps/uef.Tpo" -c -o uef.o uef.cpp; \ then mv -f ".deps/uef.Tpo" ".deps/uef.Po"; else rm -f ".deps/uef.Tpo"; exit 1; fi uef.cpp: In function ‘int uef_open(char*)’: uef.cpp:129:13: warning: variable ‘ver’ set but not used [-Wunused-but-set-variable] 129 | int ver; | ^~~ if g++ -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT uefstate.o -MD -MP -MF ".deps/uefstate.Tpo" -c -o uefstate.o uefstate.cpp; \ then mv -f ".deps/uefstate.Tpo" ".deps/uefstate.Po"; else rm -f ".deps/uefstate.Tpo"; exit 1; fi uefstate.cpp: In function ‘void LoadUEFState(char*)’: uefstate.cpp:92:14: warning: variable ‘RPos’ set but not used [-Wunused-but-set-variable] 92 | long RPos=0,FLength,CPos; | ^~~~ if g++ -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT userkybd.o -MD -MP -MF ".deps/userkybd.Tpo" -c -o userkybd.o userkybd.cpp; \ then mv -f ".deps/userkybd.Tpo" ".deps/userkybd.Po"; else rm -f ".deps/userkybd.Tpo"; exit 1; fi userkybd.cpp: In function ‘short int UserKeyboardDialog(HWND)’: userkybd.cpp:183:1: warning: no return statement in function returning non-void [-Wreturn-type] 183 | } // UserKeyboardDialog | ^ userkybd.cpp: In function ‘COLORREF GetKeyColour(UINT)’: userkybd.cpp:420:1: warning: no return statement in function returning non-void [-Wreturn-type] 420 | } // GetKeyColour | ^ userkybd.cpp: In function ‘HWND PromptForInput(HWND, UINT)’: userkybd.cpp:515:1: warning: no return statement in function returning non-void [-Wreturn-type] 515 | } | ^ userkybd.cpp: In function ‘char* KeyName(UINT)’: userkybd.cpp:695:1: warning: no return statement in function returning non-void [-Wreturn-type] 695 | } | ^ if g++ -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT uservia.o -MD -MP -MF ".deps/uservia.Tpo" -c -o uservia.o uservia.cpp; \ then mv -f ".deps/uservia.Tpo" ".deps/uservia.Po"; else rm -f ".deps/uservia.Tpo"; exit 1; fi uservia.cpp: In function ‘char* BitKeyName(int)’: uservia.cpp:869:1: warning: no return statement in function returning non-void [-Wreturn-type] 869 | } | ^ uservia.cpp: In function ‘int GetValue(int)’: uservia.cpp:875:1: warning: no return statement in function returning non-void [-Wreturn-type] 875 | } | ^ uservia.cpp: At global scope: uservia.cpp:53:13: warning: ‘hwndGetBitKey’ defined but not used [-Wunused-variable] 53 | static HWND hwndGetBitKey; | ^~~~~~~~~~~~~ uservia.cpp:52:13: warning: ‘hwndBreakOut’ defined but not used [-Wunused-variable] 52 | static HWND hwndBreakOut; | ^~~~~~~~~~~~ uservia.cpp: In function ‘void UserVIAWrite(int, int)’: uservia.cpp:117:64: warning: ‘%s’ directive writing up to 255 bytes into a region of size 165 [-Wformat-overflow=] 117 | sprintf(errstr, "Failed to write to printer file:\n %s", PrinterFileName); | ^~ ~~~~~~~~~~~~~~~ uservia.cpp:117:18: note: ‘sprintf’ output between 36 and 291 bytes into a destination of size 200 117 | sprintf(errstr, "Failed to write to printer file:\n %s", PrinterFileName); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if g++ -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT via.o -MD -MP -MF ".deps/via.Tpo" -c -o via.o via.cpp; \ then mv -f ".deps/via.Tpo" ".deps/via.Po"; else rm -f ".deps/via.Tpo"; exit 1; fi if g++ -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT video.o -MD -MP -MF ".deps/video.Tpo" -c -o video.o video.cpp; \ then mv -f ".deps/video.Tpo" ".deps/video.Po"; else rm -f ".deps/video.Tpo"; exit 1; fi video.cpp: In function ‘void VideoAddCursor()’: video.cpp:1515:77: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 1515 | ScrAddr=CRTC_ScreenStartLow+(((CRTC_ScreenStartHigh ^ 0x20) + 0x74 & 0xff)<<8); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ video.cpp:1516:73: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 1516 | CurAddr=CRTC_CursorPosLow+(((CRTC_CursorPosHigh ^ 0x20) + 0x74 & 0xff)<<8); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ if g++ -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT z80.o -MD -MP -MF ".deps/z80.Tpo" -c -o z80.o z80.cpp; \ then mv -f ".deps/z80.Tpo" ".deps/z80.Po"; else rm -f ".deps/z80.Tpo"; exit 1; fi z80.cpp:28:5: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 28 | "combine=0," | ^~~~~~~~~~~~ 29 | "optab=0," | ~~~~~~~~~~ 30 | "cb_inline=1," | ~~~~~~~~~~~~~~ 31 | "dfd_inline=1," | ~~~~~~~~~~~~~~~ 32 | "ed_inline=1"; | ~~~~~~~~~~~~~ if g++ -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT z80_support.o -MD -MP -MF ".deps/z80_support.Tpo" -c -o z80_support.o z80_support.cpp; \ then mv -f ".deps/z80_support.Tpo" ".deps/z80_support.Po"; else rm -f ".deps/z80_support.Tpo"; exit 1; fi if g++ -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT z80dis.o -MD -MP -MF ".deps/z80dis.Tpo" -c -o z80dis.o z80dis.cpp; \ then mv -f ".deps/z80dis.Tpo" ".deps/z80dis.Po"; else rm -f ".deps/z80dis.Tpo"; exit 1; fi z80dis.cpp: In function ‘int Z80_Disassemble(int, char*)’: z80dis.cpp:22:35: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 22 | static STR reg[8] = {"B","C","D","E","H","L","(HL)","A"}; | ^~~ z80dis.cpp:22:39: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 22 | static STR reg[8] = {"B","C","D","E","H","L","(HL)","A"}; | ^~~ z80dis.cpp:22:43: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 22 | static STR reg[8] = {"B","C","D","E","H","L","(HL)","A"}; | ^~~ z80dis.cpp:22:47: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 22 | static STR reg[8] = {"B","C","D","E","H","L","(HL)","A"}; | ^~~ z80dis.cpp:22:51: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 22 | static STR reg[8] = {"B","C","D","E","H","L","(HL)","A"}; | ^~~ z80dis.cpp:22:55: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 22 | static STR reg[8] = {"B","C","D","E","H","L","(HL)","A"}; | ^~~ z80dis.cpp:22:59: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 22 | static STR reg[8] = {"B","C","D","E","H","L","(HL)","A"}; | ^~~~~~ z80dis.cpp:22:66: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 22 | static STR reg[8] = {"B","C","D","E","H","L","(HL)","A"}; | ^~~ z80dis.cpp:23:36: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 23 | static STR dreg[4] = {"BC","DE","HL","SP"}; | ^~~~ z80dis.cpp:23:41: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 23 | static STR dreg[4] = {"BC","DE","HL","SP"}; | ^~~~ z80dis.cpp:23:46: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 23 | static STR dreg[4] = {"BC","DE","HL","SP"}; | ^~~~ z80dis.cpp:23:51: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 23 | static STR dreg[4] = {"BC","DE","HL","SP"}; | ^~~~ z80dis.cpp:24:36: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 24 | static STR cond[8] = {"NZ","Z","NC","C","PO","PE","P","M"}; | ^~~~ z80dis.cpp:24:41: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 24 | static STR cond[8] = {"NZ","Z","NC","C","PO","PE","P","M"}; | ^~~ z80dis.cpp:24:45: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 24 | static STR cond[8] = {"NZ","Z","NC","C","PO","PE","P","M"}; | ^~~~ z80dis.cpp:24:50: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 24 | static STR cond[8] = {"NZ","Z","NC","C","PO","PE","P","M"}; | ^~~ z80dis.cpp:24:54: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 24 | static STR cond[8] = {"NZ","Z","NC","C","PO","PE","P","M"}; | ^~~~ z80dis.cpp:24:59: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 24 | static STR cond[8] = {"NZ","Z","NC","C","PO","PE","P","M"}; | ^~~~ z80dis.cpp:24:64: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 24 | static STR cond[8] = {"NZ","Z","NC","C","PO","PE","P","M"}; | ^~~ z80dis.cpp:24:68: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 24 | static STR cond[8] = {"NZ","Z","NC","C","PO","PE","P","M"}; | ^~~ z80dis.cpp:25:37: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 25 | static STR arith[8] = {"ADD\tA,","ADC\tA,","SUB\t","SBC\tA,","AND\t","XOR\t","OR\t","CP\t"}; | ^~~~~~~~~ z80dis.cpp:25:47: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 25 | static STR arith[8] = {"ADD\tA,","ADC\tA,","SUB\t","SBC\tA,","AND\t","XOR\t","OR\t","CP\t"}; | ^~~~~~~~~ z80dis.cpp:25:57: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 25 | static STR arith[8] = {"ADD\tA,","ADC\tA,","SUB\t","SBC\tA,","AND\t","XOR\t","OR\t","CP\t"}; | ^~~~~~~ z80dis.cpp:25:65: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 25 | static STR arith[8] = {"ADD\tA,","ADC\tA,","SUB\t","SBC\tA,","AND\t","XOR\t","OR\t","CP\t"}; | ^~~~~~~~~ z80dis.cpp:25:75: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 25 | static STR arith[8] = {"ADD\tA,","ADC\tA,","SUB\t","SBC\tA,","AND\t","XOR\t","OR\t","CP\t"}; | ^~~~~~~ z80dis.cpp:25:83: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 25 | static STR arith[8] = {"ADD\tA,","ADC\tA,","SUB\t","SBC\tA,","AND\t","XOR\t","OR\t","CP\t"}; | ^~~~~~~ z80dis.cpp:25:91: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 25 | static STR arith[8] = {"ADD\tA,","ADC\tA,","SUB\t","SBC\tA,","AND\t","XOR\t","OR\t","CP\t"}; | ^~~~~~ z80dis.cpp:25:98: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 25 | static STR arith[8] = {"ADD\tA,","ADC\tA,","SUB\t","SBC\tA,","AND\t","XOR\t","OR\t","CP\t"}; | ^~~~~~ z80dis.cpp:136:46: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 136 | static STR str[8] = {"RLCA","RRCA","RLA","RRA","DAA","CPL","SCF","CCF"}; | ^~~~~~ z80dis.cpp:136:53: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 136 | static STR str[8] = {"RLCA","RRCA","RLA","RRA","DAA","CPL","SCF","CCF"}; | ^~~~~~ z80dis.cpp:136:60: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 136 | static STR str[8] = {"RLCA","RRCA","RLA","RRA","DAA","CPL","SCF","CCF"}; | ^~~~~ z80dis.cpp:136:66: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 136 | static STR str[8] = {"RLCA","RRCA","RLA","RRA","DAA","CPL","SCF","CCF"}; | ^~~~~ z80dis.cpp:136:72: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 136 | static STR str[8] = {"RLCA","RRCA","RLA","RRA","DAA","CPL","SCF","CCF"}; | ^~~~~ z80dis.cpp:136:78: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 136 | static STR str[8] = {"RLCA","RRCA","RLA","RRA","DAA","CPL","SCF","CCF"}; | ^~~~~ z80dis.cpp:136:84: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 136 | static STR str[8] = {"RLCA","RRCA","RLA","RRA","DAA","CPL","SCF","CCF"}; | ^~~~~ z80dis.cpp:136:90: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 136 | static STR str[8] = {"RLCA","RRCA","RLA","RRA","DAA","CPL","SCF","CCF"}; | ^~~~~ z80dis.cpp:208:62: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 208 | static STR str[8] = {"RLC","RRC","RL","RR","SLA","SRA","???","SRL"}; | ^~~~~ z80dis.cpp:208:68: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 208 | static STR str[8] = {"RLC","RRC","RL","RR","SLA","SRA","???","SRL"}; | ^~~~~ z80dis.cpp:208:74: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 208 | static STR str[8] = {"RLC","RRC","RL","RR","SLA","SRA","???","SRL"}; | ^~~~ z80dis.cpp:208:79: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 208 | static STR str[8] = {"RLC","RRC","RL","RR","SLA","SRA","???","SRL"}; | ^~~~ z80dis.cpp:208:84: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 208 | static STR str[8] = {"RLC","RRC","RL","RR","SLA","SRA","???","SRL"}; | ^~~~~ z80dis.cpp:208:90: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 208 | static STR str[8] = {"RLC","RRC","RL","RR","SLA","SRA","???","SRL"}; | ^~~~~ z80dis.cpp:208:96: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 208 | static STR str[8] = {"RLC","RRC","RL","RR","SLA","SRA","???","SRL"}; | ^~~~~ z80dis.cpp:208:102: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 208 | static STR str[8] = {"RLC","RRC","RL","RR","SLA","SRA","???","SRL"}; | ^~~~~ z80dis.cpp:319:78: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 319 | static STR str[8] = {"NEG","???","???","???","???","???","???","???"}; | ^~~~~ z80dis.cpp:319:84: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 319 | static STR str[8] = {"NEG","???","???","???","???","???","???","???"}; | ^~~~~ z80dis.cpp:319:90: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 319 | static STR str[8] = {"NEG","???","???","???","???","???","???","???"}; | ^~~~~ z80dis.cpp:319:96: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 319 | static STR str[8] = {"NEG","???","???","???","???","???","???","???"}; | ^~~~~ z80dis.cpp:319:102: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 319 | static STR str[8] = {"NEG","???","???","???","???","???","???","???"}; | ^~~~~ z80dis.cpp:319:108: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 319 | static STR str[8] = {"NEG","???","???","???","???","???","???","???"}; | ^~~~~ z80dis.cpp:319:114: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 319 | static STR str[8] = {"NEG","???","???","???","???","???","???","???"}; | ^~~~~ z80dis.cpp:319:120: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 319 | static STR str[8] = {"NEG","???","???","???","???","???","???","???"}; | ^~~~~ z80dis.cpp:325:78: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 325 | static STR str[8] = {"RETN","RETI","???","???","???","???","???","???"}; | ^~~~~~ z80dis.cpp:325:85: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 325 | static STR str[8] = {"RETN","RETI","???","???","???","???","???","???"}; | ^~~~~~ z80dis.cpp:325:92: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 325 | static STR str[8] = {"RETN","RETI","???","???","???","???","???","???"}; | ^~~~~ z80dis.cpp:325:98: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 325 | static STR str[8] = {"RETN","RETI","???","???","???","???","???","???"}; | ^~~~~ z80dis.cpp:325:104: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 325 | static STR str[8] = {"RETN","RETI","???","???","???","???","???","???"}; | ^~~~~ z80dis.cpp:325:110: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 325 | static STR str[8] = {"RETN","RETI","???","???","???","???","???","???"}; | ^~~~~ z80dis.cpp:325:116: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 325 | static STR str[8] = {"RETN","RETI","???","???","???","???","???","???"}; | ^~~~~ z80dis.cpp:325:122: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 325 | static STR str[8] = {"RETN","RETI","???","???","???","???","???","???"}; | ^~~~~ z80dis.cpp:336:78: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 336 | static STR str[8] = {"LD\tI,A","???","LD\tA,I","???","RRD","RLD","???","???"}; | ^~~~~~~~~ z80dis.cpp:336:88: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 336 | static STR str[8] = {"LD\tI,A","???","LD\tA,I","???","RRD","RLD","???","???"}; | ^~~~~ z80dis.cpp:336:94: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 336 | static STR str[8] = {"LD\tI,A","???","LD\tA,I","???","RRD","RLD","???","???"}; | ^~~~~~~~~ z80dis.cpp:336:104: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 336 | static STR str[8] = {"LD\tI,A","???","LD\tA,I","???","RRD","RLD","???","???"}; | ^~~~~ z80dis.cpp:336:110: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 336 | static STR str[8] = {"LD\tI,A","???","LD\tA,I","???","RRD","RLD","???","???"}; | ^~~~~ z80dis.cpp:336:116: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 336 | static STR str[8] = {"LD\tI,A","???","LD\tA,I","???","RRD","RLD","???","???"}; | ^~~~~ z80dis.cpp:336:122: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 336 | static STR str[8] = {"LD\tI,A","???","LD\tA,I","???","RRD","RLD","???","???"}; | ^~~~~ z80dis.cpp:336:128: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 336 | static STR str[8] = {"LD\tI,A","???","LD\tA,I","???","RRD","RLD","???","???"}; | ^~~~~ z80dis.cpp:344:71: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 344 | static STR str[32] = {"LDI","CPI","INI","OUTI","???","???","???","???", | ^~~~~ z80dis.cpp:344:77: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 344 | static STR str[32] = {"LDI","CPI","INI","OUTI","???","???","???","???", | ^~~~~ z80dis.cpp:344:83: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 344 | static STR str[32] = {"LDI","CPI","INI","OUTI","???","???","???","???", | ^~~~~ z80dis.cpp:344:89: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 344 | static STR str[32] = {"LDI","CPI","INI","OUTI","???","???","???","???", | ^~~~~~ z80dis.cpp:344:96: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 344 | static STR str[32] = {"LDI","CPI","INI","OUTI","???","???","???","???", | ^~~~~ z80dis.cpp:344:102: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 344 | static STR str[32] = {"LDI","CPI","INI","OUTI","???","???","???","???", | ^~~~~ z80dis.cpp:344:108: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 344 | static STR str[32] = {"LDI","CPI","INI","OUTI","???","???","???","???", | ^~~~~ z80dis.cpp:344:114: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 344 | static STR str[32] = {"LDI","CPI","INI","OUTI","???","???","???","???", | ^~~~~ z80dis.cpp:345:91: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 345 | "LDD","CPD","IND","OUTD","???","???","???","???", | ^~~~~ z80dis.cpp:345:97: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 345 | "LDD","CPD","IND","OUTD","???","???","???","???", | ^~~~~ z80dis.cpp:345:103: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 345 | "LDD","CPD","IND","OUTD","???","???","???","???", | ^~~~~ z80dis.cpp:345:109: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 345 | "LDD","CPD","IND","OUTD","???","???","???","???", | ^~~~~~ z80dis.cpp:345:116: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 345 | "LDD","CPD","IND","OUTD","???","???","???","???", | ^~~~~ z80dis.cpp:345:122: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 345 | "LDD","CPD","IND","OUTD","???","???","???","???", | ^~~~~ z80dis.cpp:345:128: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 345 | "LDD","CPD","IND","OUTD","???","???","???","???", | ^~~~~ z80dis.cpp:345:134: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 345 | "LDD","CPD","IND","OUTD","???","???","???","???", | ^~~~~ z80dis.cpp:346:91: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 346 | "LDIR","CPIR","INIR","OTIR","???","???","???","???", | ^~~~~~ z80dis.cpp:346:98: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 346 | "LDIR","CPIR","INIR","OTIR","???","???","???","???", | ^~~~~~ z80dis.cpp:346:105: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 346 | "LDIR","CPIR","INIR","OTIR","???","???","???","???", | ^~~~~~ z80dis.cpp:346:112: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 346 | "LDIR","CPIR","INIR","OTIR","???","???","???","???", | ^~~~~~ z80dis.cpp:346:119: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 346 | "LDIR","CPIR","INIR","OTIR","???","???","???","???", | ^~~~~ z80dis.cpp:346:125: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 346 | "LDIR","CPIR","INIR","OTIR","???","???","???","???", | ^~~~~ z80dis.cpp:346:131: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 346 | "LDIR","CPIR","INIR","OTIR","???","???","???","???", | ^~~~~ z80dis.cpp:346:137: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 346 | "LDIR","CPIR","INIR","OTIR","???","???","???","???", | ^~~~~ z80dis.cpp:347:91: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 347 | "LDDR","CPDR","INDR","OTDR","???","???","???","???"}; | ^~~~~~ z80dis.cpp:347:98: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 347 | "LDDR","CPDR","INDR","OTDR","???","???","???","???"}; | ^~~~~~ z80dis.cpp:347:105: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 347 | "LDDR","CPDR","INDR","OTDR","???","???","???","???"}; | ^~~~~~ z80dis.cpp:347:112: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 347 | "LDDR","CPDR","INDR","OTDR","???","???","???","???"}; | ^~~~~~ z80dis.cpp:347:119: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 347 | "LDDR","CPDR","INDR","OTDR","???","???","???","???"}; | ^~~~~ z80dis.cpp:347:125: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 347 | "LDDR","CPDR","INDR","OTDR","???","???","???","???"}; | ^~~~~ z80dis.cpp:347:131: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 347 | "LDDR","CPDR","INDR","OTDR","???","???","???","???"}; | ^~~~~ z80dis.cpp:347:137: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 347 | "LDDR","CPDR","INDR","OTDR","???","???","???","???"}; | ^~~~~ z80dis.cpp:564:78: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 564 | static STR str[8] = {"RLC","RRC","RL","RR","SLA","SRA","???","SRL"}; | ^~~~~ z80dis.cpp:564:84: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 564 | static STR str[8] = {"RLC","RRC","RL","RR","SLA","SRA","???","SRL"}; | ^~~~~ z80dis.cpp:564:90: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 564 | static STR str[8] = {"RLC","RRC","RL","RR","SLA","SRA","???","SRL"}; | ^~~~ z80dis.cpp:564:95: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 564 | static STR str[8] = {"RLC","RRC","RL","RR","SLA","SRA","???","SRL"}; | ^~~~ z80dis.cpp:564:100: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 564 | static STR str[8] = {"RLC","RRC","RL","RR","SLA","SRA","???","SRL"}; | ^~~~~ z80dis.cpp:564:106: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 564 | static STR str[8] = {"RLC","RRC","RL","RR","SLA","SRA","???","SRL"}; | ^~~~~ z80dis.cpp:564:112: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 564 | static STR str[8] = {"RLC","RRC","RL","RR","SLA","SRA","???","SRL"}; | ^~~~~ z80dis.cpp:564:118: warning: ISO C++ forbids converting a string constant to ‘STR’ {aka ‘char*’} [-Wwrite-strings] 564 | static STR str[8] = {"RLC","RRC","RL","RR","SLA","SRA","???","SRL"}; | ^~~~~ if g++ -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT i386dasm.o -MD -MP -MF ".deps/i386dasm.Tpo" -c -o i386dasm.o i386dasm.cpp; \ then mv -f ".deps/i386dasm.Tpo" ".deps/i386dasm.Po"; else rm -f ".deps/i386dasm.Tpo"; exit 1; fi if g++ -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT i86.o -MD -MP -MF ".deps/i86.Tpo" -c -o i86.o i86.cpp; \ then mv -f ".deps/i86.Tpo" ".deps/i86.Po"; else rm -f ".deps/i86.Tpo"; exit 1; fi i86.cpp: In function ‘void i186_aas()’: i86.cpp:1445:18: warning: variable ‘ALcarry’ set but not used [-Wunused-but-set-variable] 1445 | if (I.regs.b[AL]>0xf9) ALcarry=2; | ^~~~~~~ i86.cpp: In function ‘void i186_popa()’: i86.cpp:3381:12: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 3381 | | ^ i86.cpp: In function ‘int i186_execute(int)’: i86.cpp:3642:12: warning: variable ‘lastInt’ set but not used [-Wunused-but-set-variable] 3642 | | ^ if g++ -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT teletext.o -MD -MP -MF ".deps/teletext.Tpo" -c -o teletext.o teletext.cpp; \ then mv -f ".deps/teletext.Tpo" ".deps/teletext.Po"; else rm -f ".deps/teletext.Tpo"; exit 1; fi teletext.cpp: In function ‘void TeleTextInit()’: teletext.cpp:83:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 83 | TeleTextLog("TeleTextInit Frames = %ld\n", txtFrames); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ teletext.cpp: In function ‘void TeleTextWrite(int, int)’: teletext.cpp:92:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 92 | TeleTextLog("TeleTextWrite Address = 0x%02x, Value = 0x%02x, PC = 0x%04x\n", Address, Value, ProgramCounter); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ teletext.cpp: In function ‘int TeleTextRead(int)’: teletext.cpp:143:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 143 | TeleTextLog("TeleTextRead Reading Row %d, PC = 0x%04x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ teletext.cpp:148:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 148 | TeleTextLog("TeleTextRead Reading Past End Of Row %d, PC = 0x%04x\n", rowPtr, ProgramCounter); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ teletext.cpp:163:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 163 | TeleTextLog("TeleTextRead Address = 0x%02x, Value = 0x%02x, PC = 0x%04x\n", Address, data, ProgramCounter); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ teletext.cpp: In function ‘void TeleTextPoll()’: teletext.cpp:192:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 192 | TeleTextLog("TeleTextPoll Reading Frame %ld, PC = 0x%04x\n", txtCurFrame, ProgramCounter); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ teletext.cpp: In function ‘void TeleTextInit()’: teletext.cpp:70:20: warning: ‘%s’ directive writing up to 511 bytes into a region of size 256 [-Wformat-overflow=] 70 | sprintf(buff, "%s/discims/txt%d.dat", RomPath, txtChnl); | ^~ ~~~~~~~ teletext.cpp:70:12: note: ‘sprintf’ output between 18 and 539 bytes into a destination of size 256 70 | sprintf(buff, "%s/discims/txt%d.dat", RomPath, txtChnl); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if g++ -Wall -DDATA_DIR=\"/usr/share/beebem\" -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../src/gui -I../src/ -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT hardware.o -MD -MP -MF ".deps/hardware.Tpo" -c -o hardware.o hardware.cpp; \ then mv -f ".deps/hardware.Tpo" ".deps/hardware.Po"; else rm -f ".deps/hardware.Tpo"; exit 1; fi hardware.cpp:62:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 62 | char *AcornName="Acorn 1770 DFS Extension board for BBC Model B"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hardware.cpp:111:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 111 | char *WatfordName="Watford DDFS Extension board for BBC Model B"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hardware.cpp:161:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 161 | char *OpusName="Opus DDOS Extension board for BBC Model B"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -Wall -DDATA_DIR=\"/usr/share/beebem\" -O2 -march=i586 -mtune=i686 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -o beebem main.o log.o sdl.o windows.o beebem_pages.o beebem_pages_disks.o fake_registry.o user_config.o serialdevices.o csw.o 6502core.o atodconv.o avi.o beebmem.o beebsound.o beebwin.o cregistry.o debug.o disc1770.o disc8271.o econet.o sasi.o scsi.o serial.o speech.o sysvia.o tube.o uef.o uefstate.o userkybd.o uservia.o via.o video.o z80.o z80_support.o z80dis.o i386dasm.o i86.o teletext.o hardware.o -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype ../src/gui/libeg.a -lz -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread make[3]: Leaving directory '/usr/src/slapt-src-i486/system/beebem/beebem-0.0.13/src' make[2]: Leaving directory '/usr/src/slapt-src-i486/system/beebem/beebem-0.0.13/src' Making all in data make[2]: Entering directory '/usr/src/slapt-src-i486/system/beebem/beebem-0.0.13/data' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/usr/src/slapt-src-i486/system/beebem/beebem-0.0.13/data' make[2]: Entering directory '/usr/src/slapt-src-i486/system/beebem/beebem-0.0.13' make[2]: Leaving directory '/usr/src/slapt-src-i486/system/beebem/beebem-0.0.13' make[1]: Leaving directory '/usr/src/slapt-src-i486/system/beebem/beebem-0.0.13' Slackware package maker, version 3.14159265. Searching for symbolic links: No symbolic links were found, so we won't make an installation script. You can make your own later in ./install/doinst.sh and rebuild the package if you like. This next step is optional - you can set the directories in your package to some sane permissions. If any of the directories in your package have special permissions, then DO NOT reset them here! Would you like to reset all directory permissions to 755 (drwxr-xr-x) and directory ownerships to root.root ([y]es, [n]o)? n Creating Slackware package: /usr/src/slapt-src-i486/system/beebem/beebem-0.0.13-i586-1salix15.0.txz ./ install/ install/doinst.sh install/slack-desc usr/ usr/bin/ usr/bin/beebem usr/doc/ usr/doc/beebem-0.0.13/ usr/doc/beebem-0.0.13/COPYING usr/doc/beebem-0.0.13/beebem.SlackBuild usr/share/ usr/share/applications/ usr/share/applications/beebem.desktop usr/share/beebem/ usr/share/beebem/config/ usr/share/beebem/config/econet.cfg usr/share/beebem/config/phroms.cfg usr/share/beebem/config/roms.cfg usr/share/beebem/config/roms_bbc.cfg usr/share/beebem/config/roms_torch.cfg usr/share/beebem/media/ usr/share/beebem/media/discs/ usr/share/beebem/media/discs/bbcmaster512-disc1-dosplusboot.adl usr/share/beebem/media/discs/cpm_utilities_disc.dsd usr/share/beebem/media/discs/econet_level_1_utils.ssd usr/share/beebem/media/discs/econet_level_2_utils.ssd usr/share/beebem/media/discs/games.ssd usr/share/beebem/media/discs/master_welcome.adl usr/share/beebem/media/discs/test.ssd usr/share/beebem/media/discs/welcome.ssd usr/share/beebem/media/scsi/ usr/share/beebem/media/scsi/sasi0.dat usr/share/beebem/media/scsi/scsi0.dat usr/share/beebem/media/scsi/scsi0.dsc usr/share/beebem/media/scsi/scsi1.dat usr/share/beebem/media/scsi/scsi1.dsc usr/share/beebem/media/scsi/scsi2.dat usr/share/beebem/media/scsi/scsi2.dsc usr/share/beebem/media/scsi/scsi3.dat usr/share/beebem/media/scsi/scsi3.dsc usr/share/beebem/media/tapes/ usr/share/beebem/media/tapes/test.uef usr/share/beebem/phroms/ usr/share/beebem/phroms/phroma usr/share/beebem/phroms/phromsus.txt usr/share/beebem/phroms/phromus usr/share/beebem/resources/ usr/share/beebem/resources/beebem.png usr/share/beebem/resources/font10x16.bmp usr/share/beebem/resources/font5x8.bmp usr/share/beebem/resources/icon.bmp usr/share/beebem/resources/relayoff.snd usr/share/beebem/resources/relayon.snd usr/share/beebem/resources/teletext.fnt usr/share/beebem/roms/ usr/share/beebem/roms/bbc/ usr/share/beebem/roms/bbc/adfs-1.30.rom usr/share/beebem/roms/bbc/ats-3.0-1.rom usr/share/beebem/roms/bbc/basic2.rom usr/share/beebem/roms/bbc/dnfs.rom usr/share/beebem/roms/bbc/mcp120.cbl usr/share/beebem/roms/bbc/os12.rom usr/share/beebem/roms/bbc/wdfs.rom usr/share/beebem/roms/bbcint/ usr/share/beebem/roms/bbcint/basic2.rom usr/share/beebem/roms/bbcint/dnfs.rom usr/share/beebem/roms/bbcint/ibos.rom usr/share/beebem/roms/bbcint/os12.rom usr/share/beebem/roms/bbcint/wdfs.rom usr/share/beebem/roms/bplus/ usr/share/beebem/roms/bplus/adfs-1.30.rom usr/share/beebem/roms/bplus/b+mos.rom usr/share/beebem/roms/bplus/basic2.rom usr/share/beebem/roms/bplus/dfs-2.26.rom usr/share/beebem/roms/bplus/wdfs.rom usr/share/beebem/roms/m128/ usr/share/beebem/roms/m128/adfs.rom usr/share/beebem/roms/m128/adfs1-53.rom usr/share/beebem/roms/m128/anfs-4.25-2201351.rom usr/share/beebem/roms/m128/ats-3.0-1.rom usr/share/beebem/roms/m128/basic4.rom usr/share/beebem/roms/m128/dfs.rom usr/share/beebem/roms/m128/edit.rom usr/share/beebem/roms/m128/mcp122.abm usr/share/beebem/roms/m128/mos.rom usr/share/beebem/roms/m128/terminal.rom usr/share/beebem/roms/m128/view.rom usr/share/beebem/roms/m128/viewsht.rom usr/share/beebem/roms/other/ usr/share/beebem/roms/other/6502tube.rom usr/share/beebem/roms/other/bios.rom usr/share/beebem/roms/other/ccpn102.rom usr/share/beebem/roms/other/hibasic3.rom usr/share/beebem/roms/other/z80.rom usr/share/beebem/src/ usr/share/beebem/state/ usr/share/beebem/state/cmos.ram usr/share/pixmaps/ usr/share/pixmaps/beebem.png Slackware package /usr/src/slapt-src-i486/system/beebem/beebem-0.0.13-i586-1salix15.0.txz created. Installing package beebem-0.0.13-i586-1salix15.0... | beebem (popular Acorn BBC Micro and Master 128 emulator) | | This version of BeebEm for UNIX is an SDL port of the Windows version | of BeebEm | | Homepage http://beebem-unix.bbcmicro.com/index.html | | | | | | |