<86>Apr 1 06:02:26 userdel[178829]: delete user 'rooter' <86>Apr 1 06:02:26 userdel[178829]: removed group 'rooter' owned by 'rooter' <86>Apr 1 06:02:26 userdel[178829]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 1 06:02:26 groupadd[178834]: group added to /etc/group: name=rooter, GID=1371 <86>Apr 1 06:02:26 groupadd[178834]: group added to /etc/gshadow: name=rooter <86>Apr 1 06:02:26 groupadd[178834]: new group: name=rooter, GID=1371 <86>Apr 1 06:02:26 useradd[178838]: new user: name=rooter, UID=1371, GID=1371, home=/root, shell=/bin/bash <86>Apr 1 06:02:26 userdel[178844]: delete user 'builder' <86>Apr 1 06:02:26 userdel[178844]: removed group 'builder' owned by 'builder' <86>Apr 1 06:02:26 userdel[178844]: removed shadow group 'builder' owned by 'builder' <86>Apr 1 06:02:26 groupadd[178849]: group added to /etc/group: name=builder, GID=1372 <86>Apr 1 06:02:26 groupadd[178849]: group added to /etc/gshadow: name=builder <86>Apr 1 06:02:26 groupadd[178849]: new group: name=builder, GID=1372 <86>Apr 1 06:02:26 useradd[178853]: new user: name=builder, UID=1372, GID=1372, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/Frodo-4.1b-alt3.src.rpm: license not found in '/usr/share/license' directory: Distributable warning: user user does not exist - using root warning: group user does not exist - using root warning: user user does not exist - using root warning: group user does not exist - using root warning: user user does not exist - using root warning: group user does not exist - using root warning: user user does not exist - using root warning: group user does not exist - using root warning: user user does not exist - using root warning: group user does not exist - using root warning: user user does not exist - using root warning: group user does not exist - using root warning: user user does not exist - using root warning: group user does not exist - using root warning: user user does not exist - using root warning: group user does not exist - using root warning: user user does not exist - using root warning: group user does not exist - using root warning: user user does not exist - using root warning: group user does not exist - using root warning: user user does not exist - using root warning: group user does not exist - using root warning: user user does not exist - using root warning: group user does not exist - using root <13>Apr 1 06:02:28 rpmi: xorg-proto-devel-2022.1-alt1 sisyphus+299488.100.1.1 1651731532 installed <13>Apr 1 06:02:28 rpmi: libglvnd-7:1.6.0-alt1 sisyphus+310974.100.1.1 1669906761 installed <13>Apr 1 06:02:28 rpmi: libogg-1.3.5-alt1 sisyphus+278100.3400.1.1 1626059695 installed <13>Apr 1 06:02:28 rpmi: libICE-1.1.1-alt1 sisyphus+311428.500.1.1 1670577559 installed <13>Apr 1 06:02:28 rpmi: libSM-1.2.4-alt1 sisyphus+312057.200.1.1 1671526918 installed <13>Apr 1 06:02:28 rpmi: libexpat-2.5.0-alt1 sisyphus+309227.100.1.1 1667075766 installed <13>Apr 1 06:02:28 rpmi: libwayland-server-1.21.0-alt1.1 sisyphus+302874.200.2.1 1656661872 installed <13>Apr 1 06:02:28 rpmi: libICE-devel-1.1.1-alt1 sisyphus+311428.500.1.1 1670577559 installed <13>Apr 1 06:02:28 rpmi: libSM-devel-1.2.4-alt1 sisyphus+312057.200.1.1 1671526918 installed <13>Apr 1 06:02:28 rpmi: libflac8-1.3.3.0.79.37d1-alt2 sisyphus+278100.1400.1.1 1626058888 installed <13>Apr 1 06:02:28 rpmi: libvorbis-1.3.7-alt1 sisyphus+275738.100.1.1 1624751609 installed <13>Apr 1 06:02:28 rpmi: libGLES-7:1.6.0-alt1 sisyphus+310974.100.1.1 1669906761 installed <13>Apr 1 06:02:28 rpmi: libOpenGL-7:1.6.0-alt1 sisyphus+310974.100.1.1 1669906761 installed <13>Apr 1 06:02:28 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626059138 installed <13>Apr 1 06:02:28 rpmi: libgdbm-devel-1.8.3-alt10 sisyphus+278100.1600.1.1 1626059138 installed <13>Apr 1 06:02:28 rpmi: perl-devel-1:5.34.1-alt1 sisyphus+303178.100.1.1 1656953649 installed <13>Apr 1 06:02:28 rpmi: swig-data-1:4.0.2-alt4 sisyphus+302321.100.1.1 1655603940 installed <13>Apr 1 06:02:28 rpmi: libopus-1.3.1-alt158.gbce1f392.1 sisyphus+307793.100.2.1 1664814221 installed <13>Apr 1 06:02:28 rpmi: libmpg123-1.31.3-alt1 sisyphus+317036.100.1.1 1679313685 installed <13>Apr 1 06:02:28 rpmi: liblame-3.100-alt1 sisyphus+276241.100.1.2 1624925655 installed <13>Apr 1 06:02:28 rpmi: libgsm-1.0.17-alt1 sisyphus+275359.100.2.1 1624907612 installed <13>Apr 1 06:02:28 rpmi: libsndfile-1.1.0-alt1 sisyphus+306371.40.3.1 1662942490 installed <13>Apr 1 06:02:28 rpmi: liblz4-1:1.9.4-alt1 sisyphus+309416.100.1.1 1667413000 installed <13>Apr 1 06:02:28 rpmi: libsystemd-1:252.7-alt1 sisyphus+316321.100.1.1 1678130459 installed <13>Apr 1 06:02:28 rpmi: libdbus-1.14.6-alt1 sisyphus+315497.100.1.1 1676874448 installed <13>Apr 1 06:02:28 rpmi: libasyncns-0.8-alt2.qa1 sisyphus+275091.100.1.1 1624402242 installed <13>Apr 1 06:02:28 rpmi: libxshmfence-1.3.2-alt1 sisyphus+311428.400.1.1 1670577529 installed <13>Apr 1 06:02:28 rpmi: libX11-locales-3:1.8.4-alt1 sisyphus+314722.100.1.1 1675664300 installed <13>Apr 1 06:02:28 rpmi: libXdmcp-1.1.4-alt1 sisyphus+311188.1000.1.1 1670233860 installed <13>Apr 1 06:02:28 rpmi: libXau-1.0.11-alt1 sisyphus+311428.100.1.1 1670577440 installed <13>Apr 1 06:02:28 rpmi: libxcb-1.15-alt1 sisyphus+299436.300.1.1 1651655490 installed <13>Apr 1 06:02:28 rpmi: libX11-3:1.8.4-alt1 sisyphus+314722.100.1.1 1675664302 installed <13>Apr 1 06:02:28 rpmi: libXext-1.3.5-alt1 sisyphus+309285.100.1.1 1667212413 installed <13>Apr 1 06:02:28 rpmi: libXxf86vm-1.1.5-alt1 sisyphus+308663.1400.1.1 1666168534 installed <13>Apr 1 06:02:28 rpmi: libXfixes-6.0.0-alt1 sisyphus+284644.300.1.1 1630910333 installed <13>Apr 1 06:02:28 rpmi: libXrender-0.9.11-alt1 sisyphus+308841.100.1.1 1666436131 installed <13>Apr 1 06:02:28 rpmi: libXrandr-1.5.3-alt1 sisyphus+310375.100.1.1 1669010698 installed <13>Apr 1 06:02:28 rpmi: libXt-1.2.1-alt1 sisyphus+265202.200.1.1 1611565459 installed <13>Apr 1 06:02:29 rpmi: libxcb-devel-1.15-alt1 sisyphus+299436.300.1.1 1651655490 installed <13>Apr 1 06:02:29 rpmi: libX11-devel-3:1.8.4-alt1 sisyphus+314722.100.1.1 1675664302 installed <13>Apr 1 06:02:29 rpmi: libpulseaudio-16.1-alt1 sisyphus+302689.200.2.1 1656326115 installed <13>Apr 1 06:02:29 rpmi: libwayland-client-1.21.0-alt1.1 sisyphus+302874.200.2.1 1656661872 installed <13>Apr 1 06:02:29 rpmi: libpciaccess-1:0.17-alt1 sisyphus+308663.300.1.1 1666168262 installed <13>Apr 1 06:02:29 rpmi: libdrm-1:2.4.115-alt1 sisyphus+315873.100.1.1 1677481746 installed <13>Apr 1 06:02:29 rpmi: libGLX-mesa-4:23.0.1-alt1 sisyphus+317620.100.1.1 1680001081 installed <13>Apr 1 06:02:29 rpmi: libGLX-7:1.6.0-alt1 sisyphus+310974.100.1.1 1669906761 installed <13>Apr 1 06:02:29 rpmi: libGL-7:1.6.0-alt1 sisyphus+310974.100.1.1 1669906761 installed <13>Apr 1 06:02:29 rpmi: libGLU-4:9.0.1-alt1 sisyphus+278350.100.1.2 1626174378 installed <13>Apr 1 06:02:29 rpmi: libgbm-4:23.0.1-alt1 sisyphus+317620.100.1.1 1680001081 installed <13>Apr 1 06:02:29 rpmi: libEGL-mesa-4:23.0.1-alt1 sisyphus+317620.100.1.1 1680001081 installed <13>Apr 1 06:02:29 rpmi: libEGL-7:1.6.0-alt1 sisyphus+310974.100.1.1 1669906761 installed <13>Apr 1 06:02:29 rpmi: libglvnd-devel-7:1.6.0-alt1 sisyphus+310974.100.1.1 1669906761 installed <13>Apr 1 06:02:29 rpmi: libGLU-devel-4:9.0.1-alt1 sisyphus+278350.100.1.2 1626174378 installed <13>Apr 1 06:02:29 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Apr 1 06:02:30 rpmi: libstdc++12-devel-12.2.1-alt1 sisyphus+317240.100.2.1 1679582610 installed <13>Apr 1 06:02:30 rpmi: gcc12-c++-12.2.1-alt1 sisyphus+317240.100.2.1 1679582610 installed <13>Apr 1 06:02:30 rpmi: alsa-ucm-conf-1.2.8-alt5 sisyphus+316098.200.2.1 1677756308 installed <13>Apr 1 06:02:30 rpmi: alsa-topology-conf-1.2.5.1-alt1 sisyphus+274777.100.1.1 1624089141 installed <13>Apr 1 06:02:30 rpmi: libalsa-1:1.2.8-alt1 sisyphus+310349.200.1.1 1668964322 installed <13>Apr 1 06:02:30 rpmi: libSDL-1.2.14-alt10 sisyphus+284852.100.1.1 1631107844 installed <13>Apr 1 06:02:30 rpmi: libSDL-devel-1.2.14-alt10 sisyphus+284852.100.1.1 1631107844 installed <13>Apr 1 06:02:30 rpmi: gcc-c++-12-alt1 sisyphus+300988.300.1.1 1654033914 installed <13>Apr 1 06:02:30 rpmi: libXt-devel-1.2.1-alt1 sisyphus+265202.200.1.1 1611565459 installed <13>Apr 1 06:02:31 rpmi: swig-1:4.0.2-alt4 sisyphus+302321.100.1.1 1655604542 installed <13>Apr 1 06:02:31 rpmi: desktop-file-utils-0.26-alt3 sisyphus+297027.100.1.1 1648023316 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/Frodo-4.1b-alt3.nosrc.rpm (w1.gzdio) Installing Frodo-4.1b-alt3.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.4592 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf Frodo-4.1b + echo 'Source #0 (FrodoV4_1b.Src.tar.gz):' Source #0 (FrodoV4_1b.Src.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/FrodoV4_1b.Src.tar.gz + /bin/tar -xf - + cd Frodo-4.1b + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (Frodo-4.1b-paths.patch):' Patch #0 (Frodo-4.1b-paths.patch): + /usr/bin/patch -p1 patching file Src/C64_x.i patching file Src/Makefile.in patching file Src/Prefs.cpp patching file Src/main.cpp + echo 'Patch #1 (Frodo-4.1b-opt.patch):' Patch #1 (Frodo-4.1b-opt.patch): + /usr/bin/patch -p1 patching file Src/configure.in + echo 'Patch #2 (Frodo-4.1b-alpha.patch):' Patch #2 (Frodo-4.1b-alpha.patch): + /usr/bin/patch -p1 patching file Src/CmdPipe.cpp + echo 'Patch #3 (Frodo-4.1b-SAM.patch):' Patch #3 (Frodo-4.1b-SAM.patch): + /usr/bin/patch -p0 patching file Src/SAM.cpp + echo 'Patch #4 (Frodo-4.1b-gcc6.patch):' Patch #4 (Frodo-4.1b-gcc6.patch): + /usr/bin/patch -p1 patching file Src/SID.cpp + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.4592 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd Frodo-4.1b + cd Src + autoconf + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext checking for i586-alt-linux-gcc... i586-alt-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ISO C89... none needed checking for i586-alt-linux-g++... i586-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether i586-alt-linux-g++ accepts -g... yes checking how to run the C preprocessor... i586-alt-linux-gcc -E checking whether make sets $(MAKE)... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for library containing strerror... none required checking for OpenLibrary in -lamiga... no checking for vga_setmode in -lvga... no checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.2.0... yes checking for X... libraries , headers checking for gethostbyname... 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 library containing opendir... none required checking for ANSI C header files... (cached) yes checking for unistd.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking ncurses.h usability... no checking ncurses.h presence... no checking for ncurses.h... no checking sys/vfs.h usability... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking sys/mount.h usability... yes checking sys/mount.h presence... yes checking for sys/mount.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/statfs.h usability... yes checking sys/statfs.h presence... yes checking for sys/statfs.h... yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking for sys/stat.h... (cached) yes checking linux/joystick.h usability... yes checking linux/joystick.h presence... yes checking for linux/joystick.h... yes checking size of char... 1 checking size of short... 2 checking size of int... 4 checking size of long... 4 checking size of long long... 8 checking for an ANSI C-conforming const... yes checking for inline... inline checking for mode_t... yes checking for off_t... yes checking for pid_t... 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 i586-alt-linux-gcc needs -traditional... no checking for working memcmp... yes checking return type of signal handlers... void checking for utime.h... (cached) yes checking whether utime accepts a null argument... yes checking for gettimeofday... yes checking for sigaction... yes checking for mkdir... yes checking for rmdir... yes checking for select... yes checking for strerror... yes checking for strstr... yes checking for statfs... yes checking for usleep... yes checking which target to use... SDL Good news. Found GCC 2.7 or better. You seem to be using a x86 CPU configure: creating ./config.status config.status: creating Makefile config.status: creating sysconfig.h configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext Configuration done. Now type "make". + make -j16 all 'FRODOHOME=\"/usr/share/Frodo/\"' make: Entering directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_SDL -DREGPARAM="__attribute__((regparm(3)))" -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DFRODO_HOME=\"/usr/share/Frodo/\" -o CmdPipe.o -c CmdPipe.cpp make: Leaving directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' make: Entering directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_SDL -DREGPARAM="__attribute__((regparm(3)))" -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DFRODO_HOME=\"/usr/share/Frodo/\" -o REU.o -c REU.cpp make: Leaving directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' make: Entering directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_SDL -DREGPARAM="__attribute__((regparm(3)))" -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DFRODO_HOME=\"/usr/share/Frodo/\" -o main.o -c main.cpp main.cpp: In member function 'bool Frodo::load_rom_files()': main.cpp:46:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 46 | ShowRequester("Can't read 'Basic ROM'.", "Quit"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:46:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 46 | ShowRequester("Can't read 'Basic ROM'.", "Quit"); | ^~~~~~ main.cpp:51:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 51 | ShowRequester("Can't find 'Basic ROM'.", "Quit"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:51:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 51 | ShowRequester("Can't find 'Basic ROM'.", "Quit"); | ^~~~~~ main.cpp:58:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 58 | ShowRequester("Can't read 'Kernal ROM'.", "Quit"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:58:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 58 | ShowRequester("Can't read 'Kernal ROM'.", "Quit"); | ^~~~~~ main.cpp:63:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 63 | ShowRequester("Can't find 'Kernal ROM'.", "Quit"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:63:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 63 | ShowRequester("Can't find 'Kernal ROM'.", "Quit"); | ^~~~~~ main.cpp:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 70 | ShowRequester("Can't read 'Char ROM'.", "Quit"); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:70:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 70 | ShowRequester("Can't read 'Char ROM'.", "Quit"); | ^~~~~~ main.cpp:75:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 75 | ShowRequester("Can't find 'Char ROM'.", "Quit"); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:75:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 75 | ShowRequester("Can't find 'Char ROM'.", "Quit"); | ^~~~~~ main.cpp:82:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 82 | ShowRequester("Can't read '1541 ROM'.", "Quit"); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:82:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 82 | ShowRequester("Can't read '1541 ROM'.", "Quit"); | ^~~~~~ main.cpp:87:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 87 | ShowRequester("Can't find '1541 ROM'.", "Quit"); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:87:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 87 | ShowRequester("Can't find '1541 ROM'.", "Quit"); | ^~~~~~ In file included from main.cpp:105: main_x.i: In member function 'void Frodo::ReadyToRun()': main_x.i:70:15: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 70 | getcwd(AppDirPath, 256); | ~~~~~~^~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' make: Entering directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_SDL -DREGPARAM="__attribute__((regparm(3)))" -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DFRODO_HOME=\"/usr/share/Frodo/\" -o IEC.o -c IEC.cpp IEC.cpp:402:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 402 | "00, OK,00,00\r", | ^~~~~~~~~~~~~~~~ IEC.cpp:403:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 403 | "25,WRITE ERROR,00,00\r", | ^~~~~~~~~~~~~~~~~~~~~~~~ IEC.cpp:404:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 404 | "26,WRITE PROTECT ON,00,00\r", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ IEC.cpp:405:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 405 | "30,SYNTAX ERROR,00,00\r", | ^~~~~~~~~~~~~~~~~~~~~~~~~ IEC.cpp:406:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 406 | "33,SYNTAX ERROR,00,00\r", | ^~~~~~~~~~~~~~~~~~~~~~~~~ IEC.cpp:407:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 407 | "60,WRITE FILE OPEN,00,00\r", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ IEC.cpp:408:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 408 | "61,FILE NOT OPEN,00,00\r", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ IEC.cpp:409:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 409 | "62,FILE NOT FOUND,00,00\r", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ IEC.cpp:410:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 410 | "67,ILLEGAL TRACK OR SECTOR,00,00\r", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ IEC.cpp:411:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 411 | "70,NO CHANNEL,00,00\r", | ^~~~~~~~~~~~~~~~~~~~~~~ IEC.cpp:412:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 412 | "73,CBM DOS V2.6 1541,00,00\r", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ IEC.cpp:413:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 413 | "74,DRIVE NOT READY,00,00\r" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' make: Entering directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_SDL -DREGPARAM="__attribute__((regparm(3)))" -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DFRODO_HOME=\"/usr/share/Frodo/\" -o 1541job.o -c 1541job.cpp In file included from 1541job.cpp:29: CPU1541.h: In member function 'void MOS6502_1541::NewATNState()': CPU1541.h:254:69: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 254 | IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 // DATA (incl. ATN acknowledge) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ 1541job.cpp: In member function 'void Job1541::open_d64_file(char*)': 1541job.cpp:153:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 153 | fread(&magic, 4, 1, the_file); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 1541job.cpp:165:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 165 | fread(&error_info, NUM_SECTORS, 1, the_file); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1541job.cpp: In member function 'bool Job1541::read_sector(int, int, uint8*)': 1541job.cpp:258:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 258 | fread(buffer, 256, 1, the_file); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' make: Entering directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_SDL -DREGPARAM="__attribute__((regparm(3)))" -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DFRODO_HOME=\"/usr/share/Frodo/\" -o Prefs.o -c Prefs.cpp make: Leaving directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' make: Entering directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_SDL -DREGPARAM="__attribute__((regparm(3)))" -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DFRODO_HOME=\"/usr/share/Frodo/\" -o 1541fs.o -c 1541fs.cpp 1541fs.cpp: In member function 'uint8 FSDrive::open_file(int, char*)': 1541fs.cpp:157:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 157 | char *mode = "rb"; | ^~~~ 1541fs.cpp:183:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 183 | mode = "rb"; | ^~~~ 1541fs.cpp:186:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 186 | mode = "wb"; | ^~~~ 1541fs.cpp:189:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 189 | mode = "ab"; | ^~~~ 1541fs.cpp: In member function 'uint8 FSDrive::conv_from_64(uint8, bool)': 1541fs.cpp:701:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 701 | if ((c >= 'A') && (c <= 'Z') || (c >= 'a') && (c <= 'z')) | ~~~~~~~~~~~^~~~~~~~~~~~~ 1541fs.cpp: In member function 'uint8 FSDrive::conv_to_64(uint8, bool)': 1541fs.cpp:722:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 722 | if ((c >= 'A') && (c <= 'Z') || (c >= 'a') && (c <= 'z')) | ~~~~~~~~~~~^~~~~~~~~~~~~ 1541fs.cpp: In member function 'uint8 FSDrive::open_file(int, char*)': 1541fs.cpp:202:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 202 | chdir(AppDirPath); | ~~~~~^~~~~~~~~~~~ 1541fs.cpp: In member function 'uint8 FSDrive::open_directory(int, char*)': 1541fs.cpp:403:30: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 403 | chdir(dir_path); | ~~~~~^~~~~~~~~~ 1541fs.cpp:405:30: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 405 | chdir(AppDirPath); | ~~~~~^~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' make: Entering directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_SDL -DREGPARAM="__attribute__((regparm(3)))" -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DFRODO_HOME=\"/usr/share/Frodo/\" -o Display.o -c Display.cpp In file included from Display.cpp:76: Display_SDL.i: In function 'void translate_key(SDLKey, bool, uint8*, uint8*, uint8*)': Display_SDL.i:273:16: warning: enumeration value 'SDLK_UNKNOWN' not handled in switch [-Wswitch] 273 | switch (key) { | ^ Display_SDL.i:273:16: warning: enumeration value 'SDLK_FIRST' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_CLEAR' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_PAUSE' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_EXCLAIM' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_QUOTEDBL' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_HASH' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_DOLLAR' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_AMPERSAND' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_LEFTPAREN' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_RIGHTPAREN' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_ASTERISK' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_PLUS' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_COLON' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_LESS' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_GREATER' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_QUESTION' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_AT' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_CARET' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_UNDERSCORE' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_0' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_1' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_2' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_3' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_4' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_5' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_6' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_7' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_8' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_9' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_10' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_11' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_12' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_13' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_14' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_15' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_16' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_17' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_18' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_19' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_20' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_21' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_22' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_23' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_24' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_25' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_26' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_27' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_28' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_29' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_30' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_31' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_32' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_33' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_34' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_35' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_36' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_37' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_38' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_39' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_40' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_41' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_42' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_43' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_44' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_45' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_46' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_47' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_48' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_49' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_50' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_51' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_52' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_53' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_54' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_55' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_56' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_57' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_58' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_59' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_60' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_61' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_62' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_63' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_64' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_65' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_66' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_67' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_68' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_69' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_70' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_71' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_72' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_73' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_74' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_75' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_76' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_77' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_78' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_79' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_80' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_81' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_82' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_83' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_84' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_85' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_86' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_87' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_88' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_89' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_90' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_91' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_92' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_93' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_94' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_WORLD_95' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_KP_PERIOD' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_KP_MULTIPLY' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_KP_MINUS' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_KP_PLUS' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_KP_EQUALS' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_F9' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_F10' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_F11' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_F12' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_F13' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_F14' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_F15' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_NUMLOCK' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_CAPSLOCK' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_SCROLLOCK' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_LSUPER' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_RSUPER' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_MODE' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_COMPOSE' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_HELP' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_PRINT' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_SYSREQ' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_BREAK' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_MENU' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_POWER' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_EURO' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_UNDO' not handled in switch [-Wswitch] Display_SDL.i:273:16: warning: enumeration value 'SDLK_LAST' not handled in switch [-Wswitch] make: Leaving directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' make: Entering directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_SDL -DREGPARAM="__attribute__((regparm(3)))" -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DFRODO_HOME=\"/usr/share/Frodo/\" -o 1541t64.o -c 1541t64.cpp 1541t64.cpp: In destructor 'virtual T64Drive::~T64Drive()': 1541t64.cpp:75:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 75 | open_close_t64_file(""); | ^~ 1541t64.cpp: In member function 'uint8 T64Drive::conv_from_64(uint8, bool)': 1541t64.cpp:708:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 708 | if ((c >= 'A') && (c <= 'Z') || (c >= 'a') && (c <= 'z')) | ~~~~~~~~~~~^~~~~~~~~~~~~ 1541t64.cpp: In member function 'void T64Drive::open_close_t64_file(char*)': 1541t64.cpp:104:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 104 | fread(&buf, 64, 1, the_file); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ 1541t64.cpp: In member function 'bool T64Drive::parse_t64_file()': 1541t64.cpp:138:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 138 | fread(&buf, 32, 1, the_file); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ 1541t64.cpp:145:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 145 | fread(buf2, 32, max, the_file); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 1541t64.cpp: In member function 'bool T64Drive::parse_lynx_file()': 1541t64.cpp:195:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 195 | fscanf(the_file, "%d", &dir_blocks); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1541t64.cpp:199:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 199 | fscanf(the_file, "%d\015", &num_files); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1541t64.cpp:207:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 207 | fread(file_info[i].name, 16, 1, the_file); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1541t64.cpp:216:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 216 | fscanf(the_file, "\015%d\015%c\015%d\015", &num_blocks, &type_char, &last_block); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1541t64.cpp: In member function 'uint8 T64Drive::open_file(int, char*)': 1541t64.cpp:325:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 325 | fread(buf, file_info[num].length, 1, the_file); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' make: Entering directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_SDL -DREGPARAM="__attribute__((regparm(3)))" -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DFRODO_HOME=\"/usr/share/Frodo/\" -o CIA.o -c CIA.cpp In file included from CIA.cpp:33: CPU1541.h: In member function 'void MOS6502_1541::NewATNState()': CPU1541.h:254:69: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 254 | 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:46: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 229 | return (pra | ~ddra) & 0x3f | ~~~~~~~~~~~~~~^~~~~~ CIA.cpp: In member function 'void MOS6526_1::check_lp()': CIA.cpp:263:34: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 263 | if ((prb | ~ddrb) & 0x10 != prev_lp) | ~~~~~^~~~~~~~~~ CIA.cpp: In member function 'void MOS6526_2::WriteRegister(uint16, uint8)': CIA.cpp:369:48: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 369 | IECLines = (byte << 2) & 0x80 // DATA | ~~~~~~~~~~~~^~~~~~ CIA.cpp:371:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 371 | | (byte << 1) & 0x10; // ATN | ~~~~~~~~~~~~^~~~~~ CIA.cpp: In member function 'void MOS6526::CountTOD()': CIA.cpp:516:65: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] 516 | tod_hr = tod_hr & 0x80 ^ 0x80; | ~~~~~~~^~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' make: Entering directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_SDL -DREGPARAM="__attribute__((regparm(3)))" -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DFRODO_HOME=\"/usr/share/Frodo/\" -o 1541d64.o -c 1541d64.cpp 1541d64.cpp: In destructor 'virtual D64Drive::~D64Drive()': 1541d64.cpp:88:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 88 | open_close_d64_file(""); | ^~ 1541d64.cpp: In member function 'virtual uint8 D64Drive::Open(int, char*)': 1541d64.cpp:163:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 163 | if (filename[0] == '$') | ^ 1541d64.cpp: In member function 'uint8 D64Drive::conv_from_64(uint8, bool)': 1541d64.cpp:1018:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1018 | if ((c >= 'A') && (c <= 'Z') || (c >= 'a') && (c <= 'z')) | ~~~~~~~~~~~^~~~~~~~~~~~~ 1541d64.cpp: In member function 'void D64Drive::open_close_d64_file(char*)': 1541d64.cpp:125:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 125 | fread(&magic, 4, 1, the_file); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 1541d64.cpp:137:38: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 137 | fread(&error_info, NUM_SECTORS, 1, the_file); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1541d64.cpp: In member function 'bool D64Drive::read_sector(int, int, uint8*)': 1541d64.cpp:975:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 975 | fread(buffer, 256, 1, the_file); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' make: Entering directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_SDL -DREGPARAM="__attribute__((regparm(3)))" -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DFRODO_HOME=\"/usr/share/Frodo/\" -o C64.o -c C64.cpp In file included from C64.cpp:11: CPU1541.h: In member function 'void MOS6502_1541::NewATNState()': CPU1541.h:254:69: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 254 | 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 behavior [-Wdelete-non-virtual-dtor] 114 | delete TheCIA2; | ^~~~~~~~~~~~~~ C64.cpp:115:9: warning: deleting object of polymorphic class type 'MOS6526_1' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 115 | delete TheCIA1; | ^~~~~~~~~~~~~~ C64.cpp: In member function 'void C64::SaveRAM(char*)': C64.cpp:273:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 273 | ShowRequester("RAM save failed.", "OK", NULL); | ^~~~~~~~~~~~~~~~~~ C64.cpp:273:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 273 | ShowRequester("RAM save failed.", "OK", NULL); | ^~~~ C64.cpp: In member function 'void C64::SaveSnapshot(char*)': C64.cpp:524:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 524 | ShowRequester("Unable to open snapshot file", "OK", NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C64.cpp:524:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 524 | ShowRequester("Unable to open snapshot file", "OK", NULL); | ^~~~ C64.cpp:520:15: warning: unused variable 'delay' [-Wunused-variable] 520 | uint8 delay; | ^~~~~ C64.cpp:521:13: warning: unused variable 'stat' [-Wunused-variable] 521 | int stat; | ^~~~ C64.cpp: In member function 'bool C64::LoadSnapshot(char*)': C64.cpp:607:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 607 | ShowRequester("Unknown snapshot format", "OK", NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~ C64.cpp:607:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 607 | ShowRequester("Unknown snapshot format", "OK", NULL); | ^~~~ C64.cpp:675:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 675 | ShowRequester("Error reading snapshot file", "OK", NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C64.cpp:675:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 675 | ShowRequester("Error reading snapshot file", "OK", NULL); | ^~~~ C64.cpp:682:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 682 | ShowRequester("Not a Frodo snapshot file", "OK", NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ C64.cpp:682:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 682 | ShowRequester("Not a Frodo snapshot file", "OK", NULL); | ^~~~ C64.cpp:588:23: warning: variable 'delay' set but not used [-Wunused-but-set-variable] 588 | uint8 delay, i; | ^~~~~ C64.cpp:588:30: warning: unused variable 'i' [-Wunused-variable] 588 | uint8 delay, i; | ^ C64.cpp:686:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 686 | ShowRequester("Can't open snapshot file", "OK", NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ C64.cpp:686:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 686 | ShowRequester("Can't open snapshot file", "OK", NULL); | ^~~~ make: Leaving directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' make: Entering directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_SDL -DREGPARAM="__attribute__((regparm(3)))" -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DFRODO_HOME=\"/usr/share/Frodo/\" -o VIC.o -c VIC.cpp make: Leaving directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' make: Entering directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_SDL -DREGPARAM="__attribute__((regparm(3)))" -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DFRODO_HOME=\"/usr/share/Frodo/\" -o SAM.o -c SAM.cpp In file included from SAM.cpp:12: CPU1541.h: In member function 'void MOS6502_1541::NewATNState()': CPU1541.h:254:69: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 254 | IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 // DATA (incl. ATN acknowledge) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ SAM.cpp: In function 'void SAM(C64*)': SAM.cpp:431:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 431 | error("Unknown command"); | ^~~~~~~~~~~~~~~~~ SAM.cpp: In function 'Token get_token()': SAM.cpp:596:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 596 | error("Unrecognized token"); | ^~~~~~~~~~~~~~~~~~~~ SAM.cpp:603:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 603 | error("Unrecognized token"); | ^~~~~~~~~~~~~~~~~~~~ SAM.cpp:615:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 615 | error("Unrecognized token"); | ^~~~~~~~~~~~~~~~~~~~ SAM.cpp: In function 'Token get_reg_token()': SAM.cpp:636:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 636 | error("Unrecognized token"); | ^~~~~~~~~~~~~~~~~~~~ SAM.cpp:645:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 645 | error("Unrecognized token"); | ^~~~~~~~~~~~~~~~~~~~ SAM.cpp:652:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 652 | error("Unrecognized token"); | ^~~~~~~~~~~~~~~~~~~~ SAM.cpp:660:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 660 | error("Unrecognized token"); | ^~~~~~~~~~~~~~~~~~~~ SAM.cpp: In function 'uint16 get_number()': SAM.cpp:670:42: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 670 | while (((c = get_char()) >= '0') && (c <= '9') || (c >= 'a') && (c <= 'f')) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ SAM.cpp: In function 'Token get_string(char*)': SAM.cpp:692:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 692 | error("Unterminated string"); | ^~~~~~~~~~~~~~~~~~~~~ SAM.cpp: In function 'bool term(uint16*)': SAM.cpp:758:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 758 | error("Division by 0"); | ^~~~~~~~~~~~~~~ SAM.cpp: In function 'bool factor(uint16*)': SAM.cpp:801:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 801 | error("Missing ')'"); | ^~~~~~~~~~~~~ SAM.cpp:805:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 805 | error("Error in expression"); | ^~~~~~~~~~~~~~~~~~~~~ SAM.cpp:810:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 810 | error("Required argument missing"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ SAM.cpp:814:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 814 | error("'pc', 'sp', '(' or number expected"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SAM.cpp: In function 'bool instr_args(uint16*, char*)': SAM.cpp:897:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 897 | error("Number expected"); | ^~~~~~~~~~~~~~~~~ SAM.cpp:934:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 934 | error("Illegal index register"); | ^~~~~~~~~~~~~~~~~~~~~~~~ SAM.cpp:964:79: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 964 | error("Only 'y' index register allowed"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SAM.cpp:969:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 969 | error("Illegal characters after ')'"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SAM.cpp:982:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 982 | error("')' expected"); | ^~~~~~~~~~~~~~ SAM.cpp:986:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 986 | error("Only 'x' index register allowed"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SAM.cpp:991:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 991 | error("')' or ',' expected"); | ^~~~~~~~~~~~~~~~~~~~~ SAM.cpp:995:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 995 | error("Number expected"); | ^~~~~~~~~~~~~~~~~ SAM.cpp:1000:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1000 | error("'(', '#' or number expected"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SAM.cpp: In function 'void display_registers()': SAM.cpp:1120:36: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1120 | fprintf(fout, "%04lx %02lx %02lx %02lx %04lx %c%c%c%c%c%c ", | ~~~~^ | | | long unsigned int | %04x 1121 | R1541.pc, R1541.a, R1541.x, R1541.y, R1541.sp, | ~~~~~~~~ | | | int SAM.cpp:1120:42: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] 1120 | fprintf(fout, "%04lx %02lx %02lx %02lx %04lx %c%c%c%c%c%c ", | ~~~~^ | | | long unsigned int | %02x 1121 | R1541.pc, R1541.a, R1541.x, R1541.y, R1541.sp, | ~~~~~~~ | | | int SAM.cpp:1120:48: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'int' [-Wformat=] 1120 | fprintf(fout, "%04lx %02lx %02lx %02lx %04lx %c%c%c%c%c%c ", | ~~~~^ | | | long unsigned int | %02x 1121 | R1541.pc, R1541.a, R1541.x, R1541.y, R1541.sp, | ~~~~~~~ | | | int SAM.cpp:1120:54: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'int' [-Wformat=] 1120 | fprintf(fout, "%04lx %02lx %02lx %02lx %04lx %c%c%c%c%c%c ", | ~~~~^ | | | long unsigned int | %02x 1121 | R1541.pc, R1541.a, R1541.x, R1541.y, R1541.sp, | ~~~~~~~ | | | int SAM.cpp:1120:60: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'int' [-Wformat=] 1120 | fprintf(fout, "%04lx %02lx %02lx %02lx %04lx %c%c%c%c%c%c ", | ~~~~^ | | | long unsigned int | %04x 1121 | R1541.pc, R1541.a, R1541.x, R1541.y, R1541.sp, | ~~~~~~~~ | | | int SAM.cpp:1127:36: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1127 | fprintf(fout, "%04lx %02lx %02lx %02lx %04lx %02lx %02lx %c%c%c%c%c%c ", | ~~~~^ | | | long unsigned int | %04x 1128 | R64.pc, R64.a, R64.x, R64.y, R64.sp, R64.ddr, R64.pr, | ~~~~~~ | | | int SAM.cpp:1127:42: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] 1127 | fprintf(fout, "%04lx %02lx %02lx %02lx %04lx %02lx %02lx %c%c%c%c%c%c ", | ~~~~^ | | | long unsigned int | %02x 1128 | R64.pc, R64.a, R64.x, R64.y, R64.sp, R64.ddr, R64.pr, | ~~~~~ | | | int SAM.cpp:1127:48: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'int' [-Wformat=] 1127 | fprintf(fout, "%04lx %02lx %02lx %02lx %04lx %02lx %02lx %c%c%c%c%c%c ", | ~~~~^ | | | long unsigned int | %02x 1128 | R64.pc, R64.a, R64.x, R64.y, R64.sp, R64.ddr, R64.pr, | ~~~~~ | | | int SAM.cpp:1127:54: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'int' [-Wformat=] 1127 | fprintf(fout, "%04lx %02lx %02lx %02lx %04lx %02lx %02lx %c%c%c%c%c%c ", | ~~~~^ | | | long unsigned int | %02x 1128 | R64.pc, R64.a, R64.x, R64.y, R64.sp, R64.ddr, R64.pr, | ~~~~~ | | | int SAM.cpp:1127:60: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'int' [-Wformat=] 1127 | fprintf(fout, "%04lx %02lx %02lx %02lx %04lx %02lx %02lx %c%c%c%c%c%c ", | ~~~~^ | | | long unsigned int | %04x 1128 | R64.pc, R64.a, R64.x, R64.y, R64.sp, R64.ddr, R64.pr, | ~~~~~~ | | | int SAM.cpp:1127:66: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'int' [-Wformat=] 1127 | fprintf(fout, "%04lx %02lx %02lx %02lx %04lx %02lx %02lx %c%c%c%c%c%c ", | ~~~~^ | | | long unsigned int | %02x 1128 | R64.pc, R64.a, R64.x, R64.y, R64.sp, R64.ddr, R64.pr, | ~~~~~~~ | | | int SAM.cpp:1127:72: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'int' [-Wformat=] 1127 | fprintf(fout, "%04lx %02lx %02lx %02lx %04lx %02lx %02lx %c%c%c%c%c%c ", | ~~~~^ | | | long unsigned int | %02x 1128 | R64.pc, R64.a, R64.x, R64.y, R64.sp, R64.ddr, R64.pr, | ~~~~~~ | | | int SAM.cpp: In function 'void memory_dump()': SAM.cpp:1156:36: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1156 | fprintf(fout, "%04lx:", address); | ~~~~^ ~~~~~~~ | | | | | int | long unsigned int | %04x SAM.cpp:1160:45: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1160 | fprintf(fout, " %02lx", byte = SAMReadByte(address)); | ~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | int | long unsigned int | %02x SAM.cpp: In function 'void ascii_dump()': SAM.cpp:1191:36: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1191 | fprintf(fout, "%04lx:", address); | ~~~~^ ~~~~~~~ | | | | | int | long unsigned int | %04x SAM.cpp: In function 'char conv_from_64(char)': SAM.cpp:1212:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1212 | if ((c >= 'A') && (c <= 'Z') || (c >= 'a') && (c <= 'z')) | ~~~~~~~~~~~^~~~~~~~~~~~~ SAM.cpp: In function 'void screen_dump()': SAM.cpp:1239:36: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1239 | fprintf(fout, "%04lx:", address); | ~~~~^ ~~~~~~~ | | | | | int | long unsigned int | %04x SAM.cpp: In function 'void binary_dump()': SAM.cpp:1291:36: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1291 | fprintf(fout, "%04lx: %s\n", address++, bin); | ~~~~^ ~~~~~~~~~ | | | | | int | long unsigned int | %04x SAM.cpp: In function 'void sprite_dump()': SAM.cpp:1313:36: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1313 | fprintf(fout, "%04lx: ", address); | ~~~~^ ~~~~~~~ | | | | | int | long unsigned int | %04x SAM.cpp: In function 'void disassemble()': SAM.cpp:1357:36: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1357 | fprintf(fout, "%04lx:", adr = address); | ~~~~^ ~~~~~~~~~~~~~ | | | | | int | long unsigned int | %04x SAM.cpp: In function 'int disass_line(uint16, uint8, uint8, uint8)': SAM.cpp:1376:28: warning: array subscript has type 'char' [-Wchar-subscripts] 1376 | switch (adr_length[mode]) { | ^~~~ SAM.cpp:1378:45: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1378 | fprintf(fout, " %02lx ", op); | ~~~~^ ~~ | | | | | int | long unsigned int | %02x SAM.cpp:1382:45: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1382 | fprintf(fout, " %02lx %02lx ", op, lo); | ~~~~^ ~~ | | | | | int | long unsigned int | %02x SAM.cpp:1382:51: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] 1382 | fprintf(fout, " %02lx %02lx ", op, lo); | ~~~~^ ~~ | | | | | int | long unsigned int | %02x SAM.cpp:1386:45: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1386 | fprintf(fout, " %02lx %02lx %02lx ", op, lo, hi); | ~~~~^ ~~ | | | | | int | long unsigned int | %02x SAM.cpp:1386:51: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] 1386 | fprintf(fout, " %02lx %02lx %02lx ", op, lo, hi); | ~~~~^ ~~ | | | | | int | long unsigned int | %02x SAM.cpp:1386:57: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'int' [-Wformat=] 1386 | fprintf(fout, " %02lx %02lx %02lx ", op, lo, hi); | ~~~~^ ~~ | | | | | int | long unsigned int | %02x SAM.cpp:1397:41: warning: array subscript has type 'char' [-Wchar-subscripts] 1397 | fprintf(fout, "%c%c%c ", mnem_1[mnem], mnem_2[mnem], mnem_3[mnem]); | ^~~~ SAM.cpp:1397:55: warning: array subscript has type 'char' [-Wchar-subscripts] 1397 | fprintf(fout, "%c%c%c ", mnem_1[mnem], mnem_2[mnem], mnem_3[mnem]); | ^~~~ SAM.cpp:1397:69: warning: array subscript has type 'char' [-Wchar-subscripts] 1397 | fprintf(fout, "%c%c%c ", mnem_1[mnem], mnem_2[mnem], mnem_3[mnem]); | ^~~~ SAM.cpp:1409:45: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1409 | fprintf(fout, "#%02lx", lo); | ~~~~^ ~~ | | | | | int | long unsigned int | %02x SAM.cpp:1413:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1413 | fprintf(fout, "%04lx", ((adr + 2) + (int8)lo) & 0xffff); | ~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int int | %04x SAM.cpp:1417:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1417 | fprintf(fout, "%02lx", lo); | ~~~~^ ~~ | | | | | int | long unsigned int | %02x SAM.cpp:1421:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1421 | fprintf(fout, "%02lx,x", lo); | ~~~~^ ~~ | | | | | int | long unsigned int | %02x SAM.cpp:1425:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1425 | fprintf(fout, "%02lx,y", lo); | ~~~~^ ~~ | | | | | int | long unsigned int | %02x SAM.cpp:1429:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1429 | fprintf(fout, "%04lx", (hi << 8) | lo); | ~~~~^ ~~~~~~~~~~~~~~ | | | | | int | long unsigned int | %04x SAM.cpp:1433:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1433 | fprintf(fout, "%04lx,x", (hi << 8) | lo); | ~~~~^ ~~~~~~~~~~~~~~ | | | | | int | long unsigned int | %04x SAM.cpp:1437:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1437 | fprintf(fout, "%04lx,y", (hi << 8) | lo); | ~~~~^ ~~~~~~~~~~~~~~ | | | | | int | long unsigned int | %04x SAM.cpp:1441:45: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1441 | fprintf(fout, "(%04lx)", (hi << 8) | lo); | ~~~~^ ~~~~~~~~~~~~~~ | | | | | int | long unsigned int | %04x SAM.cpp:1445:45: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1445 | fprintf(fout, "(%02lx,x)", lo); | ~~~~^ ~~ | | | | | int | long unsigned int | %02x SAM.cpp:1449:45: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1449 | fprintf(fout, "(%02lx),y", lo); | ~~~~^ ~~ | | | | | int | long unsigned int | %02x SAM.cpp:1454:27: warning: array subscript has type 'char' [-Wchar-subscripts] 1454 | return adr_length[mode]; | ^~~~ SAM.cpp: In function 'void assemble()': SAM.cpp:1477:36: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1477 | fprintf(fout, "%04lx> ", address); | ~~~~^ ~~~~~~~ | | | | | int | long unsigned int | %04x SAM.cpp:1499:59: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] 1499 | rel = arg - (address + 2) & 0xffff; | ~~~~^~~~~~~~~~~~~~~ SAM.cpp:1501:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1501 | error("Branch too long"); | ^~~~~~~~~~~~~~~~~ SAM.cpp:1510:70: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1510 | fprintf(fout, "\v%04lx:", address); | ~~~~^ ~~~~~~~ | | | | | int | long unsigned int | %04x SAM.cpp:1513:68: warning: array subscript has type 'char' [-Wchar-subscripts] 1513 | switch (adr_length[mode]) { | ^~~~ SAM.cpp:1530:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1530 | error("Internal error"); | ^~~~~~~~~~~~~~~~ SAM.cpp:1535:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1535 | error("Addressing mode not supported by instruction"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SAM.cpp:1538:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1538 | error("Unrecognized addressing mode"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SAM.cpp:1541:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1541 | error("Unknown instruction"); | ^~~~~~~~~~~~~~~~~~~~~ SAM.cpp: In function 'void mem_config()': SAM.cpp:1602:41: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] 1602 | fprintf(fout, "Configuration: %ld\n", con & 7); | ~~^ ~~~~~~~ | | | | long int int | %d SAM.cpp: In function 'void compare()': SAM.cpp:1656:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1656 | fprintf(fout, "%04lx ", adr); | ~~~~^ ~~~ | | | | | int | long unsigned int | %04x SAM.cpp:1666:26: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] 1666 | fprintf(fout, "%ld byte(s) different\n", num); | ~~^ ~~~ | | | | long int int | %d SAM.cpp: In function 'void print_expr()': SAM.cpp:1734:33: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1734 | fprintf(fout, "Hex: %04lx\nDec: %lu\n", val, val); | ~~~~^ ~~~ | | | | | int | long unsigned int | %04x SAM.cpp:1734:43: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] 1734 | fprintf(fout, "Hex: %04lx\nDec: %lu\n", val, val); | ~~^ ~~~ | | | | | int | long unsigned int | %u SAM.cpp: In function 'void redir_output()': SAM.cpp:1759:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1759 | error("Unable to open file"); | ^~~~~~~~~~~~~~~~~~~~~ SAM.cpp:1761:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1761 | error("'\"' around file name expected"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SAM.cpp: In function 'void int_vectors()': SAM.cpp:1772:34: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] 1772 | fprintf(fout, "%d : %04lx %04lx %04lx\n", | ~~~~^ | | | long unsigned int | %04x 1773 | access_1541 ? 6502 : 6510, 1774 | SAMReadByte(0xffff) << 8 | SAMReadByte(0xfffe), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int SAM.cpp:1772:40: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'int' [-Wformat=] 1772 | fprintf(fout, "%d : %04lx %04lx %04lx\n", | ~~~~^ | | | long unsigned int | %04x ...... 1775 | SAMReadByte(0xffff) << 8 | SAMReadByte(0xfffe), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int SAM.cpp:1772:46: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'int' [-Wformat=] 1772 | fprintf(fout, "%d : %04lx %04lx %04lx\n", | ~~~~^ | | | long unsigned int | %04x ...... 1776 | SAMReadByte(0xfffb) << 8 | SAMReadByte(0xfffa)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int SAM.cpp:1779:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1779 | fprintf(fout, "Kernal: %04lx %04lx %04lx\n", | ~~~~^ | | | long unsigned int | %04x 1780 | SAMReadByte(0x0315) << 8 | SAMReadByte(0x0314), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int SAM.cpp:1779:50: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] 1779 | fprintf(fout, "Kernal: %04lx %04lx %04lx\n", | ~~~~^ | | | long unsigned int | %04x 1780 | SAMReadByte(0x0315) << 8 | SAMReadByte(0x0314), 1781 | SAMReadByte(0x0317) << 8 | SAMReadByte(0x0316), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int SAM.cpp:1779:56: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'int' [-Wformat=] 1779 | fprintf(fout, "Kernal: %04lx %04lx %04lx\n", | ~~~~^ | | | long unsigned int | %04x ...... 1782 | SAMReadByte(0x0319) << 8 | SAMReadByte(0x0318)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int SAM.cpp: In function 'void view_state()': SAM.cpp:1810:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1810 | error("Unknown command"); | ^~~~~~~~~~~~~~~~~ SAM.cpp: In function 'void view_cia_state()': SAM.cpp:1827:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1827 | error("Unknown command"); | ^~~~~~~~~~~~~~~~~ SAM.cpp:1832:39: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1832 | fprintf(fout, " Counter : %04lx Latch: %04lx\n", (cs.ta_hi << 8) | cs.ta_lo, cs.latcha); | ~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int int | %04x SAM.cpp:1832:53: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] 1832 | fprintf(fout, " Counter : %04lx Latch: %04lx\n", (cs.ta_hi << 8) | cs.ta_lo, cs.latcha); | ~~~~^ ~~~~~~~~~ | | | | long unsigned int int | %04x SAM.cpp:1845:39: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1845 | fprintf(fout, " Counter : %04lx Latch: %04lx\n", (cs.tb_hi << 8) | cs.tb_lo, cs.latchb); | ~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int int | %04x SAM.cpp:1845:53: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] 1845 | fprintf(fout, " Counter : %04lx Latch: %04lx\n", (cs.tb_hi << 8) | cs.tb_lo, cs.latchb); | ~~~~^ ~~~~~~~~~ | | | | long unsigned int int | %04x SAM.cpp:1867:40: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1867 | fprintf(fout, "TOD : %lx%lx:%lx%lx:%lx%lx.%lx %s\n", | ~~^ | | | long unsigned int | %x 1868 | (cs.tod_hr >> 4) & 1, cs.tod_hr & 0x0f, | ~~~~~~~~~~~~~~~~~~~~ | | | int SAM.cpp:1867:43: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] 1867 | fprintf(fout, "TOD : %lx%lx:%lx%lx:%lx%lx.%lx %s\n", | ~~^ | | | long unsigned int | %x 1868 | (cs.tod_hr >> 4) & 1, cs.tod_hr & 0x0f, | ~~~~~~~~~~~~~~~~ | | | int SAM.cpp:1867:47: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'int' [-Wformat=] 1867 | fprintf(fout, "TOD : %lx%lx:%lx%lx:%lx%lx.%lx %s\n", | ~~^ | | | long unsigned int | %x 1868 | (cs.tod_hr >> 4) & 1, cs.tod_hr & 0x0f, 1869 | (cs.tod_min >> 4) & 7, cs.tod_min & 0x0f, | ~~~~~~~~~~~~~~~~~~~~~ | | | int SAM.cpp:1867:50: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'int' [-Wformat=] 1867 | fprintf(fout, "TOD : %lx%lx:%lx%lx:%lx%lx.%lx %s\n", | ~~^ | | | long unsigned int | %x 1868 | (cs.tod_hr >> 4) & 1, cs.tod_hr & 0x0f, 1869 | (cs.tod_min >> 4) & 7, cs.tod_min & 0x0f, | ~~~~~~~~~~~~~~~~~ | | | int SAM.cpp:1867:54: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'int' [-Wformat=] 1867 | fprintf(fout, "TOD : %lx%lx:%lx%lx:%lx%lx.%lx %s\n", | ~~^ | | | long unsigned int | %x ...... 1870 | (cs.tod_sec >> 4) & 7, cs.tod_sec & 0x0f, | ~~~~~~~~~~~~~~~~~~~~~ | | | int SAM.cpp:1867:57: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'int' [-Wformat=] 1867 | fprintf(fout, "TOD : %lx%lx:%lx%lx:%lx%lx.%lx %s\n", | ~~^ | | | long unsigned int | %x ...... 1870 | (cs.tod_sec >> 4) & 7, cs.tod_sec & 0x0f, | ~~~~~~~~~~~~~~~~~ | | | int SAM.cpp:1867:61: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'int' [-Wformat=] 1867 | fprintf(fout, "TOD : %lx%lx:%lx%lx:%lx%lx.%lx %s\n", | ~~^ | | | long unsigned int | %x ...... 1871 | cs.tod_10ths & 0x0f, cs.tod_hr & 0x80 ? "PM" : "AM"); | ~~~~~~~~~~~~~~~~~~~ | | | int SAM.cpp:1872:40: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1872 | fprintf(fout, "Alarm : %lx%lx:%lx%lx:%lx%lx.%lx %s\n", | ~~^ | | | long unsigned int | %x 1873 | (cs.alm_hr >> 4) & 1, cs.alm_hr & 0x0f, | ~~~~~~~~~~~~~~~~~~~~ | | | int SAM.cpp:1872:43: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] 1872 | fprintf(fout, "Alarm : %lx%lx:%lx%lx:%lx%lx.%lx %s\n", | ~~^ | | | long unsigned int | %x 1873 | (cs.alm_hr >> 4) & 1, cs.alm_hr & 0x0f, | ~~~~~~~~~~~~~~~~ | | | int SAM.cpp:1872:47: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'int' [-Wformat=] 1872 | fprintf(fout, "Alarm : %lx%lx:%lx%lx:%lx%lx.%lx %s\n", | ~~^ | | | long unsigned int | %x 1873 | (cs.alm_hr >> 4) & 1, cs.alm_hr & 0x0f, 1874 | (cs.alm_min >> 4) & 7, cs.alm_min & 0x0f, | ~~~~~~~~~~~~~~~~~~~~~ | | | int SAM.cpp:1872:50: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'int' [-Wformat=] 1872 | fprintf(fout, "Alarm : %lx%lx:%lx%lx:%lx%lx.%lx %s\n", | ~~^ | | | long unsigned int | %x 1873 | (cs.alm_hr >> 4) & 1, cs.alm_hr & 0x0f, 1874 | (cs.alm_min >> 4) & 7, cs.alm_min & 0x0f, | ~~~~~~~~~~~~~~~~~ | | | int SAM.cpp:1872:54: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'int' [-Wformat=] 1872 | fprintf(fout, "Alarm : %lx%lx:%lx%lx:%lx%lx.%lx %s\n", | ~~^ | | | long unsigned int | %x ...... 1875 | (cs.alm_sec >> 4) & 7, cs.alm_sec & 0x0f, | ~~~~~~~~~~~~~~~~~~~~~ | | | int SAM.cpp:1872:57: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'int' [-Wformat=] 1872 | fprintf(fout, "Alarm : %lx%lx:%lx%lx:%lx%lx.%lx %s\n", | ~~^ | | | long unsigned int | %x ...... 1875 | (cs.alm_sec >> 4) & 7, cs.alm_sec & 0x0f, | ~~~~~~~~~~~~~~~~~ | | | int SAM.cpp:1872:61: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'int' [-Wformat=] 1872 | fprintf(fout, "Alarm : %lx%lx:%lx%lx:%lx%lx.%lx %s\n", | ~~^ | | | long unsigned int | %x ...... 1876 | cs.alm_10ths & 0x0f, cs.alm_hr & 0x80 ? "PM" : "AM"); | ~~~~~~~~~~~~~~~~~~~ | | | int SAM.cpp:1880:42: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1880 | fprintf(fout, "Serial data : %02lx\n", cs.sdr); | ~~~~^ ~~~~~~ | | | | | int | long unsigned int | %02x SAM.cpp: In function 'void view_sid_state()': SAM.cpp:1909:42: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1909 | fprintf(fout, " Frequency : %04lx\n", (ss.freq_hi_1 << 8) | ss.freq_lo_1); | ~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int int | %04x SAM.cpp:1910:42: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1910 | fprintf(fout, " Pulse Width: %04lx\n", ((ss.pw_hi_1 & 0x0f) << 8) | ss.pw_lo_1); | ~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int int | %04x SAM.cpp:1911:40: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1911 | fprintf(fout, " Env. (ADSR): %lx %lx %lx %lx\n", ss.AD_1 >> 4, ss.AD_1 & 0x0f, ss.SR_1 >> 4, ss.SR_1 & 0x0f); | ~~^ ~~~~~~~~~~~~ | | | | long unsigned int int | %x SAM.cpp:1911:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] 1911 | fprintf(fout, " Env. (ADSR): %lx %lx %lx %lx\n", ss.AD_1 >> 4, ss.AD_1 & 0x0f, ss.SR_1 >> 4, ss.SR_1 & 0x0f); | ~~^ ~~~~~~~~~~~~~~ | | | | long unsigned int int | %x SAM.cpp:1911:48: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'int' [-Wformat=] 1911 | fprintf(fout, " Env. (ADSR): %lx %lx %lx %lx\n", ss.AD_1 >> 4, ss.AD_1 & 0x0f, ss.SR_1 >> 4, ss.SR_1 & 0x0f); | ~~^ ~~~~~~~~~~~~ | | | | long unsigned int int | %x SAM.cpp:1911:52: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'int' [-Wformat=] 1911 | fprintf(fout, " Env. (ADSR): %lx %lx %lx %lx\n", ss.AD_1 >> 4, ss.AD_1 & 0x0f, ss.SR_1 >> 4, ss.SR_1 & 0x0f); | ~~^ ~~~~~~~~~~~~~~ | | | | long unsigned int int | %x SAM.cpp:1919:42: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1919 | fprintf(fout, " Frequency : %04lx\n", (ss.freq_hi_2 << 8) | ss.freq_lo_2); | ~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int int | %04x SAM.cpp:1920:42: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1920 | fprintf(fout, " Pulse Width: %04lx\n", ((ss.pw_hi_2 & 0x0f) << 8) | ss.pw_lo_2); | ~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int int | %04x SAM.cpp:1921:40: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1921 | fprintf(fout, " Env. (ADSR): %lx %lx %lx %lx\n", ss.AD_2 >> 4, ss.AD_2 & 0x0f, ss.SR_2 >> 4, ss.SR_2 & 0x0f); | ~~^ ~~~~~~~~~~~~ | | | | long unsigned int int | %x SAM.cpp:1921:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] 1921 | fprintf(fout, " Env. (ADSR): %lx %lx %lx %lx\n", ss.AD_2 >> 4, ss.AD_2 & 0x0f, ss.SR_2 >> 4, ss.SR_2 & 0x0f); | ~~^ ~~~~~~~~~~~~~~ | | | | long unsigned int int | %x SAM.cpp:1921:48: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'int' [-Wformat=] 1921 | fprintf(fout, " Env. (ADSR): %lx %lx %lx %lx\n", ss.AD_2 >> 4, ss.AD_2 & 0x0f, ss.SR_2 >> 4, ss.SR_2 & 0x0f); | ~~^ ~~~~~~~~~~~~ | | | | long unsigned int int | %x SAM.cpp:1921:52: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'int' [-Wformat=] 1921 | fprintf(fout, " Env. (ADSR): %lx %lx %lx %lx\n", ss.AD_2 >> 4, ss.AD_2 & 0x0f, ss.SR_2 >> 4, ss.SR_2 & 0x0f); | ~~^ ~~~~~~~~~~~~~~ | | | | long unsigned int int | %x SAM.cpp:1929:42: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1929 | fprintf(fout, " Frequency : %04lx\n", (ss.freq_hi_3 << 8) | ss.freq_lo_3); | ~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int int | %04x SAM.cpp:1930:42: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1930 | fprintf(fout, " Pulse Width: %04lx\n", ((ss.pw_hi_3 & 0x0f) << 8) | ss.pw_lo_3); | ~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int int | %04x SAM.cpp:1931:40: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1931 | fprintf(fout, " Env. (ADSR): %lx %lx %lx %lx\n", ss.AD_3 >> 4, ss.AD_3 & 0x0f, ss.SR_3 >> 4, ss.SR_3 & 0x0f); | ~~^ ~~~~~~~~~~~~ | | | | long unsigned int int | %x SAM.cpp:1931:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] 1931 | fprintf(fout, " Env. (ADSR): %lx %lx %lx %lx\n", ss.AD_3 >> 4, ss.AD_3 & 0x0f, ss.SR_3 >> 4, ss.SR_3 & 0x0f); | ~~^ ~~~~~~~~~~~~~~ | | | | long unsigned int int | %x SAM.cpp:1931:48: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'int' [-Wformat=] 1931 | fprintf(fout, " Env. (ADSR): %lx %lx %lx %lx\n", ss.AD_3 >> 4, ss.AD_3 & 0x0f, ss.SR_3 >> 4, ss.SR_3 & 0x0f); | ~~^ ~~~~~~~~~~~~ | | | | long unsigned int int | %x SAM.cpp:1931:52: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'int' [-Wformat=] 1931 | fprintf(fout, " Env. (ADSR): %lx %lx %lx %lx\n", ss.AD_3 >> 4, ss.AD_3 & 0x0f, ss.SR_3 >> 4, ss.SR_3 & 0x0f); | ~~^ ~~~~~~~~~~~~~~ | | | | long unsigned int int | %x SAM.cpp:1939:40: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1939 | fprintf(fout, " Frequency: %04lx\n", (ss.fc_hi << 3) | (ss.fc_lo & 0x07)); | ~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int int | %04x SAM.cpp:1940:38: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1940 | fprintf(fout, " Resonance: %lx\n", ss.res_filt >> 4); | ~~^ ~~~~~~~~~~~~~~~~ | | | | long unsigned int int | %x SAM.cpp:1948:40: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1948 | fprintf(fout, "\n Volume : %lx\n", ss.mode_vol & 0x0f); | ~~^ ~~~~~~~~~~~~~~~~~~ | | | | long unsigned int int | %x SAM.cpp: In function 'void view_vic_state()': SAM.cpp:1970:48: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1970 | fprintf(fout, "Raster line : %04lx\n", vs.raster | ((vs.ctrl1 & 0x80) << 1)); | ~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | int | long unsigned int | %04x SAM.cpp:1971:48: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 1971 | fprintf(fout, "IRQ raster line : %04lx\n\n", vs.irq_raster); | ~~~~^ ~~~~~~~~~~~~~ | | | | | int | long unsigned int | %04x SAM.cpp:1973:46: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] 1973 | fprintf(fout, "X scroll : %ld\n", vs.ctrl2 & 7); | ~~^ ~~~~~~~~~~~~ | | | | long int int | %d SAM.cpp:1974:46: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] 1974 | fprintf(fout, "Y scroll : %ld\n", vs.ctrl1 & 7); | ~~^ ~~~~~~~~~~~~ | | | | long int int | %d SAM.cpp:1975:46: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] 1975 | fprintf(fout, "Horizontal border : %ld columns\n", vs.ctrl2 & 8 ? 40 : 38); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~ | | | | long int int | %d SAM.cpp:1976:46: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] 1976 | fprintf(fout, "Vertical border : %ld rows\n\n", vs.ctrl1 & 8 ? 25 : 24); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~ | | | | long int int | %d SAM.cpp:2008:48: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 2008 | fprintf(fout, "Video counter : %04lx\n", vs.vc); | ~~~~^ ~~~~~ | | | | | int | long unsigned int | %04x SAM.cpp:2009:48: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 2009 | fprintf(fout, "Video counter base: %04lx\n", vs.vc_base); | ~~~~^ ~~~~~~~~~~ | | | | | int | long unsigned int | %04x SAM.cpp:2010:46: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] 2010 | fprintf(fout, "Row counter : %ld\n\n", vs.rc); | ~~^ ~~~~~ | | | | long int int | %d SAM.cpp:2012:48: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 2012 | fprintf(fout, "VIC bank : %04lx-%04lx\n", vs.bank_base, vs.bank_base + 0x3fff); | ~~~~^ ~~~~~~~~~~~~ | | | | | int | long unsigned int | %04x SAM.cpp:2012:54: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] 2012 | fprintf(fout, "VIC bank : %04lx-%04lx\n", vs.bank_base, vs.bank_base + 0x3fff); | ~~~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int int | %04x SAM.cpp:2013:48: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 2013 | fprintf(fout, "Video matrix base : %04lx\n", vs.matrix_base); | ~~~~^ ~~~~~~~~~~~~~~ | | | | | int | long unsigned int | %04x SAM.cpp:2014:48: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 2014 | fprintf(fout, "Character base : %04lx\n", vs.char_base); | ~~~~^ ~~~~~~~~~~~~ | | | | | int | long unsigned int | %04x SAM.cpp:2015:48: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 2015 | fprintf(fout, "Bitmap base : %04lx\n\n", vs.bitmap_base); | ~~~~^ ~~~~~~~~~~~~~~ | | | | | int | long unsigned int | %04x SAM.cpp:2019:37: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 2019 | fprintf(fout, "Data : %04lx %04lx %04lx %04lx %04lx %04lx %04lx %04lx\n", | ~~~~^ | | | long unsigned int | %04x 2020 | vs.sprite_base[0], vs.sprite_base[1], vs.sprite_base[2], vs.sprite_base[3], | ~~~~~~~~~~~~~~~~~ | | | int SAM.cpp:2019:45: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] 2019 | fprintf(fout, "Data : %04lx %04lx %04lx %04lx %04lx %04lx %04lx %04lx\n", | ~~~~^ | | | long unsigned int | %04x 2020 | vs.sprite_base[0], vs.sprite_base[1], vs.sprite_base[2], vs.sprite_base[3], | ~~~~~~~~~~~~~~~~~ | | | int SAM.cpp:2019:53: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'int' [-Wformat=] 2019 | fprintf(fout, "Data : %04lx %04lx %04lx %04lx %04lx %04lx %04lx %04lx\n", | ~~~~^ | | | long unsigned int | %04x 2020 | vs.sprite_base[0], vs.sprite_base[1], vs.sprite_base[2], vs.sprite_base[3], | ~~~~~~~~~~~~~~~~~ | | | int SAM.cpp:2019:61: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'int' [-Wformat=] 2019 | fprintf(fout, "Data : %04lx %04lx %04lx %04lx %04lx %04lx %04lx %04lx\n", | ~~~~^ | | | long unsigned int | %04x 2020 | vs.sprite_base[0], vs.sprite_base[1], vs.sprite_base[2], vs.sprite_base[3], | ~~~~~~~~~~~~~~~~~ | | | int SAM.cpp:2019:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'int' [-Wformat=] 2019 | fprintf(fout, "Data : %04lx %04lx %04lx %04lx %04lx %04lx %04lx %04lx\n", | ~~~~^ | | | long unsigned int | %04x 2020 | vs.sprite_base[0], vs.sprite_base[1], vs.sprite_base[2], vs.sprite_base[3], 2021 | vs.sprite_base[4], vs.sprite_base[5], vs.sprite_base[6], vs.sprite_base[7]); | ~~~~~~~~~~~~~~~~~ | | | int SAM.cpp:2019:77: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'int' [-Wformat=] 2019 | fprintf(fout, "Data : %04lx %04lx %04lx %04lx %04lx %04lx %04lx %04lx\n", | ~~~~^ | | | long unsigned int | %04x 2020 | vs.sprite_base[0], vs.sprite_base[1], vs.sprite_base[2], vs.sprite_base[3], 2021 | vs.sprite_base[4], vs.sprite_base[5], vs.sprite_base[6], vs.sprite_base[7]); | ~~~~~~~~~~~~~~~~~ | | | int SAM.cpp:2019:85: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'int' [-Wformat=] 2019 | fprintf(fout, "Data : %04lx %04lx %04lx %04lx %04lx %04lx %04lx %04lx\n", | ~~~~^ | | | long unsigned int | %04x 2020 | vs.sprite_base[0], vs.sprite_base[1], vs.sprite_base[2], vs.sprite_base[3], 2021 | vs.sprite_base[4], vs.sprite_base[5], vs.sprite_base[6], vs.sprite_base[7]); | ~~~~~~~~~~~~~~~~~ | | | int SAM.cpp:2019:93: warning: format '%lx' expects argument of type 'long unsigned int', but argument 10 has type 'int' [-Wformat=] 2019 | fprintf(fout, "Data : %04lx %04lx %04lx %04lx %04lx %04lx %04lx %04lx\n", | ~~~~^ | | | long unsigned int | %04x 2020 | vs.sprite_base[0], vs.sprite_base[1], vs.sprite_base[2], vs.sprite_base[3], 2021 | vs.sprite_base[4], vs.sprite_base[5], vs.sprite_base[6], vs.sprite_base[7]); | ~~~~~~~~~~~~~~~~~ | | | int SAM.cpp:2022:37: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 2022 | fprintf(fout, "MC : %02lx %02lx %02lx %02lx %02lx %02lx %02lx %02lx\n", | ~~~~^ | | | long unsigned int | %02x 2023 | vs.mc[0], vs.mc[1], vs.mc[2], vs.mc[3], vs.mc[4], vs.mc[5], vs.mc[6], vs.mc[7]); | ~~~~~~~~ | | | int SAM.cpp:2022:47: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] 2022 | fprintf(fout, "MC : %02lx %02lx %02lx %02lx %02lx %02lx %02lx %02lx\n", | ~~~~^ | | | long unsigned int | %02x 2023 | vs.mc[0], vs.mc[1], vs.mc[2], vs.mc[3], vs.mc[4], vs.mc[5], vs.mc[6], vs.mc[7]); | ~~~~~~~~ | | | int SAM.cpp:2022:57: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'int' [-Wformat=] 2022 | fprintf(fout, "MC : %02lx %02lx %02lx %02lx %02lx %02lx %02lx %02lx\n", | ~~~~^ | | | long unsigned int | %02x 2023 | vs.mc[0], vs.mc[1], vs.mc[2], vs.mc[3], vs.mc[4], vs.mc[5], vs.mc[6], vs.mc[7]); | ~~~~~~~~ | | | int SAM.cpp:2022:67: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'int' [-Wformat=] 2022 | fprintf(fout, "MC : %02lx %02lx %02lx %02lx %02lx %02lx %02lx %02lx\n", | ~~~~^ | | | long unsigned int | %02x 2023 | vs.mc[0], vs.mc[1], vs.mc[2], vs.mc[3], vs.mc[4], vs.mc[5], vs.mc[6], vs.mc[7]); | ~~~~~~~~ | | | int SAM.cpp:2022:77: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'int' [-Wformat=] 2022 | fprintf(fout, "MC : %02lx %02lx %02lx %02lx %02lx %02lx %02lx %02lx\n", | ~~~~^ | | | long unsigned int | %02x 2023 | vs.mc[0], vs.mc[1], vs.mc[2], vs.mc[3], vs.mc[4], vs.mc[5], vs.mc[6], vs.mc[7]); | ~~~~~~~~ | | | int SAM.cpp:2022:87: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'int' [-Wformat=] 2022 | fprintf(fout, "MC : %02lx %02lx %02lx %02lx %02lx %02lx %02lx %02lx\n", | ~~~~^ | | | long unsigned int | %02x 2023 | vs.mc[0], vs.mc[1], vs.mc[2], vs.mc[3], vs.mc[4], vs.mc[5], vs.mc[6], vs.mc[7]); | ~~~~~~~~ | | | int SAM.cpp:2022:97: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'int' [-Wformat=] 2022 | fprintf(fout, "MC : %02lx %02lx %02lx %02lx %02lx %02lx %02lx %02lx\n", | ~~~~^ | | | long unsigned int | %02x 2023 | vs.mc[0], vs.mc[1], vs.mc[2], vs.mc[3], vs.mc[4], vs.mc[5], vs.mc[6], vs.mc[7]); | ~~~~~~~~ | | | int SAM.cpp:2022:107: warning: format '%lx' expects argument of type 'long unsigned int', but argument 10 has type 'int' [-Wformat=] 2022 | fprintf(fout, "MC : %02lx %02lx %02lx %02lx %02lx %02lx %02lx %02lx\n", | ~~~~^ | | | long unsigned int | %02x 2023 | vs.mc[0], vs.mc[1], vs.mc[2], vs.mc[3], vs.mc[4], vs.mc[5], vs.mc[6], vs.mc[7]); | ~~~~~~~~ | | | int SAM.cpp: In function 'void load_data()': SAM.cpp:2126:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2126 | error("Missing file name"); | ^~~~~~~~~~~~~~~~~~~ SAM.cpp:2130:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2130 | error("'\"' around file name expected"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SAM.cpp:2135:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2135 | error("Unable to open file"); | ^~~~~~~~~~~~~~~~~~~~~ SAM.cpp: In function 'void save_data()': SAM.cpp:2160:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2160 | error("Missing file name"); | ^~~~~~~~~~~~~~~~~~~ SAM.cpp:2164:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2164 | error("'\"' around file name expected"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SAM.cpp:2169:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2169 | error("Unable to create file"); | ^~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' make: Entering directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_SDL -DREGPARAM="__attribute__((regparm(3)))" -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DFRODO_HOME=\"/usr/share/Frodo/\" -o CPU_common.o -c CPU_common.cpp make: Leaving directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' make: Entering directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_SDL -DREGPARAM="__attribute__((regparm(3)))" -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DFRODO_HOME=\"/usr/share/Frodo/\" -DPRECISE_CPU_CYCLES=1 -DPRECISE_CIA_CYCLES=1 -DPC_IS_POINTER=0 -o C64_PC.o -c C64_PC.cpp In file included from C64.cpp:11, from C64_PC.cpp:11: CPU1541.h: In member function 'void MOS6502_1541::NewATNState()': CPU1541.h:254:69: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 254 | 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 behavior [-Wdelete-non-virtual-dtor] 114 | delete TheCIA2; | ^~~~~~~~~~~~~~ C64.cpp:115:9: warning: deleting object of polymorphic class type 'MOS6526_1' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 115 | delete TheCIA1; | ^~~~~~~~~~~~~~ C64.cpp: In member function 'void C64::SaveRAM(char*)': C64.cpp:273:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 273 | ShowRequester("RAM save failed.", "OK", NULL); | ^~~~~~~~~~~~~~~~~~ C64.cpp:273:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 273 | ShowRequester("RAM save failed.", "OK", NULL); | ^~~~ C64.cpp: In member function 'void C64::SaveSnapshot(char*)': C64.cpp:524:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 524 | ShowRequester("Unable to open snapshot file", "OK", NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C64.cpp:524:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 524 | ShowRequester("Unable to open snapshot file", "OK", NULL); | ^~~~ C64.cpp:520:15: warning: unused variable 'delay' [-Wunused-variable] 520 | uint8 delay; | ^~~~~ C64.cpp:521:13: warning: unused variable 'stat' [-Wunused-variable] 521 | int stat; | ^~~~ C64.cpp: In member function 'bool C64::LoadSnapshot(char*)': C64.cpp:607:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 607 | ShowRequester("Unknown snapshot format", "OK", NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~ C64.cpp:607:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 607 | ShowRequester("Unknown snapshot format", "OK", NULL); | ^~~~ C64.cpp:675:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 675 | ShowRequester("Error reading snapshot file", "OK", NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C64.cpp:675:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 675 | ShowRequester("Error reading snapshot file", "OK", NULL); | ^~~~ C64.cpp:682:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 682 | ShowRequester("Not a Frodo snapshot file", "OK", NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ C64.cpp:682:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 682 | ShowRequester("Not a Frodo snapshot file", "OK", NULL); | ^~~~ C64.cpp:588:23: warning: variable 'delay' set but not used [-Wunused-but-set-variable] 588 | uint8 delay, i; | ^~~~~ C64.cpp:588:30: warning: unused variable 'i' [-Wunused-variable] 588 | uint8 delay, i; | ^ C64.cpp:686:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 686 | ShowRequester("Can't open snapshot file", "OK", NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ C64.cpp:686:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 686 | ShowRequester("Can't open snapshot file", "OK", NULL); | ^~~~ make: Leaving directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' make: Entering directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_SDL -DREGPARAM="__attribute__((regparm(3)))" -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DFRODO_HOME=\"/usr/share/Frodo/\" -DFRODO_SC -o C64_SC.o -c C64_SC.cpp In file included from C64.cpp:11, from C64_SC.cpp:11: CPU1541.h: In member function 'void MOS6502_1541::NewATNState()': CPU1541.h:254:69: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 254 | 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 behavior [-Wdelete-non-virtual-dtor] 114 | delete TheCIA2; | ^~~~~~~~~~~~~~ C64.cpp:115:9: warning: deleting object of polymorphic class type 'MOS6526_1' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 115 | delete TheCIA1; | ^~~~~~~~~~~~~~ C64.cpp: In member function 'void C64::SaveRAM(char*)': C64.cpp:273:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 273 | ShowRequester("RAM save failed.", "OK", NULL); | ^~~~~~~~~~~~~~~~~~ C64.cpp:273:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 273 | ShowRequester("RAM save failed.", "OK", NULL); | ^~~~ C64.cpp: In member function 'void C64::SaveSnapshot(char*)': C64.cpp:524:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 524 | ShowRequester("Unable to open snapshot file", "OK", NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C64.cpp:524:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 524 | ShowRequester("Unable to open snapshot file", "OK", NULL); | ^~~~ C64.cpp: In member function 'bool C64::LoadSnapshot(char*)': C64.cpp:607:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 607 | ShowRequester("Unknown snapshot format", "OK", NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~ C64.cpp:607:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 607 | ShowRequester("Unknown snapshot format", "OK", NULL); | ^~~~ C64.cpp:675:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 675 | ShowRequester("Error reading snapshot file", "OK", NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C64.cpp:675:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 675 | ShowRequester("Error reading snapshot file", "OK", NULL); | ^~~~ C64.cpp:682:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 682 | ShowRequester("Not a Frodo snapshot file", "OK", NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ C64.cpp:682:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 682 | ShowRequester("Not a Frodo snapshot file", "OK", NULL); | ^~~~ C64.cpp:686:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 686 | ShowRequester("Can't open snapshot file", "OK", NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ C64.cpp:686:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 686 | ShowRequester("Can't open snapshot file", "OK", NULL); | ^~~~ make: Leaving directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' make: Entering directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_SDL -DREGPARAM="__attribute__((regparm(3)))" -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DFRODO_HOME=\"/usr/share/Frodo/\" -DFRODO_SC -o CIA_SC.o -c CIA_SC.cpp In file included from CIA_SC.cpp:34: CPU1541.h: In member function 'void MOS6502_1541::NewATNState()': CPU1541.h:254:69: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 254 | IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 // DATA (incl. ATN acknowledge) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ CIA_SC.cpp: In member function 'uint8 MOS6526_2::ReadRegister(uint16)': CIA_SC.cpp:250:46: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 250 | return (pra | ~ddra) & 0x3f | ~~~~~~~~~~~~~~^~~~~~ CIA_SC.cpp: In member function 'void MOS6526_1::check_lp()': CIA_SC.cpp:284:34: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 284 | if ((prb | ~ddrb) & 0x10 != prev_lp) | ~~~~~^~~~~~~~~~ CIA_SC.cpp: In member function 'void MOS6526_2::WriteRegister(uint16, uint8)': CIA_SC.cpp:385:49: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 385 | IECLines = (~byte << 2) & 0x80 // DATA | ~~~~~~~~~~~~~^~~~~~ CIA_SC.cpp:387:48: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 387 | | (~byte << 1) & 0x10; // ATN | ~~~~~~~~~~~~~^~~~~~ CIA_SC.cpp: In member function 'void MOS6526::CountTOD()': CIA_SC.cpp:723:65: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] 723 | tod_hr = tod_hr & 0x80 ^ 0x80; | ~~~~~~~^~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' make: Entering directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_SDL -DREGPARAM="__attribute__((regparm(3)))" -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DFRODO_HOME=\"/usr/share/Frodo/\" -o CPUC64.o -c CPUC64.cpp CPUC64.cpp: In member function 'uint8 MOS6510::read_byte_io(uint16)': CPUC64.cpp:170:89: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 170 | return color_ram[adr & 0x03ff] | rand() & 0xf0; | ~~~~~~~^~~~~~ CPUC64.cpp: In member function 'void MOS6510::illegal_op(uint8, uint16)': CPUC64.cpp:695:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 695 | ShowRequester(illop_msg, "Reset"); | ^~~~~~~ CPUC64.cpp: In member function 'void MOS6510::illegal_jump(uint16, uint16)': CPUC64.cpp:710:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 710 | 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] 724 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPUC64.cpp:767:25: note: in expansion of macro 'push_byte' 767 | push_byte((pc-pc_base) >> 8); push_byte(pc-pc_base); | ^~~~~~~~~ CPUC64.cpp:724:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 724 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPUC64.cpp:767:55: note: in expansion of macro 'push_byte' 767 | push_byte((pc-pc_base) >> 8); push_byte(pc-pc_base); | ^~~~~~~~~ CPUC64.cpp:724:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 724 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPUC64.cpp:744:9: note: in expansion of macro 'push_byte' 744 | push_byte(tmp); | ^~~~~~~~~ CPUC64.cpp:771:25: note: in expansion of macro 'push_flags' 771 | push_flags(false); | ^~~~~~~~~~ CPUC64.cpp:724:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 724 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPUC64.cpp:778:25: note: in expansion of macro 'push_byte' 778 | push_byte((pc-pc_base) >> 8); push_byte(pc-pc_base); | ^~~~~~~~~ CPUC64.cpp:724:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 724 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPUC64.cpp:778:55: note: in expansion of macro 'push_byte' 778 | push_byte((pc-pc_base) >> 8); push_byte(pc-pc_base); | ^~~~~~~~~ CPUC64.cpp:724:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 724 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPUC64.cpp:744:9: note: in expansion of macro 'push_byte' 744 | push_byte(tmp); | ^~~~~~~~~ CPUC64.cpp:782:25: note: in expansion of macro 'push_flags' 782 | push_flags(false); | ^~~~~~~~~~ In file included from CPUC64.cpp:789: CPU_emulline.i:388:29: warning: operation on 'adr' may be undefined [-Wsequence-point] 388 | adr = read_adr_abs_x(); | ^ CPU_emulline.i:408:29: warning: operation on 'adr' may be undefined [-Wsequence-point] 408 | adr = read_adr_abs_x(); | ^ CPU_emulline.i:528:36: warning: operation on 'adr' may be undefined [-Wsequence-point] 528 | set_nz(adr = a - read_byte_abs()); | ^ CPU_emulline.i:99:39: note: in definition of macro 'set_nz' 99 | #define set_nz(x) (z_flag = n_flag = (x)) | ^ CPU_emulline.i:533:36: warning: operation on 'adr' may be undefined [-Wsequence-point] 533 | set_nz(adr = a - read_byte_abs_x()); | ^ CPU_emulline.i:99:39: note: in definition of macro 'set_nz' 99 | #define set_nz(x) (z_flag = n_flag = (x)) | ^ CPU_emulline.i:538:36: warning: operation on 'adr' may be undefined [-Wsequence-point] 538 | set_nz(adr = a - read_byte_abs_y()); | ^ CPU_emulline.i:99:39: note: in definition of macro 'set_nz' 99 | #define set_nz(x) (z_flag = n_flag = (x)) | ^ CPU_emulline.i:563:36: warning: operation on 'adr' may be undefined [-Wsequence-point] 563 | set_nz(adr = x - read_byte_abs()); | ^ CPU_emulline.i:99:39: note: in definition of macro 'set_nz' 99 | #define set_nz(x) (z_flag = n_flag = (x)) | ^ CPU_emulline.i:578:36: warning: operation on 'adr' may be undefined [-Wsequence-point] 578 | set_nz(adr = y - read_byte_abs()); | ^ CPU_emulline.i:99:39: note: in definition of macro 'set_nz' 99 | #define set_nz(x) (z_flag = n_flag = (x)) | ^ CPU_emulline.i:622:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 622 | tmp = read_byte(adr = read_adr_abs_x()); | ^ CPU_emulline.i:651:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 651 | tmp = read_byte(adr = read_adr_abs_x()); | ^ CPU_emulline.i:684:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 684 | tmp = read_byte(adr = read_adr_abs_x()); | ^ CPU_emulline.i:718:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 718 | tmp = read_byte(adr = read_adr_abs_x()); | ^ CPUC64.cpp:724:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 724 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPU_emulline.i:727:25: note: in expansion of macro 'push_byte' 727 | push_byte(a); | ^~~~~~~~~ CPUC64.cpp:724:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 724 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPUC64.cpp:744:9: note: in expansion of macro 'push_byte' 744 | push_byte(tmp); | ^~~~~~~~~ CPU_emulline.i:735:25: note: in expansion of macro 'push_flags' 735 | push_flags(true); | ^~~~~~~~~~ CPU_emulline.i:752:68: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 752 | 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] 724 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPU_emulline.i:757:25: note: in expansion of macro 'push_byte' 757 | 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] 724 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPU_emulline.i:757:57: note: in expansion of macro 'push_byte' 757 | 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] 724 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPU_emulline.i:779:25: note: in expansion of macro 'push_byte' 779 | 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] 724 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPU_emulline.i:779:57: note: in expansion of macro 'push_byte' 779 | 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] 724 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPUC64.cpp:744:9: note: in expansion of macro 'push_byte' 744 | push_byte(tmp); | ^~~~~~~~~ CPU_emulline.i:783:25: note: in expansion of macro 'push_flags' 783 | push_flags(true); | ^~~~~~~~~~ CPU_emulline.i:1021:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1021 | tmp = read_byte(adr = read_adr_abs_x()); | ^ CPU_emulline.i:1027:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1027 | tmp = read_byte(adr = read_adr_abs_y()); | ^ CPU_emulline.i:1071:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1071 | tmp = read_byte(adr = read_adr_abs_x()); | ^ CPU_emulline.i:1077:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1077 | tmp = read_byte(adr = read_adr_abs_y()); | ^ CPU_emulline.i:1120:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1120 | tmp = read_byte(adr = read_adr_abs_x()); | ^ CPU_emulline.i:1126:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1126 | tmp = read_byte(adr = read_adr_abs_y()); | ^ CPU_emulline.i:1170:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1170 | tmp = read_byte(adr = read_adr_abs_x()); | ^ CPU_emulline.i:1176:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1176 | tmp = read_byte(adr = read_adr_abs_y()); | ^ CPU_emulline.i:1218:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1218 | tmp = read_byte(adr = read_adr_abs_x()) - 1; | ^ CPU_emulline.i:1224:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1224 | tmp = read_byte(adr = read_adr_abs_y()) - 1; | ^ CPU_emulline.i:1262:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1262 | tmp = read_byte(adr = read_adr_abs_x()) + 1; | ^ CPU_emulline.i:1268:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1268 | tmp = read_byte(adr = read_adr_abs_y()) + 1; | ^ CPU_emulline.i:1311:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1311 | a = a & 0xf0 | (a + 6) & 0x0f; | ~~^~~~~~ CPU_emulline.i:1312:44: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1312 | if (c_flag = ((tmp2 + (tmp2 & 0x10)) & 0x1f0) > 0x50) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' make: Entering directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_SDL -DREGPARAM="__attribute__((regparm(3)))" -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DFRODO_HOME=\"/usr/share/Frodo/\" -o SID.o -c SID.cpp SID.cpp: In member function 'virtual void DigitalRenderer::WriteRegister(uint16, uint8)': SID.cpp:946:28: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 946 | if ((byte & 1) != voice[v].gate) | ^ SID.cpp: In member function 'void DigitalRenderer::calc_filter()': SID.cpp:1122:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1122 | if (fabs(g1) >= g2 + 1.0) | ^ In file included from SID.cpp:1355: SID_linux.i: In member function 'virtual void DigitalRenderer::EmulateLine()': SID_linux.i:101:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 101 | if (!ready) | ^~ SID_linux.i:104:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 104 | sample_buf[sample_in_ptr] = volume; | ^~~~~~~~~~ SID_linux.i:122:14: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 122 | write(devfd, sound_buffer, sndbufsize*2); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' make: Entering directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_SDL -DREGPARAM="__attribute__((regparm(3)))" -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DFRODO_HOME=\"/usr/share/Frodo/\" -DFRODO_SC -o CPUC64_SC.o -c CPUC64_SC.cpp CPUC64_SC.cpp: In member function 'uint8 MOS6510::read_byte_io(uint16)': CPUC64_SC.cpp:231:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 231 | return color_ram[adr & 0x03ff] & 0x0f | TheVIC->LastVICByte & 0xf0; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ CPUC64_SC.cpp: In member function 'void MOS6510::illegal_op(uint8, uint16)': CPUC64_SC.cpp:560:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 560 | ShowRequester(illop_msg, "Reset"); | ^~~~~~~ In file included from CPUC64_SC.cpp:597: CPU_emulcycle.i: In member function 'void MOS6510::EmulateCycle()': CPU_emulcycle.i:189:39: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 189 | ar = (ar + x) & 0xff | (ar2 << 8); | ~~~~~~~~~^~~~~~ CPU_emulcycle.i:209:39: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 209 | ar = (ar + y) & 0xff | (ar2 << 8); | ~~~~~~~~~^~~~~~ CPU_emulcycle.i:251:39: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 251 | ar = (ar + y) & 0xff | (ar2 << 8); | ~~~~~~~~~^~~~~~ CPU_emulcycle.i:270:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 270 | ar = (ar + x) & 0xff | (data << 8); | ~~~~~~~~~^~~~~~ CPU_emulcycle.i:273:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 273 | ar = (ar + x) & 0xff | (data << 8); | ~~~~~~~~~^~~~~~ CPU_emulcycle.i:289:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 289 | ar = (ar + y) & 0xff | (data << 8); | ~~~~~~~~~^~~~~~ CPU_emulcycle.i:292:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 292 | ar = (ar + y) & 0xff | (data << 8); | ~~~~~~~~~^~~~~~ CPU_emulcycle.i:312:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 312 | ar = (ar + y) & 0xff | (data << 8); | ~~~~~~~~~^~~~~~ CPU_emulcycle.i:315:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 315 | ar = (ar + y) & 0xff | (data << 8); | ~~~~~~~~~^~~~~~ CPU_emulcycle.i:367:39: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 367 | ar = (ar + x) & 0xff | (data << 8); | ~~~~~~~~~^~~~~~ CPU_emulcycle.i:387:39: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 387 | ar = (ar + y) & 0xff | (data << 8); | ~~~~~~~~~^~~~~~ CPU_emulcycle.i:429:39: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 429 | ar = (ar + y) & 0xff | (data << 8); | ~~~~~~~~~^~~~~~ CPU_emulcycle.i:747:42: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 747 | read_to((ar + 1) & 0xff | ar & 0xff00, data); | ~~~~~~~~~^~~~~~ CPUC64_SC.cpp:574:24: note: in definition of macro 'read_to' 574 | to = read_byte(adr); | ^~~ CPU_emulcycle.i:1059:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1059 | a = a & 0xf0 | (a + 6) & 0x0f; | ~~^~~~~~ CPU_emulcycle.i:1060:44: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1060 | if (c_flag = ((data + (data & 0x10)) & 0x1f0) > 0x50) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' make: Entering directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_SDL -DREGPARAM="__attribute__((regparm(3)))" -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DFRODO_HOME=\"/usr/share/Frodo/\" -DFRODO_SC -o VIC_SC.o -c VIC_SC.cpp VIC_SC.cpp: In member function 'void MOS6569::ReInitColors()': VIC_SC.cpp:328:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 328 | for (int x = 0; x < sizeof(border_color_sample); x++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ VIC_SC.cpp: In member function 'bool MOS6569::EmulateCycle()': VIC_SC.cpp:1478:60: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1478 | spr_data[num][bytenum] = read_byte(mc[num] & 0x3f | spr_ptr[num]); \ | ~~~~~~~~^~~~~~ VIC_SC.cpp:1532:25: note: in expansion of macro 'SprDataAccess' 1532 | SprDataAccess(3, 0); | ^~~~~~~~~~~~~ VIC_SC.cpp:1478:60: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1478 | spr_data[num][bytenum] = read_byte(mc[num] & 0x3f | spr_ptr[num]); \ | ~~~~~~~~^~~~~~ VIC_SC.cpp:1575:25: note: in expansion of macro 'SprDataAccess' 1575 | SprDataAccess(3,1); | ^~~~~~~~~~~~~ VIC_SC.cpp:1478:60: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1478 | spr_data[num][bytenum] = read_byte(mc[num] & 0x3f | spr_ptr[num]); \ | ~~~~~~~~^~~~~~ VIC_SC.cpp:1576:25: note: in expansion of macro 'SprDataAccess' 1576 | SprDataAccess(3,2); | ^~~~~~~~~~~~~ VIC_SC.cpp:1478:60: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1478 | spr_data[num][bytenum] = read_byte(mc[num] & 0x3f | spr_ptr[num]); \ | ~~~~~~~~^~~~~~ VIC_SC.cpp:1585:25: note: in expansion of macro 'SprDataAccess' 1585 | SprDataAccess(4, 0); | ^~~~~~~~~~~~~ VIC_SC.cpp:1478:60: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1478 | spr_data[num][bytenum] = read_byte(mc[num] & 0x3f | spr_ptr[num]); \ | ~~~~~~~~^~~~~~ VIC_SC.cpp:1593:25: note: in expansion of macro 'SprDataAccess' 1593 | SprDataAccess(4, 1); | ^~~~~~~~~~~~~ VIC_SC.cpp:1478:60: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1478 | spr_data[num][bytenum] = read_byte(mc[num] & 0x3f | spr_ptr[num]); \ | ~~~~~~~~^~~~~~ VIC_SC.cpp:1594:25: note: in expansion of macro 'SprDataAccess' 1594 | SprDataAccess(4, 2); | ^~~~~~~~~~~~~ VIC_SC.cpp:1478:60: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1478 | spr_data[num][bytenum] = read_byte(mc[num] & 0x3f | spr_ptr[num]); \ | ~~~~~~~~^~~~~~ VIC_SC.cpp:1603:25: note: in expansion of macro 'SprDataAccess' 1603 | SprDataAccess(5, 0); | ^~~~~~~~~~~~~ VIC_SC.cpp:1478:60: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1478 | spr_data[num][bytenum] = read_byte(mc[num] & 0x3f | spr_ptr[num]); \ | ~~~~~~~~^~~~~~ VIC_SC.cpp:1611:25: note: in expansion of macro 'SprDataAccess' 1611 | SprDataAccess(5, 1); | ^~~~~~~~~~~~~ VIC_SC.cpp:1478:60: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1478 | spr_data[num][bytenum] = read_byte(mc[num] & 0x3f | spr_ptr[num]); \ | ~~~~~~~~^~~~~~ VIC_SC.cpp:1612:25: note: in expansion of macro 'SprDataAccess' 1612 | SprDataAccess(5, 2); | ^~~~~~~~~~~~~ VIC_SC.cpp:1478:60: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1478 | spr_data[num][bytenum] = read_byte(mc[num] & 0x3f | spr_ptr[num]); \ | ~~~~~~~~^~~~~~ VIC_SC.cpp:1621:25: note: in expansion of macro 'SprDataAccess' 1621 | SprDataAccess(6, 0); | ^~~~~~~~~~~~~ VIC_SC.cpp:1478:60: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1478 | spr_data[num][bytenum] = read_byte(mc[num] & 0x3f | spr_ptr[num]); \ | ~~~~~~~~^~~~~~ VIC_SC.cpp:1629:25: note: in expansion of macro 'SprDataAccess' 1629 | SprDataAccess(6, 1); | ^~~~~~~~~~~~~ VIC_SC.cpp:1478:60: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1478 | spr_data[num][bytenum] = read_byte(mc[num] & 0x3f | spr_ptr[num]); \ | ~~~~~~~~^~~~~~ VIC_SC.cpp:1630:25: note: in expansion of macro 'SprDataAccess' 1630 | SprDataAccess(6, 2); | ^~~~~~~~~~~~~ VIC_SC.cpp:1478:60: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1478 | spr_data[num][bytenum] = read_byte(mc[num] & 0x3f | spr_ptr[num]); \ | ~~~~~~~~^~~~~~ VIC_SC.cpp:1637:25: note: in expansion of macro 'SprDataAccess' 1637 | SprDataAccess(7, 0); | ^~~~~~~~~~~~~ VIC_SC.cpp:1478:60: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1478 | spr_data[num][bytenum] = read_byte(mc[num] & 0x3f | spr_ptr[num]); \ | ~~~~~~~~^~~~~~ VIC_SC.cpp:1645:25: note: in expansion of macro 'SprDataAccess' 1645 | SprDataAccess(7, 1); | ^~~~~~~~~~~~~ VIC_SC.cpp:1478:60: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1478 | spr_data[num][bytenum] = read_byte(mc[num] & 0x3f | spr_ptr[num]); \ | ~~~~~~~~^~~~~~ VIC_SC.cpp:1646:25: note: in expansion of macro 'SprDataAccess' 1646 | SprDataAccess(7, 2); | ^~~~~~~~~~~~~ VIC_SC.cpp:1478:60: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1478 | spr_data[num][bytenum] = read_byte(mc[num] & 0x3f | spr_ptr[num]); \ | ~~~~~~~~^~~~~~ VIC_SC.cpp:1861:25: note: in expansion of macro 'SprDataAccess' 1861 | SprDataAccess(0, 0); | ^~~~~~~~~~~~~ VIC_SC.cpp:1478:60: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1478 | spr_data[num][bytenum] = read_byte(mc[num] & 0x3f | spr_ptr[num]); \ | ~~~~~~~~^~~~~~ VIC_SC.cpp:1877:25: note: in expansion of macro 'SprDataAccess' 1877 | SprDataAccess(0, 1); | ^~~~~~~~~~~~~ VIC_SC.cpp:1478:60: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1478 | spr_data[num][bytenum] = read_byte(mc[num] & 0x3f | spr_ptr[num]); \ | ~~~~~~~~^~~~~~ VIC_SC.cpp:1878:25: note: in expansion of macro 'SprDataAccess' 1878 | SprDataAccess(0, 2); | ^~~~~~~~~~~~~ VIC_SC.cpp:1478:60: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1478 | spr_data[num][bytenum] = read_byte(mc[num] & 0x3f | spr_ptr[num]); \ | ~~~~~~~~^~~~~~ VIC_SC.cpp:1936:25: note: in expansion of macro 'SprDataAccess' 1936 | SprDataAccess(1, 0); | ^~~~~~~~~~~~~ VIC_SC.cpp:1478:60: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1478 | spr_data[num][bytenum] = read_byte(mc[num] & 0x3f | spr_ptr[num]); \ | ~~~~~~~~^~~~~~ VIC_SC.cpp:1944:25: note: in expansion of macro 'SprDataAccess' 1944 | SprDataAccess(1, 1); | ^~~~~~~~~~~~~ VIC_SC.cpp:1478:60: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1478 | spr_data[num][bytenum] = read_byte(mc[num] & 0x3f | spr_ptr[num]); \ | ~~~~~~~~^~~~~~ VIC_SC.cpp:1945:25: note: in expansion of macro 'SprDataAccess' 1945 | SprDataAccess(1, 2); | ^~~~~~~~~~~~~ VIC_SC.cpp:1478:60: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1478 | spr_data[num][bytenum] = read_byte(mc[num] & 0x3f | spr_ptr[num]); \ | ~~~~~~~~^~~~~~ VIC_SC.cpp:1954:25: note: in expansion of macro 'SprDataAccess' 1954 | SprDataAccess(2, 0); | ^~~~~~~~~~~~~ VIC_SC.cpp:1478:60: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1478 | spr_data[num][bytenum] = read_byte(mc[num] & 0x3f | spr_ptr[num]); \ | ~~~~~~~~^~~~~~ VIC_SC.cpp:1962:25: note: in expansion of macro 'SprDataAccess' 1962 | SprDataAccess(2, 1); | ^~~~~~~~~~~~~ VIC_SC.cpp:1478:60: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1478 | spr_data[num][bytenum] = read_byte(mc[num] & 0x3f | spr_ptr[num]); \ | ~~~~~~~~^~~~~~ VIC_SC.cpp:1963:25: note: in expansion of macro 'SprDataAccess' 1963 | SprDataAccess(2, 2); | ^~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' make: Entering directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_SDL -DREGPARAM="__attribute__((regparm(3)))" -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DFRODO_HOME=\"/usr/share/Frodo/\" -DFRODO_SC -o CPU1541_SC.o -c CPU1541_SC.cpp In file included from CPU1541_SC.cpp:56: CPU1541.h: In member function 'void MOS6502_1541::NewATNState()': CPU1541.h:254:69: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 254 | IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 // DATA (incl. ATN acknowledge) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ CPU1541_SC.cpp: In member function 'uint8 MOS6502_1541::read_byte_io(uint16)': CPU1541_SC.cpp:200:50: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 200 | return (via1_prb & 0x1a | ~~~~~~~~~^~~~~~ CPU1541_SC.cpp:202:81: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 202 | | ((IECLines & TheCIA2->IECLines) >> 4) & 0x04 // CLK | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ CPU1541_SC.cpp:203:68: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 203 | | (TheCIA2->IECLines << 3) & 0x80) ^ 0x85; // ATN | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ CPU1541_SC.cpp:243:57: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 243 | return via2_prb & 0x7f | the_job->WPState(); | ~~~~~~~~~^~~~~~ CPU1541_SC.cpp: In member function 'void MOS6502_1541::write_byte_io(uint16, uint8)': CPU1541_SC.cpp:323:93: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 323 | IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ CPU1541_SC.cpp:333:93: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 333 | IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ CPU1541_SC.cpp:341:53: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 341 | via1_t1l = via1_t1l & 0xff00 | byte; | ~~~~~~~~~^~~~~~~~ CPU1541_SC.cpp:344:53: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 344 | via1_t1l = via1_t1l & 0xff | (byte << 8); | ~~~~~~~~~^~~~~~ CPU1541_SC.cpp:349:53: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 349 | via1_t1l = via1_t1l & 0xff | (byte << 8); | ~~~~~~~~~^~~~~~ CPU1541_SC.cpp:352:53: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 352 | via1_t2l = via1_t2l & 0xff00 | byte; | ~~~~~~~~~^~~~~~~~ CPU1541_SC.cpp:355:53: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 355 | via1_t2l = via1_t2l & 0xff | (byte << 8); | ~~~~~~~~~^~~~~~ CPU1541_SC.cpp:384:36: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 384 | if ((via2_prb ^ byte) & 3) // Bits 0/1: Stepper motor | ^ CPU1541_SC.cpp:403:53: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 403 | via2_t1l = via2_t1l & 0xff00 | byte; | ~~~~~~~~~^~~~~~~~ CPU1541_SC.cpp:406:53: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 406 | via2_t1l = via2_t1l & 0xff | (byte << 8); | ~~~~~~~~~^~~~~~ CPU1541_SC.cpp:411:53: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 411 | via2_t1l = via2_t1l & 0xff | (byte << 8); | ~~~~~~~~~^~~~~~ CPU1541_SC.cpp:414:53: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 414 | via2_t2l = via2_t2l & 0xff00 | byte; | ~~~~~~~~~^~~~~~~~ CPU1541_SC.cpp:417:53: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 417 | via2_t2l = via2_t2l & 0xff | (byte << 8); | ~~~~~~~~~^~~~~~ CPU1541_SC.cpp: In member function 'void MOS6502_1541::illegal_op(uint8, uint16)': CPU1541_SC.cpp:585:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 585 | if (ShowRequester(illop_msg, "Reset 1541", "Reset C64")) | ^~~~~~~~~~~~ CPU1541_SC.cpp:585:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 585 | if (ShowRequester(illop_msg, "Reset 1541", "Reset C64")) | ^~~~~~~~~~~ In file included from CPU1541_SC.cpp:616: CPU_emulcycle.i: In member function 'void MOS6502_1541::EmulateCycle()': CPU_emulcycle.i:189:39: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 189 | ar = (ar + x) & 0xff | (ar2 << 8); | ~~~~~~~~~^~~~~~ CPU_emulcycle.i:209:39: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 209 | ar = (ar + y) & 0xff | (ar2 << 8); | ~~~~~~~~~^~~~~~ CPU_emulcycle.i:251:39: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 251 | ar = (ar + y) & 0xff | (ar2 << 8); | ~~~~~~~~~^~~~~~ CPU_emulcycle.i:270:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 270 | ar = (ar + x) & 0xff | (data << 8); | ~~~~~~~~~^~~~~~ CPU_emulcycle.i:273:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 273 | ar = (ar + x) & 0xff | (data << 8); | ~~~~~~~~~^~~~~~ CPU_emulcycle.i:289:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 289 | ar = (ar + y) & 0xff | (data << 8); | ~~~~~~~~~^~~~~~ CPU_emulcycle.i:292:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 292 | ar = (ar + y) & 0xff | (data << 8); | ~~~~~~~~~^~~~~~ CPU_emulcycle.i:312:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 312 | ar = (ar + y) & 0xff | (data << 8); | ~~~~~~~~~^~~~~~ CPU_emulcycle.i:315:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 315 | ar = (ar + y) & 0xff | (data << 8); | ~~~~~~~~~^~~~~~ CPU_emulcycle.i:367:39: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 367 | ar = (ar + x) & 0xff | (data << 8); | ~~~~~~~~~^~~~~~ CPU_emulcycle.i:387:39: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 387 | ar = (ar + y) & 0xff | (data << 8); | ~~~~~~~~~^~~~~~ CPU_emulcycle.i:429:39: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 429 | ar = (ar + y) & 0xff | (data << 8); | ~~~~~~~~~^~~~~~ CPU_emulcycle.i:747:42: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 747 | read_to((ar + 1) & 0xff | ar & 0xff00, data); | ~~~~~~~~~^~~~~~ CPU1541_SC.cpp:597:24: note: in definition of macro 'read_to' 597 | to = read_byte(adr); | ^~~ CPU_emulcycle.i:1059:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1059 | a = a & 0xf0 | (a + 6) & 0x0f; | ~~^~~~~~ CPU_emulcycle.i:1060:44: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1060 | if (c_flag = ((data + (data & 0x10)) & 0x1f0) > 0x50) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' make: Entering directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_SDL -DREGPARAM="__attribute__((regparm(3)))" -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DFRODO_HOME=\"/usr/share/Frodo/\" -DPRECISE_CPU_CYCLES=1 -DPRECISE_CIA_CYCLES=1 -DPC_IS_POINTER=0 -o CPU1541_PC.o -c CPU1541_PC.cpp In file included from CPU1541.cpp:64, from CPU1541_PC.cpp:11: CPU1541.h: In member function 'void MOS6502_1541::NewATNState()': CPU1541.h:254:69: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 254 | 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:50: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 120 | return (via1_prb & 0x1a | ~~~~~~~~~^~~~~~ CPU1541.cpp:122:81: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 122 | | ((IECLines & TheCIA2->IECLines) >> 4) & 0x04 // CLK | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ CPU1541.cpp:123:68: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 123 | | (TheCIA2->IECLines << 3) & 0x80) ^ 0x85; // ATN | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ CPU1541.cpp:163:57: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 163 | return via2_prb & 0x7f | the_job->WPState(); | ~~~~~~~~~^~~~~~ CPU1541.cpp: In member function 'void MOS6502_1541::write_byte_io(uint16, uint8)': CPU1541.cpp:243:93: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 243 | IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ CPU1541.cpp:253:93: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 253 | IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ CPU1541.cpp:261:53: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 261 | via1_t1l = via1_t1l & 0xff00 | byte; | ~~~~~~~~~^~~~~~~~ CPU1541.cpp:264:53: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 264 | via1_t1l = via1_t1l & 0xff | (byte << 8); | ~~~~~~~~~^~~~~~ CPU1541.cpp:269:53: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 269 | via1_t1l = via1_t1l & 0xff | (byte << 8); | ~~~~~~~~~^~~~~~ CPU1541.cpp:272:53: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 272 | via1_t2l = via1_t2l & 0xff00 | byte; | ~~~~~~~~~^~~~~~~~ CPU1541.cpp:275:53: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 275 | via1_t2l = via1_t2l & 0xff | (byte << 8); | ~~~~~~~~~^~~~~~ CPU1541.cpp:304:36: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 304 | if ((via2_prb ^ byte) & 3) // Bits 0/1: Stepper motor | ^ CPU1541.cpp:323:53: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 323 | via2_t1l = via2_t1l & 0xff00 | byte; | ~~~~~~~~~^~~~~~~~ CPU1541.cpp:326:53: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 326 | via2_t1l = via2_t1l & 0xff | (byte << 8); | ~~~~~~~~~^~~~~~ CPU1541.cpp:331:53: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 331 | via2_t1l = via2_t1l & 0xff | (byte << 8); | ~~~~~~~~~^~~~~~ CPU1541.cpp:334:53: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 334 | via2_t2l = via2_t2l & 0xff00 | byte; | ~~~~~~~~~^~~~~~~~ CPU1541.cpp:337:53: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 337 | via2_t2l = via2_t2l & 0xff | (byte << 8); | ~~~~~~~~~^~~~~~ CPU1541.cpp: In member function 'void MOS6502_1541::illegal_op(uint8, uint16)': CPU1541.cpp:651:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 651 | if (ShowRequester(illop_msg, "Reset 1541", "Reset C64")) | ^~~~~~~~~~~~ CPU1541.cpp:651:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 651 | if (ShowRequester(illop_msg, "Reset 1541", "Reset C64")) | ^~~~~~~~~~~ CPU1541.cpp: In member function 'void MOS6502_1541::illegal_jump(uint16, uint16)': CPU1541.cpp:666:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 666 | if (ShowRequester(illop_msg, "Reset 1541", "Reset C64")) | ^~~~~~~~~~~~ CPU1541.cpp:666:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 666 | if (ShowRequester(illop_msg, "Reset 1541", "Reset C64")) | ^~~~~~~~~~~ CPU1541.cpp: In member function 'int MOS6502_1541::EmulateLine(int)': CPU1541.cpp:680:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 680 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPU1541.cpp:724:25: note: in expansion of macro 'push_byte' 724 | push_byte(pc >> 8); push_byte(pc); | ^~~~~~~~~ CPU1541.cpp:680:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 680 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPU1541.cpp:724:45: note: in expansion of macro 'push_byte' 724 | push_byte(pc >> 8); push_byte(pc); | ^~~~~~~~~ CPU1541.cpp:680:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 680 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPU1541.cpp:700:9: note: in expansion of macro 'push_byte' 700 | push_byte(tmp); | ^~~~~~~~~ CPU1541.cpp:726:25: note: in expansion of macro 'push_flags' 726 | push_flags(false); | ^~~~~~~~~~ In file included from CPU1541.cpp:734: CPU_emulline.i:388:29: warning: operation on 'adr' may be undefined [-Wsequence-point] 388 | adr = read_adr_abs_x(); | ^ CPU_emulline.i:408:29: warning: operation on 'adr' may be undefined [-Wsequence-point] 408 | adr = read_adr_abs_x(); | ^ CPU_emulline.i:528:36: warning: operation on 'adr' may be undefined [-Wsequence-point] 528 | set_nz(adr = a - read_byte_abs()); | ^ CPU_emulline.i:99:39: note: in definition of macro 'set_nz' 99 | #define set_nz(x) (z_flag = n_flag = (x)) | ^ CPU_emulline.i:533:36: warning: operation on 'adr' may be undefined [-Wsequence-point] 533 | set_nz(adr = a - read_byte_abs_x()); | ^ CPU_emulline.i:99:39: note: in definition of macro 'set_nz' 99 | #define set_nz(x) (z_flag = n_flag = (x)) | ^ CPU_emulline.i:538:36: warning: operation on 'adr' may be undefined [-Wsequence-point] 538 | set_nz(adr = a - read_byte_abs_y()); | ^ CPU_emulline.i:99:39: note: in definition of macro 'set_nz' 99 | #define set_nz(x) (z_flag = n_flag = (x)) | ^ CPU_emulline.i:548:36: warning: operation on 'adr' may be undefined [-Wsequence-point] 548 | set_nz(adr = a - read_byte_ind_y()); | ^ CPU_emulline.i:99:39: note: in definition of macro 'set_nz' 99 | #define set_nz(x) (z_flag = n_flag = (x)) | ^ CPU_emulline.i:563:36: warning: operation on 'adr' may be undefined [-Wsequence-point] 563 | set_nz(adr = x - read_byte_abs()); | ^ CPU_emulline.i:99:39: note: in definition of macro 'set_nz' 99 | #define set_nz(x) (z_flag = n_flag = (x)) | ^ CPU_emulline.i:578:36: warning: operation on 'adr' may be undefined [-Wsequence-point] 578 | set_nz(adr = y - read_byte_abs()); | ^ CPU_emulline.i:99:39: note: in definition of macro 'set_nz' 99 | #define set_nz(x) (z_flag = n_flag = (x)) | ^ CPU_emulline.i:622:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 622 | tmp = read_byte(adr = read_adr_abs_x()); | ^ CPU_emulline.i:651:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 651 | tmp = read_byte(adr = read_adr_abs_x()); | ^ CPU_emulline.i:684:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 684 | tmp = read_byte(adr = read_adr_abs_x()); | ^ CPU_emulline.i:718:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 718 | tmp = read_byte(adr = read_adr_abs_x()); | ^ CPU1541.cpp:680:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 680 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPU_emulline.i:727:25: note: in expansion of macro 'push_byte' 727 | push_byte(a); | ^~~~~~~~~ CPU1541.cpp:680:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 680 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPU1541.cpp:700:9: note: in expansion of macro 'push_byte' 700 | push_byte(tmp); | ^~~~~~~~~ CPU_emulline.i:735:25: note: in expansion of macro 'push_flags' 735 | push_flags(true); | ^~~~~~~~~~ CPU_emulline.i:752:68: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 752 | 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] 680 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPU_emulline.i:759:25: note: in expansion of macro 'push_byte' 759 | push_byte(pc+1 >> 8); push_byte(pc+1); | ^~~~~~~~~ CPU_emulline.i:759:37: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] 759 | push_byte(pc+1 >> 8); push_byte(pc+1); | ~~^~ CPU1541.cpp:680:57: note: in definition of macro 'push_byte' 680 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ^~~~ CPU1541.cpp:680:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 680 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPU_emulline.i:759:47: note: in expansion of macro 'push_byte' 759 | push_byte(pc+1 >> 8); push_byte(pc+1); | ^~~~~~~~~ CPU1541.cpp:680:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 680 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPU_emulline.i:781:25: note: in expansion of macro 'push_byte' 781 | push_byte((pc+1) >> 8); push_byte(pc+1); | ^~~~~~~~~ CPU1541.cpp:680:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 680 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPU_emulline.i:781:49: note: in expansion of macro 'push_byte' 781 | push_byte((pc+1) >> 8); push_byte(pc+1); | ^~~~~~~~~ CPU1541.cpp:680:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 680 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPU1541.cpp:700:9: note: in expansion of macro 'push_byte' 700 | push_byte(tmp); | ^~~~~~~~~ CPU_emulline.i:783:25: note: in expansion of macro 'push_flags' 783 | push_flags(true); | ^~~~~~~~~~ CPU_emulline.i:1021:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1021 | tmp = read_byte(adr = read_adr_abs_x()); | ^ CPU_emulline.i:1027:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1027 | tmp = read_byte(adr = read_adr_abs_y()); | ^ CPU_emulline.i:1071:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1071 | tmp = read_byte(adr = read_adr_abs_x()); | ^ CPU_emulline.i:1077:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1077 | tmp = read_byte(adr = read_adr_abs_y()); | ^ CPU_emulline.i:1120:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1120 | tmp = read_byte(adr = read_adr_abs_x()); | ^ CPU_emulline.i:1126:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1126 | tmp = read_byte(adr = read_adr_abs_y()); | ^ CPU_emulline.i:1170:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1170 | tmp = read_byte(adr = read_adr_abs_x()); | ^ CPU_emulline.i:1176:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1176 | tmp = read_byte(adr = read_adr_abs_y()); | ^ CPU_emulline.i:1218:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1218 | tmp = read_byte(adr = read_adr_abs_x()) - 1; | ^ CPU_emulline.i:1224:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1224 | tmp = read_byte(adr = read_adr_abs_y()) - 1; | ^ CPU_emulline.i:1262:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1262 | tmp = read_byte(adr = read_adr_abs_x()) + 1; | ^ CPU_emulline.i:1268:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1268 | tmp = read_byte(adr = read_adr_abs_y()) + 1; | ^ CPU_emulline.i:1311:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1311 | a = a & 0xf0 | (a + 6) & 0x0f; | ~~^~~~~~ CPU_emulline.i:1312:44: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1312 | if (c_flag = ((tmp2 + (tmp2 & 0x10)) & 0x1f0) > 0x50) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' make: Entering directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_SDL -DREGPARAM="__attribute__((regparm(3)))" -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DFRODO_HOME=\"/usr/share/Frodo/\" -o CPU1541.o -c CPU1541.cpp In file included from CPU1541.cpp:64: CPU1541.h: In member function 'void MOS6502_1541::NewATNState()': CPU1541.h:254:69: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 254 | 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:50: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 120 | return (via1_prb & 0x1a | ~~~~~~~~~^~~~~~ CPU1541.cpp:122:81: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 122 | | ((IECLines & TheCIA2->IECLines) >> 4) & 0x04 // CLK | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ CPU1541.cpp:123:68: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 123 | | (TheCIA2->IECLines << 3) & 0x80) ^ 0x85; // ATN | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ CPU1541.cpp:163:57: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 163 | return via2_prb & 0x7f | the_job->WPState(); | ~~~~~~~~~^~~~~~ CPU1541.cpp: In member function 'void MOS6502_1541::write_byte_io(uint16, uint8)': CPU1541.cpp:243:93: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 243 | IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ CPU1541.cpp:253:93: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 253 | IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ CPU1541.cpp:261:53: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 261 | via1_t1l = via1_t1l & 0xff00 | byte; | ~~~~~~~~~^~~~~~~~ CPU1541.cpp:264:53: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 264 | via1_t1l = via1_t1l & 0xff | (byte << 8); | ~~~~~~~~~^~~~~~ CPU1541.cpp:269:53: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 269 | via1_t1l = via1_t1l & 0xff | (byte << 8); | ~~~~~~~~~^~~~~~ CPU1541.cpp:272:53: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 272 | via1_t2l = via1_t2l & 0xff00 | byte; | ~~~~~~~~~^~~~~~~~ CPU1541.cpp:275:53: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 275 | via1_t2l = via1_t2l & 0xff | (byte << 8); | ~~~~~~~~~^~~~~~ CPU1541.cpp:304:36: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 304 | if ((via2_prb ^ byte) & 3) // Bits 0/1: Stepper motor | ^ CPU1541.cpp:323:53: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 323 | via2_t1l = via2_t1l & 0xff00 | byte; | ~~~~~~~~~^~~~~~~~ CPU1541.cpp:326:53: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 326 | via2_t1l = via2_t1l & 0xff | (byte << 8); | ~~~~~~~~~^~~~~~ CPU1541.cpp:331:53: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 331 | via2_t1l = via2_t1l & 0xff | (byte << 8); | ~~~~~~~~~^~~~~~ CPU1541.cpp:334:53: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 334 | via2_t2l = via2_t2l & 0xff00 | byte; | ~~~~~~~~~^~~~~~~~ CPU1541.cpp:337:53: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 337 | via2_t2l = via2_t2l & 0xff | (byte << 8); | ~~~~~~~~~^~~~~~ CPU1541.cpp: In member function 'void MOS6502_1541::illegal_op(uint8, uint16)': CPU1541.cpp:651:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 651 | if (ShowRequester(illop_msg, "Reset 1541", "Reset C64")) | ^~~~~~~~~~~~ CPU1541.cpp:651:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 651 | if (ShowRequester(illop_msg, "Reset 1541", "Reset C64")) | ^~~~~~~~~~~ CPU1541.cpp: In member function 'void MOS6502_1541::illegal_jump(uint16, uint16)': CPU1541.cpp:666:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 666 | if (ShowRequester(illop_msg, "Reset 1541", "Reset C64")) | ^~~~~~~~~~~~ CPU1541.cpp:666:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 666 | if (ShowRequester(illop_msg, "Reset 1541", "Reset C64")) | ^~~~~~~~~~~ CPU1541.cpp: In member function 'int MOS6502_1541::EmulateLine(int)': CPU1541.cpp:680:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 680 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPU1541.cpp:722:25: note: in expansion of macro 'push_byte' 722 | push_byte((pc-pc_base) >> 8); push_byte(pc-pc_base); | ^~~~~~~~~ CPU1541.cpp:680:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 680 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPU1541.cpp:722:55: note: in expansion of macro 'push_byte' 722 | push_byte((pc-pc_base) >> 8); push_byte(pc-pc_base); | ^~~~~~~~~ CPU1541.cpp:680:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 680 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPU1541.cpp:700:9: note: in expansion of macro 'push_byte' 700 | push_byte(tmp); | ^~~~~~~~~ CPU1541.cpp:726:25: note: in expansion of macro 'push_flags' 726 | push_flags(false); | ^~~~~~~~~~ In file included from CPU1541.cpp:734: CPU_emulline.i:388:29: warning: operation on 'adr' may be undefined [-Wsequence-point] 388 | adr = read_adr_abs_x(); | ^ CPU_emulline.i:408:29: warning: operation on 'adr' may be undefined [-Wsequence-point] 408 | adr = read_adr_abs_x(); | ^ CPU_emulline.i:528:36: warning: operation on 'adr' may be undefined [-Wsequence-point] 528 | set_nz(adr = a - read_byte_abs()); | ^ CPU_emulline.i:99:39: note: in definition of macro 'set_nz' 99 | #define set_nz(x) (z_flag = n_flag = (x)) | ^ CPU_emulline.i:533:36: warning: operation on 'adr' may be undefined [-Wsequence-point] 533 | set_nz(adr = a - read_byte_abs_x()); | ^ CPU_emulline.i:99:39: note: in definition of macro 'set_nz' 99 | #define set_nz(x) (z_flag = n_flag = (x)) | ^ CPU_emulline.i:538:36: warning: operation on 'adr' may be undefined [-Wsequence-point] 538 | set_nz(adr = a - read_byte_abs_y()); | ^ CPU_emulline.i:99:39: note: in definition of macro 'set_nz' 99 | #define set_nz(x) (z_flag = n_flag = (x)) | ^ CPU_emulline.i:563:36: warning: operation on 'adr' may be undefined [-Wsequence-point] 563 | set_nz(adr = x - read_byte_abs()); | ^ CPU_emulline.i:99:39: note: in definition of macro 'set_nz' 99 | #define set_nz(x) (z_flag = n_flag = (x)) | ^ CPU_emulline.i:578:36: warning: operation on 'adr' may be undefined [-Wsequence-point] 578 | set_nz(adr = y - read_byte_abs()); | ^ CPU_emulline.i:99:39: note: in definition of macro 'set_nz' 99 | #define set_nz(x) (z_flag = n_flag = (x)) | ^ CPU_emulline.i:622:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 622 | tmp = read_byte(adr = read_adr_abs_x()); | ^ CPU_emulline.i:651:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 651 | tmp = read_byte(adr = read_adr_abs_x()); | ^ CPU_emulline.i:684:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 684 | tmp = read_byte(adr = read_adr_abs_x()); | ^ CPU_emulline.i:718:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 718 | tmp = read_byte(adr = read_adr_abs_x()); | ^ CPU1541.cpp:680:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 680 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPU_emulline.i:727:25: note: in expansion of macro 'push_byte' 727 | push_byte(a); | ^~~~~~~~~ CPU1541.cpp:680:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 680 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPU1541.cpp:700:9: note: in expansion of macro 'push_byte' 700 | push_byte(tmp); | ^~~~~~~~~ CPU_emulline.i:735:25: note: in expansion of macro 'push_flags' 735 | push_flags(true); | ^~~~~~~~~~ CPU_emulline.i:752:68: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 752 | 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] 680 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPU_emulline.i:757:25: note: in expansion of macro 'push_byte' 757 | 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] 680 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPU_emulline.i:757:57: note: in expansion of macro 'push_byte' 757 | 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] 680 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPU_emulline.i:779:25: note: in expansion of macro 'push_byte' 779 | 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] 680 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPU_emulline.i:779:57: note: in expansion of macro 'push_byte' 779 | 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] 680 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPU1541.cpp:700:9: note: in expansion of macro 'push_byte' 700 | push_byte(tmp); | ^~~~~~~~~ CPU_emulline.i:783:25: note: in expansion of macro 'push_flags' 783 | push_flags(true); | ^~~~~~~~~~ CPU_emulline.i:1021:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1021 | tmp = read_byte(adr = read_adr_abs_x()); | ^ CPU_emulline.i:1027:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1027 | tmp = read_byte(adr = read_adr_abs_y()); | ^ CPU_emulline.i:1071:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1071 | tmp = read_byte(adr = read_adr_abs_x()); | ^ CPU_emulline.i:1077:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1077 | tmp = read_byte(adr = read_adr_abs_y()); | ^ CPU_emulline.i:1120:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1120 | tmp = read_byte(adr = read_adr_abs_x()); | ^ CPU_emulline.i:1126:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1126 | tmp = read_byte(adr = read_adr_abs_y()); | ^ CPU_emulline.i:1170:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1170 | tmp = read_byte(adr = read_adr_abs_x()); | ^ CPU_emulline.i:1176:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1176 | tmp = read_byte(adr = read_adr_abs_y()); | ^ CPU_emulline.i:1218:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1218 | tmp = read_byte(adr = read_adr_abs_x()) - 1; | ^ CPU_emulline.i:1224:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1224 | tmp = read_byte(adr = read_adr_abs_y()) - 1; | ^ CPU_emulline.i:1262:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1262 | tmp = read_byte(adr = read_adr_abs_x()) + 1; | ^ CPU_emulline.i:1268:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1268 | tmp = read_byte(adr = read_adr_abs_y()) + 1; | ^ CPU_emulline.i:1311:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1311 | a = a & 0xf0 | (a + 6) & 0x0f; | ~~^~~~~~ CPU_emulline.i:1312:44: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1312 | if (c_flag = ((tmp2 + (tmp2 & 0x10)) & 0x1f0) > 0x50) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' make: Entering directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_SDL -DREGPARAM="__attribute__((regparm(3)))" -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DFRODO_HOME=\"/usr/share/Frodo/\" -DPRECISE_CPU_CYCLES=1 -DPRECISE_CIA_CYCLES=1 -DPC_IS_POINTER=0 -o CPUC64_PC.o -c CPUC64_PC.cpp In file included from CPUC64_PC.cpp:11: CPUC64.cpp: In member function 'uint8 MOS6510::read_byte_io(uint16)': CPUC64.cpp:170:89: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 170 | return color_ram[adr & 0x03ff] | rand() & 0xf0; | ~~~~~~~^~~~~~ CPUC64.cpp: In member function 'void MOS6510::illegal_op(uint8, uint16)': CPUC64.cpp:695:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 695 | ShowRequester(illop_msg, "Reset"); | ^~~~~~~ CPUC64.cpp: In member function 'void MOS6510::illegal_jump(uint16, uint16)': CPUC64.cpp:710:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 710 | 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] 724 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPUC64.cpp:769:25: note: in expansion of macro 'push_byte' 769 | push_byte(pc >> 8); push_byte(pc); | ^~~~~~~~~ CPUC64.cpp:724:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 724 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPUC64.cpp:769:45: note: in expansion of macro 'push_byte' 769 | push_byte(pc >> 8); push_byte(pc); | ^~~~~~~~~ CPUC64.cpp:724:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 724 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPUC64.cpp:744:9: note: in expansion of macro 'push_byte' 744 | push_byte(tmp); | ^~~~~~~~~ CPUC64.cpp:771:25: note: in expansion of macro 'push_flags' 771 | push_flags(false); | ^~~~~~~~~~ CPUC64.cpp:724:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 724 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPUC64.cpp:780:25: note: in expansion of macro 'push_byte' 780 | push_byte(pc >> 8); push_byte(pc); | ^~~~~~~~~ CPUC64.cpp:724:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 724 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPUC64.cpp:780:45: note: in expansion of macro 'push_byte' 780 | push_byte(pc >> 8); push_byte(pc); | ^~~~~~~~~ CPUC64.cpp:724:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 724 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPUC64.cpp:744:9: note: in expansion of macro 'push_byte' 744 | push_byte(tmp); | ^~~~~~~~~ CPUC64.cpp:782:25: note: in expansion of macro 'push_flags' 782 | push_flags(false); | ^~~~~~~~~~ In file included from CPUC64.cpp:789: CPU_emulline.i:388:29: warning: operation on 'adr' may be undefined [-Wsequence-point] 388 | adr = read_adr_abs_x(); | ^ CPU_emulline.i:408:29: warning: operation on 'adr' may be undefined [-Wsequence-point] 408 | adr = read_adr_abs_x(); | ^ CPU_emulline.i:528:36: warning: operation on 'adr' may be undefined [-Wsequence-point] 528 | set_nz(adr = a - read_byte_abs()); | ^ CPU_emulline.i:99:39: note: in definition of macro 'set_nz' 99 | #define set_nz(x) (z_flag = n_flag = (x)) | ^ CPU_emulline.i:533:36: warning: operation on 'adr' may be undefined [-Wsequence-point] 533 | set_nz(adr = a - read_byte_abs_x()); | ^ CPU_emulline.i:99:39: note: in definition of macro 'set_nz' 99 | #define set_nz(x) (z_flag = n_flag = (x)) | ^ CPU_emulline.i:538:36: warning: operation on 'adr' may be undefined [-Wsequence-point] 538 | set_nz(adr = a - read_byte_abs_y()); | ^ CPU_emulline.i:99:39: note: in definition of macro 'set_nz' 99 | #define set_nz(x) (z_flag = n_flag = (x)) | ^ CPU_emulline.i:548:36: warning: operation on 'adr' may be undefined [-Wsequence-point] 548 | set_nz(adr = a - read_byte_ind_y()); | ^ CPU_emulline.i:99:39: note: in definition of macro 'set_nz' 99 | #define set_nz(x) (z_flag = n_flag = (x)) | ^ CPU_emulline.i:563:36: warning: operation on 'adr' may be undefined [-Wsequence-point] 563 | set_nz(adr = x - read_byte_abs()); | ^ CPU_emulline.i:99:39: note: in definition of macro 'set_nz' 99 | #define set_nz(x) (z_flag = n_flag = (x)) | ^ CPU_emulline.i:578:36: warning: operation on 'adr' may be undefined [-Wsequence-point] 578 | set_nz(adr = y - read_byte_abs()); | ^ CPU_emulline.i:99:39: note: in definition of macro 'set_nz' 99 | #define set_nz(x) (z_flag = n_flag = (x)) | ^ CPU_emulline.i:622:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 622 | tmp = read_byte(adr = read_adr_abs_x()); | ^ CPU_emulline.i:651:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 651 | tmp = read_byte(adr = read_adr_abs_x()); | ^ CPU_emulline.i:684:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 684 | tmp = read_byte(adr = read_adr_abs_x()); | ^ CPU_emulline.i:718:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 718 | tmp = read_byte(adr = read_adr_abs_x()); | ^ CPUC64.cpp:724:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 724 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPU_emulline.i:727:25: note: in expansion of macro 'push_byte' 727 | push_byte(a); | ^~~~~~~~~ CPUC64.cpp:724:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 724 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPUC64.cpp:744:9: note: in expansion of macro 'push_byte' 744 | push_byte(tmp); | ^~~~~~~~~ CPU_emulline.i:735:25: note: in expansion of macro 'push_flags' 735 | push_flags(true); | ^~~~~~~~~~ CPU_emulline.i:752:68: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 752 | 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] 724 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPU_emulline.i:759:25: note: in expansion of macro 'push_byte' 759 | push_byte(pc+1 >> 8); push_byte(pc+1); | ^~~~~~~~~ CPU_emulline.i:759:37: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] 759 | push_byte(pc+1 >> 8); push_byte(pc+1); | ~~^~ CPUC64.cpp:724:57: note: in definition of macro 'push_byte' 724 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ^~~~ CPUC64.cpp:724:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 724 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPU_emulline.i:759:47: note: in expansion of macro 'push_byte' 759 | push_byte(pc+1 >> 8); push_byte(pc+1); | ^~~~~~~~~ CPUC64.cpp:724:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 724 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPU_emulline.i:781:25: note: in expansion of macro 'push_byte' 781 | push_byte((pc+1) >> 8); push_byte(pc+1); | ^~~~~~~~~ CPUC64.cpp:724:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 724 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPU_emulline.i:781:49: note: in expansion of macro 'push_byte' 781 | push_byte((pc+1) >> 8); push_byte(pc+1); | ^~~~~~~~~ CPUC64.cpp:724:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 724 | #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) | ~~~~~~~^~~~~~ CPUC64.cpp:744:9: note: in expansion of macro 'push_byte' 744 | push_byte(tmp); | ^~~~~~~~~ CPU_emulline.i:783:25: note: in expansion of macro 'push_flags' 783 | push_flags(true); | ^~~~~~~~~~ CPU_emulline.i:1021:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1021 | tmp = read_byte(adr = read_adr_abs_x()); | ^ CPU_emulline.i:1027:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1027 | tmp = read_byte(adr = read_adr_abs_y()); | ^ CPU_emulline.i:1071:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1071 | tmp = read_byte(adr = read_adr_abs_x()); | ^ CPU_emulline.i:1077:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1077 | tmp = read_byte(adr = read_adr_abs_y()); | ^ CPU_emulline.i:1120:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1120 | tmp = read_byte(adr = read_adr_abs_x()); | ^ CPU_emulline.i:1126:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1126 | tmp = read_byte(adr = read_adr_abs_y()); | ^ CPU_emulline.i:1170:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1170 | tmp = read_byte(adr = read_adr_abs_x()); | ^ CPU_emulline.i:1176:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1176 | tmp = read_byte(adr = read_adr_abs_y()); | ^ CPU_emulline.i:1218:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1218 | tmp = read_byte(adr = read_adr_abs_x()) - 1; | ^ CPU_emulline.i:1224:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1224 | tmp = read_byte(adr = read_adr_abs_y()) - 1; | ^ CPU_emulline.i:1262:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1262 | tmp = read_byte(adr = read_adr_abs_x()) + 1; | ^ CPU_emulline.i:1268:45: warning: operation on 'adr' may be undefined [-Wsequence-point] 1268 | tmp = read_byte(adr = read_adr_abs_y()) + 1; | ^ CPU_emulline.i:1311:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1311 | a = a & 0xf0 | (a + 6) & 0x0f; | ~~^~~~~~ CPU_emulline.i:1312:44: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1312 | if (c_flag = ((tmp2 + (tmp2 & 0x10)) & 0x1f0) > 0x50) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' make: Entering directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' i586-alt-linux-g++ -o FrodoSC 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_SC.o CPUC64_SC.o VIC_SC.o CIA_SC.o CPU1541_SC.o CPU_common.o -lSDL -lpthread CIA.h:19:7: warning: type 'struct MOS6526' violates the C++ One Definition Rule [-Wodr] 19 | class MOS6526 { | ^ CIA.h:19:7: note: a different type is defined in another translation unit 19 | class MOS6526 { | ^ CIA.h:56:14: note: the first difference of corresponding definitions is field 'ta_irq_next_cycle' 56 | bool ta_irq_next_cycle, // Flag: Trigger TA IRQ in next cycle | ^ CIA.h:19:7: note: a type with different number of fields is defined in another translation unit 19 | class MOS6526 { | ^ CPU1541.h:43:7: warning: type 'struct MOS6502_1541' violates the C++ One Definition Rule [-Wodr] 43 | class MOS6502_1541 { | ^ CPU1541.h:43:7: note: a different type is defined in another translation unit 43 | class MOS6502_1541 { | ^ CPU1541.h:102:16: note: the first difference of corresponding definitions is field 'pc' 102 | uint8 *pc, *pc_base; | ^ CPU1541.h:104:16: note: a field of same name but different type is defined in another translation unit 104 | uint16 pc; | ^ C64.h:43:7: warning: type 'struct C64' violates the C++ One Definition Rule [-Wodr] 43 | class C64 { | ^ C64.h:43:7: note: a different type is defined in another translation unit 43 | class C64 { | ^ C64.h:102:14: note: the first difference of corresponding definitions is field 'thread_running' 102 | bool thread_running; // Emulation thread is running | ^ C64.h:91:16: note: a field with different name is defined in another translation unit 91 | uint32 CycleCounter; | ^ CPUC64.h:50:7: warning: type 'struct MOS6510' violates the C++ One Definition Rule [-Wodr] 50 | class MOS6510 { | ^ CPUC64.h:50:7: note: a different type is defined in another translation unit 50 | class MOS6510 { | ^ CPUC64.h:110:14: note: the first difference of corresponding definitions is field 'the_c64' 110 | C64 *the_c64; // Pointer to C64 object | ^ CPUC64.h:86:14: note: a field with different name is defined in another translation unit 86 | bool BALow; // BA line for Frodo SC | ^ CIA.h:66:7: warning: type 'struct MOS6526_1' violates the C++ One Definition Rule [-Wodr] 66 | class MOS6526_1 : public MOS6526 { | ^ CIA.h:66:7: note: a type with different bases is defined in another translation unit 66 | class MOS6526_1 : public MOS6526 { | ^ CIA.h:90:7: warning: type 'struct MOS6526_2' violates the C++ One Definition Rule [-Wodr] 90 | class MOS6526_2 : public MOS6526{ | ^ CIA.h:90:7: note: a type with different bases is defined in another translation unit 90 | class MOS6526_2 : public MOS6526{ | ^ VIC.h:35:7: warning: type 'struct MOS6569' violates the C++ One Definition Rule [-Wodr] 35 | class MOS6569 { | ^ VIC.h:35:7: note: a different type is defined in another translation unit 35 | class MOS6569 { | ^ VIC.h:53:15: note: the first difference of corresponding definitions is field 'LastVICByte' 53 | uint8 LastVICByte; | ^ VIC.h:35:7: note: a type with different number of fields is defined in another translation unit 35 | class MOS6569 { | ^ CPUC64.h:62:14: warning: type of 'GetState' does not match original declaration [-Wlto-type-mismatch] 62 | void GetState(MOS6510State *s); | ^ CPUC64_SC.cpp:120:6: note: 'GetState' was previously declared here 120 | void MOS6510::GetState(MOS6510State *s) | ^ CPU1541.h:54:14: warning: type of 'GetState' does not match original declaration [-Wlto-type-mismatch] 54 | void GetState(MOS6502State *s); | ^ CPU1541_SC.cpp:107:6: note: 'GetState' was previously declared here 107 | void MOS6502_1541::GetState(MOS6502State *s) | ^ CPUC64.h:63:14: warning: type of 'SetState' does not match original declaration [-Wlto-type-mismatch] 63 | void SetState(MOS6510State *s); | ^ CPUC64_SC.cpp:153:6: note: 'SetState' was previously declared here 153 | void MOS6510::SetState(MOS6510State *s) | ^ CPU1541.h:55:14: warning: type of 'SetState' does not match original declaration [-Wlto-type-mismatch] 55 | void SetState(MOS6502State *s); | ^ CPU1541_SC.cpp:151:6: note: 'SetState' was previously declared here 151 | void MOS6502_1541::SetState(MOS6502State *s) | ^ CPUC64.h:65:14: warning: type of 'ExtWriteByte' does not match original declaration [-Wlto-type-mismatch] 65 | void ExtWriteByte(uint16 adr, uint8 byte); | ^ CPUC64_SC.cpp:415:6: note: 'ExtWriteByte' was previously declared here 415 | void MOS6510::ExtWriteByte(uint16 adr, uint8 byte) | ^ CPU1541.h:57:14: warning: type of 'ExtWriteByte' does not match original declaration [-Wlto-type-mismatch] 57 | void ExtWriteByte(uint16 adr, uint8 byte); | ^ CPU1541_SC.cpp:470:6: note: 'ExtWriteByte' was previously declared here 470 | void MOS6502_1541::ExtWriteByte(uint16 adr, uint8 byte) | ^ CPUC64.h:64:15: warning: type of 'ExtReadByte' does not match original declaration [-Wlto-type-mismatch] 64 | uint8 ExtReadByte(uint16 adr); | ^ CPUC64_SC.cpp:390:7: note: 'ExtReadByte' was previously declared here 390 | uint8 MOS6510::ExtReadByte(uint16 adr) | ^ CPU1541.h:56:15: warning: type of 'ExtReadByte' does not match original declaration [-Wlto-type-mismatch] 56 | uint8 ExtReadByte(uint16 adr); | ^ CPU1541_SC.cpp:460:7: note: 'ExtReadByte' was previously declared here 460 | uint8 MOS6502_1541::ExtReadByte(uint16 adr) | ^ VIC.h:49:14: warning: type of 'GetState' does not match original declaration [-Wlto-type-mismatch] 49 | void GetState(MOS6569State *vd); | ^ VIC_SC.cpp:345:6: note: 'GetState' was previously declared here 345 | void MOS6569::GetState(MOS6569State *vd) | ^ VIC_SC.cpp:345:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used CIA.h:24:14: warning: type of 'GetState' does not match original declaration [-Wlto-type-mismatch] 24 | void GetState(MOS6526State *cs); | ^ CIA_SC.cpp:113:6: note: 'GetState' was previously declared here 113 | void MOS6526::GetState(MOS6526State *cs) | ^ CIA_SC.cpp:113:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used CPUC64.h:67:14: warning: type of 'REUWriteByte' does not match original declaration [-Wlto-type-mismatch] 67 | void REUWriteByte(uint16 adr, uint8 byte); | ^ CPUC64_SC.cpp:448:6: note: 'REUWriteByte' was previously declared here 448 | void MOS6510::REUWriteByte(uint16 adr, uint8 byte) | ^ CPUC64.h:66:15: warning: type of 'REUReadByte' does not match original declaration [-Wlto-type-mismatch] 66 | uint8 REUReadByte(uint16 adr); | ^ CPUC64_SC.cpp:438:7: note: 'REUReadByte' was previously declared here 438 | uint8 MOS6510::REUReadByte(uint16 adr) | ^ C64.h:53:14: warning: type of 'NMI' does not match original declaration [-Wlto-type-mismatch] 53 | void NMI(void); | ^ C64.cpp:153:6: note: 'NMI' was previously declared here 153 | void C64::NMI(void) | ^ C64.cpp:153:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used C64.h:52:14: warning: type of 'Reset' does not match original declaration [-Wlto-type-mismatch] 52 | void Reset(void); | ^ C64.cpp:138:6: note: 'Reset' was previously declared here 138 | void C64::Reset(void) | ^ C64.cpp:138:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used C64.h:45:9: warning: type of '__ct_comp ' does not match original declaration [-Wlto-type-mismatch] 45 | C64(); | ^ C64.cpp:37:1: note: '__ct_comp ' was previously declared here 37 | C64::C64() | ^ C64.cpp:37:1: note: code may be misoptimized unless '-fno-strict-aliasing' is used C64.h:48:14: warning: type of 'Run' does not match original declaration [-Wlto-type-mismatch] 48 | void Run(void); | ^ C64_x.i:169:6: note: 'Run' was previously declared here 169 | void C64::Run(void) | ^ C64_x.i:169:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used C64.h:46:9: warning: type of '__dt_comp ' does not match original declaration [-Wlto-type-mismatch] 46 | ~C64(); | ^ C64.cpp:107:1: note: '__dt_comp ' was previously declared here 107 | C64::~C64() | ^ C64.cpp:107:1: note: code may be misoptimized unless '-fno-strict-aliasing' is used In function 'strcpy', inlined from 'parse_lynx_file' at 1541t64.cpp:191:8, inlined from 'open_close_t64_file' at 1541t64.cpp:110:32: /usr/include/bits/string_fortified.h:79:33: warning: '__builtin___memcpy_chk' writing 17 bytes into a region of size 16 overflows the destination [-Wstringop-overflow=] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ^ cp FrodoSC .. make: Leaving directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' make: Entering directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' i586-alt-linux-g++ -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 -lSDL -lpthread In function 'strcpy', inlined from 'parse_lynx_file' at 1541t64.cpp:191:8, inlined from 'open_close_t64_file' at 1541t64.cpp:110:32: /usr/include/bits/string_fortified.h:79:33: warning: '__builtin___memcpy_chk' writing 17 bytes into a region of size 16 overflows the destination [-Wstringop-overflow=] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ^ cp Frodo .. make: Leaving directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' make: Entering directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' i586-alt-linux-g++ -o FrodoPC 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_PC.o CPUC64_PC.o VIC.o CIA.o CPU1541_PC.o -lSDL -lpthread CPU1541.h:43:7: warning: type 'struct MOS6502_1541' violates the C++ One Definition Rule [-Wodr] 43 | class MOS6502_1541 { | ^ CPU1541.h:43:7: note: a different type is defined in another translation unit 43 | class MOS6502_1541 { | ^ CPU1541.h:102:16: note: the first difference of corresponding definitions is field 'pc' 102 | uint8 *pc, *pc_base; | ^ CPU1541.h:104:16: note: a field of same name but different type is defined in another translation unit 104 | uint16 pc; | ^ CPUC64.h:50:7: warning: type 'struct MOS6510' violates the C++ One Definition Rule [-Wodr] 50 | class MOS6510 { | ^ CPUC64.h:50:7: note: a different type is defined in another translation unit 50 | class MOS6510 { | ^ CPUC64.h:126:16: note: the first difference of corresponding definitions is field 'pc' 126 | uint8 *pc, *pc_base; | ^ CPUC64.h:128:16: note: a field of same name but different type is defined in another translation unit 128 | uint16 pc; | ^ CPUC64.h:62:14: warning: type of 'GetState' does not match original declaration [-Wlto-type-mismatch] 62 | void GetState(MOS6510State *s); | ^ CPUC64.cpp:596:6: note: 'GetState' was previously declared here 596 | void MOS6510::GetState(MOS6510State *s) | ^ CPU1541.h:54:14: warning: type of 'GetState' does not match original declaration [-Wlto-type-mismatch] 54 | void GetState(MOS6502State *s); | ^ CPU1541.cpp:526:6: note: 'GetState' was previously declared here 526 | void MOS6502_1541::GetState(MOS6502State *s) | ^ CPUC64.h:63:14: warning: type of 'SetState' does not match original declaration [-Wlto-type-mismatch] 63 | void SetState(MOS6510State *s); | ^ CPUC64.cpp:633:6: note: 'SetState' was previously declared here 633 | void MOS6510::SetState(MOS6510State *s) | ^ CPU1541.h:55:14: warning: type of 'SetState' does not match original declaration [-Wlto-type-mismatch] 55 | void SetState(MOS6502State *s); | ^ CPU1541.cpp:575:6: note: 'SetState' was previously declared here 575 | void MOS6502_1541::SetState(MOS6502State *s) | ^ CPUC64.h:65:14: warning: type of 'ExtWriteByte' does not match original declaration [-Wlto-type-mismatch] 65 | void ExtWriteByte(uint16 adr, uint8 byte); | ^ CPUC64.cpp:424:6: note: 'ExtWriteByte' was previously declared here 424 | void MOS6510::ExtWriteByte(uint16 adr, uint8 byte) | ^ CPU1541.h:57:14: warning: type of 'ExtWriteByte' does not match original declaration [-Wlto-type-mismatch] 57 | void ExtWriteByte(uint16 adr, uint8 byte); | ^ CPU1541.cpp:420:6: note: 'ExtWriteByte' was previously declared here 420 | void MOS6502_1541::ExtWriteByte(uint16 adr, uint8 byte) | ^ CPUC64.h:64:15: warning: type of 'ExtReadByte' does not match original declaration [-Wlto-type-mismatch] 64 | uint8 ExtReadByte(uint16 adr); | ^ CPUC64.cpp:399:7: note: 'ExtReadByte' was previously declared here 399 | uint8 MOS6510::ExtReadByte(uint16 adr) | ^ CPU1541.h:56:15: warning: type of 'ExtReadByte' does not match original declaration [-Wlto-type-mismatch] 56 | uint8 ExtReadByte(uint16 adr); | ^ CPU1541.cpp:410:7: note: 'ExtReadByte' was previously declared here 410 | uint8 MOS6502_1541::ExtReadByte(uint16 adr) | ^ CPUC64.h:67:14: warning: type of 'REUWriteByte' does not match original declaration [-Wlto-type-mismatch] 67 | void REUWriteByte(uint16 adr, uint8 byte); | ^ CPUC64.cpp:457:6: note: 'REUWriteByte' was previously declared here 457 | void MOS6510::REUWriteByte(uint16 adr, uint8 byte) | ^ CPUC64.h:66:15: warning: type of 'REUReadByte' does not match original declaration [-Wlto-type-mismatch] 66 | uint8 REUReadByte(uint16 adr); | ^ CPUC64.cpp:447:7: note: 'REUReadByte' was previously declared here 447 | uint8 MOS6510::REUReadByte(uint16 adr) | ^ In function 'strcpy', inlined from 'parse_lynx_file' at 1541t64.cpp:191:8, inlined from 'open_close_t64_file' at 1541t64.cpp:110:32: /usr/include/bits/string_fortified.h:79:33: warning: '__builtin___memcpy_chk' writing 17 bytes into a region of size 16 overflows the destination [-Wstringop-overflow=] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ^ cp FrodoPC .. make: Leaving directory '/usr/src/RPM/BUILD/Frodo-4.1b/Src' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.50361 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/Frodo-buildroot + : + /bin/rm -rf -- /usr/src/tmp/Frodo-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd Frodo-4.1b + install -d 755 /usr/src/tmp/Frodo-buildroot/usr/bin + install -d 755 /usr/src/tmp/Frodo-buildroot/usr/share/Frodo/64prgs /usr/src/tmp/Frodo-buildroot/usr/share/Frodo/64imgs + install -m 755 Src/Frodo Src/FrodoPC Src/FrodoSC /usr/src/tmp/Frodo-buildroot/usr/bin + install -m 755 TkGui.tcl /usr/src/tmp/Frodo-buildroot/usr/share/Frodo + install -m 644 'Frodo Logo' '1541 ROM' 'Basic ROM' 'Char ROM' 'Kernal ROM' /usr/src/tmp/Frodo-buildroot/usr/share/Frodo + install -m 644 64prgs/3fff 64prgs/colorbars 64prgs/d011h3 64prgs/dadb 64prgs/de00all 64prgs/dycp 64prgs/fld 64prgs/lrborder 64prgs/sprsync 64prgs/stretch 64prgs/tech-tech 64prgs/text26 /usr/src/tmp/Frodo-buildroot/usr/share/Frodo/64prgs + mkdir -p /usr/src/tmp/Frodo-buildroot/usr/share/icons/hicolor/64x64/apps + install -m 644 /usr/src/RPM/SOURCES/Frodo.png /usr/src/tmp/Frodo-buildroot/usr/share/icons/hicolor/64x64/apps/ + mkdir -p /usr/src/tmp/Frodo-buildroot/usr/share/applications + desktop-file-install --vendor dribble --dir /usr/src/tmp/Frodo-buildroot/usr/share/applications /usr/src/RPM/SOURCES/Frodo.desktop /usr/src/tmp/Frodo-buildroot/usr/share/applications/dribble-Frodo.desktop: error: (will be fatal in the future): value "Frodo.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path + desktop-file-install --vendor dribble --dir /usr/src/tmp/Frodo-buildroot/usr/share/applications /usr/src/RPM/SOURCES/FrodoPC.desktop /usr/src/tmp/Frodo-buildroot/usr/share/applications/dribble-FrodoPC.desktop: error: (will be fatal in the future): value "Frodo.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path + desktop-file-install --vendor dribble --dir /usr/src/tmp/Frodo-buildroot/usr/share/applications /usr/src/RPM/SOURCES/FrodoSC.desktop /usr/src/tmp/Frodo-buildroot/usr/share/applications/dribble-FrodoSC.desktop: error: (will be fatal in the future): value "Frodo.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/Frodo-buildroot (auto) Verifying and fixing files in /usr/src/tmp/Frodo-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) /usr/share/applications/dribble-FrodoSC.desktop: performed minor cleanup: 2d1 < Encoding=UTF-8 6c5 < Icon=Frodo.png --- > Icon=Frodo /usr/share/applications/dribble-FrodoPC.desktop: performed minor cleanup: 2d1 < Encoding=UTF-8 6c5 < Icon=Frodo.png --- > Icon=Frodo /usr/share/applications/dribble-Frodo.desktop: performed minor cleanup: 2d1 < Encoding=UTF-8 6c5 < Icon=Frodo.png --- > Icon=Frodo Checking contents of files in /usr/src/tmp/Frodo-buildroot/ (default) Compressing files in /usr/src/tmp/Frodo-buildroot (auto) Verifying ELF objects in /usr/src/tmp/Frodo-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/bin/FrodoSC: uses non-LFS functions: fopen open readdir stat tmpfile verify-elf: WARNING: ./usr/bin/FrodoPC: uses non-LFS functions: fopen open readdir stat tmpfile verify-elf: WARNING: ./usr/bin/Frodo: uses non-LFS functions: fopen open readdir stat tmpfile Processing files: Frodo-4.1b-alt3 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.67965 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd Frodo-4.1b + DOCDIR=/usr/src/tmp/Frodo-buildroot/usr/share/doc/Frodo-4.1b + export DOCDIR + rm -rf /usr/src/tmp/Frodo-buildroot/usr/share/doc/Frodo-4.1b + /bin/mkdir -p /usr/src/tmp/Frodo-buildroot/usr/share/doc/Frodo-4.1b + cp -prL CHANGES Docs/Main.html Docs/author.html Docs/bugreports.html Docs/demoprograms.html Docs/emulwindow.html Docs/files.html Docs/flavours.html Docs/future.html Docs/history.html Docs/installation.html Docs/kernal.html Docs/keyboard.html Docs/legalmush.html Docs/overview.html Docs/sam.html Docs/settings.html Docs/systemspecific.html Docs/technicalinfo.html Docs/thanks.html Docs/whatsnew.html /usr/src/tmp/Frodo-buildroot/usr/share/doc/Frodo-4.1b + chmod -R go-w /usr/src/tmp/Frodo-buildroot/usr/share/doc/Frodo-4.1b + chmod -R a+rX /usr/src/tmp/Frodo-buildroot/usr/share/doc/Frodo-4.1b + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Vx1MCj find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.q5Myw1 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: icon-theme-hicolor, /lib/ld-linux.so.2, libSDL-1.2.so.0 >= set:lh8XN8s7PF6WFZ6tMuTTuUUUOO2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.33), libc.so.6(GLIBC_2.34), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GCC_3.3.1), libm.so.6(GLIBC_2.0), libm.so.6(GLIBC_2.1), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.8), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ooRCh7 Creating Frodo-debuginfo package Processing files: Frodo-gui-4.1b-alt3 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.8Ycl9H find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.I1g5cU find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) shebang.req: /usr/src/tmp/Frodo-buildroot/usr/share/Frodo/TkGui.tcl: /usr/bin/wish -> /usr/bin/wish (raw, not installed) Requires: Frodo, libtk, tk, /usr/bin/wish Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.xUb8rB Processing files: Frodo-debuginfo-4.1b-alt3 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.JkG36H find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.3RB147 find-requires: running scripts (debuginfo) Requires: Frodo = 4.1b-alt3, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libSDL-1.2.so.0), debug(libc.so.6), debug(libgcc_s.so.1), debug(libm.so.6), debug(libstdc++.so.6) Adding to Frodo-debuginfo a strict dependency on Frodo Adding to Frodo-gui a strict dependency on Frodo Wrote: /usr/src/RPM/RPMS/i586/Frodo-4.1b-alt3.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/Frodo-gui-4.1b-alt3.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/Frodo-debuginfo-4.1b-alt3.i586.rpm (w2.lzdio) 18.24user 2.92system 0:14.39elapsed 147%CPU (0avgtext+0avgdata 67948maxresident)k 0inputs+0outputs (0major+1319415minor)pagefaults 0swaps /.out/Frodo-4.1b-alt3.i586.rpm: license not found in '/usr/share/license' directory: Distributable /.out/Frodo-gui-4.1b-alt3.i586.rpm: license not found in '/usr/share/license' directory: Distributable /.out/Frodo-debuginfo-4.1b-alt3.i586.rpm: license not found in '/usr/share/license' directory: Distributable 1.95user 1.02system 0:23.34elapsed 12%CPU (0avgtext+0avgdata 108880maxresident)k 74312inputs+0outputs (32376major+177964minor)pagefaults 0swaps --- Frodo-4.1b-alt3.i586.rpm.repo 2021-09-25 17:15:20.000000000 +0000 +++ Frodo-4.1b-alt3.i586.rpm.hasher 2023-04-01 06:02:48.676389957 +0000 @@ -58,2 +58,4 @@ Requires: libc.so.6(GLIBC_2.3.4) +Requires: libc.so.6(GLIBC_2.33) +Requires: libc.so.6(GLIBC_2.34) Requires: libc.so.6(GLIBC_2.4) @@ -71,5 +73,5 @@ Provides: Frodo = 4.1b-alt3:sisyphus+285941.100.1.1 -File: /usr/bin/Frodo 100755 root:root 870982b45ab3d7e91eba9048b8959bf6 -File: /usr/bin/FrodoPC 100755 root:root a96ec367f152d6336760f238b1245bca -File: /usr/bin/FrodoSC 100755 root:root 2ae6c6ce18fd5cb87af916f425a4d905 +File: /usr/bin/Frodo 100755 root:root 438e211d0c40817efcbf8ff58a930d58 +File: /usr/bin/FrodoPC 100755 root:root 7f617265ce5e87ca5143c9436807935a +File: /usr/bin/FrodoSC 100755 root:root 641f9519363fe985b4286aa40e42c8c4 File: /usr/share/Frodo 40755 root:root @@ -120,2 +122,2 @@ File: /usr/share/icons/hicolor/64x64/apps/Frodo.png 100644 root:root 943310910db0486eec3bbd3c29165f06 -RPMIdentity: 990c755915c113e4f76336fce21d7aad79dbdadd296bdf7d6e7c06f14cb7a35cf507f060169ddc34538cd6dbd2d54c3b3021f2b9516ff23a197642535305d235 +RPMIdentity: 74b111db5e1e2852ae87e82ec380eae88451fdcba3efea2ef8465edbbd9e4e04e8275bb2d32fa25ae6bf0790b3524d70126e4a377d599f85e58b5e52dc57aa83 --- Frodo-debuginfo-4.1b-alt3.i586.rpm.repo 2021-09-25 17:15:20.000000000 +0000 +++ Frodo-debuginfo-4.1b-alt3.i586.rpm.hasher 2023-04-01 06:02:49.175398177 +0000 @@ -1,10 +1,10 @@ -/usr/lib/debug/.build-id/07 40755 root:root -/usr/lib/debug/.build-id/07/3fc2cbbf74c409530d2d0ee583d54d1fb5a4b1 120777 root:root ../../../../bin/FrodoSC -/usr/lib/debug/.build-id/07/3fc2cbbf74c409530d2d0ee583d54d1fb5a4b1.debug 120777 root:root ../../usr/bin/FrodoSC.debug -/usr/lib/debug/.build-id/d1 40755 root:root -/usr/lib/debug/.build-id/d1/3f32c59c26a0c91fab9a94c06915afc5893408 120777 root:root ../../../../bin/Frodo -/usr/lib/debug/.build-id/d1/3f32c59c26a0c91fab9a94c06915afc5893408.debug 120777 root:root ../../usr/bin/Frodo.debug -/usr/lib/debug/.build-id/f7 40755 root:root -/usr/lib/debug/.build-id/f7/27fdc3528fe87564a553ca4ebb07edc31c2792 120777 root:root ../../../../bin/FrodoPC -/usr/lib/debug/.build-id/f7/27fdc3528fe87564a553ca4ebb07edc31c2792.debug 120777 root:root ../../usr/bin/FrodoPC.debug +/usr/lib/debug/.build-id/1c 40755 root:root +/usr/lib/debug/.build-id/1c/90fe6000bac58f159358f21b7a2297dab171e5 120777 root:root ../../../../bin/Frodo +/usr/lib/debug/.build-id/1c/90fe6000bac58f159358f21b7a2297dab171e5.debug 120777 root:root ../../usr/bin/Frodo.debug +/usr/lib/debug/.build-id/2d 40755 root:root +/usr/lib/debug/.build-id/2d/70503c21cb18b69c80c466d60b971ee2badcb0 120777 root:root ../../../../bin/FrodoPC +/usr/lib/debug/.build-id/2d/70503c21cb18b69c80c466d60b971ee2badcb0.debug 120777 root:root ../../usr/bin/FrodoPC.debug +/usr/lib/debug/.build-id/6e 40755 root:root +/usr/lib/debug/.build-id/6e/3101b50a18e529f6911bf74a2cde4e2862f61b 120777 root:root ../../../../bin/FrodoSC +/usr/lib/debug/.build-id/6e/3101b50a18e529f6911bf74a2cde4e2862f61b.debug 120777 root:root ../../usr/bin/FrodoSC.debug /usr/lib/debug/usr/bin/Frodo.debug 100644 root:root @@ -75,14 +75,14 @@ Provides: Frodo-debuginfo = 4.1b-alt3:sisyphus+285941.100.1.1 -File: /usr/lib/debug/.build-id/07 40755 root:root -File: /usr/lib/debug/.build-id/07/3fc2cbbf74c409530d2d0ee583d54d1fb5a4b1 120777 root:root ../../../../bin/FrodoSC -File: /usr/lib/debug/.build-id/07/3fc2cbbf74c409530d2d0ee583d54d1fb5a4b1.debug 120777 root:root ../../usr/bin/FrodoSC.debug -File: /usr/lib/debug/.build-id/d1 40755 root:root -File: /usr/lib/debug/.build-id/d1/3f32c59c26a0c91fab9a94c06915afc5893408 120777 root:root ../../../../bin/Frodo -File: /usr/lib/debug/.build-id/d1/3f32c59c26a0c91fab9a94c06915afc5893408.debug 120777 root:root ../../usr/bin/Frodo.debug -File: /usr/lib/debug/.build-id/f7 40755 root:root -File: /usr/lib/debug/.build-id/f7/27fdc3528fe87564a553ca4ebb07edc31c2792 120777 root:root ../../../../bin/FrodoPC -File: /usr/lib/debug/.build-id/f7/27fdc3528fe87564a553ca4ebb07edc31c2792.debug 120777 root:root ../../usr/bin/FrodoPC.debug -File: /usr/lib/debug/usr/bin/Frodo.debug 100644 root:root 83abee32d1fab198734698c97aebc392 -File: /usr/lib/debug/usr/bin/FrodoPC.debug 100644 root:root 8fbabf0779cdbd7c37358f7f42d0f136 -File: /usr/lib/debug/usr/bin/FrodoSC.debug 100644 root:root f499bd84f6e4fa3c8a3c3261d6ef4872 +File: /usr/lib/debug/.build-id/1c 40755 root:root +File: /usr/lib/debug/.build-id/1c/90fe6000bac58f159358f21b7a2297dab171e5 120777 root:root ../../../../bin/Frodo +File: /usr/lib/debug/.build-id/1c/90fe6000bac58f159358f21b7a2297dab171e5.debug 120777 root:root ../../usr/bin/Frodo.debug +File: /usr/lib/debug/.build-id/2d 40755 root:root +File: /usr/lib/debug/.build-id/2d/70503c21cb18b69c80c466d60b971ee2badcb0 120777 root:root ../../../../bin/FrodoPC +File: /usr/lib/debug/.build-id/2d/70503c21cb18b69c80c466d60b971ee2badcb0.debug 120777 root:root ../../usr/bin/FrodoPC.debug +File: /usr/lib/debug/.build-id/6e 40755 root:root +File: /usr/lib/debug/.build-id/6e/3101b50a18e529f6911bf74a2cde4e2862f61b 120777 root:root ../../../../bin/FrodoSC +File: /usr/lib/debug/.build-id/6e/3101b50a18e529f6911bf74a2cde4e2862f61b.debug 120777 root:root ../../usr/bin/FrodoSC.debug +File: /usr/lib/debug/usr/bin/Frodo.debug 100644 root:root 0d50544bed9c4582706d3c6d8656a2d9 +File: /usr/lib/debug/usr/bin/FrodoPC.debug 100644 root:root 1b7e0f1cd02e1db0dfb33392e2e964ae +File: /usr/lib/debug/usr/bin/FrodoSC.debug 100644 root:root 5868fc5a1bcd9eb72f30f8a01031c7f4 File: /usr/src/debug/Frodo-4.1b 40755 root:root @@ -141,2 +141,2 @@ File: /usr/src/debug/Frodo-4.1b/Src/sysdeps.h 100644 root:root 2a4492cf3da94a00e71fe38eb327f465 -RPMIdentity: 5ded9f2bea92ba14b8c1a258ad91b9eac7588a545b3fcc4131e9b07bf7caac166eeadbed59a3362cb46a8e601bc80cabee33652806eaef64139a9f8bdbc810c0 +RPMIdentity: dbdb344c7295745e20149495911765f174e2b97dc070143c4c11eb25f9cb5f25428558e65a43dd4f569dbf41a2d3bbab8395e4c66ae0cf536222279646f2c849