>>> Building on exopi-4 under emulators/frodo BDEPENDS = [devel/sdl] DIST = [emulators/frodo:FrodoV4_1b.Src.tar.gz] FULLPKGNAME = frodo-4.1bp10 RDEPENDS = [x11/tk/8.5;lang/tcl/8.5;devel/sdl] (Junk lock obtained for exopi-4 at 1713174058.05) >>> Running depends in emulators/frodo at 1713174058.11 last junk was in games/fnaify-extralibs /usr/sbin/pkg_add -aI -Drepair sdl-1.2.15p12 was: /usr/sbin/pkg_add -aI -Drepair sdl-1.2.15p12 /usr/sbin/pkg_add -aI -Drepair sdl-1.2.15p12 >>> Running show-prepare-results in emulators/frodo at 1713174060.30 ===> emulators/frodo ===> Building from scratch frodo-4.1bp10 ===> frodo-4.1bp10 depends on: sdl-*-!no_x11 -> sdl-1.2.15p12 ===> Verifying specs: SDL c m pthread sndio c++ c++abi pthread ===> found SDL.8.0 c.99.0 m.10.1 pthread.27.1 sndio.7.2 c++.10.0 c++abi.7.0 sdl-1.2.15p12 (Junk lock released for exopi-4 at 1713174060.76) Woken up x11/icontool distfiles size=377002 >>> Running build in emulators/frodo at 1713174060.81 ===> emulators/frodo ===> Checking files for frodo-4.1bp10 `/exopi-cvs/ports/distfiles/FrodoV4_1b.Src.tar.gz' is up to date. >> (SHA256) FrodoV4_1b.Src.tar.gz: OK ===> Extracting for frodo-4.1bp10 ===> Patching for frodo-4.1bp10 ===> Applying OpenBSD patch patch-Src_C64_x_i Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Src/C64_x.i.orig Wed Aug 6 20:56:25 1997 |+++ Src/C64_x.i Thu Jul 6 18:52:43 2000 -------------------------- Patching file Src/C64_x.i using Plan A... Hunk #1 succeeded at 100. done ===> Applying OpenBSD patch patch-Src_CmdPipe_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Src/CmdPipe.cpp.orig Sat Dec 28 01:03:54 2002 |+++ Src/CmdPipe.cpp Sat Dec 28 01:04:38 2002 -------------------------- Patching file Src/CmdPipe.cpp using Plan A... Hunk #1 succeeded at 17. done ===> Applying OpenBSD patch patch-Src_Display_x_i Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Src/Display_x.i.orig Wed Jan 2 13:17:29 2002 |+++ Src/Display_x.i Thu Jan 14 08:50:09 2010 -------------------------- Patching file Src/Display_x.i using Plan A... Hunk #1 succeeded at 4. Hunk #2 succeeded at 35. Hunk #3 succeeded at 395. Hunk #4 succeeded at 416. Hunk #5 succeeded at 485. Hunk #6 succeeded at 594. Hunk #7 succeeded at 804. done ===> Applying OpenBSD patch patch-Src_Makefile_in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Src/Makefile.in.orig Wed Jan 2 17:44:04 2002 |+++ Src/Makefile.in Thu Mar 14 01:52:32 2002 -------------------------- Patching file Src/Makefile.in using Plan A... Hunk #1 succeeded at 8. done ===> Applying OpenBSD patch patch-Src_SAM_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Src/SAM.cpp.orig Sun Jan 14 02:20:30 2001 |+++ Src/SAM.cpp Sun Jan 14 02:55:01 2001 -------------------------- Patching file Src/SAM.cpp using Plan A... Hunk #1 succeeded at 13. Hunk #2 succeeded at 262. Hunk #3 succeeded at 393. Hunk #4 succeeded at 533. Hunk #5 succeeded at 2145. done ===> Applying OpenBSD patch patch-Src_SID_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: Src/SID.cpp |--- Src/SID.cpp.orig |+++ Src/SID.cpp -------------------------- Patching file Src/SID.cpp using Plan A... Hunk #1 succeeded at 64. Hunk #2 succeeded at 377. Hunk #3 succeeded at 484. Hunk #4 succeeded at 809. Hunk #5 succeeded at 1362. done ===> Applying OpenBSD patch patch-Src_configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Src/configure.orig Wed Jan 2 17:44:11 2002 |+++ Src/configure Thu Mar 14 01:53:49 2002 -------------------------- Patching file Src/configure using Plan A... Hunk #1 succeeded at 2283. done ===> Applying OpenBSD patch patch-Src_main_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Src/main.cpp.orig Wed Jan 2 13:19:06 2002 |+++ Src/main.cpp Thu Jan 14 08:50:09 2010 -------------------------- Patching file Src/main.cpp using Plan A... Hunk #1 succeeded at 36. Hunk #2 succeeded at 89. done ===> Applying OpenBSD patch patch-Src_main_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Src/main.h.orig Wed Jan 2 13:14:55 2002 |+++ Src/main.h Thu Jan 14 08:50:10 2010 -------------------------- Patching file Src/main.h using Plan A... Hunk #1 succeeded at 119. done ===> Applying OpenBSD patch patch-Src_sysdeps_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Src/sysdeps.h.orig Wed Jul 5 14:12:02 2000 |+++ Src/sysdeps.h Wed Jul 5 14:12:33 2000 -------------------------- Patching file Src/sysdeps.h using Plan A... Hunk #1 succeeded at 63. done cp /exopi-cvs/ports/emulators/frodo/files/SID_sndio.i /exopi-obj/pobj/frodo-4.1b/Frodo-4.1b/Src ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for frodo-4.1bp10 ===> Configuring for frodo-4.1bp10 Using /exopi-obj/pobj/frodo-4.1b/config.site (generated) configure: loading site script /exopi-obj/pobj/frodo-4.1b/config.site checking for gcc... cc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... checking for object suffix... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether c++ accepts -g... (cached) yes checking how to run the C preprocessor... cc -E checking whether make sets ${MAKE}... (cached) yes checking for AIX... no checking for POSIXized ISC... no checking for OpenLibrary in -lamiga... no checking for vga_setmode in -lvga... no checking for sdl-config... /usr/local/bin/sdl-config checking for SDL - version >= 1.2.0... yes checking for X... (cached) libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking for dirent.h that defines DIR... (cached) yes checking for opendir in -ldir... (cached) no checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for unistd.h... (cached) yes checking for fcntl.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/types.h... (cached) yes checking for utime.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for values.h... (cached) no checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking sys/vfs.h usability... no checking sys/vfs.h presence... no checking for sys/vfs.h... no checking for sys/mount.h... (cached) yes checking for sys/select.h... (cached) yes checking for sys/param.h... (cached) yes checking sys/statfs.h usability... no checking sys/statfs.h presence... no checking for sys/statfs.h... no checking 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... no checking linux/joystick.h presence... no checking for linux/joystick.h... no checking for char... (cached) yes checking size of char... (cached) 1 checking for short... (cached) yes checking size of short... (cached) 2 checking for int... (cached) yes checking size of int... 4 checking for long... (cached) yes checking size of long... 8 checking for long long... (cached) yes checking size of long long... (cached) 8 checking for cc option to accept ANSI C... none needed checking for an ANSI C-conforming const... (cached) yes checking for inline... inline checking for mode_t... (cached) yes checking for off_t... (cached) yes checking for pid_t... (cached) yes checking for struct stat.st_blocks... yes checking whether time.h and sys/time.h may both be included... (cached) yes checking whether struct tm is in sys/time.h or time.h... (cached) time.h checking whether cc needs -traditional... no checking for working memcmp... (cached) yes checking return type of signal handlers... (cached) void checking whether utime accepts a null argument... yes checking for gettimeofday... (cached) yes checking for sigaction... (cached) yes checking for mkdir... (cached) yes checking for rmdir... (cached) yes checking for select... (cached) yes checking for strerror... (cached) yes checking for strstr... (cached) yes checking for statfs... (cached) yes checking for usleep... (cached) yes checking which target to use... SDL Good news. Found GCC 2.7 or better. No special hacks for your CPU, sorry. configure: creating ./config.status config.status: creating Makefile mv: Makefile: set owner/group: Operation not permitted config.status: creating sysconfig.h mv: sysconfig.h: set owner/group: Operation not permitted Configuration done. Now type "make". ===> Building for frodo-4.1bp10 cc -O2 -pipe -D__unix -DX_USE_SHM -DUSE_SNDIO -fno-exceptions -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DWISH=\"/usr/local/bin/wish8.5\" -DFRODOLIBDIR=\"/usr/local/lib/frodo\" -o main.o -c main.cpp main.cpp:46:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Can't read 'Basic ROM'.", "Quit"); ^ main.cpp:46:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Can't read 'Basic ROM'.", "Quit"); ^ main.cpp:51:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Can't find 'Basic ROM'.", "Quit"); ^ main.cpp:51:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Can't find 'Basic ROM'.", "Quit"); ^ main.cpp:58:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Can't read 'Kernal ROM'.", "Quit"); ^ main.cpp:58:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Can't read 'Kernal ROM'.", "Quit"); ^ main.cpp:63:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Can't find 'Kernal ROM'.", "Quit"); ^ main.cpp:63:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Can't find 'Kernal ROM'.", "Quit"); ^ main.cpp:70:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Can't read 'Char ROM'.", "Quit"); ^ main.cpp:70:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Can't read 'Char ROM'.", "Quit"); ^ main.cpp:75:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Can't find 'Char ROM'.", "Quit"); ^ main.cpp:75:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Can't find 'Char ROM'.", "Quit"); ^ main.cpp:82:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Can't read '1541 ROM'.", "Quit"); ^ main.cpp:82:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Can't read '1541 ROM'.", "Quit"); ^ main.cpp:87:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Can't find '1541 ROM'.", "Quit"); ^ main.cpp:87:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Can't find '1541 ROM'.", "Quit"); ^ main.cpp:99:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Can't lock current directory", "Quit"); ^ main.cpp:99:49: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Can't lock current directory", "Quit"); ^ main.cpp:105:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] d = FRODOLIBDIR; ^ :13:21: note: expanded from macro 'FRODOLIBDIR' #define FRODOLIBDIR "/usr/local/lib/frodo" ^ main.cpp:107:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Can't access Frodo Lib Directory", "Quit"); ^ main.cpp:107:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Can't access Frodo Lib Directory", "Quit"); ^ 21 warnings generated. cc -O2 -pipe -D__unix -DX_USE_SHM -DUSE_SNDIO -fno-exceptions -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DWISH=\"/usr/local/bin/wish8.5\" -DFRODOLIBDIR=\"/usr/local/lib/frodo\" -o Display.o -c Display.cpp In file included from Display.cpp:76: ./Display_SDL.i:273:10: warning: 143 enumeration values not handled in switch: 'SDLK_UNKNOWN', 'SDLK_CLEAR', 'SDLK_PAUSE'... [-Wswitch] switch (key) { ^~~ 1 warning generated. cc -O2 -pipe -D__unix -DX_USE_SHM -DUSE_SNDIO -fno-exceptions -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DWISH=\"/usr/local/bin/wish8.5\" -DFRODOLIBDIR=\"/usr/local/lib/frodo\" -o Prefs.o -c Prefs.cpp cc -O2 -pipe -D__unix -DX_USE_SHM -DUSE_SNDIO -fno-exceptions -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DWISH=\"/usr/local/bin/wish8.5\" -DFRODOLIBDIR=\"/usr/local/lib/frodo\" -o SID.o -c SID.cpp SID.cpp:958:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else // Gate turned off ^ SID.cpp:1134:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 2 warnings generated. cc -O2 -pipe -D__unix -DX_USE_SHM -DUSE_SNDIO -fno-exceptions -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DWISH=\"/usr/local/bin/wish8.5\" -DFRODOLIBDIR=\"/usr/local/lib/frodo\" -o REU.o -c REU.cpp cc -O2 -pipe -D__unix -DX_USE_SHM -DUSE_SNDIO -fno-exceptions -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DWISH=\"/usr/local/bin/wish8.5\" -DFRODOLIBDIR=\"/usr/local/lib/frodo\" -o IEC.o -c IEC.cpp IEC.cpp:402:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "00, OK,00,00\r", ^ IEC.cpp:403:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "25,WRITE ERROR,00,00\r", ^ IEC.cpp:404:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "26,WRITE PROTECT ON,00,00\r", ^ IEC.cpp:405:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "30,SYNTAX ERROR,00,00\r", ^ IEC.cpp:406:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "33,SYNTAX ERROR,00,00\r", ^ IEC.cpp:407:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "60,WRITE FILE OPEN,00,00\r", ^ IEC.cpp:408:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "61,FILE NOT OPEN,00,00\r", ^ IEC.cpp:409:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "62,FILE NOT FOUND,00,00\r", ^ IEC.cpp:410:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "67,ILLEGAL TRACK OR SECTOR,00,00\r", ^ IEC.cpp:411:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "70,NO CHANNEL,00,00\r", ^ IEC.cpp:412:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "73,CBM DOS V2.6 1541,00,00\r", ^ IEC.cpp:413:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "74,DRIVE NOT READY,00,00\r" ^ 12 warnings generated. cc -O2 -pipe -D__unix -DX_USE_SHM -DUSE_SNDIO -fno-exceptions -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DWISH=\"/usr/local/bin/wish8.5\" -DFRODOLIBDIR=\"/usr/local/lib/frodo\" -o 1541fs.o -c 1541fs.cpp 1541fs.cpp:157:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *mode = "rb"; ^ 1541fs.cpp:183:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] mode = "rb"; ^ 1541fs.cpp:186:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] mode = "wb"; ^ 1541fs.cpp:189:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] mode = "ab"; ^ 1541fs.cpp:701:17: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c >= 'A') && (c <= 'Z') || (c >= 'a') && (c <= 'z')) ~~~~~~~~~~~^~~~~~~~~~~~~ ~~ 1541fs.cpp:701:17: note: place parentheses around the '&&' expression to silence this warning if ((c >= 'A') && (c <= 'Z') || (c >= 'a') && (c <= 'z')) ^ ( ) 1541fs.cpp:701:45: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c >= 'A') && (c <= 'Z') || (c >= 'a') && (c <= 'z')) ~~ ~~~~~~~~~~~^~~~~~~~~~~~~ 1541fs.cpp:701:45: note: place parentheses around the '&&' expression to silence this warning if ((c >= 'A') && (c <= 'Z') || (c >= 'a') && (c <= 'z')) ^ ( ) 1541fs.cpp:722:17: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c >= 'A') && (c <= 'Z') || (c >= 'a') && (c <= 'z')) ~~~~~~~~~~~^~~~~~~~~~~~~ ~~ 1541fs.cpp:722:17: note: place parentheses around the '&&' expression to silence this warning if ((c >= 'A') && (c <= 'Z') || (c >= 'a') && (c <= 'z')) ^ ( ) 1541fs.cpp:722:45: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c >= 'A') && (c <= 'Z') || (c >= 'a') && (c <= 'z')) ~~ ~~~~~~~~~~~^~~~~~~~~~~~~ 1541fs.cpp:722:45: note: place parentheses around the '&&' expression to silence this warning if ((c >= 'A') && (c <= 'Z') || (c >= 'a') && (c <= 'z')) ^ ( ) 8 warnings generated. cc -O2 -pipe -D__unix -DX_USE_SHM -DUSE_SNDIO -fno-exceptions -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DWISH=\"/usr/local/bin/wish8.5\" -DFRODOLIBDIR=\"/usr/local/lib/frodo\" -o 1541d64.o -c 1541d64.cpp 1541d64.cpp:88:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] open_close_d64_file(""); ^ 1541d64.cpp:166:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 1541d64.cpp:1018:17: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c >= 'A') && (c <= 'Z') || (c >= 'a') && (c <= 'z')) ~~~~~~~~~~~^~~~~~~~~~~~~ ~~ 1541d64.cpp:1018:17: note: place parentheses around the '&&' expression to silence this warning if ((c >= 'A') && (c <= 'Z') || (c >= 'a') && (c <= 'z')) ^ ( ) 1541d64.cpp:1018:45: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c >= 'A') && (c <= 'Z') || (c >= 'a') && (c <= 'z')) ~~ ~~~~~~~~~~~^~~~~~~~~~~~~ 1541d64.cpp:1018:45: note: place parentheses around the '&&' expression to silence this warning if ((c >= 'A') && (c <= 'Z') || (c >= 'a') && (c <= 'z')) ^ ( ) 4 warnings generated. cc -O2 -pipe -D__unix -DX_USE_SHM -DUSE_SNDIO -fno-exceptions -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DWISH=\"/usr/local/bin/wish8.5\" -DFRODOLIBDIR=\"/usr/local/lib/frodo\" -o 1541t64.o -c 1541t64.cpp 1541t64.cpp:75:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] open_close_t64_file(""); ^ 1541t64.cpp:708:17: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c >= 'A') && (c <= 'Z') || (c >= 'a') && (c <= 'z')) ~~~~~~~~~~~^~~~~~~~~~~~~ ~~ 1541t64.cpp:708:17: note: place parentheses around the '&&' expression to silence this warning if ((c >= 'A') && (c <= 'Z') || (c >= 'a') && (c <= 'z')) ^ ( ) 1541t64.cpp:708:45: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c >= 'A') && (c <= 'Z') || (c >= 'a') && (c <= 'z')) ~~ ~~~~~~~~~~~^~~~~~~~~~~~~ 1541t64.cpp:708:45: note: place parentheses around the '&&' expression to silence this warning if ((c >= 'A') && (c <= 'Z') || (c >= 'a') && (c <= 'z')) ^ ( ) 3 warnings generated. cc -O2 -pipe -D__unix -DX_USE_SHM -DUSE_SNDIO -fno-exceptions -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DWISH=\"/usr/local/bin/wish8.5\" -DFRODOLIBDIR=\"/usr/local/lib/frodo\" -o 1541job.o -c 1541job.cpp In file included from 1541job.cpp:29: ./CPU1541.h:254:62: warning: '&' within '|' [-Wbitwise-op-parentheses] IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 // DATA (incl. ATN acknowledge) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ./CPU1541.h:254:62: note: place parentheses around the '&' expression to silence this warning IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 // DATA (incl. ATN acknowledge) ^ ( ) ./CPU1541.h:255:17: warning: '&' within '|' [-Wbitwise-op-parentheses] | (byte << 3) & 0x40; // CLK ~ ~~~~~~~~~~~~^~~~~~ ./CPU1541.h:255:17: note: place parentheses around the '&' expression to silence this warning | (byte << 3) & 0x40; // CLK ^ ( ) 2 warnings generated. cc -O2 -pipe -D__unix -DX_USE_SHM -DUSE_SNDIO -fno-exceptions -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DWISH=\"/usr/local/bin/wish8.5\" -DFRODOLIBDIR=\"/usr/local/lib/frodo\" -o SAM.o -c SAM.cpp In file included from SAM.cpp:12: ./CPU1541.h:254:62: warning: '&' within '|' [-Wbitwise-op-parentheses] IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 // DATA (incl. ATN acknowledge) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ./CPU1541.h:254:62: note: place parentheses around the '&' expression to silence this warning IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 // DATA (incl. ATN acknowledge) ^ ( ) ./CPU1541.h:255:17: warning: '&' within '|' [-Wbitwise-op-parentheses] | (byte << 3) & 0x40; // CLK ~ ~~~~~~~~~~~~^~~~~~ ./CPU1541.h:255:17: note: place parentheses around the '&' expression to silence this warning | (byte << 3) & 0x40; // CLK ^ ( ) SAM.cpp:436:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Unknown command"); ^ SAM.cpp:601:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Unrecognized token"); ^ SAM.cpp:608:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Unrecognized token"); ^ SAM.cpp:620:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Unrecognized token"); ^ SAM.cpp:641:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Unrecognized token"); ^ SAM.cpp:650:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Unrecognized token"); ^ SAM.cpp:657:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Unrecognized token"); ^ SAM.cpp:665:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Unrecognized token"); ^ SAM.cpp:675:35: warning: '&&' within '||' [-Wlogical-op-parentheses] while (((c = get_char()) >= '0') && (c <= '9') || (c >= 'a') && (c <= 'f')) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ~~ SAM.cpp:675:35: note: place parentheses around the '&&' expression to silence this warning while (((c = get_char()) >= '0') && (c <= '9') || (c >= 'a') && (c <= 'f')) ^ ( ) SAM.cpp:675:63: warning: '&&' within '||' [-Wlogical-op-parentheses] while (((c = get_char()) >= '0') && (c <= '9') || (c >= 'a') && (c <= 'f')) ~~ ~~~~~~~~~~~^~~~~~~~~~~~~ SAM.cpp:675:63: note: place parentheses around the '&&' expression to silence this warning while (((c = get_char()) >= '0') && (c <= '9') || (c >= 'a') && (c <= 'f')) ^ ( ) SAM.cpp:697:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Unterminated string"); ^ SAM.cpp:763:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Division by 0"); ^ SAM.cpp:806:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Missing ')'"); ^ SAM.cpp:810:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Error in expression"); ^ SAM.cpp:815:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Required argument missing"); ^ SAM.cpp:819:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("'pc', 'sp', '(' or number expected"); ^ SAM.cpp:902:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Number expected"); ^ SAM.cpp:939:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Illegal index register"); ^ SAM.cpp:969:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Only 'y' index register allowed"); ^ SAM.cpp:974:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Illegal characters after ')'"); ^ SAM.cpp:987:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("')' expected"); ^ SAM.cpp:991:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Only 'x' index register allowed"); ^ SAM.cpp:996:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("')' or ',' expected"); ^ SAM.cpp:1000:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Number expected"); ^ SAM.cpp:1005:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("'(', '#' or number expected"); ^ SAM.cpp:1217:17: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c >= 'A') && (c <= 'Z') || (c >= 'a') && (c <= 'z')) ~~~~~~~~~~~^~~~~~~~~~~~~ ~~ SAM.cpp:1217:17: note: place parentheses around the '&&' expression to silence this warning if ((c >= 'A') && (c <= 'Z') || (c >= 'a') && (c <= 'z')) ^ ( ) SAM.cpp:1217:45: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c >= 'A') && (c <= 'Z') || (c >= 'a') && (c <= 'z')) ~~ ~~~~~~~~~~~^~~~~~~~~~~~~ SAM.cpp:1217:45: note: place parentheses around the '&&' expression to silence this warning if ((c >= 'A') && (c <= 'Z') || (c >= 'a') && (c <= 'z')) ^ ( ) SAM.cpp:1381:20: warning: array subscript is of type 'char' [-Wchar-subscripts] switch (adr_length[mode]) { ^~~~~ SAM.cpp:1402:33: warning: array subscript is of type 'char' [-Wchar-subscripts] fprintf(fout, "%c%c%c ", mnem_1[mnem], mnem_2[mnem], mnem_3[mnem]); ^~~~~ SAM.cpp:1402:47: warning: array subscript is of type 'char' [-Wchar-subscripts] fprintf(fout, "%c%c%c ", mnem_1[mnem], mnem_2[mnem], mnem_3[mnem]); ^~~~~ SAM.cpp:1402:61: warning: array subscript is of type 'char' [-Wchar-subscripts] fprintf(fout, "%c%c%c ", mnem_1[mnem], mnem_2[mnem], mnem_3[mnem]); ^~~~~ SAM.cpp:1459:19: warning: array subscript is of type 'char' [-Wchar-subscripts] return adr_length[mode]; ^~~~~ SAM.cpp:1506:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Branch too long"); ^ SAM.cpp:1518:25: warning: array subscript is of type 'char' [-Wchar-subscripts] switch (adr_length[mode]) { ^~~~~ SAM.cpp:1535:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Internal error"); ^ SAM.cpp:1540:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Addressing mode not supported by instruction"); ^ SAM.cpp:1543:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Unrecognized addressing mode"); ^ SAM.cpp:1546:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Unknown instruction"); ^ SAM.cpp:1764:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Unable to open file"); ^ SAM.cpp:1766:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("'\"' around file name expected"); ^ SAM.cpp:1815:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Unknown command"); ^ SAM.cpp:1832:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Unknown command"); ^ SAM.cpp:2131:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Missing file name"); ^ SAM.cpp:2135:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("'\"' around file name expected"); ^ SAM.cpp:2140:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Unable to open file"); ^ SAM.cpp:2168:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Missing file name"); ^ SAM.cpp:2172:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("'\"' around file name expected"); ^ SAM.cpp:2177:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Unable to create file"); ^ SAM.cpp:2204:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Missing file name"); ^ SAM.cpp:2208:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("'\"' around file name expected"); ^ SAM.cpp:2213:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Unable to create file"); ^ 53 warnings generated. cc -O2 -pipe -D__unix -DX_USE_SHM -DUSE_SNDIO -fno-exceptions -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DWISH=\"/usr/local/bin/wish8.5\" -DFRODOLIBDIR=\"/usr/local/lib/frodo\" -o CmdPipe.o -c CmdPipe.cpp cc -O2 -pipe -D__unix -DX_USE_SHM -DUSE_SNDIO -fno-exceptions -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DWISH=\"/usr/local/bin/wish8.5\" -DFRODOLIBDIR=\"/usr/local/lib/frodo\" -o C64.o -c C64.cpp In file included from C64.cpp:11: ./CPU1541.h:254:62: warning: '&' within '|' [-Wbitwise-op-parentheses] IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 // DATA (incl. ATN acknowledge) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ./CPU1541.h:254:62: note: place parentheses around the '&' expression to silence this warning IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 // DATA (incl. ATN acknowledge) ^ ( ) ./CPU1541.h:255:17: warning: '&' within '|' [-Wbitwise-op-parentheses] | (byte << 3) & 0x40; // CLK ~ ~~~~~~~~~~~~^~~~~~ ./CPU1541.h:255:17: note: place parentheses around the '&' expression to silence this warning | (byte << 3) & 0x40; // CLK ^ ( ) C64.cpp:114:2: warning: delete called on non-final 'MOS6526_2' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete TheCIA2; ^ C64.cpp:115:2: warning: delete called on non-final 'MOS6526_1' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete TheCIA1; ^ C64.cpp:273:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("RAM save failed.", "OK", NULL); ^ C64.cpp:273:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("RAM save failed.", "OK", NULL); ^ C64.cpp:524:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Unable to open snapshot file", "OK", NULL); ^ C64.cpp:524:49: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Unable to open snapshot file", "OK", NULL); ^ C64.cpp:607:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Unknown snapshot format", "OK", NULL); ^ C64.cpp:607:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Unknown snapshot format", "OK", NULL); ^ C64.cpp:675:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Error reading snapshot file", "OK", NULL); ^ C64.cpp:675:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Error reading snapshot file", "OK", NULL); ^ C64.cpp:682:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Not a Frodo snapshot file", "OK", NULL); ^ C64.cpp:682:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Not a Frodo snapshot file", "OK", NULL); ^ C64.cpp:686:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Can't open snapshot file", "OK", NULL); ^ C64.cpp:686:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Can't open snapshot file", "OK", NULL); ^ In file included from C64.cpp:701: ./C64_x.i:105:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] wishName = WISH; ^ :12:14: note: expanded from macro 'WISH' #define WISH "/usr/local/bin/wish8.5" ^ In file included from C64.cpp:701: ./C64_x.i:108:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] d = FRODOLIBDIR; ^ :13:21: note: expanded from macro 'FRODOLIBDIR' #define FRODOLIBDIR "/usr/local/lib/frodo" ^ 18 warnings generated. cc -O2 -pipe -D__unix -DX_USE_SHM -DUSE_SNDIO -fno-exceptions -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DWISH=\"/usr/local/bin/wish8.5\" -DFRODOLIBDIR=\"/usr/local/lib/frodo\" -o CPUC64.o -c CPUC64.cpp CPUC64.cpp:170:47: warning: '&' within '|' [-Wbitwise-op-parentheses] return color_ram[adr & 0x03ff] | rand() & 0xf0; ~ ~~~~~~~^~~~~~ CPUC64.cpp:170:47: note: place parentheses around the '&' expression to silence this warning return color_ram[adr & 0x03ff] | rand() & 0xf0; ^ ( ) CPUC64.cpp:695:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester(illop_msg, "Reset"); ^ CPUC64.cpp:710:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester(illop_msg, "Reset"); ^ In file included from CPUC64.cpp:789: ./CPU_emulline.i:752:47: warning: '&' within '|' [-Wbitwise-op-parentheses] jump(read_byte(adr) | (read_byte((adr + 1) & 0xff | adr & 0xff00) << 8)); ~~~~~~~~~~^~~~~~ ~ ./CPU_emulline.i:752:47: note: place parentheses around the '&' expression to silence this warning jump(read_byte(adr) | (read_byte((adr + 1) & 0xff | adr & 0xff00) << 8)); ^ ( ) ./CPU_emulline.i:752:60: warning: '&' within '|' [-Wbitwise-op-parentheses] jump(read_byte(adr) | (read_byte((adr + 1) & 0xff | adr & 0xff00) << 8)); ~ ~~~~^~~~~~~~ ./CPU_emulline.i:752:60: note: place parentheses around the '&' expression to silence this warning jump(read_byte(adr) | (read_byte((adr + 1) & 0xff | adr & 0xff00) << 8)); ^ ( ) ./CPU_emulline.i:1311:12: warning: '&' within '|' [-Wbitwise-op-parentheses] a = a & 0xf0 | (a + 6) & 0x0f; ~~^~~~~~ ~ ./CPU_emulline.i:1311:12: note: place parentheses around the '&' expression to silence this warning a = a & 0xf0 | (a + 6) & 0x0f; ^ ( ) ./CPU_emulline.i:1311:29: warning: '&' within '|' [-Wbitwise-op-parentheses] a = a & 0xf0 | (a + 6) & 0x0f; ~ ~~~~~~~~^~~~~~ ./CPU_emulline.i:1311:29: note: place parentheses around the '&' expression to silence this warning a = a & 0xf0 | (a + 6) & 0x0f; ^ ( ) ./CPU_emulline.i:1312:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c_flag = ((tmp2 + (tmp2 & 0x10)) & 0x1f0) > 0x50) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./CPU_emulline.i:1312:16: note: place parentheses around the assignment to silence this warning if (c_flag = ((tmp2 + (tmp2 & 0x10)) & 0x1f0) > 0x50) ^ ( ) ./CPU_emulline.i:1312:16: note: use '==' to turn this assignment into an equality comparison if (c_flag = ((tmp2 + (tmp2 & 0x10)) & 0x1f0) > 0x50) ^ == 8 warnings generated. cc -O2 -pipe -D__unix -DX_USE_SHM -DUSE_SNDIO -fno-exceptions -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DWISH=\"/usr/local/bin/wish8.5\" -DFRODOLIBDIR=\"/usr/local/lib/frodo\" -o VIC.o -c VIC.cpp cc -O2 -pipe -D__unix -DX_USE_SHM -DUSE_SNDIO -fno-exceptions -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DWISH=\"/usr/local/bin/wish8.5\" -DFRODOLIBDIR=\"/usr/local/lib/frodo\" -o CIA.o -c CIA.cpp In file included from CIA.cpp:33: ./CPU1541.h:254:62: warning: '&' within '|' [-Wbitwise-op-parentheses] IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 // DATA (incl. ATN acknowledge) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ./CPU1541.h:254:62: note: place parentheses around the '&' expression to silence this warning IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 // DATA (incl. ATN acknowledge) ^ ( ) ./CPU1541.h:255:17: warning: '&' within '|' [-Wbitwise-op-parentheses] | (byte << 3) & 0x40; // CLK ~ ~~~~~~~~~~~~^~~~~~ ./CPU1541.h:255:17: note: place parentheses around the '&' expression to silence this warning | (byte << 3) & 0x40; // CLK ^ ( ) CIA.cpp:229:25: warning: '&' within '|' [-Wbitwise-op-parentheses] return (pra | ~ddra) & 0x3f ~~~~~~~~~~~~~~^~~~~~ CIA.cpp:229:25: note: place parentheses around the '&' expression to silence this warning return (pra | ~ddra) & 0x3f ^ ( ) CIA.cpp:230:16: warning: '&' within '|' [-Wbitwise-op-parentheses] | IECLines & the_cpu_1541->IECLines; ~ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ CIA.cpp:230:16: note: place parentheses around the '&' expression to silence this warning | IECLines & the_cpu_1541->IECLines; ^ ( ) CIA.cpp:263:20: warning: & has lower precedence than !=; != will be evaluated first [-Wparentheses] if ((prb | ~ddrb) & 0x10 != prev_lp) ^~~~~~~~~~~~~~~~~ CIA.cpp:263:20: note: place parentheses around the '!=' expression to silence this warning if ((prb | ~ddrb) & 0x10 != prev_lp) ^ ( ) CIA.cpp:263:20: note: place parentheses around the & expression to evaluate it first if ((prb | ~ddrb) & 0x10 != prev_lp) ^ ( ) CIA.cpp:369:27: warning: '&' within '|' [-Wbitwise-op-parentheses] IECLines = (byte << 2) & 0x80 // DATA ~~~~~~~~~~~~^~~~~~ CIA.cpp:369:27: note: place parentheses around the '&' expression to silence this warning IECLines = (byte << 2) & 0x80 // DATA ^ ( ) CIA.cpp:370:19: warning: '&' within '|' [-Wbitwise-op-parentheses] | (byte << 2) & 0x40 // CLK ~ ~~~~~~~~~~~~^~~~~~ CIA.cpp:370:19: note: place parentheses around the '&' expression to silence this warning | (byte << 2) & 0x40 // CLK ^ ( ) CIA.cpp:371:19: warning: '&' within '|' [-Wbitwise-op-parentheses] | (byte << 1) & 0x10; // ATN ~ ~~~~~~~~~~~~^~~~~~ CIA.cpp:371:19: note: place parentheses around the '&' expression to silence this warning | (byte << 1) & 0x10; // ATN ^ ( ) CIA.cpp:516:23: warning: '&' within '^' [-Wbitwise-op-parentheses] tod_hr = tod_hr & 0x80 ^ 0x80; ~~~~~~~^~~~~~ ~ CIA.cpp:516:23: note: place parentheses around the '&' expression to silence this warning tod_hr = tod_hr & 0x80 ^ 0x80; ^ ( ) 9 warnings generated. cc -O2 -pipe -D__unix -DX_USE_SHM -DUSE_SNDIO -fno-exceptions -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DWISH=\"/usr/local/bin/wish8.5\" -DFRODOLIBDIR=\"/usr/local/lib/frodo\" -o CPU1541.o -c CPU1541.cpp In file included from CPU1541.cpp:64: ./CPU1541.h:254:62: warning: '&' within '|' [-Wbitwise-op-parentheses] IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 // DATA (incl. ATN acknowledge) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ./CPU1541.h:254:62: note: place parentheses around the '&' expression to silence this warning IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 // DATA (incl. ATN acknowledge) ^ ( ) ./CPU1541.h:255:17: warning: '&' within '|' [-Wbitwise-op-parentheses] | (byte << 3) & 0x40; // CLK ~ ~~~~~~~~~~~~^~~~~~ ./CPU1541.h:255:17: note: place parentheses around the '&' expression to silence this warning | (byte << 3) & 0x40; // CLK ^ ( ) CPU1541.cpp:120:22: warning: '&' within '|' [-Wbitwise-op-parentheses] return (via1_prb & 0x1a ~~~~~~~~~^~~~~~ CPU1541.cpp:120:22: note: place parentheses around the '&' expression to silence this warning return (via1_prb & 0x1a ^ ( ) CPU1541.cpp:122:46: warning: '&' within '|' [-Wbitwise-op-parentheses] | ((IECLines & TheCIA2->IECLines) >> 4) & 0x04 // CLK ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ CPU1541.cpp:122:46: note: place parentheses around the '&' expression to silence this warning | ((IECLines & TheCIA2->IECLines) >> 4) & 0x04 // CLK ^ ( ) CPU1541.cpp:123:33: warning: '&' within '|' [-Wbitwise-op-parentheses] | (TheCIA2->IECLines << 3) & 0x80) ^ 0x85; // ATN ~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ CPU1541.cpp:123:33: note: place parentheses around the '&' expression to silence this warning | (TheCIA2->IECLines << 3) & 0x80) ^ 0x85; // ATN ^ ( ) CPU1541.cpp:163:22: warning: '&' within '|' [-Wbitwise-op-parentheses] return via2_prb & 0x7f | the_job->WPState(); ~~~~~~~~~^~~~~~ ~ CPU1541.cpp:163:22: note: place parentheses around the '&' expression to silence this warning return via2_prb & 0x7f | the_job->WPState(); ^ ( ) CPU1541.cpp:243:65: warning: '&' within '|' [-Wbitwise-op-parentheses] IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ CPU1541.cpp:243:65: note: place parentheses around the '&' expression to silence this warning IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 ^ ( ) CPU1541.cpp:244:20: warning: '&' within '|' [-Wbitwise-op-parentheses] | (byte << 3) & 0x40; ~ ~~~~~~~~~~~~^~~~~~ CPU1541.cpp:244:20: note: place parentheses around the '&' expression to silence this warning | (byte << 3) & 0x40; ^ ( ) CPU1541.cpp:253:65: warning: '&' within '|' [-Wbitwise-op-parentheses] IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ CPU1541.cpp:253:65: note: place parentheses around the '&' expression to silence this warning IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 ^ ( ) CPU1541.cpp:254:20: warning: '&' within '|' [-Wbitwise-op-parentheses] | (byte << 3) & 0x40; ~ ~~~~~~~~~~~~^~~~~~ CPU1541.cpp:254:20: note: place parentheses around the '&' expression to silence this warning | (byte << 3) & 0x40; ^ ( ) CPU1541.cpp:261:25: warning: '&' within '|' [-Wbitwise-op-parentheses] via1_t1l = via1_t1l & 0xff00 | byte; ~~~~~~~~~^~~~~~~~ ~ CPU1541.cpp:261:25: note: place parentheses around the '&' expression to silence this warning via1_t1l = via1_t1l & 0xff00 | byte; ^ ( ) CPU1541.cpp:264:25: warning: '&' within '|' [-Wbitwise-op-parentheses] via1_t1l = via1_t1l & 0xff | (byte << 8); ~~~~~~~~~^~~~~~ ~ CPU1541.cpp:264:25: note: place parentheses around the '&' expression to silence this warning via1_t1l = via1_t1l & 0xff | (byte << 8); ^ ( ) CPU1541.cpp:269:25: warning: '&' within '|' [-Wbitwise-op-parentheses] via1_t1l = via1_t1l & 0xff | (byte << 8); ~~~~~~~~~^~~~~~ ~ CPU1541.cpp:269:25: note: place parentheses around the '&' expression to silence this warning via1_t1l = via1_t1l & 0xff | (byte << 8); ^ ( ) CPU1541.cpp:272:25: warning: '&' within '|' [-Wbitwise-op-parentheses] via1_t2l = via1_t2l & 0xff00 | byte; ~~~~~~~~~^~~~~~~~ ~ CPU1541.cpp:272:25: note: place parentheses around the '&' expression to silence this warning via1_t2l = via1_t2l & 0xff00 | byte; ^ ( ) CPU1541.cpp:275:25: warning: '&' within '|' [-Wbitwise-op-parentheses] via1_t2l = via1_t2l & 0xff | (byte << 8); ~~~~~~~~~^~~~~~ ~ CPU1541.cpp:275:25: note: place parentheses around the '&' expression to silence this warning via1_t2l = via1_t2l & 0xff | (byte << 8); ^ ( ) CPU1541.cpp:307:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if ((via2_prb & 3) == ((byte-1) & 3)) ^ CPU1541.cpp:323:25: warning: '&' within '|' [-Wbitwise-op-parentheses] via2_t1l = via2_t1l & 0xff00 | byte; ~~~~~~~~~^~~~~~~~ ~ CPU1541.cpp:323:25: note: place parentheses around the '&' expression to silence this warning via2_t1l = via2_t1l & 0xff00 | byte; ^ ( ) CPU1541.cpp:326:25: warning: '&' within '|' [-Wbitwise-op-parentheses] via2_t1l = via2_t1l & 0xff | (byte << 8); ~~~~~~~~~^~~~~~ ~ CPU1541.cpp:326:25: note: place parentheses around the '&' expression to silence this warning via2_t1l = via2_t1l & 0xff | (byte << 8); ^ ( ) CPU1541.cpp:331:25: warning: '&' within '|' [-Wbitwise-op-parentheses] via2_t1l = via2_t1l & 0xff | (byte << 8); ~~~~~~~~~^~~~~~ ~ CPU1541.cpp:331:25: note: place parentheses around the '&' expression to silence this warning via2_t1l = via2_t1l & 0xff | (byte << 8); ^ ( ) CPU1541.cpp:334:25: warning: '&' within '|' [-Wbitwise-op-parentheses] via2_t2l = via2_t2l & 0xff00 | byte; ~~~~~~~~~^~~~~~~~ ~ CPU1541.cpp:334:25: note: place parentheses around the '&' expression to silence this warning via2_t2l = via2_t2l & 0xff00 | byte; ^ ( ) CPU1541.cpp:337:25: warning: '&' within '|' [-Wbitwise-op-parentheses] via2_t2l = via2_t2l & 0xff | (byte << 8); ~~~~~~~~~^~~~~~ ~ CPU1541.cpp:337:25: note: place parentheses around the '&' expression to silence this warning via2_t2l = via2_t2l & 0xff | (byte << 8); ^ ( ) CPU1541.cpp:651:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (ShowRequester(illop_msg, "Reset 1541", "Reset C64")) ^ CPU1541.cpp:651:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (ShowRequester(illop_msg, "Reset 1541", "Reset C64")) ^ CPU1541.cpp:666:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (ShowRequester(illop_msg, "Reset 1541", "Reset C64")) ^ CPU1541.cpp:666:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (ShowRequester(illop_msg, "Reset 1541", "Reset C64")) ^ In file included from CPU1541.cpp:734: ./CPU_emulline.i:752:47: warning: '&' within '|' [-Wbitwise-op-parentheses] jump(read_byte(adr) | (read_byte((adr + 1) & 0xff | adr & 0xff00) << 8)); ~~~~~~~~~~^~~~~~ ~ ./CPU_emulline.i:752:47: note: place parentheses around the '&' expression to silence this warning jump(read_byte(adr) | (read_byte((adr + 1) & 0xff | adr & 0xff00) << 8)); ^ ( ) ./CPU_emulline.i:752:60: warning: '&' within '|' [-Wbitwise-op-parentheses] jump(read_byte(adr) | (read_byte((adr + 1) & 0xff | adr & 0xff00) << 8)); ~ ~~~~^~~~~~~~ ./CPU_emulline.i:752:60: note: place parentheses around the '&' expression to silence this warning jump(read_byte(adr) | (read_byte((adr + 1) & 0xff | adr & 0xff00) << 8)); ^ ( ) ./CPU_emulline.i:1311:12: warning: '&' within '|' [-Wbitwise-op-parentheses] a = a & 0xf0 | (a + 6) & 0x0f; ~~^~~~~~ ~ ./CPU_emulline.i:1311:12: note: place parentheses around the '&' expression to silence this warning a = a & 0xf0 | (a + 6) & 0x0f; ^ ( ) ./CPU_emulline.i:1311:29: warning: '&' within '|' [-Wbitwise-op-parentheses] a = a & 0xf0 | (a + 6) & 0x0f; ~ ~~~~~~~~^~~~~~ ./CPU_emulline.i:1311:29: note: place parentheses around the '&' expression to silence this warning a = a & 0xf0 | (a + 6) & 0x0f; ^ ( ) ./CPU_emulline.i:1312:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c_flag = ((tmp2 + (tmp2 & 0x10)) & 0x1f0) > 0x50) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./CPU_emulline.i:1312:16: note: place parentheses around the assignment to silence this warning if (c_flag = ((tmp2 + (tmp2 & 0x10)) & 0x1f0) > 0x50) ^ ( ) ./CPU_emulline.i:1312:16: note: use '==' to turn this assignment into an equality comparison if (c_flag = ((tmp2 + (tmp2 & 0x10)) & 0x1f0) > 0x50) ^ == 30 warnings generated. c++ -o Frodo main.o Display.o Prefs.o SID.o REU.o IEC.o 1541fs.o 1541d64.o 1541t64.o 1541job.o SAM.o CmdPipe.o C64.o CPUC64.o VIC.o CIA.o CPU1541.o -lsndio -L/usr/local/lib -lSDL -pthread -L/usr/X11R6/lib Display.cpp(Display.o:(C64Display::Speedometer(int))): warning: sprintf() is often misused, please use snprintf() REU.cpp(REU.o:(REU::ReadRegister(unsigned short))): warning: rand() may return deterministic values, is that what you want? 1541d64.cpp(1541d64.o:(D64Drive::D64Drive(IEC*, char*))): warning: strcpy() is almost always misused, please use strlcpy() cp Frodo .. cc -O2 -pipe -D__unix -DX_USE_SHM -DUSE_SNDIO -fno-exceptions -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DWISH=\"/usr/local/bin/wish8.5\" -DFRODOLIBDIR=\"/usr/local/lib/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_PC.cpp:11: In file included from ./C64.cpp:11: ./CPU1541.h:254:62: warning: '&' within '|' [-Wbitwise-op-parentheses] IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 // DATA (incl. ATN acknowledge) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ./CPU1541.h:254:62: note: place parentheses around the '&' expression to silence this warning IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 // DATA (incl. ATN acknowledge) ^ ( ) ./CPU1541.h:255:17: warning: '&' within '|' [-Wbitwise-op-parentheses] | (byte << 3) & 0x40; // CLK ~ ~~~~~~~~~~~~^~~~~~ ./CPU1541.h:255:17: note: place parentheses around the '&' expression to silence this warning | (byte << 3) & 0x40; // CLK ^ ( ) In file included from C64_PC.cpp:11: ./C64.cpp:114:2: warning: delete called on non-final 'MOS6526_2' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete TheCIA2; ^ ./C64.cpp:115:2: warning: delete called on non-final 'MOS6526_1' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete TheCIA1; ^ ./C64.cpp:273:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("RAM save failed.", "OK", NULL); ^ ./C64.cpp:273:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("RAM save failed.", "OK", NULL); ^ ./C64.cpp:524:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Unable to open snapshot file", "OK", NULL); ^ ./C64.cpp:524:49: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Unable to open snapshot file", "OK", NULL); ^ ./C64.cpp:607:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Unknown snapshot format", "OK", NULL); ^ ./C64.cpp:607:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Unknown snapshot format", "OK", NULL); ^ ./C64.cpp:675:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Error reading snapshot file", "OK", NULL); ^ ./C64.cpp:675:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Error reading snapshot file", "OK", NULL); ^ ./C64.cpp:682:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Not a Frodo snapshot file", "OK", NULL); ^ ./C64.cpp:682:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Not a Frodo snapshot file", "OK", NULL); ^ ./C64.cpp:686:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Can't open snapshot file", "OK", NULL); ^ ./C64.cpp:686:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Can't open snapshot file", "OK", NULL); ^ In file included from C64_PC.cpp:11: In file included from ./C64.cpp:701: ./C64_x.i:105:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] wishName = WISH; ^ :12:14: note: expanded from macro 'WISH' #define WISH "/usr/local/bin/wish8.5" ^ In file included from C64_PC.cpp:11: In file included from ./C64.cpp:701: ./C64_x.i:108:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] d = FRODOLIBDIR; ^ :13:21: note: expanded from macro 'FRODOLIBDIR' #define FRODOLIBDIR "/usr/local/lib/frodo" ^ 18 warnings generated. cc -O2 -pipe -D__unix -DX_USE_SHM -DUSE_SNDIO -fno-exceptions -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DWISH=\"/usr/local/bin/wish8.5\" -DFRODOLIBDIR=\"/usr/local/lib/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:170:47: warning: '&' within '|' [-Wbitwise-op-parentheses] return color_ram[adr & 0x03ff] | rand() & 0xf0; ~ ~~~~~~~^~~~~~ ./CPUC64.cpp:170:47: note: place parentheses around the '&' expression to silence this warning return color_ram[adr & 0x03ff] | rand() & 0xf0; ^ ( ) ./CPUC64.cpp:695:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester(illop_msg, "Reset"); ^ ./CPUC64.cpp:710:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester(illop_msg, "Reset"); ^ In file included from CPUC64_PC.cpp:11: In file included from ./CPUC64.cpp:789: ./CPU_emulline.i:752:47: warning: '&' within '|' [-Wbitwise-op-parentheses] jump(read_byte(adr) | (read_byte((adr + 1) & 0xff | adr & 0xff00) << 8)); ~~~~~~~~~~^~~~~~ ~ ./CPU_emulline.i:752:47: note: place parentheses around the '&' expression to silence this warning jump(read_byte(adr) | (read_byte((adr + 1) & 0xff | adr & 0xff00) << 8)); ^ ( ) ./CPU_emulline.i:752:60: warning: '&' within '|' [-Wbitwise-op-parentheses] jump(read_byte(adr) | (read_byte((adr + 1) & 0xff | adr & 0xff00) << 8)); ~ ~~~~^~~~~~~~ ./CPU_emulline.i:752:60: note: place parentheses around the '&' expression to silence this warning jump(read_byte(adr) | (read_byte((adr + 1) & 0xff | adr & 0xff00) << 8)); ^ ( ) ./CPU_emulline.i:759:16: warning: operator '>>' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] push_byte(pc+1 >> 8); push_byte(pc+1); ~~^~ ~~ ./CPUC64.cpp:724:57: note: expanded from macro 'push_byte' #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) ^~~~ ./CPU_emulline.i:759:16: note: place parentheses around the '+' expression to silence this warning push_byte(pc+1 >> 8); push_byte(pc+1); ~~^~ ./CPUC64.cpp:724:57: note: expanded from macro 'push_byte' #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) ^~~~ In file included from CPUC64_PC.cpp:11: In file included from ./CPUC64.cpp:789: ./CPU_emulline.i:1311:12: warning: '&' within '|' [-Wbitwise-op-parentheses] a = a & 0xf0 | (a + 6) & 0x0f; ~~^~~~~~ ~ ./CPU_emulline.i:1311:12: note: place parentheses around the '&' expression to silence this warning a = a & 0xf0 | (a + 6) & 0x0f; ^ ( ) ./CPU_emulline.i:1311:29: warning: '&' within '|' [-Wbitwise-op-parentheses] a = a & 0xf0 | (a + 6) & 0x0f; ~ ~~~~~~~~^~~~~~ ./CPU_emulline.i:1311:29: note: place parentheses around the '&' expression to silence this warning a = a & 0xf0 | (a + 6) & 0x0f; ^ ( ) ./CPU_emulline.i:1312:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c_flag = ((tmp2 + (tmp2 & 0x10)) & 0x1f0) > 0x50) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./CPU_emulline.i:1312:16: note: place parentheses around the assignment to silence this warning if (c_flag = ((tmp2 + (tmp2 & 0x10)) & 0x1f0) > 0x50) ^ ( ) ./CPU_emulline.i:1312:16: note: use '==' to turn this assignment into an equality comparison if (c_flag = ((tmp2 + (tmp2 & 0x10)) & 0x1f0) > 0x50) ^ == 9 warnings generated. cc -O2 -pipe -D__unix -DX_USE_SHM -DUSE_SNDIO -fno-exceptions -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DWISH=\"/usr/local/bin/wish8.5\" -DFRODOLIBDIR=\"/usr/local/lib/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_PC.cpp:11: In file included from ./CPU1541.cpp:64: ./CPU1541.h:254:62: warning: '&' within '|' [-Wbitwise-op-parentheses] IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 // DATA (incl. ATN acknowledge) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ./CPU1541.h:254:62: note: place parentheses around the '&' expression to silence this warning IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 // DATA (incl. ATN acknowledge) ^ ( ) ./CPU1541.h:255:17: warning: '&' within '|' [-Wbitwise-op-parentheses] | (byte << 3) & 0x40; // CLK ~ ~~~~~~~~~~~~^~~~~~ ./CPU1541.h:255:17: note: place parentheses around the '&' expression to silence this warning | (byte << 3) & 0x40; // CLK ^ ( ) In file included from CPU1541_PC.cpp:11: ./CPU1541.cpp:120:22: warning: '&' within '|' [-Wbitwise-op-parentheses] return (via1_prb & 0x1a ~~~~~~~~~^~~~~~ ./CPU1541.cpp:120:22: note: place parentheses around the '&' expression to silence this warning return (via1_prb & 0x1a ^ ( ) ./CPU1541.cpp:122:46: warning: '&' within '|' [-Wbitwise-op-parentheses] | ((IECLines & TheCIA2->IECLines) >> 4) & 0x04 // CLK ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ./CPU1541.cpp:122:46: note: place parentheses around the '&' expression to silence this warning | ((IECLines & TheCIA2->IECLines) >> 4) & 0x04 // CLK ^ ( ) ./CPU1541.cpp:123:33: warning: '&' within '|' [-Wbitwise-op-parentheses] | (TheCIA2->IECLines << 3) & 0x80) ^ 0x85; // ATN ~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ./CPU1541.cpp:123:33: note: place parentheses around the '&' expression to silence this warning | (TheCIA2->IECLines << 3) & 0x80) ^ 0x85; // ATN ^ ( ) ./CPU1541.cpp:163:22: warning: '&' within '|' [-Wbitwise-op-parentheses] return via2_prb & 0x7f | the_job->WPState(); ~~~~~~~~~^~~~~~ ~ ./CPU1541.cpp:163:22: note: place parentheses around the '&' expression to silence this warning return via2_prb & 0x7f | the_job->WPState(); ^ ( ) ./CPU1541.cpp:243:65: warning: '&' within '|' [-Wbitwise-op-parentheses] IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ./CPU1541.cpp:243:65: note: place parentheses around the '&' expression to silence this warning IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 ^ ( ) ./CPU1541.cpp:244:20: warning: '&' within '|' [-Wbitwise-op-parentheses] | (byte << 3) & 0x40; ~ ~~~~~~~~~~~~^~~~~~ ./CPU1541.cpp:244:20: note: place parentheses around the '&' expression to silence this warning | (byte << 3) & 0x40; ^ ( ) ./CPU1541.cpp:253:65: warning: '&' within '|' [-Wbitwise-op-parentheses] IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ./CPU1541.cpp:253:65: note: place parentheses around the '&' expression to silence this warning IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 ^ ( ) ./CPU1541.cpp:254:20: warning: '&' within '|' [-Wbitwise-op-parentheses] | (byte << 3) & 0x40; ~ ~~~~~~~~~~~~^~~~~~ ./CPU1541.cpp:254:20: note: place parentheses around the '&' expression to silence this warning | (byte << 3) & 0x40; ^ ( ) ./CPU1541.cpp:261:25: warning: '&' within '|' [-Wbitwise-op-parentheses] via1_t1l = via1_t1l & 0xff00 | byte; ~~~~~~~~~^~~~~~~~ ~ ./CPU1541.cpp:261:25: note: place parentheses around the '&' expression to silence this warning via1_t1l = via1_t1l & 0xff00 | byte; ^ ( ) ./CPU1541.cpp:264:25: warning: '&' within '|' [-Wbitwise-op-parentheses] via1_t1l = via1_t1l & 0xff | (byte << 8); ~~~~~~~~~^~~~~~ ~ ./CPU1541.cpp:264:25: note: place parentheses around the '&' expression to silence this warning via1_t1l = via1_t1l & 0xff | (byte << 8); ^ ( ) ./CPU1541.cpp:269:25: warning: '&' within '|' [-Wbitwise-op-parentheses] via1_t1l = via1_t1l & 0xff | (byte << 8); ~~~~~~~~~^~~~~~ ~ ./CPU1541.cpp:269:25: note: place parentheses around the '&' expression to silence this warning via1_t1l = via1_t1l & 0xff | (byte << 8); ^ ( ) ./CPU1541.cpp:272:25: warning: '&' within '|' [-Wbitwise-op-parentheses] via1_t2l = via1_t2l & 0xff00 | byte; ~~~~~~~~~^~~~~~~~ ~ ./CPU1541.cpp:272:25: note: place parentheses around the '&' expression to silence this warning via1_t2l = via1_t2l & 0xff00 | byte; ^ ( ) ./CPU1541.cpp:275:25: warning: '&' within '|' [-Wbitwise-op-parentheses] via1_t2l = via1_t2l & 0xff | (byte << 8); ~~~~~~~~~^~~~~~ ~ ./CPU1541.cpp:275:25: note: place parentheses around the '&' expression to silence this warning via1_t2l = via1_t2l & 0xff | (byte << 8); ^ ( ) ./CPU1541.cpp:307:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if ((via2_prb & 3) == ((byte-1) & 3)) ^ ./CPU1541.cpp:323:25: warning: '&' within '|' [-Wbitwise-op-parentheses] via2_t1l = via2_t1l & 0xff00 | byte; ~~~~~~~~~^~~~~~~~ ~ ./CPU1541.cpp:323:25: note: place parentheses around the '&' expression to silence this warning via2_t1l = via2_t1l & 0xff00 | byte; ^ ( ) ./CPU1541.cpp:326:25: warning: '&' within '|' [-Wbitwise-op-parentheses] via2_t1l = via2_t1l & 0xff | (byte << 8); ~~~~~~~~~^~~~~~ ~ ./CPU1541.cpp:326:25: note: place parentheses around the '&' expression to silence this warning via2_t1l = via2_t1l & 0xff | (byte << 8); ^ ( ) ./CPU1541.cpp:331:25: warning: '&' within '|' [-Wbitwise-op-parentheses] via2_t1l = via2_t1l & 0xff | (byte << 8); ~~~~~~~~~^~~~~~ ~ ./CPU1541.cpp:331:25: note: place parentheses around the '&' expression to silence this warning via2_t1l = via2_t1l & 0xff | (byte << 8); ^ ( ) ./CPU1541.cpp:334:25: warning: '&' within '|' [-Wbitwise-op-parentheses] via2_t2l = via2_t2l & 0xff00 | byte; ~~~~~~~~~^~~~~~~~ ~ ./CPU1541.cpp:334:25: note: place parentheses around the '&' expression to silence this warning via2_t2l = via2_t2l & 0xff00 | byte; ^ ( ) ./CPU1541.cpp:337:25: warning: '&' within '|' [-Wbitwise-op-parentheses] via2_t2l = via2_t2l & 0xff | (byte << 8); ~~~~~~~~~^~~~~~ ~ ./CPU1541.cpp:337:25: note: place parentheses around the '&' expression to silence this warning via2_t2l = via2_t2l & 0xff | (byte << 8); ^ ( ) ./CPU1541.cpp:651:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (ShowRequester(illop_msg, "Reset 1541", "Reset C64")) ^ ./CPU1541.cpp:651:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (ShowRequester(illop_msg, "Reset 1541", "Reset C64")) ^ ./CPU1541.cpp:666:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (ShowRequester(illop_msg, "Reset 1541", "Reset C64")) ^ ./CPU1541.cpp:666:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (ShowRequester(illop_msg, "Reset 1541", "Reset C64")) ^ In file included from CPU1541_PC.cpp:11: In file included from ./CPU1541.cpp:734: ./CPU_emulline.i:752:47: warning: '&' within '|' [-Wbitwise-op-parentheses] jump(read_byte(adr) | (read_byte((adr + 1) & 0xff | adr & 0xff00) << 8)); ~~~~~~~~~~^~~~~~ ~ ./CPU_emulline.i:752:47: note: place parentheses around the '&' expression to silence this warning jump(read_byte(adr) | (read_byte((adr + 1) & 0xff | adr & 0xff00) << 8)); ^ ( ) ./CPU_emulline.i:752:60: warning: '&' within '|' [-Wbitwise-op-parentheses] jump(read_byte(adr) | (read_byte((adr + 1) & 0xff | adr & 0xff00) << 8)); ~ ~~~~^~~~~~~~ ./CPU_emulline.i:752:60: note: place parentheses around the '&' expression to silence this warning jump(read_byte(adr) | (read_byte((adr + 1) & 0xff | adr & 0xff00) << 8)); ^ ( ) ./CPU_emulline.i:759:16: warning: operator '>>' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] push_byte(pc+1 >> 8); push_byte(pc+1); ~~^~ ~~ ./CPU1541.cpp:680:57: note: expanded from macro 'push_byte' #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) ^~~~ ./CPU_emulline.i:759:16: note: place parentheses around the '+' expression to silence this warning push_byte(pc+1 >> 8); push_byte(pc+1); ~~^~ ./CPU1541.cpp:680:57: note: expanded from macro 'push_byte' #define push_byte(byte) (ram[(sp--) & 0xff | 0x0100] = (byte)) ^~~~ In file included from CPU1541_PC.cpp:11: In file included from ./CPU1541.cpp:734: ./CPU_emulline.i:1311:12: warning: '&' within '|' [-Wbitwise-op-parentheses] a = a & 0xf0 | (a + 6) & 0x0f; ~~^~~~~~ ~ ./CPU_emulline.i:1311:12: note: place parentheses around the '&' expression to silence this warning a = a & 0xf0 | (a + 6) & 0x0f; ^ ( ) ./CPU_emulline.i:1311:29: warning: '&' within '|' [-Wbitwise-op-parentheses] a = a & 0xf0 | (a + 6) & 0x0f; ~ ~~~~~~~~^~~~~~ ./CPU_emulline.i:1311:29: note: place parentheses around the '&' expression to silence this warning a = a & 0xf0 | (a + 6) & 0x0f; ^ ( ) ./CPU_emulline.i:1312:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c_flag = ((tmp2 + (tmp2 & 0x10)) & 0x1f0) > 0x50) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./CPU_emulline.i:1312:16: note: place parentheses around the assignment to silence this warning if (c_flag = ((tmp2 + (tmp2 & 0x10)) & 0x1f0) > 0x50) ^ ( ) ./CPU_emulline.i:1312:16: note: use '==' to turn this assignment into an equality comparison if (c_flag = ((tmp2 + (tmp2 & 0x10)) & 0x1f0) > 0x50) ^ == 31 warnings generated. c++ -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 -lsndio -L/usr/local/lib -lSDL -pthread -L/usr/X11R6/lib 1541d64.cpp(1541d64.o:(D64Drive::D64Drive(IEC*, char*))): warning: strcpy() is almost always misused, please use strlcpy() REU.cpp(REU.o:(REU::ReadRegister(unsigned short))): warning: rand() may return deterministic values, is that what you want? Display.cpp(Display.o:(C64Display::Speedometer(int))): warning: sprintf() is often misused, please use snprintf() cp FrodoPC .. cc -O2 -pipe -D__unix -DX_USE_SHM -DUSE_SNDIO -fno-exceptions -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DWISH=\"/usr/local/bin/wish8.5\" -DFRODOLIBDIR=\"/usr/local/lib/frodo\" -DFRODO_SC -o C64_SC.o -c C64_SC.cpp In file included from C64_SC.cpp:11: In file included from ./C64.cpp:11: ./CPU1541.h:254:62: warning: '&' within '|' [-Wbitwise-op-parentheses] IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 // DATA (incl. ATN acknowledge) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ./CPU1541.h:254:62: note: place parentheses around the '&' expression to silence this warning IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 // DATA (incl. ATN acknowledge) ^ ( ) ./CPU1541.h:255:17: warning: '&' within '|' [-Wbitwise-op-parentheses] | (byte << 3) & 0x40; // CLK ~ ~~~~~~~~~~~~^~~~~~ ./CPU1541.h:255:17: note: place parentheses around the '&' expression to silence this warning | (byte << 3) & 0x40; // CLK ^ ( ) In file included from C64_SC.cpp:11: ./C64.cpp:114:2: warning: delete called on non-final 'MOS6526_2' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete TheCIA2; ^ ./C64.cpp:115:2: warning: delete called on non-final 'MOS6526_1' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete TheCIA1; ^ ./C64.cpp:273:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("RAM save failed.", "OK", NULL); ^ ./C64.cpp:273:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("RAM save failed.", "OK", NULL); ^ ./C64.cpp:524:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Unable to open snapshot file", "OK", NULL); ^ ./C64.cpp:524:49: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Unable to open snapshot file", "OK", NULL); ^ ./C64.cpp:607:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Unknown snapshot format", "OK", NULL); ^ ./C64.cpp:607:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Unknown snapshot format", "OK", NULL); ^ ./C64.cpp:675:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Error reading snapshot file", "OK", NULL); ^ ./C64.cpp:675:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Error reading snapshot file", "OK", NULL); ^ ./C64.cpp:682:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Not a Frodo snapshot file", "OK", NULL); ^ ./C64.cpp:682:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Not a Frodo snapshot file", "OK", NULL); ^ ./C64.cpp:686:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Can't open snapshot file", "OK", NULL); ^ ./C64.cpp:686:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester("Can't open snapshot file", "OK", NULL); ^ In file included from C64_SC.cpp:11: In file included from ./C64.cpp:701: ./C64_x.i:105:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] wishName = WISH; ^ :12:14: note: expanded from macro 'WISH' #define WISH "/usr/local/bin/wish8.5" ^ In file included from C64_SC.cpp:11: In file included from ./C64.cpp:701: ./C64_x.i:108:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] d = FRODOLIBDIR; ^ :13:21: note: expanded from macro 'FRODOLIBDIR' #define FRODOLIBDIR "/usr/local/lib/frodo" ^ 18 warnings generated. cc -O2 -pipe -D__unix -DX_USE_SHM -DUSE_SNDIO -fno-exceptions -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DWISH=\"/usr/local/bin/wish8.5\" -DFRODOLIBDIR=\"/usr/local/lib/frodo\" -DFRODO_SC -o CPUC64_SC.o -c CPUC64_SC.cpp CPUC64_SC.cpp:231:38: warning: '&' within '|' [-Wbitwise-op-parentheses] return color_ram[adr & 0x03ff] & 0x0f | TheVIC->LastVICByte & 0xf0; ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ~ CPUC64_SC.cpp:231:38: note: place parentheses around the '&' expression to silence this warning return color_ram[adr & 0x03ff] & 0x0f | TheVIC->LastVICByte & 0xf0; ^ ( ) CPUC64_SC.cpp:231:67: warning: '&' within '|' [-Wbitwise-op-parentheses] return color_ram[adr & 0x03ff] & 0x0f | TheVIC->LastVICByte & 0xf0; ~ ~~~~~~~~~~~~~~~~~~~~^~~~~~ CPUC64_SC.cpp:231:67: note: place parentheses around the '&' expression to silence this warning return color_ram[adr & 0x03ff] & 0x0f | TheVIC->LastVICByte & 0xf0; ^ ( ) CPUC64_SC.cpp:560:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ShowRequester(illop_msg, "Reset"); ^ In file included from CPUC64_SC.cpp:597: ./CPU_emulcycle.i:189:18: warning: '&' within '|' [-Wbitwise-op-parentheses] ar = (ar + x) & 0xff | (ar2 << 8); ~~~~~~~~~^~~~~~ ~ ./CPU_emulcycle.i:189:18: note: place parentheses around the '&' expression to silence this warning ar = (ar + x) & 0xff | (ar2 << 8); ^ ( ) ./CPU_emulcycle.i:209:18: warning: '&' within '|' [-Wbitwise-op-parentheses] ar = (ar + y) & 0xff | (ar2 << 8); ~~~~~~~~~^~~~~~ ~ ./CPU_emulcycle.i:209:18: note: place parentheses around the '&' expression to silence this warning ar = (ar + y) & 0xff | (ar2 << 8); ^ ( ) ./CPU_emulcycle.i:251:18: warning: '&' within '|' [-Wbitwise-op-parentheses] ar = (ar + y) & 0xff | (ar2 << 8); ~~~~~~~~~^~~~~~ ~ ./CPU_emulcycle.i:251:18: note: place parentheses around the '&' expression to silence this warning ar = (ar + y) & 0xff | (ar2 << 8); ^ ( ) ./CPU_emulcycle.i:270:19: warning: '&' within '|' [-Wbitwise-op-parentheses] ar = (ar + x) & 0xff | (data << 8); ~~~~~~~~~^~~~~~ ~ ./CPU_emulcycle.i:270:19: note: place parentheses around the '&' expression to silence this warning ar = (ar + x) & 0xff | (data << 8); ^ ( ) ./CPU_emulcycle.i:273:19: warning: '&' within '|' [-Wbitwise-op-parentheses] ar = (ar + x) & 0xff | (data << 8); ~~~~~~~~~^~~~~~ ~ ./CPU_emulcycle.i:273:19: note: place parentheses around the '&' expression to silence this warning ar = (ar + x) & 0xff | (data << 8); ^ ( ) ./CPU_emulcycle.i:289:19: warning: '&' within '|' [-Wbitwise-op-parentheses] ar = (ar + y) & 0xff | (data << 8); ~~~~~~~~~^~~~~~ ~ ./CPU_emulcycle.i:289:19: note: place parentheses around the '&' expression to silence this warning ar = (ar + y) & 0xff | (data << 8); ^ ( ) ./CPU_emulcycle.i:292:19: warning: '&' within '|' [-Wbitwise-op-parentheses] ar = (ar + y) & 0xff | (data << 8); ~~~~~~~~~^~~~~~ ~ ./CPU_emulcycle.i:292:19: note: place parentheses around the '&' expression to silence this warning ar = (ar + y) & 0xff | (data << 8); ^ ( ) ./CPU_emulcycle.i:312:19: warning: '&' within '|' [-Wbitwise-op-parentheses] ar = (ar + y) & 0xff | (data << 8); ~~~~~~~~~^~~~~~ ~ ./CPU_emulcycle.i:312:19: note: place parentheses around the '&' expression to silence this warning ar = (ar + y) & 0xff | (data << 8); ^ ( ) ./CPU_emulcycle.i:315:19: warning: '&' within '|' [-Wbitwise-op-parentheses] ar = (ar + y) & 0xff | (data << 8); ~~~~~~~~~^~~~~~ ~ ./CPU_emulcycle.i:315:19: note: place parentheses around the '&' expression to silence this warning ar = (ar + y) & 0xff | (data << 8); ^ ( ) ./CPU_emulcycle.i:367:18: warning: '&' within '|' [-Wbitwise-op-parentheses] ar = (ar + x) & 0xff | (data << 8); ~~~~~~~~~^~~~~~ ~ ./CPU_emulcycle.i:367:18: note: place parentheses around the '&' expression to silence this warning ar = (ar + x) & 0xff | (data << 8); ^ ( ) ./CPU_emulcycle.i:387:18: warning: '&' within '|' [-Wbitwise-op-parentheses] ar = (ar + y) & 0xff | (data << 8); ~~~~~~~~~^~~~~~ ~ ./CPU_emulcycle.i:387:18: note: place parentheses around the '&' expression to silence this warning ar = (ar + y) & 0xff | (data << 8); ^ ( ) ./CPU_emulcycle.i:429:18: warning: '&' within '|' [-Wbitwise-op-parentheses] ar = (ar + y) & 0xff | (data << 8); ~~~~~~~~~^~~~~~ ~ ./CPU_emulcycle.i:429:18: note: place parentheses around the '&' expression to silence this warning ar = (ar + y) & 0xff | (data << 8); ^ ( ) ./CPU_emulcycle.i:1059:12: warning: '&' within '|' [-Wbitwise-op-parentheses] a = a & 0xf0 | (a + 6) & 0x0f; ~~^~~~~~ ~ ./CPU_emulcycle.i:1059:12: note: place parentheses around the '&' expression to silence this warning a = a & 0xf0 | (a + 6) & 0x0f; ^ ( ) ./CPU_emulcycle.i:1059:29: warning: '&' within '|' [-Wbitwise-op-parentheses] a = a & 0xf0 | (a + 6) & 0x0f; ~ ~~~~~~~~^~~~~~ ./CPU_emulcycle.i:1059:29: note: place parentheses around the '&' expression to silence this warning a = a & 0xf0 | (a + 6) & 0x0f; ^ ( ) ./CPU_emulcycle.i:1060:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c_flag = ((data + (data & 0x10)) & 0x1f0) > 0x50) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./CPU_emulcycle.i:1060:16: note: place parentheses around the assignment to silence this warning if (c_flag = ((data + (data & 0x10)) & 0x1f0) > 0x50) ^ ( ) ./CPU_emulcycle.i:1060:16: note: use '==' to turn this assignment into an equality comparison if (c_flag = ((data + (data & 0x10)) & 0x1f0) > 0x50) ^ == 18 warnings generated. cc -O2 -pipe -D__unix -DX_USE_SHM -DUSE_SNDIO -fno-exceptions -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DWISH=\"/usr/local/bin/wish8.5\" -DFRODOLIBDIR=\"/usr/local/lib/frodo\" -DFRODO_SC -o VIC_SC.o -c VIC_SC.cpp cc -O2 -pipe -D__unix -DX_USE_SHM -DUSE_SNDIO -fno-exceptions -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DWISH=\"/usr/local/bin/wish8.5\" -DFRODOLIBDIR=\"/usr/local/lib/frodo\" -DFRODO_SC -o CIA_SC.o -c CIA_SC.cpp In file included from CIA_SC.cpp:34: ./CPU1541.h:254:62: warning: '&' within '|' [-Wbitwise-op-parentheses] IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 // DATA (incl. ATN acknowledge) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ./CPU1541.h:254:62: note: place parentheses around the '&' expression to silence this warning IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 // DATA (incl. ATN acknowledge) ^ ( ) ./CPU1541.h:255:17: warning: '&' within '|' [-Wbitwise-op-parentheses] | (byte << 3) & 0x40; // CLK ~ ~~~~~~~~~~~~^~~~~~ ./CPU1541.h:255:17: note: place parentheses around the '&' expression to silence this warning | (byte << 3) & 0x40; // CLK ^ ( ) CIA_SC.cpp:250:25: warning: '&' within '|' [-Wbitwise-op-parentheses] return (pra | ~ddra) & 0x3f ~~~~~~~~~~~~~~^~~~~~ CIA_SC.cpp:250:25: note: place parentheses around the '&' expression to silence this warning return (pra | ~ddra) & 0x3f ^ ( ) CIA_SC.cpp:251:16: warning: '&' within '|' [-Wbitwise-op-parentheses] | IECLines & the_cpu_1541->IECLines; ~ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ CIA_SC.cpp:251:16: note: place parentheses around the '&' expression to silence this warning | IECLines & the_cpu_1541->IECLines; ^ ( ) CIA_SC.cpp:284:20: warning: & has lower precedence than !=; != will be evaluated first [-Wparentheses] if ((prb | ~ddrb) & 0x10 != prev_lp) ^~~~~~~~~~~~~~~~~ CIA_SC.cpp:284:20: note: place parentheses around the '!=' expression to silence this warning if ((prb | ~ddrb) & 0x10 != prev_lp) ^ ( ) CIA_SC.cpp:284:20: note: place parentheses around the & expression to evaluate it first if ((prb | ~ddrb) & 0x10 != prev_lp) ^ ( ) CIA_SC.cpp:385:28: warning: '&' within '|' [-Wbitwise-op-parentheses] IECLines = (~byte << 2) & 0x80 // DATA ~~~~~~~~~~~~~^~~~~~ CIA_SC.cpp:385:28: note: place parentheses around the '&' expression to silence this warning IECLines = (~byte << 2) & 0x80 // DATA ^ ( ) CIA_SC.cpp:386:20: warning: '&' within '|' [-Wbitwise-op-parentheses] | (~byte << 2) & 0x40 // CLK ~ ~~~~~~~~~~~~~^~~~~~ CIA_SC.cpp:386:20: note: place parentheses around the '&' expression to silence this warning | (~byte << 2) & 0x40 // CLK ^ ( ) CIA_SC.cpp:387:20: warning: '&' within '|' [-Wbitwise-op-parentheses] | (~byte << 1) & 0x10; // ATN ~ ~~~~~~~~~~~~~^~~~~~ CIA_SC.cpp:387:20: note: place parentheses around the '&' expression to silence this warning | (~byte << 1) & 0x10; // ATN ^ ( ) CIA_SC.cpp:723:23: warning: '&' within '^' [-Wbitwise-op-parentheses] tod_hr = tod_hr & 0x80 ^ 0x80; ~~~~~~~^~~~~~ ~ CIA_SC.cpp:723:23: note: place parentheses around the '&' expression to silence this warning tod_hr = tod_hr & 0x80 ^ 0x80; ^ ( ) 9 warnings generated. cc -O2 -pipe -D__unix -DX_USE_SHM -DUSE_SNDIO -fno-exceptions -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DWISH=\"/usr/local/bin/wish8.5\" -DFRODOLIBDIR=\"/usr/local/lib/frodo\" -DFRODO_SC -o CPU1541_SC.o -c CPU1541_SC.cpp In file included from CPU1541_SC.cpp:56: ./CPU1541.h:254:62: warning: '&' within '|' [-Wbitwise-op-parentheses] IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 // DATA (incl. ATN acknowledge) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ./CPU1541.h:254:62: note: place parentheses around the '&' expression to silence this warning IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 // DATA (incl. ATN acknowledge) ^ ( ) ./CPU1541.h:255:17: warning: '&' within '|' [-Wbitwise-op-parentheses] | (byte << 3) & 0x40; // CLK ~ ~~~~~~~~~~~~^~~~~~ ./CPU1541.h:255:17: note: place parentheses around the '&' expression to silence this warning | (byte << 3) & 0x40; // CLK ^ ( ) CPU1541_SC.cpp:200:22: warning: '&' within '|' [-Wbitwise-op-parentheses] return (via1_prb & 0x1a ~~~~~~~~~^~~~~~ CPU1541_SC.cpp:200:22: note: place parentheses around the '&' expression to silence this warning return (via1_prb & 0x1a ^ ( ) CPU1541_SC.cpp:202:46: warning: '&' within '|' [-Wbitwise-op-parentheses] | ((IECLines & TheCIA2->IECLines) >> 4) & 0x04 // CLK ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ CPU1541_SC.cpp:202:46: note: place parentheses around the '&' expression to silence this warning | ((IECLines & TheCIA2->IECLines) >> 4) & 0x04 // CLK ^ ( ) CPU1541_SC.cpp:203:33: warning: '&' within '|' [-Wbitwise-op-parentheses] | (TheCIA2->IECLines << 3) & 0x80) ^ 0x85; // ATN ~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ CPU1541_SC.cpp:203:33: note: place parentheses around the '&' expression to silence this warning | (TheCIA2->IECLines << 3) & 0x80) ^ 0x85; // ATN ^ ( ) CPU1541_SC.cpp:243:22: warning: '&' within '|' [-Wbitwise-op-parentheses] return via2_prb & 0x7f | the_job->WPState(); ~~~~~~~~~^~~~~~ ~ CPU1541_SC.cpp:243:22: note: place parentheses around the '&' expression to silence this warning return via2_prb & 0x7f | the_job->WPState(); ^ ( ) CPU1541_SC.cpp:323:65: warning: '&' within '|' [-Wbitwise-op-parentheses] IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ CPU1541_SC.cpp:323:65: note: place parentheses around the '&' expression to silence this warning IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 ^ ( ) CPU1541_SC.cpp:324:20: warning: '&' within '|' [-Wbitwise-op-parentheses] | (byte << 3) & 0x40; ~ ~~~~~~~~~~~~^~~~~~ CPU1541_SC.cpp:324:20: note: place parentheses around the '&' expression to silence this warning | (byte << 3) & 0x40; ^ ( ) CPU1541_SC.cpp:333:65: warning: '&' within '|' [-Wbitwise-op-parentheses] IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ CPU1541_SC.cpp:333:65: note: place parentheses around the '&' expression to silence this warning IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 ^ ( ) CPU1541_SC.cpp:334:20: warning: '&' within '|' [-Wbitwise-op-parentheses] | (byte << 3) & 0x40; ~ ~~~~~~~~~~~~^~~~~~ CPU1541_SC.cpp:334:20: note: place parentheses around the '&' expression to silence this warning | (byte << 3) & 0x40; ^ ( ) CPU1541_SC.cpp:341:25: warning: '&' within '|' [-Wbitwise-op-parentheses] via1_t1l = via1_t1l & 0xff00 | byte; ~~~~~~~~~^~~~~~~~ ~ CPU1541_SC.cpp:341:25: note: place parentheses around the '&' expression to silence this warning via1_t1l = via1_t1l & 0xff00 | byte; ^ ( ) CPU1541_SC.cpp:344:25: warning: '&' within '|' [-Wbitwise-op-parentheses] via1_t1l = via1_t1l & 0xff | (byte << 8); ~~~~~~~~~^~~~~~ ~ CPU1541_SC.cpp:344:25: note: place parentheses around the '&' expression to silence this warning via1_t1l = via1_t1l & 0xff | (byte << 8); ^ ( ) CPU1541_SC.cpp:349:25: warning: '&' within '|' [-Wbitwise-op-parentheses] via1_t1l = via1_t1l & 0xff | (byte << 8); ~~~~~~~~~^~~~~~ ~ CPU1541_SC.cpp:349:25: note: place parentheses around the '&' expression to silence this warning via1_t1l = via1_t1l & 0xff | (byte << 8); ^ ( ) CPU1541_SC.cpp:352:25: warning: '&' within '|' [-Wbitwise-op-parentheses] via1_t2l = via1_t2l & 0xff00 | byte; ~~~~~~~~~^~~~~~~~ ~ CPU1541_SC.cpp:352:25: note: place parentheses around the '&' expression to silence this warning via1_t2l = via1_t2l & 0xff00 | byte; ^ ( ) CPU1541_SC.cpp:355:25: warning: '&' within '|' [-Wbitwise-op-parentheses] via1_t2l = via1_t2l & 0xff | (byte << 8); ~~~~~~~~~^~~~~~ ~ CPU1541_SC.cpp:355:25: note: place parentheses around the '&' expression to silence this warning via1_t2l = via1_t2l & 0xff | (byte << 8); ^ ( ) CPU1541_SC.cpp:387:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if ((via2_prb & 3) == ((byte-1) & 3)) ^ CPU1541_SC.cpp:403:25: warning: '&' within '|' [-Wbitwise-op-parentheses] via2_t1l = via2_t1l & 0xff00 | byte; ~~~~~~~~~^~~~~~~~ ~ CPU1541_SC.cpp:403:25: note: place parentheses around the '&' expression to silence this warning via2_t1l = via2_t1l & 0xff00 | byte; ^ ( ) CPU1541_SC.cpp:406:25: warning: '&' within '|' [-Wbitwise-op-parentheses] via2_t1l = via2_t1l & 0xff | (byte << 8); ~~~~~~~~~^~~~~~ ~ CPU1541_SC.cpp:406:25: note: place parentheses around the '&' expression to silence this warning via2_t1l = via2_t1l & 0xff | (byte << 8); ^ ( ) CPU1541_SC.cpp:411:25: warning: '&' within '|' [-Wbitwise-op-parentheses] via2_t1l = via2_t1l & 0xff | (byte << 8); ~~~~~~~~~^~~~~~ ~ CPU1541_SC.cpp:411:25: note: place parentheses around the '&' expression to silence this warning via2_t1l = via2_t1l & 0xff | (byte << 8); ^ ( ) CPU1541_SC.cpp:414:25: warning: '&' within '|' [-Wbitwise-op-parentheses] via2_t2l = via2_t2l & 0xff00 | byte; ~~~~~~~~~^~~~~~~~ ~ CPU1541_SC.cpp:414:25: note: place parentheses around the '&' expression to silence this warning via2_t2l = via2_t2l & 0xff00 | byte; ^ ( ) CPU1541_SC.cpp:417:25: warning: '&' within '|' [-Wbitwise-op-parentheses] via2_t2l = via2_t2l & 0xff | (byte << 8); ~~~~~~~~~^~~~~~ ~ CPU1541_SC.cpp:417:25: note: place parentheses around the '&' expression to silence this warning via2_t2l = via2_t2l & 0xff | (byte << 8); ^ ( ) CPU1541_SC.cpp:585:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (ShowRequester(illop_msg, "Reset 1541", "Reset C64")) ^ CPU1541_SC.cpp:585:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (ShowRequester(illop_msg, "Reset 1541", "Reset C64")) ^ In file included from CPU1541_SC.cpp:616: ./CPU_emulcycle.i:189:18: warning: '&' within '|' [-Wbitwise-op-parentheses] ar = (ar + x) & 0xff | (ar2 << 8); ~~~~~~~~~^~~~~~ ~ ./CPU_emulcycle.i:189:18: note: place parentheses around the '&' expression to silence this warning ar = (ar + x) & 0xff | (ar2 << 8); ^ ( ) ./CPU_emulcycle.i:209:18: warning: '&' within '|' [-Wbitwise-op-parentheses] ar = (ar + y) & 0xff | (ar2 << 8); ~~~~~~~~~^~~~~~ ~ ./CPU_emulcycle.i:209:18: note: place parentheses around the '&' expression to silence this warning ar = (ar + y) & 0xff | (ar2 << 8); ^ ( ) ./CPU_emulcycle.i:251:18: warning: '&' within '|' [-Wbitwise-op-parentheses] ar = (ar + y) & 0xff | (ar2 << 8); ~~~~~~~~~^~~~~~ ~ ./CPU_emulcycle.i:251:18: note: place parentheses around the '&' expression to silence this warning ar = (ar + y) & 0xff | (ar2 << 8); ^ ( ) ./CPU_emulcycle.i:270:19: warning: '&' within '|' [-Wbitwise-op-parentheses] ar = (ar + x) & 0xff | (data << 8); ~~~~~~~~~^~~~~~ ~ ./CPU_emulcycle.i:270:19: note: place parentheses around the '&' expression to silence this warning ar = (ar + x) & 0xff | (data << 8); ^ ( ) ./CPU_emulcycle.i:273:19: warning: '&' within '|' [-Wbitwise-op-parentheses] ar = (ar + x) & 0xff | (data << 8); ~~~~~~~~~^~~~~~ ~ ./CPU_emulcycle.i:273:19: note: place parentheses around the '&' expression to silence this warning ar = (ar + x) & 0xff | (data << 8); ^ ( ) ./CPU_emulcycle.i:289:19: warning: '&' within '|' [-Wbitwise-op-parentheses] ar = (ar + y) & 0xff | (data << 8); ~~~~~~~~~^~~~~~ ~ ./CPU_emulcycle.i:289:19: note: place parentheses around the '&' expression to silence this warning ar = (ar + y) & 0xff | (data << 8); ^ ( ) ./CPU_emulcycle.i:292:19: warning: '&' within '|' [-Wbitwise-op-parentheses] ar = (ar + y) & 0xff | (data << 8); ~~~~~~~~~^~~~~~ ~ ./CPU_emulcycle.i:292:19: note: place parentheses around the '&' expression to silence this warning ar = (ar + y) & 0xff | (data << 8); ^ ( ) ./CPU_emulcycle.i:312:19: warning: '&' within '|' [-Wbitwise-op-parentheses] ar = (ar + y) & 0xff | (data << 8); ~~~~~~~~~^~~~~~ ~ ./CPU_emulcycle.i:312:19: note: place parentheses around the '&' expression to silence this warning ar = (ar + y) & 0xff | (data << 8); ^ ( ) ./CPU_emulcycle.i:315:19: warning: '&' within '|' [-Wbitwise-op-parentheses] ar = (ar + y) & 0xff | (data << 8); ~~~~~~~~~^~~~~~ ~ ./CPU_emulcycle.i:315:19: note: place parentheses around the '&' expression to silence this warning ar = (ar + y) & 0xff | (data << 8); ^ ( ) ./CPU_emulcycle.i:367:18: warning: '&' within '|' [-Wbitwise-op-parentheses] ar = (ar + x) & 0xff | (data << 8); ~~~~~~~~~^~~~~~ ~ ./CPU_emulcycle.i:367:18: note: place parentheses around the '&' expression to silence this warning ar = (ar + x) & 0xff | (data << 8); ^ ( ) ./CPU_emulcycle.i:387:18: warning: '&' within '|' [-Wbitwise-op-parentheses] ar = (ar + y) & 0xff | (data << 8); ~~~~~~~~~^~~~~~ ~ ./CPU_emulcycle.i:387:18: note: place parentheses around the '&' expression to silence this warning ar = (ar + y) & 0xff | (data << 8); ^ ( ) ./CPU_emulcycle.i:429:18: warning: '&' within '|' [-Wbitwise-op-parentheses] ar = (ar + y) & 0xff | (data << 8); ~~~~~~~~~^~~~~~ ~ ./CPU_emulcycle.i:429:18: note: place parentheses around the '&' expression to silence this warning ar = (ar + y) & 0xff | (data << 8); ^ ( ) ./CPU_emulcycle.i:1059:12: warning: '&' within '|' [-Wbitwise-op-parentheses] a = a & 0xf0 | (a + 6) & 0x0f; ~~^~~~~~ ~ ./CPU_emulcycle.i:1059:12: note: place parentheses around the '&' expression to silence this warning a = a & 0xf0 | (a + 6) & 0x0f; ^ ( ) ./CPU_emulcycle.i:1059:29: warning: '&' within '|' [-Wbitwise-op-parentheses] a = a & 0xf0 | (a + 6) & 0x0f; ~ ~~~~~~~~^~~~~~ ./CPU_emulcycle.i:1059:29: note: place parentheses around the '&' expression to silence this warning a = a & 0xf0 | (a + 6) & 0x0f; ^ ( ) ./CPU_emulcycle.i:1060:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c_flag = ((data + (data & 0x10)) & 0x1f0) > 0x50) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./CPU_emulcycle.i:1060:16: note: place parentheses around the assignment to silence this warning if (c_flag = ((data + (data & 0x10)) & 0x1f0) > 0x50) ^ ( ) ./CPU_emulcycle.i:1060:16: note: use '==' to turn this assignment into an equality comparison if (c_flag = ((data + (data & 0x10)) & 0x1f0) > 0x50) ^ == 38 warnings generated. cc -O2 -pipe -D__unix -DX_USE_SHM -DUSE_SNDIO -fno-exceptions -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -DHAVE_SDL -DREGPARAM= -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -DWISH=\"/usr/local/bin/wish8.5\" -DFRODOLIBDIR=\"/usr/local/lib/frodo\" -o CPU_common.o -c CPU_common.cpp c++ -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 -lsndio -L/usr/local/lib -lSDL -pthread -L/usr/X11R6/lib Display.cpp(Display.o:(C64Display::Speedometer(int))): warning: sprintf() is often misused, please use snprintf() Prefs.cpp(Prefs.o:(Prefs::Load(char*))): warning: strcpy() is almost always misused, please use strlcpy() CPUC64_SC.cpp(CPUC64_SC.o:(MOS6510::read_byte_io(unsigned short))): warning: rand() may return deterministic values, is that what you want? cp FrodoSC .. >>> Running package in emulators/frodo at 1713174082.52 ===> emulators/frodo ===> Faking installation for frodo-4.1bp10 /exopi-obj/pobj/frodo-4.1b/bin/install -c -s -m 755 /exopi-obj/pobj/frodo-4.1b/Frodo-4.1b/Frodo /exopi-obj/pobj/frodo-4.1b/fake-amd64/usr/local/bin/frodo /exopi-obj/pobj/frodo-4.1b/bin/install -c -s -m 755 /exopi-obj/pobj/frodo-4.1b/Frodo-4.1b/FrodoSC /exopi-obj/pobj/frodo-4.1b/fake-amd64/usr/local/bin/frodoSC /exopi-obj/pobj/frodo-4.1b/bin/install -c -s -m 755 /exopi-obj/pobj/frodo-4.1b/Frodo-4.1b/FrodoPC /exopi-obj/pobj/frodo-4.1b/fake-amd64/usr/local/bin/frodoPC /exopi-obj/pobj/frodo-4.1b/bin/install -d -m 755 /exopi-obj/pobj/frodo-4.1b/fake-amd64/usr/local/lib/frodo/64prgs /exopi-obj/pobj/frodo-4.1b/bin/install -c -m 644 /exopi-obj/pobj/frodo-4.1b/Frodo-4.1b/{1541,Basic,Char,Kernal}\ ROM /exopi-obj/pobj/frodo-4.1b/fake-amd64/usr/local/lib/frodo /exopi-obj/pobj/frodo-4.1b/bin/install -c -m 644 "/exopi-obj/pobj/frodo-4.1b/Frodo-4.1b/Frodo Logo" /exopi-obj/pobj/frodo-4.1b/fake-amd64/usr/local/lib/frodo /exopi-obj/pobj/frodo-4.1b/bin/install -c -m 755 "/exopi-obj/pobj/frodo-4.1b/Frodo-4.1b/TkGui.tcl" /exopi-obj/pobj/frodo-4.1b/fake-amd64/usr/local/lib/frodo /exopi-obj/pobj/frodo-4.1b/bin/install -d -m 755 /exopi-obj/pobj/frodo-4.1b/fake-amd64/usr/local/share/doc/frodo /exopi-obj/pobj/frodo-4.1b/bin/install -c -m 644 /exopi-obj/pobj/frodo-4.1b/Frodo-4.1b/CHANGES /exopi-obj/pobj/frodo-4.1b/fake-amd64/usr/local/share/doc/frodo cd /exopi-obj/pobj/frodo-4.1b/Frodo-4.1b/Docs; tar cf - . | (cd /exopi-obj/pobj/frodo-4.1b/fake-amd64/usr/local/share/doc/frodo; tar xf -) ===> Building package for frodo-4.1bp10 Create /exopi-cvs/ports/packages/amd64/all/frodo-4.1bp10.tgz Creating package frodo-4.1bp10 reading plist| checking dependencies| checking dependencies|devel/sdl checking dependencies|lang/tcl/8.5 checking dependencies|x11/tk/8.5 checksumming| checksumming| | 0% checksumming|* | 2% checksumming|** | 3% checksumming|*** | 5% checksumming|**** | 6% checksumming|***** | 8% checksumming|****** | 10% checksumming|******* | 11% checksumming|******** | 13% checksumming|********* | 15% checksumming|********** | 16% checksumming|*********** | 18% checksumming|************ | 19% checksumming|************* | 21% checksumming|************** | 23% checksumming|*************** | 24% checksumming|**************** | 26% checksumming|***************** | 27% checksumming|****************** | 29% checksumming|******************* | 31% checksumming|******************** | 32% checksumming|********************* | 34% checksumming|********************** | 35% checksumming|*********************** | 37% checksumming|************************ | 39% checksumming|************************* | 40% checksumming|************************** | 42% checksumming|*************************** | 44% checksumming|**************************** | 45% checksumming|***************************** | 47% checksumming|****************************** | 48% checksumming|******************************* | 50% checksumming|******************************* | 52% checksumming|******************************** | 53% checksumming|********************************* | 55% checksumming|********************************** | 56% checksumming|*********************************** | 58% checksumming|************************************ | 60% checksumming|************************************* | 61% checksumming|************************************** | 63% checksumming|*************************************** | 65% checksumming|**************************************** | 66% checksumming|***************************************** | 68% checksumming|****************************************** | 69% checksumming|******************************************* | 71% checksumming|******************************************** | 73% checksumming|********************************************* | 74% checksumming|********************************************** | 76% checksumming|*********************************************** | 77% checksumming|************************************************ | 79% checksumming|************************************************* | 81% checksumming|************************************************** | 82% checksumming|*************************************************** | 84% checksumming|**************************************************** | 85% checksumming|***************************************************** | 87% checksumming|****************************************************** | 89% checksumming|******************************************************* | 90% checksumming|******************************************************** | 92% checksumming|********************************************************* | 94% checksumming|********************************************************** | 95% checksumming|*********************************************************** | 97% checksumming|************************************************************ | 98% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|**************** | 25% archiving|*********************************** | 55% archiving|************************************************** | 78% archiving|*************************************************** | 80% archiving|**************************************************** | 80% archiving|**************************************************** | 81% archiving|**************************************************** | 82% archiving|***************************************************** | 82% archiving|******************************************************** | 87% archiving|******************************************************** | 88% archiving|*********************************************************** | 92% archiving|*********************************************************** | 93% archiving|************************************************************ | 93% archiving|************************************************************ | 94% archiving|************************************************************ | 95% archiving|************************************************************* | 95% archiving|************************************************************* | 96% archiving|************************************************************** | 96% archiving|************************************************************** | 97% archiving|*************************************************************** | 98% archiving|*************************************************************** | 99% archiving|****************************************************************| 99% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/frodo-4.1bp10.tgz >>> Running clean in emulators/frodo at 1713174085.88 ===> emulators/frodo ===> Cleaning for frodo-4.1bp10 >>> Ended at 1713174086.11 max_stuck=1.97/depends=2.20/show-prepare-results=0.51/build=21.72/package=3.35/clean=0.27