Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/duel3.spec'], chrootPath='/var/lib/mock/f41-build-827937-155472/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=604800uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.oihmklu5:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.oihmklu5:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '633aed9011a341049523bed53d596c49', '-D', '/var/lib/mock/f41-build-827937-155472/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.oihmklu5:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/duel3.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721174400 Wrote: /builddir/build/SRPMS/duel3-0.1-0.41.20060225.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/duel3.spec'], chrootPath='/var/lib/mock/f41-build-827937-155472/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=604800uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.oihmklu5:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.oihmklu5:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', 'e6f6981fb37c47efae215cd176f11dc7', '-D', '/var/lib/mock/f41-build-827937-155472/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.oihmklu5:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/duel3.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721174400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.MdZcNI + umask 022 + cd /builddir/build/BUILD/duel3-0.1-build + test -d /builddir/build/BUILD/duel3-0.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/duel3-0.1-build + /usr/bin/rm -rf /builddir/build/BUILD/duel3-0.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/duel3-0.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/duel3-0.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OiSHC7 + umask 022 + cd /builddir/build/BUILD/duel3-0.1-build + cd /builddir/build/BUILD/duel3-0.1-build + rm -rf Duel3_20060225_src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/Duel3_20060225_src.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd Duel3_20060225_src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/Duel3_20060225_bin.zip + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv Duel3_20060225_bin/Desktop.ini Duel3_20060225_bin/Duel3.exe Duel3_20060225_bin/ShipAtts.d3 Duel3_20060225_bin/Ships.d3 Duel3_20060225_bin/Thumbs.db Duel3_20060225_bin/WeaponsSet.d3 Duel3_20060225_bin/alleg42.dll Duel3_20060225_bin/fonts.dat Duel3_20060225_bin/images Duel3_20060225_bin/license.txt Duel3_20060225_bin/log.txt Duel3_20060225_bin/models Duel3_20060225_bin/models.d3 Duel3_20060225_bin/music Duel3_20060225_bin/readme.txt Duel3_20060225_bin/sounds.dat Duel3_20060225_bin/w_hud Source + cp /builddir/build/SOURCES/music-credits.txt . + echo 'Patch #0 (Duel3_20060225-fixes.patch):' Patch #0 (Duel3_20060225-fixes.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Source/PObject.h patching file Source/Button.h patching file Source/CServer.h patching file Source/Player.cpp patching file Source/Server.h patching file Source/AsteroidsGameMode.h patching file Source/Controller.cpp patching file Source/main.cpp patching file Source/BRect.h patching file Source/unix.cpp patching file Source/CPacket.h patching file Source/CCamera.h patching file Source/CVector3.h patching file Source/Player.h patching file Source/Proj.h patching file Source/Weapon.cpp patching file Source/particlegenerator.h patching file Source/oCVector3.h patching file Source/Makefile patching file Source/Game.h patching file Source/particle.h patching file Source/CNetwork.h patching file Source/CPlayer.h patching file Source/Standards.h patching file Source/CMenuItem.h patching file Source/Client.h patching file Source/Model.cpp patching file Source/Ship.cpp patching file Source/Standards.cpp patching file Source/CVector2.h patching file Source/CMenu.h patching file Source/Weapon.h patching file Source/models.d3 patching file Source/CClient.h patching file Source/Game.cpp Patch #1 (Duel3_20060225-windowed-mode.patch): + echo 'Patch #1 (Duel3_20060225-windowed-mode.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Source/main.cpp Patch #2 (Duel3_20060225-fix-buf-oflow.patch): + echo 'Patch #2 (Duel3_20060225-fix-buf-oflow.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Source/Player.cpp Patch #3 (Duel3_20060225-extra-fix-buf-oflow.patch): + echo 'Patch #3 (Duel3_20060225-extra-fix-buf-oflow.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Source/Player.cpp + sed -i 's/\r//' Source/readme.txt license.txt music-credits.txt + iconv -f iso8859-1 -t utf-8 music-credits.txt + mv temp music-credits.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4s58lm + umask 022 + cd /builddir/build/BUILD/duel3-0.1-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS ~/build/BUILD/duel3-0.1-build/Duel3_20060225_src/Source ~/build/BUILD/duel3-0.1-build/Duel3_20060225_src + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 Duel3_20060225_src + pushd Source + make -j64 PREFIX=/usr 'CFLAGS=-std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor' g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o main.o -c main.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Standards.o -c Standards.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o CCamera.o -c CCamera.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o CVector2.o -c CVector2.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o BRect.o -c BRect.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o SObject.o -c SObject.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Model.o -c Model.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Weapon.o -c Weapon.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Animation.o -c Animation.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o PObject.o -c PObject.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Ship.o -c Ship.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Proj.o -c Proj.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Arena.o -c Arena.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Player.o -c Player.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Game.o -c Game.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Widget.o -c Widget.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o ShipArray.o -c ShipArray.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Starfield.o -c Starfield.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o CVector3.o -c CVector3.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o particle.o -c particle.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o particlesystem.o -c particlesystem.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o particlegenerator.o -c particlegenerator.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o asteroid.o -c asteroid.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Controller.o -c Controller.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o SfxSingleton.o -c SfxSingleton.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o GameMode.o -c GameMode.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o AsteroidsGameMode.o -c AsteroidsGameMode.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o NewMenu.o -c NewMenu.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Button.o -c Button.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o CheckBox.o -c CheckBox.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o ShipSelector.o -c ShipSelector.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o MissileAvoid.o -c MissileAvoid.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o AIPlayer.o -c AIPlayer.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Turret.o -c Turret.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o MissileAvoid2p.o -c MissileAvoid2p.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o GameSettingsSingleton.o -c GameSettingsSingleton.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o ScoreKeeper.o -c ScoreKeeper.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o AsteroidsGameMode2p.o -c AsteroidsGameMode2p.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Powerup.o -c Powerup.cpp g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o unix.o -c unix.cpp ScoreKeeper.cpp: In member function ‘int ScoreKeeper::incMultiplier(int)’: ScoreKeeper.cpp:75:1: warning: no return statement in function returning non-void [-Wreturn-type] 75 | } | ^ ScoreKeeper.cpp: In member function ‘int ScoreKeeper::loadPagesCallback(const char*, int, void*)’: ScoreKeeper.cpp:155:15: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 155 | fscanf(fp,"%d",&scorePages[nScorePages].sortType); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ScoreKeeper.cpp:157:19: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 157 | fscanf(fp,"%s",scorePages[nScorePages].scores[n].name); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ScoreKeeper.cpp:158:19: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 158 | fscanf(fp,"%d",&scorePages[nScorePages].scores[n].score); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SfxSingleton.cpp: In member function ‘void SfxSingleton::setData(char*)’: SfxSingleton.cpp:41:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 41 | outtext(LOGFILE,"Could not load sounds"); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from Widget.h:17, from Widget.cpp:5: BRect.h:90:18: warning: ‘virtual void BRect::draw(bool)’ was hidden [-Woverloaded-virtual=] 90 | virtual void draw(bool wireframe=false); | ^~~~ Widget.h:45:18: note: by ‘virtual void Widget::draw()’ 45 | virtual void draw(void); | ^~~~ Standards.cpp: In function ‘int loadTexture(char*)’: Standards.cpp:51:13: warning: unused variable ‘pal’ [-Wunused-variable] 51 | PALETTE pal; | ^~~ Standards.cpp: In function ‘float FastSqrt(float)’: Standards.cpp:119:14: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 119 | int i = *(int*)&x; | ^~~~~~~~ Standards.cpp:121:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 121 | x = *(float*)&i; | ^~~~~~~~~~ BRect.cpp: In member function ‘virtual bool BRect::checkColWithBRect(BRect*)’: BRect.cpp:198:23: warning: variable ‘v1InDirofCCLine’ set but not used [-Wunused-but-set-variable] 198 | float v1InDirofCCLine,v2InDirofCCLine; | ^~~~~~~~~~~~~~~ BRect.cpp:198:39: warning: variable ‘v2InDirofCCLine’ set but not used [-Wunused-but-set-variable] 198 | float v1InDirofCCLine,v2InDirofCCLine; | ^~~~~~~~~~~~~~~ Standards.cpp:121:9: warning: ‘i’ is used uninitialized [-Wuninitialized] 121 | x = *(float*)&i; | ^~~~~~~~~~~ Standards.cpp:119:9: note: ‘i’ declared here 119 | int i = *(int*)&x; | ^ In file included from Widget.h:17, from Button.h:16, from CheckBox.h:15, from CheckBox.cpp:6: BRect.h:90:18: warning: ‘virtual void BRect::draw(bool)’ was hidden [-Woverloaded-virtual=] 90 | virtual void draw(bool wireframe=false); | ^~~~ Widget.h:45:18: note: by ‘virtual void Widget::draw()’ 45 | virtual void draw(void); | ^~~~ particle.cpp: In member function ‘int Particle::move()’: particle.cpp:87:1: warning: no return statement in function returning non-void [-Wreturn-type] 87 | } | ^ CheckBox.cpp: In member function ‘virtual void CheckBox::draw()’: CheckBox.cpp:42:8: warning: the address of ‘Button::caption’ will never be NULL [-Waddress] 42 | if(caption) | ^~~~~~~ Button.h:33:10: note: ‘Button::caption’ declared here 33 | char caption[50]; | ^~~~~~~ In file included from Widget.h:17, from Button.h:16, from Button.cpp:6: BRect.h:90:18: warning: ‘virtual void BRect::draw(bool)’ was hidden [-Woverloaded-virtual=] 90 | virtual void draw(bool wireframe=false); | ^~~~ Widget.h:45:18: note: by ‘virtual void Widget::draw()’ 45 | virtual void draw(void); | ^~~~ Button.cpp: In member function ‘virtual void Button::draw()’: Button.cpp:59:8: warning: the address of ‘Button::caption’ will never be NULL [-Waddress] 59 | if(caption) | ^~~~~~~ Button.h:33:10: note: ‘Button::caption’ declared here 33 | char caption[50]; | ^~~~~~~ Standards.cpp: In function ‘int loadTexture(char*)’: Standards.cpp:79:16: warning: ‘iTexture’ may be used uninitialized [-Wmaybe-uninitialized] 79 | return iTexture; | ^~~~~~~~ Standards.cpp:52:9: note: ‘iTexture’ was declared here 52 | int iTexture; | ^~~~~~~~ particle.cpp: In member function ‘void Particle::setString(char*)’: particle.cpp:62:12: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 5 equals destination size [-Wstringop-truncation] 62 | strncpy(string,s,5); | ^ particlesystem.cpp: In member function ‘void ParticleSystem::setupVArray(int)’: particlesystem.cpp:198:11: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] 198 | float x,y,z,s; | ^ particlesystem.cpp:198:13: warning: variable ‘y’ set but not used [-Wunused-but-set-variable] 198 | float x,y,z,s; | ^ particlesystem.cpp:198:15: warning: variable ‘z’ set but not used [-Wunused-but-set-variable] 198 | float x,y,z,s; | ^ particlegenerator.cpp: In member function ‘void ParticleGenerator::makePartRing()’: particlegenerator.cpp:301:11: warning: unused variable ‘ang2’ [-Wunused-variable] 301 | float ang2=(float)(rand()%100)/100 * M_PI; | ^~~~ particlegenerator.cpp:307:11: warning: unused variable ‘velRand’ [-Wunused-variable] 307 | float velRand; | ^~~~~~~ CCamera.cpp: In member function ‘bool CCamera::setOrthoViewport(int, int)’: CCamera.cpp:33:1: warning: no return statement in function returning non-void [-Wreturn-type] 33 | } | ^ Proj.cpp: In member function ‘virtual void Proj::draw(bool)’: Proj.cpp:431:11: warning: unused variable ‘tx’ [-Wunused-variable] 431 | float tx,ty; | ^~ Proj.cpp:431:14: warning: unused variable ‘ty’ [-Wunused-variable] 431 | float tx,ty; | ^~ asteroid.cpp: In member function ‘void AsteroidArray::setModels(Model*, int, int)’: asteroid.cpp:184:9: warning: variable ‘r’ set but not used [-Wunused-but-set-variable] 184 | int r; | ^ Weapon.cpp: In member function ‘void Weapon::createWeapon(char*, int, TProjInfo, char*)’: Weapon.cpp:44:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 44 | outtext(LOGFILE,"Creating Weapon: "); | ^~~~~~~~~~~~~~~~~~~ Weapon.cpp:46:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 46 | outtext(LOGFILE,"\n"); | ^~~~ Arena.cpp: In member function ‘void Arena::addWall(CVector2, CVector2)’: Arena.cpp:30:13: warning: unused variable ‘nodes’ [-Wunused-variable] 30 | int nodes; | ^~~~~ Arena.cpp: In member function ‘virtual void Arena::draw(bool)’: Arena.cpp:88:11: warning: unused variable ‘lineLength’ [-Wunused-variable] 88 | float lineLength; | ^~~~~~~~~~ Arena.cpp:93:11: warning: unused variable ‘tx’ [-Wunused-variable] 93 | float tx,ty; | ^~ Arena.cpp:93:14: warning: unused variable ‘ty’ [-Wunused-variable] 93 | float tx,ty; | ^~ Arena.cpp:94:11: warning: unused variable ‘rColour’ [-Wunused-variable] 94 | float rColour; | ^~~~~~~ In file included from SObject.h:17, from Game.h:14, from Game.cpp:6: BRect.h:90:18: warning: ‘virtual void BRect::draw(bool)’ was hidden [-Woverloaded-virtual=] 90 | virtual void draw(bool wireframe=false); | ^~~~ In file included from NewMenu.h:17, from GameMode.h:14, from Game.h:23: Widget.h:45:18: note: by ‘virtual void Widget::draw()’ 45 | virtual void draw(void); | ^~~~ In file included from main.cpp:34: BRect.h:90:18: warning: ‘virtual void BRect::draw(bool)’ was hidden [-Woverloaded-virtual=] 90 | virtual void draw(bool wireframe=false); | ^~~~ In file included from main.cpp:35: Widget.h:45:18: note: by ‘virtual void Widget::draw()’ 45 | virtual void draw(void); | ^~~~ Player.cpp: In member function ‘virtual void Player::drawHUD()’: : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] Player.cpp:22:29: note: in expansion of macro ‘DATADIR’ 22 | hudl.setPict(400,70,DATADIR "images/hudl_closed.bmp",false); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] Player.cpp:24:29: note: in expansion of macro ‘DATADIR’ 24 | hudr.setPict(400,70,DATADIR "images/hudr_3.bmp",false); | ^~~~~~~ Player.cpp:33:27: warning: zero-length gnu_printf format string [-Wformat-zero-length] 33 | sprintf(ammo_left,"",ship.retWepName()); | ^~ Player.cpp:41:28: warning: zero-length gnu_printf format string [-Wformat-zero-length] 41 | sprintf(lives_left,""); | ^~ Player.cpp: In member function ‘virtual void Player::drawHotSeatHUD(int)’: : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] Player.cpp:107:29: note: in expansion of macro ‘DATADIR’ 107 | hudl.setPict(400,70,DATADIR "images/hudl_3.bmp",false); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] Player.cpp:109:29: note: in expansion of macro ‘DATADIR’ 109 | hudr.setPict(400,70,DATADIR "images/hudr_3.bmp",false); | ^~~~~~~ Player.cpp:127:27: warning: zero-length gnu_printf format string [-Wformat-zero-length] 127 | sprintf(ammo_left,"",ship.retWepName()); | ^~ Player.cpp:134:28: warning: zero-length gnu_printf format string [-Wformat-zero-length] 134 | sprintf(lives_left,""); | ^~ Game.cpp: In member function ‘void Game::setupWeapons(char*, ParticleGenerator**)’: Game.cpp:113:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 113 | weapons[iNumWeapons].createWeapon("Lightning Ball",6,pinfo,DATADIR "w_hud/single_shot.bmp"); | ^~~~~~~~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] Game.cpp:113:64: note: in expansion of macro ‘DATADIR’ 113 | weapons[iNumWeapons].createWeapon("Lightning Ball",6,pinfo,DATADIR "w_hud/single_shot.bmp"); | ^~~~~~~ Ship.cpp: In member function ‘void Ship::shoot(ProjArray*)’: Ship.cpp:231:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 231 | if(curWeapon>=0 && curWeapon: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] Game.cpp:141:61: note: in expansion of macro ‘DATADIR’ 141 | weapons[iNumWeapons].createWeapon("Hellstrike",14,pinfo,DATADIR "w_hud/hellstrike.bmp"); | ^~~~~~~ Game.cpp:171:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 171 | weapons[iNumWeapons].createWeapon("Wrath Missile",14,pinfo,DATADIR "w_hud/missile.bmp"); | ^~~~~~~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] Game.cpp:171:64: note: in expansion of macro ‘DATADIR’ 171 | weapons[iNumWeapons].createWeapon("Wrath Missile",14,pinfo,DATADIR "w_hud/missile.bmp"); | ^~~~~~~ Game.cpp:200:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 200 | weapons[iNumWeapons].createWeapon("Lightning",2,pinfo,DATADIR "w_hud/lightning.bmp"); | ^~~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] Game.cpp:200:59: note: in expansion of macro ‘DATADIR’ 200 | weapons[iNumWeapons].createWeapon("Lightning",2,pinfo,DATADIR "w_hud/lightning.bmp"); | ^~~~~~~ Ship.cpp: In member function ‘char* Ship::retWepName()’: Ship.cpp:356:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 356 | return ""; | ^~ Game.cpp:228:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 228 | weapons[iNumWeapons].createWeapon("Shot Gun",14,pinfo,DATADIR "w_hud/shotgun.bmp"); | ^~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] Game.cpp:228:59: note: in expansion of macro ‘DATADIR’ 228 | weapons[iNumWeapons].createWeapon("Shot Gun",14,pinfo,DATADIR "w_hud/shotgun.bmp"); | ^~~~~~~ Game.cpp:257:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 257 | weapons[iNumWeapons].createWeapon("Plasma Mine",25,pinfo,DATADIR "w_hud/one_mine.bmp"); | ^~~~~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] Game.cpp:257:62: note: in expansion of macro ‘DATADIR’ 257 | weapons[iNumWeapons].createWeapon("Plasma Mine",25,pinfo,DATADIR "w_hud/one_mine.bmp"); | ^~~~~~~ Game.cpp:287:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 287 | weapons[iNumWeapons].createWeapon("Tri-Shot",7,pinfo,DATADIR "w_hud/tri_shot.bmp"); | ^~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] Game.cpp:287:58: note: in expansion of macro ‘DATADIR’ 287 | weapons[iNumWeapons].createWeapon("Tri-Shot",7,pinfo,DATADIR "w_hud/tri_shot.bmp"); | ^~~~~~~ Ship.cpp: In member function ‘void Ship::setupAmmo(std::vector*, int)’: Ship.cpp:463:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 463 | outtext(LOGFILE, "Ship::setupAmmo\n"); | ^~~~~~~~~~~~~~~~~~~ Game.cpp:316:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 316 | weapons[iNumWeapons].createWeapon("Homing Missiles",14,pinfo,DATADIR "w_hud/homing_missile.bmp"); | ^~~~~~~~~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] Game.cpp:316:66: note: in expansion of macro ‘DATADIR’ 316 | weapons[iNumWeapons].createWeapon("Homing Missiles",14,pinfo,DATADIR "w_hud/homing_missile.bmp"); | ^~~~~~~ Game.cpp:345:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 345 | weapons[iNumWeapons].createWeapon("Spider Mine",25,pinfo,DATADIR "w_hud/four_mines.bmp"); | ^~~~~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] Game.cpp:345:62: note: in expansion of macro ‘DATADIR’ 345 | weapons[iNumWeapons].createWeapon("Spider Mine",25,pinfo,DATADIR "w_hud/four_mines.bmp"); | ^~~~~~~ Game.cpp:374:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 374 | weapons[iNumWeapons].createWeapon("Concussion",25,pinfo,DATADIR "w_hud/concussion.bmp"); | ^~~~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] Game.cpp:374:61: note: in expansion of macro ‘DATADIR’ 374 | weapons[iNumWeapons].createWeapon("Concussion",25,pinfo,DATADIR "w_hud/concussion.bmp"); | ^~~~~~~ Game.cpp:403:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 403 | weapons[iNumWeapons].createWeapon("Defense Ring",50,pinfo,DATADIR "w_hud/defense.bmp"); | ^~~~~~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] Game.cpp:403:63: note: in expansion of macro ‘DATADIR’ 403 | weapons[iNumWeapons].createWeapon("Defense Ring",50,pinfo,DATADIR "w_hud/defense.bmp"); | ^~~~~~~ Game.cpp:433:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 433 | weapons[iNumWeapons].createWeapon("Redeemer Missile",20,pinfo,DATADIR "w_hud/redeemer.bmp"); | ^~~~~~~~~~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] Game.cpp:433:67: note: in expansion of macro ‘DATADIR’ 433 | weapons[iNumWeapons].createWeapon("Redeemer Missile",20,pinfo,DATADIR "w_hud/redeemer.bmp"); | ^~~~~~~ Game.cpp:462:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 462 | weapons[iNumWeapons].createWeapon("Gattling Gun",2,pinfo,DATADIR "w_hud/gattling.bmp"); | ^~~~~~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] Game.cpp:462:62: note: in expansion of macro ‘DATADIR’ 462 | weapons[iNumWeapons].createWeapon("Gattling Gun",2,pinfo,DATADIR "w_hud/gattling.bmp"); | ^~~~~~~ Game.cpp:490:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 490 | weapons[iNumWeapons].createWeapon("Rebound Gun",40,pinfo,DATADIR "w_hud/rebound.bmp"); | ^~~~~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] Game.cpp:490:62: note: in expansion of macro ‘DATADIR’ 490 | weapons[iNumWeapons].createWeapon("Rebound Gun",40,pinfo,DATADIR "w_hud/rebound.bmp"); | ^~~~~~~ Game.cpp:518:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 518 | weapons[iNumWeapons].createWeapon("EMP Wave",30,pinfo,DATADIR "w_hud/emp.bmp"); | ^~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] Game.cpp:518:59: note: in expansion of macro ‘DATADIR’ 518 | weapons[iNumWeapons].createWeapon("EMP Wave",30,pinfo,DATADIR "w_hud/emp.bmp"); | ^~~~~~~ Game.cpp:548:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 548 | weapons[iNumWeapons].createWeapon("Berserkers",25,pinfo,DATADIR "w_hud/berserkers.bmp"); | ^~~~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] Game.cpp:548:61: note: in expansion of macro ‘DATADIR’ 548 | weapons[iNumWeapons].createWeapon("Berserkers",25,pinfo,DATADIR "w_hud/berserkers.bmp"); | ^~~~~~~ In file included from ShipArray.h:17, from NewMenu.h:16, from NewMenu.cpp:5: BRect.h:90:18: warning: ‘virtual void BRect::draw(bool)’ was hidden [-Woverloaded-virtual=] 90 | virtual void draw(bool wireframe=false); | ^~~~ In file included from NewMenu.h:17: Widget.h:45:18: note: by ‘virtual void Widget::draw()’ 45 | virtual void draw(void); | ^~~~ Game.cpp: In member function ‘void Game::constructObjectList()’: Game.cpp:581:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 581 | outtext(LOGFILE,"\nConstructing Object List\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Game.cpp:583:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 583 | outtext(LOGFILE," adding players to object list\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Game.cpp:594:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 594 | outtext(LOGFILE," adding walls to object list\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Game.cpp:604:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 604 | outtext(LOGFILE," adding projectiles to object list\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Game.cpp:611:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 611 | outtext(LOGFILE," adding asteroids to object list\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Game.cpp:618:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 618 | outtext(LOGFILE," adding powerups to object list\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Game.cpp: In member function ‘void Game::clearObjectList()’: Game.cpp:632:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 632 | outtext(LOGFILE,"\nClearing Object List\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Game.cpp: In member function ‘void Game::draw()’: Game.cpp:680:99: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 680 | writeText_2D(400-(strlen(endGameMessage)*15)/2,100,0,makecol(200,200,200),allFonts[4],"Hit Enter to Continue"); | ^~~~~~~~~~~~~~~~~~~~~~~ Game.cpp: In member function ‘int Game::addPlayer(Player*)’: Game.cpp:896:13: warning: deleting object of polymorphic class type ‘Player’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 896 | delete players[n]; //delete the old player | ^~~~~~~~~~~~~~~~~ Game.cpp: In destructor ‘Game::~Game()’: Game.cpp:986:9: warning: deleting object of polymorphic class type ‘Player’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 986 | delete players[n]; | ^~~~~~~~~~~~~~~~~ NewMenu.cpp: In destructor ‘NewMenu::~NewMenu()’: NewMenu.cpp:14:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 14 | outtext(LOGFILE,"Deleting Menu\n"); | ^~~~~~~~~~~~~~~~~ NewMenu.cpp:15:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 15 | for(int n=0 ; n::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 57 | if(curPage>=0 && curPage