Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/simcoupe.spec'], chrootPath='/var/lib/mock/fedora-rawhide-ppc64le-1672308233.901205/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.93vcutuk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.93vcutuk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7cf56f17c2374cd399e9a7f6c605bc4a', '-D', '/var/lib/mock/fedora-rawhide-ppc64le-1672308233.901205/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.93vcutuk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/simcoupe.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/simcoupe-1.0-31.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/simcoupe.spec'], chrootPath='/var/lib/mock/fedora-rawhide-ppc64le-1672308233.901205/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.93vcutuk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.93vcutuk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f5e597a91445423a89074274ccc5f70a', '-D', '/var/lib/mock/fedora-rawhide-ppc64le-1672308233.901205/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.93vcutuk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/simcoupe.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LtwOHf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf SimCoupe + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/SimCoupe-1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd SimCoupe + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (simcoupe-1.0-userpmopts.patch): + echo 'Patch #0 (simcoupe-1.0-userpmopts.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file SDL/Makefile Patch #1 (simcoupe-1.0-saasound.patch): + echo 'Patch #1 (simcoupe-1.0-saasound.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file SDL/Sound.cpp patching file SDL/Makefile Hunk #1 succeeded at 42 (offset 1 line). Patch #2 (simcoupe-1.0-no-builtin-rom.patch): + echo 'Patch #2 (simcoupe-1.0-no-builtin-rom.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Base/Memory.cpp patching file Base/Options.cpp patching file SDL/OSD.cpp patching file SDL/OSD.h + rm -f Extern/SAASound.h Extern/SAASound.cpp + cp -a /builddir/build/SOURCES/B-DOS-License.txt . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2Gm7wO + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS ~/build/BUILD/SimCoupe/SDL ~/build/BUILD/SimCoupe + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd SimCoupe + pushd SDL + make -j5 'CFLAGSRPM=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' g++ -o ../Base/Action.o -c ../Base/Action.cpp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall g++ -o ../Base/ATA.o -c ../Base/ATA.cpp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall g++ -o ../Base/Atom.o -c ../Base/Atom.cpp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall g++ -o ../Base/CDisk.o -c ../Base/CDisk.cpp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall g++ -o ../Base/CDrive.o -c ../Base/CDrive.cpp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall ../Base/CDisk.cpp: In constructor 'CSADDisk::CSADDisk(CStream*, UINT, UINT, UINT, UINT)': ../Base/CDisk.cpp:372:27: warning: narrowing conversion of 'uSides_' from 'UINT' {aka 'unsigned int'} to 'BYTE' {aka 'unsigned char'} [-Wnarrowing] 372 | SAD_HEADER sh = { "", uSides_, uTracks_, uSectors_, uSectorSize_ >> 6 }; | ^~~~~~~ ../Base/CDisk.cpp:372:36: warning: narrowing conversion of 'uTracks_' from 'UINT' {aka 'unsigned int'} to 'BYTE' {aka 'unsigned char'} [-Wnarrowing] 372 | SAD_HEADER sh = { "", uSides_, uTracks_, uSectors_, uSectorSize_ >> 6 }; | ^~~~~~~~ ../Base/CDisk.cpp:372:46: warning: narrowing conversion of 'uSectors_' from 'UINT' {aka 'unsigned int'} to 'BYTE' {aka 'unsigned char'} [-Wnarrowing] 372 | SAD_HEADER sh = { "", uSides_, uTracks_, uSectors_, uSectorSize_ >> 6 }; | ^~~~~~~~~ ../Base/CDisk.cpp:372:70: warning: narrowing conversion of '(uSectorSize_ >> 6)' from 'UINT' {aka 'unsigned int'} to 'BYTE' {aka 'unsigned char'} [-Wnarrowing] 372 | SAD_HEADER sh = { "", uSides_, uTracks_, uSectors_, uSectorSize_ >> 6 }; | ~~~~~~~~~~~~~^~~~ ../Base/CDisk.cpp: In member function 'virtual bool CSDFDisk::FindNext(IDFIELD*, BYTE*)': ../Base/CDisk.cpp:574:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 574 | if (fRet = CDisk::FindNext()) | ~~~~~^~~~~~~~~~~~~~~~~~~ ../Base/CDisk.cpp: In constructor 'CEDSKDisk::CEDSKDisk(CStream*, UINT, UINT)': ../Base/CDisk.cpp:677:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 677 | if (pt && pStream_->Read(pt, size) != size || (pt->bRate && pt->bRate != 1) || (pt->bEncoding && pt->bEncoding != 1)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Base/CDisk.cpp: In member function 'virtual bool CEDSKDisk::FindNext(IDFIELD*, BYTE*)': ../Base/CDisk.cpp:726:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 726 | if (fRet = CDisk::FindNext()) | ~~~~~^~~~~~~~~~~~~~~~~~~ In file included from ../Base/CDisk.h:24, from ../Base/CDrive.h:29, from ../Base/CDrive.cpp:28: ../Base/CStream.h: In member function 'CStream::IsReadOnly() const': ../Base/CStream.h:34:48: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 34 | bool IsReadOnly () const { return this && m_fReadOnly; } | ~~~~~^~~~~~~~~~~~~~ ../Base/CDisk.cpp: In member function 'virtual bool CTD0Disk::FindNext(IDFIELD*, BYTE*)': ../Base/CDisk.cpp:1461:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1461 | if (fRet = CDisk::FindNext()) | ~~~~~^~~~~~~~~~~~~~~~~~~ In file included from ../Base/CDisk.h:24, from ../Base/CDisk.cpp:30: ../Base/CStream.h: In member function 'CStream::IsReadOnly() const': ../Base/CStream.h:34:48: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 34 | bool IsReadOnly () const { return this && m_fReadOnly; } | ~~~~~^~~~~~~~~~~~~~ g++ -o ../Base/Clock.o -c ../Base/Clock.cpp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall ../Base/Action.cpp: In function 'Action::Key(int, bool, bool, bool, bool)': ../Base/Action.cpp:316:12: warning: 'strncpy' output may be truncated copying 256 bytes from a string of length 513 [-Wstringop-truncation] 316 | strncpy(szKeys, GetOption(fnkeys), sizeof(szKeys)); | ^ g++ -o ../Base/CPU.o -c ../Base/CPU.cpp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall g++ -o ../Base/CScreen.o -c ../Base/CScreen.cpp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall ../Base/CPU.cpp: In function 'BYTE timed_read_code_byte(WORD)': ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/CPU.cpp:268:5: note: in expansion of macro 'MEM_ACCESS' 268 | MEM_ACCESS(addr); | ^~~~~~~~~~ ../Base/CPU.cpp: In function 'BYTE timed_read_byte(WORD)': ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/CPU.cpp:275:5: note: in expansion of macro 'MEM_ACCESS' 275 | MEM_ACCESS(addr); | ^~~~~~~~~~ ../Base/CPU.cpp: In function 'WORD timed_read_code_word(WORD)': ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/CPU.cpp:282:5: note: in expansion of macro 'MEM_ACCESS' 282 | MEM_ACCESS(addr); | ^~~~~~~~~~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/CPU.cpp:283:5: note: in expansion of macro 'MEM_ACCESS' 283 | MEM_ACCESS(addr + 1); | ^~~~~~~~~~ ../Base/CPU.cpp: In function 'WORD timed_read_word(WORD)': ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/CPU.cpp:290:5: note: in expansion of macro 'MEM_ACCESS' 290 | MEM_ACCESS(addr); | ^~~~~~~~~~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/CPU.cpp:291:5: note: in expansion of macro 'MEM_ACCESS' 291 | MEM_ACCESS(addr + 1); | ^~~~~~~~~~ ../Base/CPU.cpp: In function 'void timed_write_byte(WORD, BYTE)': ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/CPU.cpp:298:5: note: in expansion of macro 'MEM_ACCESS' 298 | MEM_ACCESS(addr); | ^~~~~~~~~~ ../Base/CPU.cpp: In function 'void timed_write_word(WORD, WORD)': ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/CPU.cpp:306:5: note: in expansion of macro 'MEM_ACCESS' 306 | MEM_ACCESS(addr); | ^~~~~~~~~~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/CPU.cpp:309:5: note: in expansion of macro 'MEM_ACCESS' 309 | MEM_ACCESS(addr + 1); | ^~~~~~~~~~ ../Base/CPU.cpp: In function 'void timed_write_word_reversed(WORD, WORD)': ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/CPU.cpp:317:5: note: in expansion of macro 'MEM_ACCESS' 317 | MEM_ACCESS(addr + 1); | ^~~~~~~~~~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/CPU.cpp:320:5: note: in expansion of macro 'MEM_ACCESS' 320 | MEM_ACCESS(addr); | ^~~~~~~~~~ ../Base/Z80ops.h: In static member function 'static void CPU::ExecuteChunk()': ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:154:33: note: in expansion of macro 'MEM_ACCESS' 154 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:196:22: note: in expansion of macro 'jr' 196 | instr(5,0020) --b; jr(b); endinstr; // djnz e | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:154:33: note: in expansion of macro 'MEM_ACCESS' 154 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:197:17: note: in expansion of macro 'jr' 197 | instr(4,0030) jr(true); endinstr; // jr e | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:154:33: note: in expansion of macro 'MEM_ACCESS' 154 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:198:17: note: in expansion of macro 'jr' 198 | instr(4,0040) jr(!(f & F_ZERO)); endinstr; // jr nz,e | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:154:33: note: in expansion of macro 'MEM_ACCESS' 154 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:199:17: note: in expansion of macro 'jr' 199 | instr(4,0050) jr(f & F_ZERO); endinstr; // jr z,e | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:154:33: note: in expansion of macro 'MEM_ACCESS' 154 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:200:17: note: in expansion of macro 'jr' 200 | instr(4,0060) jr(!cy); endinstr; // jr nc,e | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:154:33: note: in expansion of macro 'MEM_ACCESS' 154 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:201:17: note: in expansion of macro 'jr' 201 | instr(4,0070) jr(cy); endinstr; // jr c,e | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:164:33: note: in expansion of macro 'MEM_ACCESS' 164 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:525:17: note: in expansion of macro 'jp' 525 | instr(4,0302) jp(!(f & F_ZERO)); endinstr; // jp nz,nn | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:165:33: note: in expansion of macro 'MEM_ACCESS' 165 | MEM_ACCESS(pc + 1); \ | ^~~~~~~~~~ ../Base/Z80ops.h:525:17: note: in expansion of macro 'jp' 525 | instr(4,0302) jp(!(f & F_ZERO)); endinstr; // jp nz,nn | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:164:33: note: in expansion of macro 'MEM_ACCESS' 164 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:526:17: note: in expansion of macro 'jp' 526 | instr(4,0312) jp(f & F_ZERO); endinstr; // jp z,nn | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:165:33: note: in expansion of macro 'MEM_ACCESS' 165 | MEM_ACCESS(pc + 1); \ | ^~~~~~~~~~ ../Base/Z80ops.h:526:17: note: in expansion of macro 'jp' 526 | instr(4,0312) jp(f & F_ZERO); endinstr; // jp z,nn | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:164:33: note: in expansion of macro 'MEM_ACCESS' 164 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:527:17: note: in expansion of macro 'jp' 527 | instr(4,0322) jp(!cy); endinstr; // jp nc,nn | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:165:33: note: in expansion of macro 'MEM_ACCESS' 165 | MEM_ACCESS(pc + 1); \ | ^~~~~~~~~~ ../Base/Z80ops.h:527:17: note: in expansion of macro 'jp' 527 | instr(4,0322) jp(!cy); endinstr; // jp nc,nn | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:164:33: note: in expansion of macro 'MEM_ACCESS' 164 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:528:17: note: in expansion of macro 'jp' 528 | instr(4,0332) jp(cy); endinstr; // jp c,nn | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:165:33: note: in expansion of macro 'MEM_ACCESS' 165 | MEM_ACCESS(pc + 1); \ | ^~~~~~~~~~ ../Base/Z80ops.h:528:17: note: in expansion of macro 'jp' 528 | instr(4,0332) jp(cy); endinstr; // jp c,nn | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:164:33: note: in expansion of macro 'MEM_ACCESS' 164 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:529:17: note: in expansion of macro 'jp' 529 | instr(4,0342) jp(!(f & F_PARITY)); endinstr; // jp po,nn | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:165:33: note: in expansion of macro 'MEM_ACCESS' 165 | MEM_ACCESS(pc + 1); \ | ^~~~~~~~~~ ../Base/Z80ops.h:529:17: note: in expansion of macro 'jp' 529 | instr(4,0342) jp(!(f & F_PARITY)); endinstr; // jp po,nn | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:164:33: note: in expansion of macro 'MEM_ACCESS' 164 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:530:17: note: in expansion of macro 'jp' 530 | instr(4,0352) jp(f & F_PARITY); endinstr; // jp pe,nn | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:165:33: note: in expansion of macro 'MEM_ACCESS' 165 | MEM_ACCESS(pc + 1); \ | ^~~~~~~~~~ ../Base/Z80ops.h:530:17: note: in expansion of macro 'jp' 530 | instr(4,0352) jp(f & F_PARITY); endinstr; // jp pe,nn | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:164:33: note: in expansion of macro 'MEM_ACCESS' 164 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:531:17: note: in expansion of macro 'jp' 531 | instr(4,0362) jp(!(f & F_NEG)); endinstr; // jp p,nn | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:165:33: note: in expansion of macro 'MEM_ACCESS' 165 | MEM_ACCESS(pc + 1); \ | ^~~~~~~~~~ ../Base/Z80ops.h:531:17: note: in expansion of macro 'jp' 531 | instr(4,0362) jp(!(f & F_NEG)); endinstr; // jp p,nn | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:164:33: note: in expansion of macro 'MEM_ACCESS' 164 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:532:17: note: in expansion of macro 'jp' 532 | instr(4,0372) jp(f & F_NEG); endinstr; // jp m,nn | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:165:33: note: in expansion of macro 'MEM_ACCESS' 165 | MEM_ACCESS(pc + 1); \ | ^~~~~~~~~~ ../Base/Z80ops.h:532:17: note: in expansion of macro 'jp' 532 | instr(4,0372) jp(f & F_NEG); endinstr; // jp m,nn | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:164:33: note: in expansion of macro 'MEM_ACCESS' 164 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:534:17: note: in expansion of macro 'jp' 534 | instr(4,0303) jp(true); endinstr; // jp nn | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:165:33: note: in expansion of macro 'MEM_ACCESS' 165 | MEM_ACCESS(pc + 1); \ | ^~~~~~~~~~ ../Base/Z80ops.h:534:17: note: in expansion of macro 'jp' 534 | instr(4,0303) jp(true); endinstr; // jp nn | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:179:33: note: in expansion of macro 'MEM_ACCESS' 179 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:537:17: note: in expansion of macro 'call' 537 | instr(4,0304) call(!(f & F_ZERO)); endinstr; // call nz,pq | ^~~~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:180:33: note: in expansion of macro 'MEM_ACCESS' 180 | MEM_ACCESS(pc + 1); \ | ^~~~~~~~~~ ../Base/Z80ops.h:537:17: note: in expansion of macro 'call' 537 | instr(4,0304) call(!(f & F_ZERO)); endinstr; // call nz,pq | ^~~~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:179:33: note: in expansion of macro 'MEM_ACCESS' 179 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:538:17: note: in expansion of macro 'call' 538 | instr(4,0314) call(f & F_ZERO); endinstr; // call z,nn | ^~~~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:180:33: note: in expansion of macro 'MEM_ACCESS' 180 | MEM_ACCESS(pc + 1); \ | ^~~~~~~~~~ ../Base/Z80ops.h:538:17: note: in expansion of macro 'call' 538 | instr(4,0314) call(f & F_ZERO); endinstr; // call z,nn | ^~~~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:179:33: note: in expansion of macro 'MEM_ACCESS' 179 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:539:17: note: in expansion of macro 'call' 539 | instr(4,0324) call(!cy); endinstr; // call nc,nn | ^~~~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:180:33: note: in expansion of macro 'MEM_ACCESS' 180 | MEM_ACCESS(pc + 1); \ | ^~~~~~~~~~ ../Base/Z80ops.h:539:17: note: in expansion of macro 'call' 539 | instr(4,0324) call(!cy); endinstr; // call nc,nn | ^~~~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:179:33: note: in expansion of macro 'MEM_ACCESS' 179 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:540:17: note: in expansion of macro 'call' 540 | instr(4,0334) call(cy); endinstr; // call c,nn | ^~~~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:180:33: note: in expansion of macro 'MEM_ACCESS' 180 | MEM_ACCESS(pc + 1); \ | ^~~~~~~~~~ ../Base/Z80ops.h:540:17: note: in expansion of macro 'call' 540 | instr(4,0334) call(cy); endinstr; // call c,nn | ^~~~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:179:33: note: in expansion of macro 'MEM_ACCESS' 179 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:541:17: note: in expansion of macro 'call' 541 | instr(4,0344) call(!(f & F_PARITY)); endinstr; // call po | ^~~~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:180:33: note: in expansion of macro 'MEM_ACCESS' 180 | MEM_ACCESS(pc + 1); \ | ^~~~~~~~~~ ../Base/Z80ops.h:541:17: note: in expansion of macro 'call' 541 | instr(4,0344) call(!(f & F_PARITY)); endinstr; // call po | ^~~~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:179:33: note: in expansion of macro 'MEM_ACCESS' 179 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:542:17: note: in expansion of macro 'call' 542 | instr(4,0354) call(f & F_PARITY); endinstr; // call pe,nn | ^~~~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:180:33: note: in expansion of macro 'MEM_ACCESS' 180 | MEM_ACCESS(pc + 1); \ | ^~~~~~~~~~ ../Base/Z80ops.h:542:17: note: in expansion of macro 'call' 542 | instr(4,0354) call(f & F_PARITY); endinstr; // call pe,nn | ^~~~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:179:33: note: in expansion of macro 'MEM_ACCESS' 179 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:543:17: note: in expansion of macro 'call' 543 | instr(4,0364) call(!(f & F_NEG)); endinstr; // call p,nn | ^~~~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:180:33: note: in expansion of macro 'MEM_ACCESS' 180 | MEM_ACCESS(pc + 1); \ | ^~~~~~~~~~ ../Base/Z80ops.h:543:17: note: in expansion of macro 'call' 543 | instr(4,0364) call(!(f & F_NEG)); endinstr; // call p,nn | ^~~~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:179:33: note: in expansion of macro 'MEM_ACCESS' 179 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:544:17: note: in expansion of macro 'call' 544 | instr(4,0374) call(f & F_NEG); endinstr; // call m,nn | ^~~~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:180:33: note: in expansion of macro 'MEM_ACCESS' 180 | MEM_ACCESS(pc + 1); \ | ^~~~~~~~~~ ../Base/Z80ops.h:544:17: note: in expansion of macro 'call' 544 | instr(4,0374) call(f & F_NEG); endinstr; // call m,nn | ^~~~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:179:33: note: in expansion of macro 'MEM_ACCESS' 179 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:546:17: note: in expansion of macro 'call' 546 | instr(4,0315) call(true); endinstr; // call nn | ^~~~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:180:33: note: in expansion of macro 'MEM_ACCESS' 180 | MEM_ACCESS(pc + 1); \ | ^~~~~~~~~~ ../Base/Z80ops.h:546:17: note: in expansion of macro 'call' 546 | instr(4,0315) call(true); endinstr; // call nn | ^~~~ g++ -o ../Base/CStream.o -c ../Base/CStream.cpp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:154:33: note: in expansion of macro 'MEM_ACCESS' 154 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:196:22: note: in expansion of macro 'jr' 196 | instr(5,0020) --b; jr(b); endinstr; // djnz e | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:154:33: note: in expansion of macro 'MEM_ACCESS' 154 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:197:17: note: in expansion of macro 'jr' 197 | instr(4,0030) jr(true); endinstr; // jr e | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:154:33: note: in expansion of macro 'MEM_ACCESS' 154 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:198:17: note: in expansion of macro 'jr' 198 | instr(4,0040) jr(!(f & F_ZERO)); endinstr; // jr nz,e | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:154:33: note: in expansion of macro 'MEM_ACCESS' 154 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:199:17: note: in expansion of macro 'jr' 199 | instr(4,0050) jr(f & F_ZERO); endinstr; // jr z,e | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:154:33: note: in expansion of macro 'MEM_ACCESS' 154 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:200:17: note: in expansion of macro 'jr' 200 | instr(4,0060) jr(!cy); endinstr; // jr nc,e | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:154:33: note: in expansion of macro 'MEM_ACCESS' 154 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:201:17: note: in expansion of macro 'jr' 201 | instr(4,0070) jr(cy); endinstr; // jr c,e | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:164:33: note: in expansion of macro 'MEM_ACCESS' 164 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:525:17: note: in expansion of macro 'jp' 525 | instr(4,0302) jp(!(f & F_ZERO)); endinstr; // jp nz,nn | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:165:33: note: in expansion of macro 'MEM_ACCESS' 165 | MEM_ACCESS(pc + 1); \ | ^~~~~~~~~~ ../Base/Z80ops.h:525:17: note: in expansion of macro 'jp' 525 | instr(4,0302) jp(!(f & F_ZERO)); endinstr; // jp nz,nn | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:164:33: note: in expansion of macro 'MEM_ACCESS' 164 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:526:17: note: in expansion of macro 'jp' 526 | instr(4,0312) jp(f & F_ZERO); endinstr; // jp z,nn | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:165:33: note: in expansion of macro 'MEM_ACCESS' 165 | MEM_ACCESS(pc + 1); \ | ^~~~~~~~~~ ../Base/Z80ops.h:526:17: note: in expansion of macro 'jp' 526 | instr(4,0312) jp(f & F_ZERO); endinstr; // jp z,nn | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:164:33: note: in expansion of macro 'MEM_ACCESS' 164 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:527:17: note: in expansion of macro 'jp' 527 | instr(4,0322) jp(!cy); endinstr; // jp nc,nn | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:165:33: note: in expansion of macro 'MEM_ACCESS' 165 | MEM_ACCESS(pc + 1); \ | ^~~~~~~~~~ ../Base/Z80ops.h:527:17: note: in expansion of macro 'jp' 527 | instr(4,0322) jp(!cy); endinstr; // jp nc,nn | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:164:33: note: in expansion of macro 'MEM_ACCESS' 164 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:528:17: note: in expansion of macro 'jp' 528 | instr(4,0332) jp(cy); endinstr; // jp c,nn | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:165:33: note: in expansion of macro 'MEM_ACCESS' 165 | MEM_ACCESS(pc + 1); \ | ^~~~~~~~~~ ../Base/Z80ops.h:528:17: note: in expansion of macro 'jp' 528 | instr(4,0332) jp(cy); endinstr; // jp c,nn | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:164:33: note: in expansion of macro 'MEM_ACCESS' 164 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:529:17: note: in expansion of macro 'jp' 529 | instr(4,0342) jp(!(f & F_PARITY)); endinstr; // jp po,nn | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:165:33: note: in expansion of macro 'MEM_ACCESS' 165 | MEM_ACCESS(pc + 1); \ | ^~~~~~~~~~ ../Base/Z80ops.h:529:17: note: in expansion of macro 'jp' 529 | instr(4,0342) jp(!(f & F_PARITY)); endinstr; // jp po,nn | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:164:33: note: in expansion of macro 'MEM_ACCESS' 164 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:530:17: note: in expansion of macro 'jp' 530 | instr(4,0352) jp(f & F_PARITY); endinstr; // jp pe,nn | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:165:33: note: in expansion of macro 'MEM_ACCESS' 165 | MEM_ACCESS(pc + 1); \ | ^~~~~~~~~~ ../Base/Z80ops.h:530:17: note: in expansion of macro 'jp' 530 | instr(4,0352) jp(f & F_PARITY); endinstr; // jp pe,nn | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:164:33: note: in expansion of macro 'MEM_ACCESS' 164 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:531:17: note: in expansion of macro 'jp' 531 | instr(4,0362) jp(!(f & F_NEG)); endinstr; // jp p,nn | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:165:33: note: in expansion of macro 'MEM_ACCESS' 165 | MEM_ACCESS(pc + 1); \ | ^~~~~~~~~~ ../Base/Z80ops.h:531:17: note: in expansion of macro 'jp' 531 | instr(4,0362) jp(!(f & F_NEG)); endinstr; // jp p,nn | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:164:33: note: in expansion of macro 'MEM_ACCESS' 164 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:532:17: note: in expansion of macro 'jp' 532 | instr(4,0372) jp(f & F_NEG); endinstr; // jp m,nn | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:165:33: note: in expansion of macro 'MEM_ACCESS' 165 | MEM_ACCESS(pc + 1); \ | ^~~~~~~~~~ ../Base/Z80ops.h:532:17: note: in expansion of macro 'jp' 532 | instr(4,0372) jp(f & F_NEG); endinstr; // jp m,nn | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:164:33: note: in expansion of macro 'MEM_ACCESS' 164 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:534:17: note: in expansion of macro 'jp' 534 | instr(4,0303) jp(true); endinstr; // jp nn | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:165:33: note: in expansion of macro 'MEM_ACCESS' 165 | MEM_ACCESS(pc + 1); \ | ^~~~~~~~~~ ../Base/Z80ops.h:534:17: note: in expansion of macro 'jp' 534 | instr(4,0303) jp(true); endinstr; // jp nn | ^~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:179:33: note: in expansion of macro 'MEM_ACCESS' 179 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:537:17: note: in expansion of macro 'call' 537 | instr(4,0304) call(!(f & F_ZERO)); endinstr; // call nz,pq | ^~~~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:180:33: note: in expansion of macro 'MEM_ACCESS' 180 | MEM_ACCESS(pc + 1); \ | ^~~~~~~~~~ ../Base/Z80ops.h:537:17: note: in expansion of macro 'call' 537 | instr(4,0304) call(!(f & F_ZERO)); endinstr; // call nz,pq | ^~~~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:179:33: note: in expansion of macro 'MEM_ACCESS' 179 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:538:17: note: in expansion of macro 'call' 538 | instr(4,0314) call(f & F_ZERO); endinstr; // call z,nn | ^~~~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:180:33: note: in expansion of macro 'MEM_ACCESS' 180 | MEM_ACCESS(pc + 1); \ | ^~~~~~~~~~ ../Base/Z80ops.h:538:17: note: in expansion of macro 'call' 538 | instr(4,0314) call(f & F_ZERO); endinstr; // call z,nn | ^~~~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:179:33: note: in expansion of macro 'MEM_ACCESS' 179 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:539:17: note: in expansion of macro 'call' 539 | instr(4,0324) call(!cy); endinstr; // call nc,nn | ^~~~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:180:33: note: in expansion of macro 'MEM_ACCESS' 180 | MEM_ACCESS(pc + 1); \ | ^~~~~~~~~~ ../Base/Z80ops.h:539:17: note: in expansion of macro 'call' 539 | instr(4,0324) call(!cy); endinstr; // call nc,nn | ^~~~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:179:33: note: in expansion of macro 'MEM_ACCESS' 179 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:540:17: note: in expansion of macro 'call' 540 | instr(4,0334) call(cy); endinstr; // call c,nn | ^~~~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:180:33: note: in expansion of macro 'MEM_ACCESS' 180 | MEM_ACCESS(pc + 1); \ | ^~~~~~~~~~ ../Base/Z80ops.h:540:17: note: in expansion of macro 'call' 540 | instr(4,0334) call(cy); endinstr; // call c,nn | ^~~~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:179:33: note: in expansion of macro 'MEM_ACCESS' 179 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:541:17: note: in expansion of macro 'call' 541 | instr(4,0344) call(!(f & F_PARITY)); endinstr; // call po | ^~~~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:180:33: note: in expansion of macro 'MEM_ACCESS' 180 | MEM_ACCESS(pc + 1); \ | ^~~~~~~~~~ ../Base/Z80ops.h:541:17: note: in expansion of macro 'call' 541 | instr(4,0344) call(!(f & F_PARITY)); endinstr; // call po | ^~~~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:179:33: note: in expansion of macro 'MEM_ACCESS' 179 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:542:17: note: in expansion of macro 'call' 542 | instr(4,0354) call(f & F_PARITY); endinstr; // call pe,nn | ^~~~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:180:33: note: in expansion of macro 'MEM_ACCESS' 180 | MEM_ACCESS(pc + 1); \ | ^~~~~~~~~~ ../Base/Z80ops.h:542:17: note: in expansion of macro 'call' 542 | instr(4,0354) call(f & F_PARITY); endinstr; // call pe,nn | ^~~~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:179:33: note: in expansion of macro 'MEM_ACCESS' 179 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:543:17: note: in expansion of macro 'call' 543 | instr(4,0364) call(!(f & F_NEG)); endinstr; // call p,nn | ^~~~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:180:33: note: in expansion of macro 'MEM_ACCESS' 180 | MEM_ACCESS(pc + 1); \ | ^~~~~~~~~~ ../Base/Z80ops.h:543:17: note: in expansion of macro 'call' 543 | instr(4,0364) call(!(f & F_NEG)); endinstr; // call p,nn | ^~~~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:179:33: note: in expansion of macro 'MEM_ACCESS' 179 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:544:17: note: in expansion of macro 'call' 544 | instr(4,0374) call(f & F_NEG); endinstr; // call m,nn | ^~~~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:180:33: note: in expansion of macro 'MEM_ACCESS' 180 | MEM_ACCESS(pc + 1); \ | ^~~~~~~~~~ ../Base/Z80ops.h:544:17: note: in expansion of macro 'call' 544 | instr(4,0374) call(f & F_NEG); endinstr; // call m,nn | ^~~~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:179:33: note: in expansion of macro 'MEM_ACCESS' 179 | MEM_ACCESS(pc); \ | ^~~~~~~~~~ ../Base/Z80ops.h:546:17: note: in expansion of macro 'call' 546 | instr(4,0315) call(true); endinstr; // call nn | ^~~~ ../Base/CPU.cpp:131:40: warning: operation on 'g_nLineCycle' may be undefined [-Wsequence-point] 131 | #define MEM_ACCESS(a) ((g_nLineCycle += 3) |= (afContendedPages[VPAGE(a)]) ? pMemAccess[g_nLineCycle >> 6] : 0) | ~~~~~~~~~~~~~~^~~~~ ../Base/Z80ops.h:180:33: note: in expansion of macro 'MEM_ACCESS' 180 | MEM_ACCESS(pc + 1); \ | ^~~~~~~~~~ ../Base/Z80ops.h:546:17: note: in expansion of macro 'call' 546 | instr(4,0315) call(true); endinstr; // call nn | ^~~~ g++ -o ../Base/Debug.o -c ../Base/Debug.cpp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall g++ -o ../Base/Disassem.o -c ../Base/Disassem.cpp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall ../Base/Debug.cpp: In function 'void cmdStepOver()': ../Base/Debug.cpp:1511:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1511 | || (bOpcode & 0xc7) == 0xc2 && read_word(wPC+1) <= wPC) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o ../Base/Expr.o -c ../Base/Expr.cpp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall g++ -o ../Base/Font.o -c ../Base/Font.cpp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall g++ -o ../Base/Frame.o -c ../Base/Frame.cpp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall g++ -o ../Base/GUI.o -c ../Base/GUI.cpp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall ../Base/Frame.cpp: In static member function 'static void Frame::Sync()': ../Base/Frame.cpp:457:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 457 | if (fDrawFrame = ((dwNow - dwLastFrame) >= 1000/FPS_IN_TURBO_MODE)) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o ../Base/GUIDlg.o -c ../Base/GUIDlg.cpp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall ../Base/GUI.cpp: In member function 'virtual bool CEditControl::OnMessage(int, int, int)': ../Base/GUI.cpp:855:70: warning: narrowing conversion of 'nParam1_' from 'int' to 'char' [-Wnarrowing] 855 | char sz[MAX_EDIT_LENGTH+1], szNew[2] = { nParam1_, '\0' }; | ^~~~~~~~ ../Base/GUI.cpp: In member function 'void CRadioButton::Select(bool)': ../Base/GUI.cpp:1005:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1005 | if (m_fSelected = fSelected_) | ~~~~~~~~~~~~^~~~~~~~~~~~ ../Base/GUI.cpp: In member function 'virtual bool CComboBox::OnMessage(int, int, int)': ../Base/GUI.cpp:1308:36: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1308 | if (m_fPressed = !m_fPressed) | ~~~~~~~~~~~^~~~~~~~~~~~~ ../Base/GUI.cpp: In member function 'void CFileView::Refresh()': ../Base/GUI.cpp:2113:31: warning: narrowing conversion of 'chDrive' from 'int' to 'char' [-Wnarrowing] 2113 | char szRoot[] = { chDrive, ':', '\\', '\0' }; | ^~~~~~~ ../Base/GUIDlg.cpp: In member function 'virtual void CMidiOptions::OnNotify(CWindow*, int)': ../Base/GUIDlg.cpp:35:38: warning: comparison between two arrays [-Warray-compare] 35 | #define Changed(o) (g_opts.o != GetOption(o)) ../Base/GUIDlg.cpp:808:38: note: in expansion of macro 'Changed' 808 | if (Changed(midi) || Changed(midiindev) || Changed(midioutdev)) | ^~~~~~~ ../Base/GUIDlg.cpp:35:38: note: use unary '+' which decays operands to pointers or '&'component_ref' not supported by dump_decl[0] != &'component_ref' not supported by dump_decl[0]' to compare the addresses 35 | #define Changed(o) (g_opts.o != GetOption(o)) ../Base/GUIDlg.cpp:808:38: note: in expansion of macro 'Changed' 808 | if (Changed(midi) || Changed(midiindev) || Changed(midioutdev)) | ^~~~~~~ ../Base/GUIDlg.cpp:35:38: warning: comparison between two arrays [-Warray-compare] 35 | #define Changed(o) (g_opts.o != GetOption(o)) ../Base/GUIDlg.cpp:808:60: note: in expansion of macro 'Changed' 808 | if (Changed(midi) || Changed(midiindev) || Changed(midioutdev)) | ^~~~~~~ ../Base/GUIDlg.cpp:35:38: note: use unary '+' which decays operands to pointers or '&'component_ref' not supported by dump_decl[0] != &'component_ref' not supported by dump_decl[0]' to compare the addresses 35 | #define Changed(o) (g_opts.o != GetOption(o)) ../Base/GUIDlg.cpp:808:60: note: in expansion of macro 'Changed' 808 | if (Changed(midi) || Changed(midiindev) || Changed(midioutdev)) | ^~~~~~~ g++ -o ../Base/GUIIcons.o -c ../Base/GUIIcons.cpp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall g++ -o ../Base/HardDisk.o -c ../Base/HardDisk.cpp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall ../Base/HardDisk.cpp: In static member function 'static bool CHDFHardDisk::Create(const char*, UINT, UINT, UINT)': ../Base/HardDisk.cpp:147:81: warning: narrowing conversion of '(uDataOffset % 256)' from 'UINT' {aka 'unsigned int'} to 'BYTE' {aka 'unsigned char'} [-Wnarrowing] 147 | RS_IDE sHeader = { {'R','S','-','I','D','E'}, 0x1a, 0x10, 0x00, uDataOffset%256, uDataOffset/256 }; | ~~~~~~~~~~~^~~~ ../Base/HardDisk.cpp:147:98: warning: narrowing conversion of '(uDataOffset / 256)' from 'UINT' {aka 'unsigned int'} to 'BYTE' {aka 'unsigned char'} [-Wnarrowing] 147 | RS_IDE sHeader = { {'R','S','-','I','D','E'}, 0x1a, 0x10, 0x00, uDataOffset%256, uDataOffset/256 }; | ~~~~~~~~~~~^~~~ ../Base/GUIDlg.cpp: In member function 'CImportDialog::OnNotify(CWindow*, int)': ../Base/GUIDlg.cpp:1436:16: warning: 'strncpy' specified bound 260 equals destination size [-Wstringop-truncation] 1436 | strncpy(s_szFile, m_pFile->GetText(), sizeof s_szFile); | ^ g++ -o ../Base/IO.o -c ../Base/IO.cpp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall ../Base/GUIDlg.cpp: In member function 'CExportDialog::OnNotify(CWindow*, int)': ../Base/GUIDlg.cpp:1493:16: warning: 'strncpy' specified bound 260 equals destination size [-Wstringop-truncation] 1493 | strncpy(s_szFile, m_pFile->GetText(), sizeof s_szFile); | ^ g++ -o ../Base/Main.o -c ../Base/Main.cpp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall ../Base/IO.cpp: In static member function 'static void IO::UpdateInput()': ../Base/IO.cpp:888:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 888 | if (GetOption(turboload) && (pDrive1 && pDrive1->IsActive()) || (pDrive2 && pDrive2->IsActive())) g++ -o ../Base/Memory.o -c ../Base/Memory.cpp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall g++ -o ../Base/Mouse.o -c ../Base/Mouse.cpp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall g++ -o ../Base/Options.o -c ../Base/Options.cpp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall g++ -o ../Base/Parallel.o -c ../Base/Parallel.cpp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall g++ -o ../Base/PNG.o -c ../Base/PNG.cpp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall g++ -o ../Base/Profile.o -c ../Base/Profile.cpp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall g++ -o ../Base/SDIDE.o -c ../Base/SDIDE.cpp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall g++ -o ../Base/Util.o -c ../Base/Util.cpp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall g++ -o ../Base/YATBus.o -c ../Base/YATBus.cpp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall gcc -o ../Extern/unzip.o -c ../Extern/unzip.c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND gcc -o ../Extern/ioapi.o -c ../Extern/ioapi.c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND g++ -o Display.o -c Display.cpp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall g++ -o Floppy.o -c Floppy.cpp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall Display.cpp: In function 'bool DrawChanges(CScreen*, SDL_Surface*)': Display.cpp:557:42: warning: narrowing conversion of '(nChangeFrom << nShift)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 557 | SDL_Rect rect = { 0, nChangeFrom << nShift, pScreen_->GetPitch(), ((nChangeTo - nChangeFrom + 1) << nShift) }; | ~~~~~~~~~~~~^~~~~~~~~ Display.cpp:557:71: warning: narrowing conversion of 'pScreen_->CScreen::GetPitch()' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 557 | SDL_Rect rect = { 0, nChangeFrom << nShift, pScreen_->GetPitch(), ((nChangeTo - nChangeFrom + 1) << nShift) }; | ~~~~~~~~~~~~~~~~~~^~ Display.cpp:557:106: warning: narrowing conversion of '(((nChangeTo - nChangeFrom) + 1) << nShift)' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 557 | SDL_Rect rect = { 0, nChangeFrom << nShift, pScreen_->GetPitch(), ((nChangeTo - nChangeFrom + 1) << nShift) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ Display.cpp:558:53: warning: narrowing conversion of '((pFront->SDL_Surface::w - ((int)rect.SDL_Rect::w)) >> 1)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 558 | SDL_Rect rectFront = { (pFront->w - rect.w) >> 1, rect.y + ((pFront->h - (nBottom << nShift)) >> 1), rect.w, rect.h }; | ~~~~~~~~~~~~~~~~~~~~~^~~~ Display.cpp:558:66: warning: narrowing conversion of '(((int)rect.SDL_Rect::y) + ((pFront->SDL_Surface::h - (nBottom << nShift)) >> 1))' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 558 | SDL_Rect rectFront = { (pFront->w - rect.w) >> 1, rect.y + ((pFront->h - (nBottom << nShift)) >> 1), rect.w, rect.h }; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o IDEDisk.o -c IDEDisk.cpp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall Floppy.cpp: In function 'BYTE ReadSector(int, PTRACK, UINT)': Floppy.cpp:171:38: warning: narrowing conversion of '(((int)pt->TRACK::head) << 2)' from 'int' to 'BYTE' {aka 'unsigned char'} [-Wnarrowing] 171 | BYTE cmd[] = { FD_READ, pt->head << 2, ps->cyl,ps->head,ps->sector,ps->size, ps->sector+1, 0x0a,0xff }; | ~~~~~~~~~^~~~ Floppy.cpp:171:92: warning: narrowing conversion of '(((int)ps->SECTOR::sector) + 1)' from 'int' to 'BYTE' {aka 'unsigned char'} [-Wnarrowing] 171 | BYTE cmd[] = { FD_READ, pt->head << 2, ps->cyl,ps->head,ps->sector,ps->size, ps->sector+1, 0x0a,0xff }; | ~~~~~~~~~~^~ Floppy.cpp: In function 'BYTE WriteSector(int, PTRACK, UINT, BYTE*)': Floppy.cpp:203:45: warning: narrowing conversion of '(((int)pt->TRACK::head) << 2)' from 'int' to 'BYTE' {aka 'unsigned char'} [-Wnarrowing] 203 | BYTE abCommand[] = { FD_WRITE, pt->head << 2, ps->cyl,ps->head,ps->sector,ps->size, ps->sector+1, 0x0a,0xff }; | ~~~~~~~~~^~~~ Floppy.cpp:203:99: warning: narrowing conversion of '(((int)ps->SECTOR::sector) + 1)' from 'int' to 'BYTE' {aka 'unsigned char'} [-Wnarrowing] 203 | BYTE abCommand[] = { FD_WRITE, pt->head << 2, ps->cyl,ps->head,ps->sector,ps->size, ps->sector+1, 0x0a,0xff }; | ~~~~~~~~~~^~ Floppy.cpp: In function 'BYTE FormatTrack(int, PTRACK)': Floppy.cpp:238:46: warning: narrowing conversion of '(((int)pt->TRACK::head) << 2)' from 'int' to 'BYTE' {aka 'unsigned char'} [-Wnarrowing] 238 | BYTE abCommand[] = { FD_FORMAT, pt->head << 2, 6, pt->sectors, 1, 0x00 }; | ~~~~~~~~~^~~~ Floppy.cpp:238:59: warning: narrowing conversion of 'pt->TRACK::sectors' from 'int' to 'BYTE' {aka 'unsigned char'} [-Wnarrowing] 238 | BYTE abCommand[] = { FD_FORMAT, pt->head << 2, 6, pt->sectors, 1, 0x00 }; | ~~~~^~~~~~~ Floppy.cpp: In function 'bool ReadSimpleTrack(int, PTRACK, UINT&)': Floppy.cpp:335:44: warning: narrowing conversion of '(((int)pt->TRACK::head) << 2)' from 'int' to 'BYTE' {aka 'unsigned char'} [-Wnarrowing] 335 | BYTE abCommand[] = { FD_READ, pt->head << 2, pt->cyl, pt->head, ps->sector, ps->size, ps->sector+pt->sectors, 0x0a,0xff }; | ~~~~~~~~~^~~~ Floppy.cpp:335:101: warning: narrowing conversion of '(((int)ps->SECTOR::sector) + pt->TRACK::sectors)' from 'int' to 'BYTE' {aka 'unsigned char'} [-Wnarrowing] 335 | BYTE abCommand[] = { FD_READ, pt->head << 2, pt->cyl, pt->head, ps->sector, ps->size, ps->sector+pt->sectors, 0x0a,0xff }; | ~~~~~~~~~~^~~~~~~~~~~~ Floppy.cpp: In function 'bool ReadCustomTrack(int, PTRACK)': Floppy.cpp:386:39: warning: narrowing conversion of '(((int)pt->TRACK::head) << 2)' from 'int' to 'BYTE' {aka 'unsigned char'} [-Wnarrowing] 386 | BYTE cmd0[] = { FD_READ, pt->head << 2, 0xef,0xef,sector,size, sector+1, 0x0a,0xff }; | ~~~~~~~~~^~~~ Floppy.cpp:386:74: warning: narrowing conversion of '(((int)sector) + 1)' from 'int' to 'BYTE' {aka 'unsigned char'} [-Wnarrowing] 386 | BYTE cmd0[] = { FD_READ, pt->head << 2, 0xef,0xef,sector,size, sector+1, 0x0a,0xff }; | ~~~~~~^~ g++ -o Input.o -c Input.cpp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall g++ -o MIDI.o -c MIDI.cpp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall Floppy.cpp: In function 'CFloppyStream::IsRecognised(char const*)': Floppy.cpp:50:12: warning: 'strncpy' specified bound 260 equals destination size [-Wstringop-truncation] 50 | strncpy(sz, pcszStream_, sizeof(sz)); | ^ Input.cpp: In static member function 'static void Input::Acquire(bool, bool)': Input.cpp:213:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 213 | if (fMouseActive = fMouse_ && GetOption(mouse)) MIDI.cpp: In member function 'virtual BYTE CMidiDevice::In(WORD)': MIDI.cpp:63:13: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 63 | read(m_nDevice, m_abIn, sizeof m_abIn); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MIDI.cpp: In member function 'virtual void CMidiDevice::Out(WORD, BYTE)': MIDI.cpp:144:14: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 144 | write(m_nDevice, m_abOut, m_nOut); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o OSD.o -c OSD.cpp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall g++ -o Sound.o -c Sound.cpp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall g++ -o UI.o -c UI.cpp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall OSD.cpp: In function 'OSD::GetFilePath(char const*, bool)': OSD.cpp:129:43: warning: '%s' directive output may be truncated writing up to 3563 bytes into a region of size 512 [-Wformat-truncation=] 129 | snprintf(szPath, sizeof(szPath), "%s/%s", GetOption(rompath), | ^~ In file included from /usr/include/stdio.h:906, from /usr/include/SDL/SDL_stdinc.h:33, from /usr/include/SDL/SDL_main.h:29, from /usr/include/SDL/SDL.h:29, from ./OSD.h:32, from ../Base/SimCoupe.h:46, from OSD.cpp:25: In function '*__snprintfieee128', inlined from 'OSD::GetFilePath(char const*, bool)' at OSD.cpp:129:17: /usr/include/bits/stdio2.h:54:35: note: '*__snprintf_chkieee128' output 2 or more bytes (assuming 3565) into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ OSD.cpp: In function 'OSD::GetFilePath(char const*, bool)': OSD.cpp:105:23: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 105 | return strncpy(szPath, pcszFile_, sizeof szPath); | ^ g++ -o Video.o -c Video.cpp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall g++ -o simcoupe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STRICT_ANSI__ -pedantic -I. -I../Base -I../Extern -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -DUSE_SAASOUND -Wall ../Base/Action.o ../Base/ATA.o ../Base/Atom.o ../Base/CDisk.o ../Base/CDrive.o ../Base/Clock.o ../Base/CPU.o ../Base/CScreen.o ../Base/CStream.o ../Base/Debug.o ../Base/Disassem.o ../Base/Expr.o ../Base/Font.o ../Base/Frame.o ../Base/GUI.o ../Base/GUIDlg.o ../Base/GUIIcons.o ../Base/HardDisk.o ../Base/IO.o ../Base/Main.o ../Base/Memory.o ../Base/Mouse.o ../Base/Options.o ../Base/Parallel.o ../Base/PNG.o ../Base/Profile.o ../Base/SDIDE.o ../Base/Util.o ../Base/YATBus.o ../Extern/unzip.o ../Extern/ioapi.o ./Display.o ./Floppy.o ./IDEDisk.o ./Input.o ./MIDI.o ./OSD.o ./Sound.o ./UI.o ./Video.o -L. -lm -lSDL -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -lz -lSAASound + popd + convert SDL/SimCoupe.bmp -transparent '#ffffff' simcoupe.png ~/build/BUILD/SimCoupe + cat + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.AOjoXD + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/simcoupe-1.0-31.fc38.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/simcoupe-1.0-31.fc38.ppc64le ++ dirname /builddir/build/BUILDROOT/simcoupe-1.0-31.fc38.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/simcoupe-1.0-31.fc38.ppc64le + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd SimCoupe + rm -rf /builddir/build/BUILDROOT/simcoupe-1.0-31.fc38.ppc64le + mkdir -p /builddir/build/BUILDROOT/simcoupe-1.0-31.fc38.ppc64le/usr/bin + mkdir -p /builddir/build/BUILDROOT/simcoupe-1.0-31.fc38.ppc64le/usr/share/simcoupe + mkdir -p /builddir/build/BUILDROOT/simcoupe-1.0-31.fc38.ppc64le/usr/share/icons/hicolor/32x32/apps + install -pm 0755 SDL/simcoupe /builddir/build/BUILDROOT/simcoupe-1.0-31.fc38.ppc64le/usr/bin + install -pm 0644 SDL/SimCoupe.bmp /builddir/build/BUILDROOT/simcoupe-1.0-31.fc38.ppc64le/usr/share/simcoupe + install -pm 0644 simcoupe.png /builddir/build/BUILDROOT/simcoupe-1.0-31.fc38.ppc64le/usr/share/icons/hicolor/32x32/apps + desktop-file-install --dir /builddir/build/BUILDROOT/simcoupe-1.0-31.fc38.ppc64le/usr/share/applications simcoupe.desktop + /usr/bin/find-debuginfo -j5 --strict-build-id -m -i --build-id-seed 1.0-31.fc38 --unique-debug-suffix -1.0-31.fc38.ppc64le --unique-debug-src-base simcoupe-1.0-31.fc38.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/SimCoupe extracting debug info from /builddir/build/BUILDROOT/simcoupe-1.0-31.fc38.ppc64le/usr/bin/simcoupe original debug info size: 1920kB, size after compression: 1664kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 2082 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: simcoupe-1.0-31.fc38.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.jG5VQt + umask 022 + cd /builddir/build/BUILD + cd SimCoupe + DOCDIR=/builddir/build/BUILDROOT/simcoupe-1.0-31.fc38.ppc64le/usr/share/doc/simcoupe + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/simcoupe-1.0-31.fc38.ppc64le/usr/share/doc/simcoupe + cp -pr ChangeLog.txt /builddir/build/BUILDROOT/simcoupe-1.0-31.fc38.ppc64le/usr/share/doc/simcoupe + cp -pr License.txt /builddir/build/BUILDROOT/simcoupe-1.0-31.fc38.ppc64le/usr/share/doc/simcoupe + cp -pr SimCoupe.txt /builddir/build/BUILDROOT/simcoupe-1.0-31.fc38.ppc64le/usr/share/doc/simcoupe + cp -pr B-DOS-License.txt /builddir/build/BUILDROOT/simcoupe-1.0-31.fc38.ppc64le/usr/share/doc/simcoupe + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(simcoupe.desktop) simcoupe = 1.0-31.fc38 simcoupe(ppc-64) = 1.0-31.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libSAASound-3.2.so.0()(64bit) libSDL-1.2.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libm.so.6()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: simcoupe-debugsource-1.0-31.fc38.ppc64le Provides: simcoupe-debugsource = 1.0-31.fc38 simcoupe-debugsource(ppc-64) = 1.0-31.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: simcoupe-debuginfo-1.0-31.fc38.ppc64le Provides: debuginfo(build-id) = f17d2af545a2e58f989525c774aa59d2cf5a2eca simcoupe-debuginfo = 1.0-31.fc38 simcoupe-debuginfo(ppc-64) = 1.0-31.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: simcoupe-debugsource(ppc-64) = 1.0-31.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/simcoupe-1.0-31.fc38.ppc64le Wrote: /builddir/build/RPMS/simcoupe-1.0-31.fc38.ppc64le.rpm Wrote: /builddir/build/RPMS/simcoupe-debugsource-1.0-31.fc38.ppc64le.rpm Wrote: /builddir/build/RPMS/simcoupe-debuginfo-1.0-31.fc38.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.VXSEus + umask 022 + cd /builddir/build/BUILD + cd SimCoupe + /usr/bin/rm -rf /builddir/build/BUILDROOT/simcoupe-1.0-31.fc38.ppc64le + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.DVjZRJ + umask 022 + cd /builddir/build/BUILD + rm -rf SimCoupe SimCoupe.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0