=> Building emulators/frodo Started : Saturday, 21 JUL 2018 at 07:46:25 UTC Platform: 5.3-DEVELOPMENT DragonFly v5.3.0.242.g757c0-DEVELOPMENT #30: Tue May 8 14:06:27 PDT 2018 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.2-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.2-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for frodo-4.1b_11: DOCS=on: Build and/or install documentation SDL=on: Simple Direct Media Layer support ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- CXXFLAGS=' -pipe -Wno-narrowing -O2 -fno-strict-aliasing -std=gnu++98' SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/construction/emulators/frodo XDG_CONFIG_HOME=/construction/emulators/frodo HOME=/construction/emulators/frodo TMPDIR="/tmp" PATH=/construction/emulators/frodo/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- LDFLAGS='' SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/construction/emulators/frodo XDG_CONFIG_HOME=/construction/emulators/frodo HOME=/construction/emulators/frodo TMPDIR="/tmp" PATH=/construction/emulators/frodo/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -Wno-narrowing -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS=" -pipe -Wno-narrowing -O2 -fno-strict-aliasing -std=gnu++98" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/emulators/frodo/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/frodo" EXAMPLESDIR="share/examples/frodo" DATADIR="share/frodo" WWWDIR="www/frodo" ETCDIR="etc/frodo" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/frodo DOCSDIR=/usr/local/share/doc/frodo EXAMPLESDIR=/usr/local/share/examples/frodo WWWDIR=/usr/local/www/frodo ETCDIR=/usr/local/etc/frodo -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.2 USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.26.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500200 OSVERSION=9999999 OSREL=5.2 _OSRELEASE=5.2-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> frodo-4.1b_11 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_1.txz Installing pkg-1.10.5_1... Extracting pkg-1.10.5_1: .......... done ===> frodo-4.1b_11 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of frodo-4.1b_11 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> Fetching all distfiles required by frodo-4.1b_11 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by frodo-4.1b_11 for building => SHA256 Checksum OK for FrodoV4_1b.Src.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching all distfiles required by frodo-4.1b_11 for building ===> Extracting for frodo-4.1b_11 ===> Fetching all distfiles required by frodo-4.1b_11 for building => SHA256 Checksum OK for FrodoV4_1b.Src.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for frodo-4.1b_11 ===> Applying ports patches for frodo-4.1b_11 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> frodo-4.1b_11 depends on file: /usr/local/bin/sdl-config - not found ===> Installing existing package /packages/All/sdl-1.2.15_10,2.txz Installing sdl-1.2.15_10,2... `-- Installing aalib-1.4.r5_11... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: .... done | `-- Installing ncurses-6.0.0s20171223_1... | `-- Extracting ncurses-6.0.0s20171223_1: .......... done `-- Extracting aalib-1.4.r5_11: .......... done `-- Installing libGLU-9.0.0_3... | `-- Installing mesa-libs-18.1.2... | | `-- Installing expat-2.2.5... | | `-- Extracting expat-2.2.5: .......... done | | `-- Installing libX11-1.6.5,1... | | `-- Installing kbproto-1.0.7... | | `-- Extracting kbproto-1.0.7: .......... done | | `-- Installing libXau-1.0.8_3... | | | `-- Installing xproto-7.0.31... | | | `-- Extracting xproto-7.0.31: .......... done | | `-- Extracting libXau-1.0.8_3: .......... done | | `-- Installing libXdmcp-1.1.2... | | `-- Extracting libXdmcp-1.1.2: ......... done | | `-- Installing libxcb-1.13... | | | `-- Installing libpthread-stubs-0.4... | | | `-- Extracting libpthread-stubs-0.4: .... done | | | `-- Installing libxml2-2.9.7... | | | `-- Extracting libxml2-2.9.7: .......... done | | `-- Extracting libxcb-1.13: .......... done | | `-- Extracting libX11-1.6.5,1: .......... done | | `-- Installing libXdamage-1.1.4_3... | | `-- Installing damageproto-1.2.1... | | `-- Extracting damageproto-1.2.1: .... done | | `-- Installing libXfixes-5.0.3... | | | `-- Installing fixesproto-5.0... | | | `-- Extracting fixesproto-5.0: .... done | | `-- Extracting libXfixes-5.0.3: .......... done | | `-- Extracting libXdamage-1.1.4_3: ...... done | | `-- Installing libXext-1.3.3_1,1... | | `-- Installing xextproto-7.3.0... | | `-- Extracting xextproto-7.3.0: .......... done | | `-- Extracting libXext-1.3.3_1,1: .......... done | | `-- Installing libXxf86vm-1.1.4_1... | | `-- Installing xf86vidmodeproto-2.3.1... | | `-- Extracting xf86vidmodeproto-2.3.1: .... done | | `-- Extracting libXxf86vm-1.1.4_1: .......... done | | `-- Installing libdrm-2.4.92,1... | | `-- Installing libpciaccess-0.13.5... | | | `-- Installing pciids-20180428... | | | `-- Extracting pciids-20180428: ..... done | | `-- Extracting libpciaccess-0.13.5: ......... done | | `-- Extracting libdrm-2.4.92,1: .......... done | | `-- Installing libelf-0.8.13_3... | | `-- Installing gettext-runtime-0.19.8.1_1... | | `-- Extracting gettext-runtime-0.19.8.1_1: .......... done | | `-- Extracting libelf-0.8.13_3: .......... done | | `-- Installing libxshmfence-1.2_2... | | `-- Extracting libxshmfence-1.2_2: ......... done | `-- Extracting mesa-libs-18.1.2: .......... done `-- Extracting libGLU-9.0.0_3: ...... done `-- Installing libXrandr-1.5.1... | `-- Installing libXrender-0.9.10... | | `-- Installing renderproto-0.11.1... | | `-- Extracting renderproto-0.11.1: .... done | `-- Extracting libXrender-0.9.10: .......... done | `-- Installing randrproto-1.5.0... | `-- Extracting randrproto-1.5.0: ....... done `-- Extracting libXrandr-1.5.1: .......... done Extracting sdl-1.2.15_10,2: .......... done Message from aalib-1.4.r5_11: ===> NOTICE: The aalib port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port Message from sdl-1.2.15_10,2: ------------------------------------------------------------------------------ Your SDL library has been built with libvgl support, which means that you can run almost any SDL application straight on your console (VESA 2.0 compatible videocard is required). To do this you have to load the vesa kernel module or enable it in your kernel, and set environment variable "SDL_VIDEODRIVER=vgl". ------------------------------------------------------------------------------ ===> frodo-4.1b_11 depends on file: /usr/local/bin/sdl-config - found ===> Returning to build of frodo-4.1b_11 ===> frodo-4.1b_11 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> frodo-4.1b_11 depends on file: /usr/local/libdata/pkgconfig/xt.pc - not found ===> Installing existing package /packages/All/libXt-1.1.5,1.txz Installing libXt-1.1.5,1... `-- Installing libICE-1.0.9_1,1... `-- Extracting libICE-1.0.9_1,1: .......... done `-- Installing libSM-1.2.2_3,1... `-- Extracting libSM-1.2.2_3,1: .......... done Extracting libXt-1.1.5,1: .......... done ===> frodo-4.1b_11 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> Returning to build of frodo-4.1b_11 ===> frodo-4.1b_11 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> frodo-4.1b_11 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> frodo-4.1b_11 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> frodo-4.1b_11 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for frodo-4.1b_11 /usr/bin/sed -i.bak -e 's|wish|wish8.6|' /construction/emulators/frodo/Frodo-4.1b/Src/C64_x.i configure: loading site script /xports/Templates/config.site checking for gcc... cc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking how to run the C preprocessor... cpp checking whether make sets ${MAKE}... yes checking for AIX... no checking for POSIXized ISC... no checking for OpenLibrary in -lamiga... no checking for vga_setmode in -lvga... no checking for sdl-config... /usr/local/bin/sdl-config checking for SDL - version >= 1.2.0... yes checking for X... libraries /usr/local/lib, headers /usr/local/include checking for gethostbyname... (cached) yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for unistd.h... (cached) yes checking for fcntl.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/types.h... (cached) yes checking for utime.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking values.h usability... no checking values.h presence... no checking for values.h... no checking ncurses.h usability... no checking ncurses.h presence... no checking for ncurses.h... no checking sys/vfs.h usability... no checking sys/vfs.h presence... no checking for sys/vfs.h... no checking for sys/mount.h... (cached) yes checking for sys/select.h... (cached) yes checking for sys/param.h... (cached) yes checking sys/statfs.h usability... no checking sys/statfs.h presence... no checking for sys/statfs.h... no checking for sys/statvfs.h... (cached) yes checking for sys/stat.h... (cached) yes checking linux/joystick.h usability... no checking linux/joystick.h presence... no checking for linux/joystick.h... no checking for char... (cached) yes checking size of char... 1 checking for short... (cached) yes checking size of short... 2 checking for int... (cached) yes checking size of int... 4 checking for long... (cached) yes checking size of long... 8 checking for long long... (cached) yes checking size of long long... 8 checking for cc option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking for inline... inline checking for mode_t... (cached) yes checking for off_t... (cached) yes checking for pid_t... (cached) yes checking for struct stat.st_blocks... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking whether cc needs -traditional... no checking for working memcmp... yes checking return type of signal handlers... void checking whether utime accepts a null argument... yes checking for gettimeofday... (cached) yes checking for sigaction... (cached) yes checking for mkdir... yes checking for rmdir... yes checking for select... (cached) yes checking for strerror... (cached) yes checking for strstr... (cached) yes checking for statfs... (cached) yes checking for usleep... (cached) yes checking which target to use... SDL Good news. Found GCC 2.7 or better. No special hacks for your CPU, sorry. configure: creating ./config.status config.status: creating Makefile config.status: creating sysconfig.h Configuration done. Now type "make". -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for frodo-4.1b_11 --- main.o --- --- Display.o --- --- Prefs.o --- --- SID.o --- --- REU.o --- --- main.o --- cc -pipe -Wno-narrowing -O2 -fno-strict-aliasing -std=gnu++98 -pipe -Wno-narrowing -O2 -fno-strict-aliasing -O2 -g -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -o main.o -c main.cpp --- Display.o --- cc -pipe -Wno-narrowing -O2 -fno-strict-aliasing -std=gnu++98 -pipe -Wno-narrowing -O2 -fno-strict-aliasing -O2 -g -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -o Display.o -c Display.cpp --- Prefs.o --- cc -pipe -Wno-narrowing -O2 -fno-strict-aliasing -std=gnu++98 -pipe -Wno-narrowing -O2 -fno-strict-aliasing -O2 -g -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -o Prefs.o -c Prefs.cpp --- REU.o --- cc -pipe -Wno-narrowing -O2 -fno-strict-aliasing -std=gnu++98 -pipe -Wno-narrowing -O2 -fno-strict-aliasing -O2 -g -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -o REU.o -c REU.cpp --- SID.o --- cc -pipe -Wno-narrowing -O2 -fno-strict-aliasing -std=gnu++98 -pipe -Wno-narrowing -O2 -fno-strict-aliasing -O2 -g -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -o SID.o -c SID.cpp SID.cpp: In member function 'virtual void DigitalRenderer::WriteRegister(uint16, uint8)': SID.cpp:946:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if ((byte & 1) != voice[v].gate) ^ SID.cpp: In member function 'void DigitalRenderer::calc_filter()': SID.cpp:1122:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (fabs(g1) >= g2 + 1.0) ^ --- Display.o --- In file included from Display.cpp:76:0: Display_SDL.i: In function 'void translate_key(SDLKey, bool, uint8*, uint8*, uint8*)': Display_SDL.i:273:9: warning: enumeration value 'SDLK_UNKNOWN' not handled in switch [-Wswitch] switch (key) { ^ Display_SDL.i:273:9: warning: enumeration value 'SDLK_FIRST' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_CLEAR' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_PAUSE' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_EXCLAIM' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_QUOTEDBL' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_HASH' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_DOLLAR' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_AMPERSAND' not handled in switch [-Wswitch] --- main.o --- main.cpp: In member function 'bool Frodo::load_rom_files()': main.cpp:46:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ShowRequester("Can't read 'Basic ROM'.", "Quit"); ^ main.cpp:46:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp:51:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ShowRequester("Can't find 'Basic ROM'.", "Quit"); ^ main.cpp:51:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp:58:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ShowRequester("Can't read 'Kernal ROM'.", "Quit"); ^ main.cpp:58:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] --- Display.o --- Display_SDL.i:273:9: warning: enumeration value 'SDLK_LEFTPAREN' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_RIGHTPAREN' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_ASTERISK' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_PLUS' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_COLON' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_LESS' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_GREATER' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_QUESTION' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_AT' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_CARET' not handled in switch [-Wswitch] --- main.o --- main.cpp:63:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ShowRequester("Can't find 'Kernal ROM'.", "Quit"); ^ main.cpp:63:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp:70:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ShowRequester("Can't read 'Char ROM'.", "Quit"); ^ main.cpp:70:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp:75:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ShowRequester("Can't find 'Char ROM'.", "Quit"); ^ main.cpp:75:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp:82:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] --- Display.o --- Display_SDL.i:273:9: warning: enumeration value 'SDLK_UNDERSCORE' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_0' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_1' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_2' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_3' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_4' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_5' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_6' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_7' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_8' not handled in switch [-Wswitch] --- main.o --- ShowRequester("Can't read '1541 ROM'.", "Quit"); ^ main.cpp:82:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp:87:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ShowRequester("Can't find '1541 ROM'.", "Quit"); ^ main.cpp:87:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] --- Display.o --- Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_9' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_10' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_11' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_12' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_13' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_14' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_15' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_16' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_17' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_18' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_19' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_20' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_21' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_22' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_23' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_24' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_25' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_26' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_27' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_28' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_29' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_30' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_31' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_32' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_33' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_34' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_35' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_36' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_37' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_38' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_39' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_40' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_41' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_42' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_43' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_44' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_45' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_46' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_47' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_48' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_49' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_50' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_51' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_52' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_53' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_54' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_55' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_56' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_57' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_58' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_59' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_60' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_61' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_62' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_63' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_64' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_65' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_66' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_67' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_68' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_69' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_70' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_71' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_72' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_73' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_74' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_75' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_76' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_77' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_78' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_79' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_80' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_81' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_82' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_83' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_84' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_85' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_86' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_87' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_88' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_89' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_90' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_91' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_92' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_93' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_94' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_WORLD_95' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_KP_PERIOD' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_KP_MULTIPLY' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_KP_MINUS' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_KP_PLUS' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_KP_EQUALS' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_F9' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_F10' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_F11' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_F12' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_F13' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_F14' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_F15' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_NUMLOCK' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_CAPSLOCK' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_SCROLLOCK' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_LSUPER' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_RSUPER' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_MODE' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_COMPOSE' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_HELP' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_PRINT' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_SYSREQ' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_BREAK' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_MENU' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_POWER' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_EURO' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_UNDO' not handled in switch [-Wswitch] Display_SDL.i:273:9: warning: enumeration value 'SDLK_LAST' not handled in switch [-Wswitch] --- IEC.o --- cc -pipe -Wno-narrowing -O2 -fno-strict-aliasing -std=gnu++98 -pipe -Wno-narrowing -O2 -fno-strict-aliasing -O2 -g -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -o IEC.o -c IEC.cpp --- 1541fs.o --- cc -pipe -Wno-narrowing -O2 -fno-strict-aliasing -std=gnu++98 -pipe -Wno-narrowing -O2 -fno-strict-aliasing -O2 -g -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -o 1541fs.o -c 1541fs.cpp 1541fs.cpp: In member function 'uint8 FSDrive::open_file(int, char*)': 1541fs.cpp:157:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *mode = "rb"; ^ 1541fs.cpp:183:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] mode = "rb"; ^ 1541fs.cpp:186:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] mode = "wb"; ^ 1541fs.cpp:189:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] mode = "ab"; ^ 1541fs.cpp: In member function 'uint8 FSDrive::conv_from_64(uint8, bool)': 1541fs.cpp:701:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ((c >= 'A') && (c <= 'Z') || (c >= 'a') && (c <= 'z')) ^ 1541fs.cpp: In member function 'uint8 FSDrive::conv_to_64(uint8, bool)': 1541fs.cpp:722:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ((c >= 'A') && (c <= 'Z') || (c >= 'a') && (c <= 'z')) ^ --- 1541d64.o --- cc -pipe -Wno-narrowing -O2 -fno-strict-aliasing -std=gnu++98 -pipe -Wno-narrowing -O2 -fno-strict-aliasing -O2 -g -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -o 1541d64.o -c 1541d64.cpp --- 1541t64.o --- cc -pipe -Wno-narrowing -O2 -fno-strict-aliasing -std=gnu++98 -pipe -Wno-narrowing -O2 -fno-strict-aliasing -O2 -g -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -o 1541t64.o -c 1541t64.cpp --- 1541d64.o --- 1541d64.cpp: In destructor 'virtual D64Drive::~D64Drive()': 1541d64.cpp:88:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] open_close_d64_file(""); ^ 1541d64.cpp: In member function 'virtual uint8 D64Drive::Open(int, char*)': 1541d64.cpp:163:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (filename[0] == '$') ^ 1541d64.cpp: In member function 'uint8 D64Drive::conv_from_64(uint8, bool)': 1541d64.cpp:1018:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ((c >= 'A') && (c <= 'Z') || (c >= 'a') && (c <= 'z')) ^ --- 1541t64.o --- 1541t64.cpp: In destructor 'virtual T64Drive::~T64Drive()': 1541t64.cpp:75:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] open_close_t64_file(""); ^ 1541t64.cpp: In member function 'uint8 T64Drive::conv_from_64(uint8, bool)': 1541t64.cpp:708:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ((c >= 'A') && (c <= 'Z') || (c >= 'a') && (c <= 'z')) ^ --- 1541job.o --- cc -pipe -Wno-narrowing -O2 -fno-strict-aliasing -std=gnu++98 -pipe -Wno-narrowing -O2 -fno-strict-aliasing -O2 -g -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -o 1541job.o -c 1541job.cpp --- IEC.o --- IEC.cpp:414:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ IEC.cpp:414:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IEC.cpp:414:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IEC.cpp:414:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IEC.cpp:414:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IEC.cpp:414:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IEC.cpp:414:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IEC.cpp:414:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IEC.cpp:414:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IEC.cpp:414:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IEC.cpp:414:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IEC.cpp:414:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] --- 1541job.o --- In file included from 1541job.cpp:29:0: CPU1541.h: In member function 'void MOS6502_1541::NewATNState()': CPU1541.h:254:62: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 // DATA (incl. ATN acknowledge) ^ --- SAM.o --- cc -pipe -Wno-narrowing -O2 -fno-strict-aliasing -std=gnu++98 -pipe -Wno-narrowing -O2 -fno-strict-aliasing -O2 -g -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -o SAM.o -c SAM.cpp In file included from SAM.cpp:12:0: CPU1541.h: In member function 'void MOS6502_1541::NewATNState()': CPU1541.h:254:62: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 // DATA (incl. ATN acknowledge) ^ --- CmdPipe.o --- cc -pipe -Wno-narrowing -O2 -fno-strict-aliasing -std=gnu++98 -pipe -Wno-narrowing -O2 -fno-strict-aliasing -O2 -g -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -o CmdPipe.o -c CmdPipe.cpp --- C64.o --- cc -pipe -Wno-narrowing -O2 -fno-strict-aliasing -std=gnu++98 -pipe -Wno-narrowing -O2 -fno-strict-aliasing -O2 -g -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -o C64.o -c C64.cpp --- SAM.o --- SAM.cpp: In function 'void SAM(C64*)': SAM.cpp:430:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Unknown command"); ^ SAM.cpp: In function 'Token get_token()': SAM.cpp:593:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Unrecognized token"); ^ SAM.cpp:600:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Unrecognized token"); ^ SAM.cpp:612:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Unrecognized token"); ^ SAM.cpp: In function 'Token get_reg_token()': SAM.cpp:633:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Unrecognized token"); ^ SAM.cpp:642:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Unrecognized token"); ^ SAM.cpp:649:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Unrecognized token"); ^ SAM.cpp:657:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Unrecognized token"); ^ SAM.cpp: In function 'uint16 get_number()': SAM.cpp:667:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] while (((c = get_char()) >= '0') && (c <= '9') || (c >= 'a') && (c <= 'f')) ^ SAM.cpp: In function 'Token get_string(char*)': SAM.cpp:689:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Unterminated string"); ^ SAM.cpp: In function 'bool term(uint16*)': SAM.cpp:755:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Division by 0"); ^ SAM.cpp: In function 'bool factor(uint16*)': SAM.cpp:798:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Missing ')'"); ^ SAM.cpp:802:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Error in expression"); ^ SAM.cpp:807:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Required argument missing"); ^ SAM.cpp:811:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("'pc', 'sp', '(' or number expected"); ^ SAM.cpp: In function 'bool instr_args(uint16*, char*)': SAM.cpp:894:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Number expected"); ^ SAM.cpp:931:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Illegal index register"); ^ SAM.cpp:961:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Only 'y' index register allowed"); ^ SAM.cpp:966:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Illegal characters after ')'"); ^ SAM.cpp:979:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("')' expected"); ^ SAM.cpp:983:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Only 'x' index register allowed"); ^ SAM.cpp:988:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("')' or ',' expected"); ^ SAM.cpp:992:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Number expected"); ^ SAM.cpp:997:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("'(', '#' or number expected"); ^ SAM.cpp: In function 'char conv_from_64(char)': SAM.cpp:1209:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ((c >= 'A') && (c <= 'Z') || (c >= 'a') && (c <= 'z')) ^ SAM.cpp: In function 'int disass_line(uint16, uint8, uint8, uint8)': SAM.cpp:1373:25: warning: array subscript has type 'char' [-Wchar-subscripts] switch (adr_length[mode]) { ^ SAM.cpp:1394:38: warning: array subscript has type 'char' [-Wchar-subscripts] fprintf(fout, "%c%c%c ", mnem_1[mnem], mnem_2[mnem], mnem_3[mnem]); ^ SAM.cpp:1394:52: warning: array subscript has type 'char' [-Wchar-subscripts] fprintf(fout, "%c%c%c ", mnem_1[mnem], mnem_2[mnem], mnem_3[mnem]); ^ SAM.cpp:1394:66: warning: array subscript has type 'char' [-Wchar-subscripts] fprintf(fout, "%c%c%c ", mnem_1[mnem], mnem_2[mnem], mnem_3[mnem]); ^ SAM.cpp:1451:24: warning: array subscript has type 'char' [-Wchar-subscripts] return adr_length[mode]; ^ SAM.cpp: In function 'void assemble()': SAM.cpp:1496:17: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] rel = arg - (address + 2) & 0xffff; ^ SAM.cpp:1498:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Branch too long"); ^ SAM.cpp:1510:30: warning: array subscript has type 'char' [-Wchar-subscripts] switch (adr_length[mode]) { ^ SAM.cpp:1527:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Internal error"); ^ SAM.cpp:1532:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Addressing mode not supported by instruction"); ^ SAM.cpp:1535:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Unrecognized addressing mode"); ^ SAM.cpp:1538:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Unknown instruction"); ^ --- CPUC64.o --- cc -pipe -Wno-narrowing -O2 -fno-strict-aliasing -std=gnu++98 -pipe -Wno-narrowing -O2 -fno-strict-aliasing -O2 -g -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -o CPUC64.o -c CPUC64.cpp --- SAM.o --- SAM.cpp: In function 'void redir_output()': SAM.cpp:1756:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Unable to open file"); ^ SAM.cpp:1758:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("'\"' around file name expected"); ^ SAM.cpp: In function 'void view_state()': SAM.cpp:1807:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Unknown command"); ^ SAM.cpp: In function 'void view_cia_state()': SAM.cpp:1824:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Unknown command"); ^ --- VIC.o --- cc -pipe -Wno-narrowing -O2 -fno-strict-aliasing -std=gnu++98 -pipe -Wno-narrowing -O2 -fno-strict-aliasing -O2 -g -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -o VIC.o -c VIC.cpp --- SAM.o --- SAM.cpp: In function 'void load_data()': SAM.cpp:2123:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Missing file name"); ^ SAM.cpp:2127:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("'\"' around file name expected"); ^ SAM.cpp:2132:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Unable to open file"); ^ SAM.cpp: In function 'void save_data()': SAM.cpp:2157:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Missing file name"); ^ SAM.cpp:2161:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("'\"' around file name expected"); ^ SAM.cpp:2166:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Unable to create file"); ^ --- C64.o --- In file included from C64.cpp:11:0: CPU1541.h: In member function 'void MOS6502_1541::NewATNState()': CPU1541.h:254:62: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 // DATA (incl. ATN acknowledge) ^ C64.cpp: In destructor 'C64::~C64()': C64.cpp:114:9: warning: deleting object of polymorphic class type 'MOS6526_2' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor] delete TheCIA2; ^ C64.cpp:115:9: warning: deleting object of polymorphic class type 'MOS6526_1' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor] delete TheCIA1; ^ C64.cpp: In member function 'void C64::SaveRAM(char*)': C64.cpp:273:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ShowRequester("RAM save failed.", "OK", NULL); ^ C64.cpp:273:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] C64.cpp: In member function 'void C64::SaveSnapshot(char*)': C64.cpp:524:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ShowRequester("Unable to open snapshot file", "OK", NULL); ^ C64.cpp:524:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] C64.cpp: In member function 'bool C64::LoadSnapshot(char*)': C64.cpp:607:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ShowRequester("Unknown snapshot format", "OK", NULL); ^ C64.cpp:607:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] C64.cpp:675:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ShowRequester("Error reading snapshot file", "OK", NULL); ^ C64.cpp:675:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] C64.cpp:682:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ShowRequester("Not a Frodo snapshot file", "OK", NULL); ^ C64.cpp:682:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] --- CPUC64.o --- CPUC64.cpp: In member function 'uint8 MOS6510::read_byte_io(uint16)': CPUC64.cpp:170:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] return color_ram[adr & 0x03ff] | rand() & 0xf0; ^ --- C64.o --- C64.cpp:686:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ShowRequester("Can't open snapshot file", "OK", NULL); ^ C64.cpp:686:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] --- CPUC64.o --- CPUC64.cpp: In member function 'void MOS6510::illegal_op(uint8, uint16)': CPUC64.cpp:695:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ShowRequester(illop_msg, "Reset"); ^ CPUC64.cpp: In member function 'void MOS6510::illegal_jump(uint16, uint16)': CPUC64.cpp:710:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ShowRequester(illop_msg, "Reset"); ^ CPUC64.cpp: In member function 'int MOS6510::EmulateLine(int)': CPUC64.cpp:724:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) ^ CPUC64.cpp:767:4: note: in expansion of macro 'push_byte' push_byte((pc-pc_base) >> 8); push_byte(pc-pc_base); ^ CPUC64.cpp:724:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) ^ CPUC64.cpp:767:34: note: in expansion of macro 'push_byte' push_byte((pc-pc_base) >> 8); push_byte(pc-pc_base); ^ CPUC64.cpp:724:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) ^ CPUC64.cpp:744:2: note: in expansion of macro 'push_byte' push_byte(tmp); ^ CPUC64.cpp:771:4: note: in expansion of macro 'push_flags' push_flags(false); ^ CPUC64.cpp:724:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) ^ CPUC64.cpp:778:4: note: in expansion of macro 'push_byte' push_byte((pc-pc_base) >> 8); push_byte(pc-pc_base); ^ CPUC64.cpp:724:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) ^ CPUC64.cpp:778:34: note: in expansion of macro 'push_byte' push_byte((pc-pc_base) >> 8); push_byte(pc-pc_base); ^ CPUC64.cpp:724:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) ^ CPUC64.cpp:744:2: note: in expansion of macro 'push_byte' push_byte(tmp); ^ CPUC64.cpp:782:4: note: in expansion of macro 'push_flags' push_flags(false); ^ In file included from CPUC64.cpp:789:0: CPU_emulline.i:528:37: warning: operation on 'adr' may be undefined [-Wsequence-point] set_nz(adr = a - read_byte_abs()); ^ CPU_emulline.i:533:39: warning: operation on 'adr' may be undefined [-Wsequence-point] set_nz(adr = a - read_byte_abs_x()); ^ CPU_emulline.i:538:39: warning: operation on 'adr' may be undefined [-Wsequence-point] set_nz(adr = a - read_byte_abs_y()); ^ CPU_emulline.i:563:37: warning: operation on 'adr' may be undefined [-Wsequence-point] set_nz(adr = x - read_byte_abs()); ^ CPU_emulline.i:578:37: warning: operation on 'adr' may be undefined [-Wsequence-point] set_nz(adr = y - read_byte_abs()); ^ CPUC64.cpp:724:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) ^ CPU_emulline.i:727:4: note: in expansion of macro 'push_byte' push_byte(a); ^ CPUC64.cpp:724:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) ^ CPUC64.cpp:744:2: note: in expansion of macro 'push_byte' push_byte(tmp); ^ CPU_emulline.i:735:4: note: in expansion of macro 'push_flags' push_flags(true); ^ In file included from CPUC64.cpp:789:0: CPU_emulline.i:752:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] jump(read_byte(adr) | (read_byte((adr + 1) & 0xff | adr & 0xff00) << 8)); ^ CPUC64.cpp:724:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) ^ CPU_emulline.i:757:4: note: in expansion of macro 'push_byte' push_byte((pc-pc_base+1) >> 8); push_byte(pc-pc_base+1); ^ CPUC64.cpp:724:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) ^ CPU_emulline.i:757:36: note: in expansion of macro 'push_byte' push_byte((pc-pc_base+1) >> 8); push_byte(pc-pc_base+1); ^ CPUC64.cpp:724:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) ^ CPU_emulline.i:779:4: note: in expansion of macro 'push_byte' push_byte((pc+1-pc_base) >> 8); push_byte(pc+1-pc_base); ^ CPUC64.cpp:724:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) ^ CPU_emulline.i:779:36: note: in expansion of macro 'push_byte' push_byte((pc+1-pc_base) >> 8); push_byte(pc+1-pc_base); ^ CPUC64.cpp:724:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) ^ CPUC64.cpp:744:2: note: in expansion of macro 'push_byte' push_byte(tmp); ^ CPU_emulline.i:783:4: note: in expansion of macro 'push_flags' push_flags(true); ^ In file included from CPUC64.cpp:789:0: CPU_emulline.i:1311:12: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] a = a & 0xf0 | (a + 6) & 0x0f; ^ CPU_emulline.i:1312:57: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (c_flag = ((tmp2 + (tmp2 & 0x10)) & 0x1f0) > 0x50) ^ --- CIA.o --- cc -pipe -Wno-narrowing -O2 -fno-strict-aliasing -std=gnu++98 -pipe -Wno-narrowing -O2 -fno-strict-aliasing -O2 -g -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -o CIA.o -c CIA.cpp In file included from CIA.cpp:33:0: CPU1541.h: In member function 'void MOS6502_1541::NewATNState()': CPU1541.h:254:62: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 // DATA (incl. ATN acknowledge) ^ CIA.cpp: In member function 'uint8 MOS6526_2::ReadRegister(uint16)': CIA.cpp:229:25: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] return (pra | ~ddra) & 0x3f ^ CIA.cpp: In member function 'void MOS6526_1::check_lp()': CIA.cpp:263:27: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] if ((prb | ~ddrb) & 0x10 != prev_lp) ^ CIA.cpp: In member function 'void MOS6526_2::WriteRegister(uint16, uint8)': CIA.cpp:369:27: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] IECLines = (byte << 2) & 0x80 // DATA ^ CIA.cpp:371:19: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] | (byte << 1) & 0x10; // ATN ^ CIA.cpp: In member function 'void MOS6526::CountTOD()': CIA.cpp:516:23: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] tod_hr = tod_hr & 0x80 ^ 0x80; ^ --- CPU1541.o --- cc -pipe -Wno-narrowing -O2 -fno-strict-aliasing -std=gnu++98 -pipe -Wno-narrowing -O2 -fno-strict-aliasing -O2 -g -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -o CPU1541.o -c CPU1541.cpp --- SAM.o --- SAM.cpp: In function 'void SAM(C64*)': SAM.cpp:1508:18: warning: 'arg' may be used uninitialized in this function [-Wmaybe-uninitialized] disass_line(address, opcode, arg & 0xff, arg >> 8); ^ SAM.cpp:1466:9: note: 'arg' was declared here uint16 arg; ^ --- CPU1541.o --- In file included from CPU1541.cpp:64:0: CPU1541.h: In member function 'void MOS6502_1541::NewATNState()': CPU1541.h:254:62: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 // DATA (incl. ATN acknowledge) ^ CPU1541.cpp: In member function 'uint8 MOS6502_1541::read_byte_io(uint16)': CPU1541.cpp:120:22: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] return (via1_prb & 0x1a ^ CPU1541.cpp:122:46: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] | ((IECLines & TheCIA2->IECLines) >> 4) & 0x04 // CLK ^ CPU1541.cpp:123:33: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] | (TheCIA2->IECLines << 3) & 0x80) ^ 0x85; // ATN ^ CPU1541.cpp:163:22: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] return via2_prb & 0x7f | the_job->WPState(); ^ CPU1541.cpp: In member function 'void MOS6502_1541::write_byte_io(uint16, uint8)': CPU1541.cpp:243:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 ^ CPU1541.cpp:253:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 ^ CPU1541.cpp:261:25: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] via1_t1l = via1_t1l & 0xff00 | byte; ^ CPU1541.cpp:264:25: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] via1_t1l = via1_t1l & 0xff | (byte << 8); ^ CPU1541.cpp:269:25: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] via1_t1l = via1_t1l & 0xff | (byte << 8); ^ CPU1541.cpp:272:25: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] via1_t2l = via1_t2l & 0xff00 | byte; ^ CPU1541.cpp:275:25: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] via1_t2l = via1_t2l & 0xff | (byte << 8); ^ CPU1541.cpp:304:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if ((via2_prb ^ byte) & 3) // Bits 0/1: Stepper motor ^ CPU1541.cpp:323:25: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] via2_t1l = via2_t1l & 0xff00 | byte; ^ CPU1541.cpp:326:25: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] via2_t1l = via2_t1l & 0xff | (byte << 8); ^ CPU1541.cpp:331:25: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] via2_t1l = via2_t1l & 0xff | (byte << 8); ^ CPU1541.cpp:334:25: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] via2_t2l = via2_t2l & 0xff00 | byte; ^ CPU1541.cpp:337:25: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] via2_t2l = via2_t2l & 0xff | (byte << 8); ^ CPU1541.cpp: In member function 'void MOS6502_1541::illegal_op(uint8, uint16)': CPU1541.cpp:651:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (ShowRequester(illop_msg, "Reset 1541", "Reset C64")) ^ CPU1541.cpp:651:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] CPU1541.cpp: In member function 'void MOS6502_1541::illegal_jump(uint16, uint16)': CPU1541.cpp:666:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (ShowRequester(illop_msg, "Reset 1541", "Reset C64")) ^ CPU1541.cpp:666:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] CPU1541.cpp: In member function 'int MOS6502_1541::EmulateLine(int)': CPU1541.cpp:680:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) ^ CPU1541.cpp:722:4: note: in expansion of macro 'push_byte' push_byte((pc-pc_base) >> 8); push_byte(pc-pc_base); ^ CPU1541.cpp:680:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) ^ CPU1541.cpp:722:34: note: in expansion of macro 'push_byte' push_byte((pc-pc_base) >> 8); push_byte(pc-pc_base); ^ CPU1541.cpp:680:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) ^ CPU1541.cpp:700:2: note: in expansion of macro 'push_byte' push_byte(tmp); ^ CPU1541.cpp:726:4: note: in expansion of macro 'push_flags' push_flags(false); ^ In file included from CPU1541.cpp:734:0: CPU_emulline.i:528:37: warning: operation on 'adr' may be undefined [-Wsequence-point] set_nz(adr = a - read_byte_abs()); ^ CPU_emulline.i:533:39: warning: operation on 'adr' may be undefined [-Wsequence-point] set_nz(adr = a - read_byte_abs_x()); ^ CPU_emulline.i:538:39: warning: operation on 'adr' may be undefined [-Wsequence-point] set_nz(adr = a - read_byte_abs_y()); ^ CPU_emulline.i:563:37: warning: operation on 'adr' may be undefined [-Wsequence-point] set_nz(adr = x - read_byte_abs()); ^ CPU_emulline.i:578:37: warning: operation on 'adr' may be undefined [-Wsequence-point] set_nz(adr = y - read_byte_abs()); ^ CPU1541.cpp:680:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) ^ CPU_emulline.i:727:4: note: in expansion of macro 'push_byte' push_byte(a); ^ CPU1541.cpp:680:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) ^ CPU1541.cpp:700:2: note: in expansion of macro 'push_byte' push_byte(tmp); ^ CPU_emulline.i:735:4: note: in expansion of macro 'push_flags' push_flags(true); ^ In file included from CPU1541.cpp:734:0: CPU_emulline.i:752:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] jump(read_byte(adr) | (read_byte((adr + 1) & 0xff | adr & 0xff00) << 8)); ^ CPU1541.cpp:680:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) ^ CPU_emulline.i:757:4: note: in expansion of macro 'push_byte' push_byte((pc-pc_base+1) >> 8); push_byte(pc-pc_base+1); ^ CPU1541.cpp:680:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) ^ CPU_emulline.i:757:36: note: in expansion of macro 'push_byte' push_byte((pc-pc_base+1) >> 8); push_byte(pc-pc_base+1); ^ CPU1541.cpp:680:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) ^ CPU_emulline.i:779:4: note: in expansion of macro 'push_byte' push_byte((pc+1-pc_base) >> 8); push_byte(pc+1-pc_base); ^ CPU1541.cpp:680:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) ^ CPU_emulline.i:779:36: note: in expansion of macro 'push_byte' push_byte((pc+1-pc_base) >> 8); push_byte(pc+1-pc_base); ^ CPU1541.cpp:680:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) ^ CPU1541.cpp:700:2: note: in expansion of macro 'push_byte' push_byte(tmp); ^ CPU_emulline.i:783:4: note: in expansion of macro 'push_flags' push_flags(true); ^ In file included from CPU1541.cpp:734:0: CPU_emulline.i:1311:12: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] a = a & 0xf0 | (a + 6) & 0x0f; ^ CPU_emulline.i:1312:57: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (c_flag = ((tmp2 + (tmp2 & 0x10)) & 0x1f0) > 0x50) ^ --- Frodo --- c++ -o Frodo main.o Display.o Prefs.o SID.o REU.o IEC.o 1541fs.o 1541d64.o 1541t64.o 1541job.o SAM.o CmdPipe.o C64.o CPUC64.o VIC.o CIA.o CPU1541.o -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread cp Frodo .. -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> frodo-4.1b_11 depends on executable: wish8.6 - not found ===> Installing existing package /packages/All/tk86-8.6.8_2.txz Installing tk86-8.6.8_2... `-- Installing fontconfig-2.12.6,1... | `-- Installing freetype2-2.9.1... | `-- Extracting freetype2-2.9.1: .......... done `-- Extracting fontconfig-2.12.6,1: .......... done Running fc-cache to build fontconfig cache... /usr/local/share/fonts: skipping, no such directory /usr/local/lib/X11/fonts: skipping, no such directory /var/db/fontconfig: cleaning cache directory fc-cache: succeeded `-- Installing libXScrnSaver-1.2.2_3... | `-- Installing scrnsaverproto-1.2.2... | `-- Extracting scrnsaverproto-1.2.2: ... done `-- Extracting libXScrnSaver-1.2.2_3: .......... done `-- Installing libXft-2.3.2_1... `-- Extracting libXft-2.3.2_1: .......... done `-- Installing tcl86-8.6.8... `-- Extracting tcl86-8.6.8: .......... done Extracting tk86-8.6.8_2: .......... done Message from freetype2-2.9.1: The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as the default, emulating a modern version of ClearType. This change inevitably leads to different rendering results, and you might change port's options to adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment variable). The environment variable "FREETYPE_PROPERTIES" can be used to control the driver properties. Example: FREETYPE_PROPERTIES=truetype:interpreter-version=35 \ cff:no-stem-darkening=1 \ autofitter:warping=1 This allows to select, say, the subpixel hinting mode at runtime for a given application. The controllable properties are listed in the section "Controlling FreeType Modules" in the reference's table of contents (/usr/local/share/doc/freetype2/reference/ft2-toc.html, if documentation was installed). ===> frodo-4.1b_11 depends on executable: wish8.6 - found ===> Returning to build of frodo-4.1b_11 ===> frodo-4.1b_11 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> frodo-4.1b_11 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> frodo-4.1b_11 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> frodo-4.1b_11 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> frodo-4.1b_11 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for frodo-4.1b_11 ===> Generating temporary packing list /usr/bin/sed -e 's=\${PREFIX}=/usr/local=g' < /xports/emulators/frodo/files/frodo > /construction/emulators/frodo/frodo install -m 555 /construction/emulators/frodo/frodo /construction/emulators/frodo/stage/usr/local/bin/ /bin/mkdir -p /construction/emulators/frodo/stage/usr/local/libexec/frodo install -s -m 555 /construction/emulators/frodo/Frodo-4.1b/Frodo /construction/emulators/frodo/stage/usr/local/libexec/frodo/ install -m 0644 "/construction/emulators/frodo/Frodo-4.1b/1541 ROM" /construction/emulators/frodo/stage/usr/local/libexec/frodo/ install -m 0644 "/construction/emulators/frodo/Frodo-4.1b/Basic ROM" /construction/emulators/frodo/stage/usr/local/libexec/frodo/ install -m 0644 "/construction/emulators/frodo/Frodo-4.1b/Char ROM" /construction/emulators/frodo/stage/usr/local/libexec/frodo/ install -m 0644 "/construction/emulators/frodo/Frodo-4.1b/Kernal ROM" /construction/emulators/frodo/stage/usr/local/libexec/frodo/ install -m 0644 "/construction/emulators/frodo/Frodo-4.1b/Frodo Logo" /construction/emulators/frodo/stage/usr/local/libexec/frodo/ install -m 555 "/construction/emulators/frodo/Frodo-4.1b/TkGui.tcl" /construction/emulators/frodo/stage/usr/local/libexec/frodo/ /bin/mkdir -p /construction/emulators/frodo/stage/usr/local/libexec/frodo/64prgs /usr/bin/tar -C /construction/emulators/frodo/Frodo-4.1b/64prgs -cf - . | /usr/bin/tar -C /construction/emulators/frodo/stage/usr/local/libexec/frodo/64prgs -xf - /bin/mkdir -p /construction/emulators/frodo/stage/usr/local/share/doc/frodo install -m 0644 /construction/emulators/frodo/Frodo-4.1b/CHANGES /construction/emulators/frodo/stage/usr/local/share/doc/frodo/ /usr/bin/tar -C /construction/emulators/frodo/Frodo-4.1b/Docs -cf - . | /usr/bin/tar -C /construction/emulators/frodo/stage/usr/local/share/doc/frodo -xf - ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for frodo-4.1b_11 file sizes/checksums [41]: . done packing files [41]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Saturday, 21 JUL 2018 at 07:46:59 UTC Duration: 00:00:33