Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/duel3.spec'], chrootPath='/var/lib/mock/f42-build-55098607-6532475/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=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z9epnvg3:/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.z9epnvg3:/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', '3c783a5c9d92434b81b0beea7f57e2eb', '-D', '/var/lib/mock/f42-build-55098607-6532475/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z9epnvg3:/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 aarch64 --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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1721174400 Wrote: /builddir/build/SRPMS/duel3-0.1-0.41.20060225.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/duel3.spec'], chrootPath='/var/lib/mock/f42-build-55098607-6532475/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=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z9epnvg3:/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.z9epnvg3:/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', 'e656640fef4e4dd18d57be424e675ad4', '-D', '/var/lib/mock/f42-build-55098607-6532475/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z9epnvg3:/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 aarch64 --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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1721174400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.WhPLNF + 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.QxOg6X + 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 . Patch #0 (Duel3_20060225-fixes.patch): + echo '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.gpYpoe + umask 022 + cd /builddir/build/BUILD/duel3-0.1-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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,pack-relative-relocs -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/duel3-0.1-build/Duel3_20060225_src/Source ~/build/BUILD/duel3-0.1-build/Duel3_20060225_src + 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 -j12 PREFIX=/usr 'CFLAGS=-std=c++14 -O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor' g++ -std=c++14 -O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 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; | ^ Standards.cpp: In function ‘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; | ^~~~~~~~ g++ -std=c++14 -O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 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 | } | ^ g++ -std=c++14 -O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 Model.cpp: In member function ‘bool Model::loadModel(char*)’: Model.cpp:30:10: warning: unused variable ‘temp’ [-Wunused-variable] 30 | char temp[20]; | ^~~~ Model.cpp: In member function ‘bool Model::loadAllTextures()’: Model.cpp:286:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 286 | outtext(LOGFILE," load model textures\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ Model.cpp:293:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 293 | outtext(LOGFILE," texture loaded: "); | ^~~~~~~~~~~~~~~~~~~~ Model.cpp:295:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 295 | outtext(LOGFILE,"\n"); | ^~~~ Model.cpp:300:1: warning: no return statement in function returning non-void [-Wreturn-type] 300 | } | ^ 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"); | ^~~~ 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; | ^~ g++ -std=c++14 -O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 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*, int)’: Ship.cpp:463:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 463 | outtext(LOGFILE, "Ship::setupAmmo\n"); | ^~~~~~~~~~~~~~~~~~~ g++ -std=c++14 -O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 main.cpp: In function ‘int main(int, const char**)’: : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] main.cpp:291:15: note: in expansion of macro ‘DATADIR’ 291 | play_song(DATADIR "music/BlackIce1.XM"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] main.cpp:432:27: note: in expansion of macro ‘DATADIR’ 432 | play_song(DATADIR "music/BlackIce1.XM"); | ^~~~~~~ main.cpp:433:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 433 | outtext(LOGFILE,"RETURNING TO MENU\n"); | ^~~~~~~~~~~~~~~~~~~~~ main.cpp:439:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 439 | outtext(LOGFILE,"\nDONE\n"); | ^~~~~~~~~~ main.cpp: In function ‘void draw_all()’: main.cpp:548:32: warning: value computed is not used [-Wunused-value] 548 | (vel.retX()*vel.retX() + vel.retY()*vel.retY()); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function ‘void reset_game()’: main.cpp:575:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 575 | outtext(LOGFILE,"\nEntering function reset_game\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:577:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 577 | outtext(LOGFILE,"Setting up camera\n"); | ^~~~~~~~~~~~~~~~~~~~~ main.cpp: In function ‘void init_game()’: main.cpp:598:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 598 | outtext(LOGFILE,"\nINIT GAME\n"); | ^~~~~~~~~~~~~~~ main.cpp:600:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 600 | outtext(LOGFILE,"Loading DUMB\n\n"); | ^~~~~~~~~~~~~~~~~~ main.cpp:604:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 604 | outtext(LOGFILE,"Loading title image\n\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] main.cpp:605:28: note: in expansion of macro ‘DATADIR’ 605 | title.setPict(800,600, DATADIR "images/title.bmp",false); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] main.cpp:609:16: note: in expansion of macro ‘DATADIR’ 609 | loadModels(DATADIR "models.d3"); | ^~~~~~~ main.cpp:611:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 611 | outtext(LOGFILE,"Models Loaded\n\n"); | ^~~~~~~~~~~~~~~~~~~ main.cpp:615:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 615 | outtext(LOGFILE,"Loading fonts\n"); | ^~~~~~~~~~~~~~~~~ main.cpp:618:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 618 | outtext(LOGFILE,"Fonts Loaded\n\n"); | ^~~~~~~~~~~~~~~~~~ main.cpp:620:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 620 | outtext(LOGFILE,"Error loading fonts\n\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:624:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 624 | outtext(LOGFILE,"Creating fonts\n"); | ^~~~~~~~~~~~~~~~~~ main.cpp:637:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 637 | outtext(LOGFILE,"Fonts created\n\n"); | ^~~~~~~~~~~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] main.cpp:641:18: note: in expansion of macro ‘DATADIR’ 641 | loadShipDefs(DATADIR "Ships.d3"); | ^~~~~~~ main.cpp:652:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 652 | outtext(LOGFILE,"Loading sounds\n\n"); | ^~~~~~~~~~~~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] main.cpp:653:39: note: in expansion of macro ‘DATADIR’ 653 | SfxSingleton::instance()->setData(DATADIR "sounds.dat"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] main.cpp:660:23: note: in expansion of macro ‘DATADIR’ 660 | game.setupWeapons(DATADIR "weapons.d3",&partGen); | ^~~~~~~ main.cpp:668:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 668 | outtext(LOGFILE,"\nAdding Game Modes\n"); | ^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:671:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 671 | outtext(LOGFILE," adding asteroids\n"); | ^~~~~~~~~~~~~~~~~~~~~~ main.cpp:673:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 673 | outtext(LOGFILE," adding missile avoid\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:675:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 675 | outtext(LOGFILE," adding 2p missile avoid\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:677:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 677 | outtext(LOGFILE," adding 2p asteroids\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:680:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 680 | outtext(LOGFILE,"\nInit Menus\n"); | ^~~~~~~~~~~~~~~~ main.cpp:596:10: warning: unused variable ‘temp’ [-Wunused-variable] 596 | char temp[100]; | ^~~~ main.cpp:613:14: warning: unused variable ‘def’ [-Wunused-variable] 613 | TShipDef def; | ^~~ main.cpp:635:9: warning: unused variable ‘iNumFonts’ [-Wunused-variable] 635 | int iNumFonts=n; | ^~~~~~~~~ main.cpp: In function ‘void loadShipDefs(char*)’: main.cpp:693:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 693 | outtext(LOGFILE,"\nLoading Ship defs\n"); | ^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:714:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 714 | outtext(LOGFILE," Ship defs file loaded\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:727:9: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 727 | for(; file[n]!='|' ; n++); n++; | ^~~ main.cpp:727:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 727 | for(; file[n]!='|' ; n++); n++; | ^ main.cpp:742:9: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 742 | for(; file[n]!='|' ; n++); n++; | ^~~ main.cpp:742:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 742 | for(; file[n]!='|' ; n++); n++; | ^ main.cpp:758:9: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 758 | for(; file[n]!='|' ; n++); n++; | ^~~ main.cpp:758:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 758 | for(; file[n]!='|' ; n++); n++; | ^ main.cpp:801:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 801 | outtext(LOGFILE,"\n"); | ^~~~ main.cpp:697:9: warning: unused variable ‘iFilePos’ [-Wunused-variable] 697 | int iFilePos=0; | ^~~~~~~~ main.cpp: In function ‘int initAllegroGL()’: main.cpp:809:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 809 | outtext(LOGFILE,"INIT ALLEGROGL\n"); | ^~~~~~~~~~~~~~~~~~ main.cpp:815:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 815 | outtext(LOGFILE,"Setting up window\n"); | ^~~~~~~~~~~~~~~~~~~~~ main.cpp:829:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 829 | outtext(LOGFILE,"Setting gfx mode\n"); | ^~~~~~~~~~~~~~~~~~~~ main.cpp:837:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 837 | outtext(LOGFILE,"!!Error setting gfx mode!!\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:842:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 842 | outtext(LOGFILE,"Installing keyboard and mouse\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:850:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 850 | outtext(LOGFILE,"Converting font\n"); | ^~~~~~~~~~~~~~~~~~~ main.cpp:857:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 857 | outtext(LOGFILE,"Configuring opengl settings\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:907:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 907 | outtext(LOGFILE,"Installing timer\n"); | ^~~~~~~~~~~~~~~~~~~~ main.cpp: In function ‘void end_game()’: main.cpp:924:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 924 | outtext(LOGFILE,"\nEND_GAME\n"); | ^~~~~~~~~~~~~~ main.cpp:929:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 929 | outtext(LOGFILE,"unloading datafile\n"); | ^~~~~~~~~~~~~~~~~~~~~~ main.cpp:933:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 933 | for(int n=0 ; n: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] main.cpp:1226:23: note: in expansion of macro ‘DATADIR’ 1226 | case 0: play_song(DATADIR "music/BlackIce4.XM"); break; | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] main.cpp:1227:23: note: in expansion of macro ‘DATADIR’ 1227 | case 1: play_song(DATADIR "music/BlackIce3.xm"); break; | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] main.cpp:1228:23: note: in expansion of macro ‘DATADIR’ 1228 | case 2: play_song(DATADIR "music/BlackIce2.XM"); break; | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] main.cpp:1238:23: note: in expansion of macro ‘DATADIR’ 1238 | game.setupWeapons(DATADIR "weapons.d3",&partGen); | ^~~~~~~ main.cpp:1244:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1244 | if(gameMode>=0 && gameMode: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] main.cpp:1580:28: note: in expansion of macro ‘DATADIR’ 1580 | splash.setPict(1,1,DATADIR "images/title1.bmp"); | ^~~~~~~ main.cpp: In function ‘void initParticleSystems(Game*)’: : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] main.cpp:1717:27: note: in expansion of macro ‘DATADIR’ 1717 | partGen[0].setTexture(DATADIR "images/t1.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] main.cpp:1723:27: note: in expansion of macro ‘DATADIR’ 1723 | partGen[1].setTexture(DATADIR "images/t3.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] main.cpp:1729:27: note: in expansion of macro ‘DATADIR’ 1729 | partGen[2].setTexture(DATADIR "images/t3.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] main.cpp:1738:27: note: in expansion of macro ‘DATADIR’ 1738 | partGen[3].setTexture(DATADIR "images/t3.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] main.cpp:1747:27: note: in expansion of macro ‘DATADIR’ 1747 | partGen[4].setTexture(DATADIR "images/t1.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] main.cpp:1756:27: note: in expansion of macro ‘DATADIR’ 1756 | partGen[5].setTexture(DATADIR "images/t3.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] main.cpp:1763:27: note: in expansion of macro ‘DATADIR’ 1763 | partGen[6].setTexture(DATADIR "images/t3.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] main.cpp:1773:27: note: in expansion of macro ‘DATADIR’ 1773 | partGen[7].setTexture(DATADIR "images/t3.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] main.cpp:1783:27: note: in expansion of macro ‘DATADIR’ 1783 | partGen[8].setTexture(DATADIR "images/t3.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] main.cpp:1793:27: note: in expansion of macro ‘DATADIR’ 1793 | partGen[9].setTexture(DATADIR "images/t4.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] main.cpp:1805:28: note: in expansion of macro ‘DATADIR’ 1805 | partGen[10].setTexture(DATADIR "images/t3.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] main.cpp:1814:28: note: in expansion of macro ‘DATADIR’ 1814 | partGen[11].setTexture(DATADIR "images/t3.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] main.cpp:1825:28: note: in expansion of macro ‘DATADIR’ 1825 | partGen[12].setTexture(DATADIR "images/t4.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] main.cpp:1835:28: note: in expansion of macro ‘DATADIR’ 1835 | partGen[13].setTexture(DATADIR "images/t3.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] main.cpp:1847:28: note: in expansion of macro ‘DATADIR’ 1847 | partGen[14].setTexture(DATADIR "images/t3.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] main.cpp:1857:28: note: in expansion of macro ‘DATADIR’ 1857 | partGen[15].setTexture(DATADIR "images/t3.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] main.cpp:1869:28: note: in expansion of macro ‘DATADIR’ 1869 | partGen[16].setTexture(DATADIR "images/t3.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] main.cpp:1881:28: note: in expansion of macro ‘DATADIR’ 1881 | partGen[17].setTexture(DATADIR "images/t3.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] main.cpp:1893:28: note: in expansion of macro ‘DATADIR’ 1893 | partGen[18].setTexture(DATADIR "images/t3.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] main.cpp:1905:28: note: in expansion of macro ‘DATADIR’ 1905 | partGen[19].setTexture(DATADIR "images/t4.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] main.cpp:1917:28: note: in expansion of macro ‘DATADIR’ 1917 | partGen[20].setTexture(DATADIR "images/t4.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] main.cpp:1928:28: note: in expansion of macro ‘DATADIR’ 1928 | partGen[21].setTexture(DATADIR "images/t3.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] main.cpp:1937:28: note: in expansion of macro ‘DATADIR’ 1937 | partGen[22].setTexture(DATADIR "images/t3.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] main.cpp:1949:28: note: in expansion of macro ‘DATADIR’ 1949 | partGen[23].setTexture(DATADIR "images/t4.bmp"); | ^~~~~~~ main.cpp: In function ‘void getKeys()’: main.cpp:2153:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2153 | char *filename_base="shot"; | ^~~~~~ main.cpp: In function ‘void play_song(char*)’: main.cpp:2208:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2208 | outtext(LOGFILE,"song loaded"); | ^~~~~~~~~~~~~ main.cpp: In function ‘int initAllegroGL()’: main.cpp:910:23: warning: control reaches end of non-void function [-Wreturn-type] 910 | install_int_ex(go_sec, BPS_TO_TIMER(1000)); //increments sec 1000 times a second | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function ‘void load_ship_atts(TShipAtts*)’: main.cpp:954:15: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 954 | fscanf(fp,"%d",&numWeaponsSets); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:960:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 960 | fscanf(fp,"%d ", &set.maxAmmo[i]); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:975:15: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 975 | fscanf(fp,"%d",&iNumAtts); | ~~~~~~^~~~~~~~~~~~~~~~~~~ main.cpp:979:19: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 979 | fscanf(fp,"%f %f %f %f %f %f %f %f %f %d %d %d", | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 980 | &atts[n].fAccel, | ~~~~~~~~~~~~~~~~ 981 | &atts[n].fMaxVel, | ~~~~~~~~~~~~~~~~~ 982 | &atts[n].fRevAccel, | ~~~~~~~~~~~~~~~~~~~ 983 | &atts[n].fMaxRevVel, | ~~~~~~~~~~~~~~~~~~~~ 984 | &atts[n].fAngAccel, | ~~~~~~~~~~~~~~~~~~~ 985 | &atts[n].fMaxAngVel, | ~~~~~~~~~~~~~~~~~~~~ 986 | &atts[n].fDampening, | ~~~~~~~~~~~~~~~~~~~~ 987 | &atts[n].fAngDampening, | ~~~~~~~~~~~~~~~~~~~~~~~ 988 | &atts[n].fMass, | ~~~~~~~~~~~~~~~ 989 | &atts[n].armor, | ~~~~~~~~~~~~~~~ 990 | &atts[n].shield, | ~~~~~~~~~~~~~~~~ 991 | &atts[n].weaponsSet); | ~~~~~~~~~~~~~~~~~~~~ main.cpp: In function ‘void loadModels(char*)’: main.cpp:1548:11: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1548 | fscanf(fp,"%d",&iNumModels); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ main.cpp:1551:15: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1551 | fscanf(fp,"%s",modelName); | ~~~~~~^~~~~~~~~~~~~~~~~~~ g++ -std=c++14 -O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 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; | ^~~~~~~ g++ -std=c++14 -O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 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,""); | ^~ g++ -std=c++14 -O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 particle.cpp: In member function ‘int Particle::move()’: particle.cpp:87:1: warning: no return statement in function returning non-void [-Wreturn-type] 87 | } | ^ g++ -std=c++14 -O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 particle.cpp: In member function ‘Particle::setString(char*)’: particle.cpp:62:12: warning: ‘strncpy’ specified bound 5 equals destination size [-Wstringop-truncation] 62 | strncpy(string,s,5); | ^ g++ -std=c++14 -O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 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; | ^ 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"); | ^~~~~~~ Game.cpp:141:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 141 | weapons[iNumWeapons].createWeapon("Hellstrike",14,pinfo,DATADIR "w_hud/hellstrike.bmp"); | ^~~~~~~~~~~~ : 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"); | ^~~~~~~ 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"); | ^~~~~~~ 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"); | ^~~~~~~ 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]; | ^~~~~~~~~~~~~~~~~ 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; | ^~~~~~~ Game.cpp: In member function ‘char* Game::getWeaponName(int)’: Game.cpp:968:1: warning: control reaches end of non-void function [-Wreturn-type] 968 | } | ^ 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"); | ^~~~~~~~~~~~~~~~~~~~~~~ ShipArray.cpp: In member function ‘void ShipArray::init()’: ShipArray.cpp:27:9: warning: unused variable ‘iNumDefs’ [-Wunused-variable] 27 | int iNumDefs=0; | ^~~~~~~~ Player.cpp: In member function ‘Player::drawTargetRet(int)’: Player.cpp:399:21: warning: ‘curAng’ may be used uninitialized [-Wmaybe-uninitialized] 399 | if( curAng<=M_PI/4 || ( curAng>=M_PI/2 && curAng<=3*M_PI/4) || (curAng>=M_PI && curAng<=5*M_PI/4) || (curAng>=3*M_PI/2 && curAng<=7*M_PI/4) ) | ^~~~~~ Player.cpp:390:50: note: ‘curAng’ was declared here 390 | float incr = (M_PI*2)/(float)points, curAng; | ^~~~~~ Player.cpp: In member function ‘Player::drawHUD()’: Player.cpp:39:29: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size 4 [-Wformat-overflow=] 39 | sprintf(lives_left,"%d",lives); | ^~ Player.cpp:39:28: note: directive argument in the range [1, 2147483647] 39 | sprintf(lives_left,"%d",lives); | ^~~~ In file included from /usr/include/stdio.h:970, from /usr/include/c++/14/cstdio:42, from Player.h:9, from Player.cpp:5: In function ‘sprintf’, inlined from ‘Player::drawHUD()’ at Player.cpp:39:16: /usr/include/bits/stdio2.h:30:34: note: ‘__sprintf_chk’ output between 2 and 11 bytes into a destination of size 4 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ShipArray.cpp: In member function ‘TShipDef ShipArray::retShipDef(int)’: ShipArray.cpp:23:1: warning: control reaches end of non-void function [-Wreturn-type] 23 | } | ^ Player.cpp: In member function ‘Player::drawHotSeatHUD(int)’: Player.cpp:132:29: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size 4 [-Wformat-overflow=] 132 | sprintf(lives_left,"%d",lives); | ^~ Player.cpp:132:28: note: directive argument in the range [1, 2147483647] 132 | sprintf(lives_left,"%d",lives); | ^~~~ In function ‘sprintf’, inlined from ‘Player::drawHotSeatHUD(int)’ at Player.cpp:132:16: /usr/include/bits/stdio2.h:30:34: note: ‘__sprintf_chk’ output between 2 and 11 bytes into a destination of size 4 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ -std=c++14 -O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 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) | ^~~~~~~ In file included from Button.cpp:6: Button.h:33:10: note: ‘Button::caption’ declared here 33 | char caption[50]; | ^~~~~~~ g++ -std=c++14 -O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 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) | ^~~~~~~ In file included from CheckBox.h:15, from CheckBox.cpp:6: Button.h:33:10: note: ‘Button::caption’ declared here 33 | char caption[50]; | ^~~~~~~ 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; | ^ g++ -std=c++14 -O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 main.cpp: In function ‘getKeys()’: main.cpp:2172:24: warning: ‘operator delete(void*, unsigned long)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 2172 | delete buff; | ^~~~ main.cpp:2140:66: note: returned from ‘operator new[](unsigned long)’ 2140 | unsigned char *buff = new unsigned char[4*800*600]; | ^ g++ -std=c++14 -O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 GameMode.cpp: In member function ‘virtual TMenuPage GameMode::createMenuPage(FONT**, TButtonAtts, int, Model*, ShipArray*, Game*)’: GameMode.cpp:112:80: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 112 | page.widgets[0] = new Button(0,makeVector2(0,-3,true),4.5,2.45,allFonts[2],"Play",bAtts); | ^~~~~~ GameMode.cpp:115:78: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 115 | page.widgets[1] = new Button(1,makeVector2(0,-6,true),5,2.45,allFonts[2],"Back",bAtts); | ^~~~~~ GameMode.cpp:124:80: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 124 | page.widgets[4] = new CheckBox(4,makeVector2(-15,-13,true),1,1,allFonts[4],"Enable Asteroids",bAtts); | ^~~~~~~~~~~~~~~~~~ GameMode.cpp:127:78: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 127 | page.widgets[5] = new CheckBox(5,makeVector2(0,-13,true),1,1,allFonts[4],"Walls On",bAtts,true); | ^~~~~~~~~~ GameMode.cpp: In member function ‘virtual void GameMode::runInGame(Game*)’: GameMode.cpp:140:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 140 | g->endGame("Player 2 Wins"); | ^~~~~~~~~~~~~~~ GameMode.cpp:143:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 143 | g->endGame("Player 1 Wins"); | ^~~~~~~~~~~~~~~ GameMode.cpp: In member function ‘virtual void GameMode::writeStats(Game*)’: GameMode.cpp:163:68: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 163 | writeText_2D(xx,130,0,makecol(200,250,200),allFonts[4],"Player1"); | ^~~~~~~~~ GameMode.cpp:167:68: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 167 | writeText_2D(xx,130,0,makecol(200,250,200),allFonts[4],"Player2"); | ^~~~~~~~~ GameMode.cpp: In member function ‘virtual int GameMode::getPlayerShipNum(int)’: GameMode.cpp:97:1: warning: control reaches end of non-void function [-Wreturn-type] 97 | } | ^ g++ -std=c++14 -O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 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 && curPageendGame("Game Over"); | ^~~~~~~~~~~ AsteroidsGameMode.cpp: In member function ‘virtual void AsteroidsGameMode::writeStats(Game*)’: AsteroidsGameMode.cpp:137:68: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 137 | writeText_2D(xx,130,0,makecol(200,250,200),allFonts[4],"Player1"); | ^~~~~~~~~ AsteroidsGameMode.cpp:141:68: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 141 | writeText_2D(xx,130,0,makecol(200,250,200),allFonts[4],"Player2"); | ^~~~~~~~~ AsteroidsGameMode.cpp: In member function ‘virtual CVector2 AsteroidsGameMode::getPlayerStartPos(int)’: AsteroidsGameMode.cpp:78:1: warning: control reaches end of non-void function [-Wreturn-type] 78 | } | ^ g++ -std=c++14 -O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 ShipSelector.cpp: In constructor ‘ShipSelector::ShipSelector(int, CVector2, Model*, ShipArray*, Game*, FONT*, TButtonAtts&)’: ShipSelector.cpp:16:59: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 16 | b1 = new Button(1,pos+makeVector2(-2.5,-2,true),2,1,f,"<<<",ba); | ^~~~~ ShipSelector.cpp:17:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 17 | b2 = new Button(2,pos+makeVector2(2.5,-2,true),2,1,f,">>>",ba); | ^~~~~ ShipSelector.cpp: In member function ‘virtual void ShipSelector::draw()’: ShipSelector.cpp:72:79: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 72 | writeText_3D(pos.retX()-5,pos.retY()-3.5 ,0,makeacol32(0,100,200,255),f,"Acceleration"); | ^~~~~~~~~~~~~~ ShipSelector.cpp:75:78: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 75 | writeText_3D(pos.retX()-5,pos.retY()-4.25 ,0,makeacol32(0,100,200,255),f,"Max Speed"); | ^~~~~~~~~~~ ShipSelector.cpp:78:77: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 78 | writeText_3D(pos.retX()-5,pos.retY()-5 ,0,makeacol32(0,100,200,255),f,"Rot Thrust"); | ^~~~~~~~~~~~ ShipSelector.cpp:81:78: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 81 | writeText_3D(pos.retX()-5,pos.retY()-5.75 ,0,makeacol32(0,100,200,255),f,"Traction"); | ^~~~~~~~~~ ShipSelector.cpp:84:78: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 84 | writeText_3D(pos.retX()-5,pos.retY()-6.5 ,0,makeacol32(0,100,200,255),f,"Armor"); | ^~~~~~~ ShipSelector.cpp:87:78: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 87 | writeText_3D(pos.retX()-5,pos.retY()-7.25 ,0,makeacol32(0,100,200,255),f,"Shield"); | ^~~~~~~~ MissileAvoid.cpp: In member function ‘virtual TMenuPage MissileAvoid::createMenuPage(FONT**, TButtonAtts, int, Model*, ShipArray*, Game*)’: MissileAvoid.cpp:121:81: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 121 | page.widgets[0] = new Button(0,makeVector2(0,1.5,true),4.5,2.45,allFonts[2],"Play",bAtts); | ^~~~~~ MissileAvoid.cpp:124:78: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 124 | page.widgets[1] = new Button(1,makeVector2(0,-6,true),5,2.45,allFonts[2],"Back",bAtts); | ^~~~~~ MissileAvoid.cpp:127:80: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 127 | page.widgets[2] = new CheckBox(2,makeVector2(-15,-10,true),1,1,allFonts[4],"Asteroids On",bAtts,false); | ^~~~~~~~~~~~~~ MissileAvoid.cpp:130:78: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 130 | page.widgets[3] = new CheckBox(3,makeVector2(0,-10,true),1,1,allFonts[4],"Maniac Mode",bAtts,false); | ^~~~~~~~~~~~~ MissileAvoid.cpp: In member function ‘virtual void MissileAvoid::writeStats(Game*)’: MissileAvoid.cpp:144:60: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 144 | writeText_2D(xx,130,0,makecol(200,250,200),allFonts[4],"Player1"); | ^~~~~~~~~ MissileAvoid.cpp: In member function ‘virtual void MissileAvoid::runInGame(Game*)’: MissileAvoid.cpp:177:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 177 | g->endGame("Game Over"); | ^~~~~~~~~~~ MissileAvoid.cpp: In member function ‘virtual CVector2 MissileAvoid::getPlayerStartPos(int)’: MissileAvoid.cpp:88:1: warning: control reaches end of non-void function [-Wreturn-type] 88 | } | ^ MissileAvoid2p.cpp: In member function ‘virtual void MissileAvoid2p::writeStats(Game*)’: MissileAvoid2p.cpp:75:68: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 75 | writeText_2D(xx,130,0,makecol(200,250,200),allFonts[4],"Player1"); | ^~~~~~~~~ MissileAvoid2p.cpp:79:68: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 79 | writeText_2D(xx,130,0,makecol(200,250,200),allFonts[4],"Player2"); | ^~~~~~~~~ AsteroidsGameMode2p.cpp: In member function ‘virtual TMenuPage AsteroidsGameMode2p::createMenuPage(FONT**, TButtonAtts, int, Model*, ShipArray*, Game*)’: AsteroidsGameMode2p.cpp:65:81: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 65 | page.widgets[0] = new Button(0,makeVector2(0,1.5,true),4.5,2.45,allFonts[2],"Play",bAtts); | ^~~~~~ AsteroidsGameMode2p.cpp:68:78: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 68 | page.widgets[1] = new Button(1,makeVector2(0,-6,true),5,2.45,allFonts[2],"Back",bAtts); | ^~~~~~ AsteroidsGameMode2p.cpp:71:80: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 71 | page.widgets[2] = new CheckBox(2,makeVector2(-19,-10,true),1,1,allFonts[4],"Walls On",bAtts,false); | ^~~~~~~~~~ AsteroidsGameMode2p.cpp:74:79: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 74 | page.widgets[3] = new CheckBox(3,makeVector2(-5,-10,true),1,1,allFonts[4],"Maniac Mode",bAtts,false); | ^~~~~~~~~~~~~ AsteroidsGameMode2p.cpp:77:79: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 77 | page.widgets[4] = new CheckBox(4,makeVector2(10,-10,true),1,1,allFonts[4],"Projectile Wrap",bAtts,false); | ^~~~~~~~~~~~~~~~~ AsteroidsGameMode2p.cpp: In member function ‘virtual void AsteroidsGameMode2p::runInGame(Game*)’: AsteroidsGameMode2p.cpp:104:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 104 | g->endGame("Game Over"); | ^~~~~~~~~~~ Powerup.cpp: In member function ‘void Powerup::create(TPowerupInfo, CVector2)’: Powerup.cpp:24:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 24 | outtext(LOGFILE,"Creating\n"); | ^~~~~~~~~~~~ Powerup.cpp:50:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 50 | outtext(LOGFILE,"Created\n"); | ^~~~~~~~~~~ g++ `allegro-config --libs` -ldumb -laldmb -lalleggl -lGL -lGLU -o duel3 main.o Standards.o CCamera.o CVector2.o BRect.o SObject.o Model.o Weapon.o Animation.o PObject.o Ship.o Proj.o Arena.o Player.o Game.o Widget.o ShipArray.o Starfield.o CVector3.o particle.o particlesystem.o particlegenerator.o asteroid.o Controller.o SfxSingleton.o GameMode.o AsteroidsGameMode.o NewMenu.o Button.o CheckBox.o ShipSelector.o MissileAvoid.o AIPlayer.o Turret.o MissileAvoid2p.o GameSettingsSingleton.o ScoreKeeper.o AsteroidsGameMode2p.o Powerup.o unix.o Arena.cpp: In member function ‘_ZN5Arena7addWallE8CVector2S0_.part.0’: Arena.cpp:37:75: warning: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 37 | wallNodes[iNumWalls].nodes = new TNode[wallNodes[iNumWalls].nNodes]; | ^ /usr/include/c++/14/new:133:26: note: in a call to allocation function ‘operator new []’ declared here 133 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ + popd + RPM_EC=0 ~/build/BUILD/duel3-0.1-build/Duel3_20060225_src ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NSwF5b + umask 022 + cd /builddir/build/BUILD/duel3-0.1-build + '[' /builddir/build/BUILD/duel3-0.1-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/duel3-0.1-build/BUILDROOT ++ dirname /builddir/build/BUILD/duel3-0.1-build/BUILDROOT + mkdir -p /builddir/build/BUILD/duel3-0.1-build + mkdir /builddir/build/BUILD/duel3-0.1-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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,pack-relative-relocs -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 ~/build/BUILD/duel3-0.1-build/Duel3_20060225_src/Source ~/build/BUILD/duel3-0.1-build/Duel3_20060225_src + CXX=g++ + export CXX + cd Duel3_20060225_src + pushd Source + make install PREFIX=/builddir/build/BUILD/duel3-0.1-build/BUILDROOT/usr mkdir -p /builddir/build/BUILD/duel3-0.1-build/BUILDROOT/usr/bin/ mkdir -p /builddir/build/BUILD/duel3-0.1-build/BUILDROOT/usr/share/duel3/images mkdir -p /builddir/build/BUILD/duel3-0.1-build/BUILDROOT/usr/share/duel3/models mkdir -p /builddir/build/BUILD/duel3-0.1-build/BUILDROOT/usr/share/duel3/music mkdir -p /builddir/build/BUILD/duel3-0.1-build/BUILDROOT/usr/share/duel3/w_hud install -p -m 755 duel3 /builddir/build/BUILD/duel3-0.1-build/BUILDROOT/usr/bin/ install -p -m 644 images/* /builddir/build/BUILD/duel3-0.1-build/BUILDROOT/usr/share/duel3/images install -p -m 644 models/* /builddir/build/BUILD/duel3-0.1-build/BUILDROOT/usr/share/duel3/models install -p -m 644 music/* /builddir/build/BUILD/duel3-0.1-build/BUILDROOT/usr/share/duel3/music install -p -m 644 w_hud/* /builddir/build/BUILD/duel3-0.1-build/BUILDROOT/usr/share/duel3/w_hud install -p -m 664 *.dat /builddir/build/BUILD/duel3-0.1-build/BUILDROOT/usr/share/duel3 install -p -m 664 *.d3 /builddir/build/BUILD/duel3-0.1-build/BUILDROOT/usr/share/duel3 + popd ~/build/BUILD/duel3-0.1-build/Duel3_20060225_src + ln -s opengl-game-wrapper.sh /builddir/build/BUILD/duel3-0.1-build/BUILDROOT/usr/bin/duel3-wrapper + mkdir -p /builddir/build/BUILD/duel3-0.1-build/BUILDROOT/usr/share/applications + desktop-file-install --dir /builddir/build/BUILD/duel3-0.1-build/BUILDROOT/usr/share/applications /builddir/build/SOURCES/duel3.desktop + mkdir -p /builddir/build/BUILD/duel3-0.1-build/BUILDROOT/usr/share/icons/hicolor/64x64/apps + install -p -m 644 /builddir/build/SOURCES/duel3.png /builddir/build/BUILD/duel3-0.1-build/BUILDROOT/usr/share/icons/hicolor/64x64/apps + /usr/bin/find-debuginfo -j12 --strict-build-id -m -i --build-id-seed 0.1-0.41.20060225.fc42 --unique-debug-suffix -0.1-0.41.20060225.fc42.aarch64 --unique-debug-src-base duel3-0.1-0.41.20060225.fc42.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/duel3-0.1-build/Duel3_20060225_src find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/duel3-0.1-0.41.20060225.fc42.aarch64 find-debuginfo: done + /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 + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j12 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j12 /builddir/build/BUILD/duel3-0.1-build/BUILDROOT Scanned 22 directories and 140 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/duel3-0.1-build/SPECPARTS/rpm-debuginfo.specpart Processing files: duel3-0.1-0.41.20060225.fc42.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.5OnPel + umask 022 + cd /builddir/build/BUILD/duel3-0.1-build + cd Duel3_20060225_src + DOCDIR=/builddir/build/BUILD/duel3-0.1-build/BUILDROOT/usr/share/doc/duel3 + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/duel3-0.1-build/BUILDROOT/usr/share/doc/duel3 + cp -pr /builddir/build/BUILD/duel3-0.1-build/Duel3_20060225_src/Source/readme.txt /builddir/build/BUILD/duel3-0.1-build/BUILDROOT/usr/share/doc/duel3 + cp -pr /builddir/build/BUILD/duel3-0.1-build/Duel3_20060225_src/license.txt /builddir/build/BUILD/duel3-0.1-build/BUILDROOT/usr/share/doc/duel3 + cp -pr /builddir/build/BUILD/duel3-0.1-build/Duel3_20060225_src/music-credits.txt /builddir/build/BUILD/duel3-0.1-build/BUILDROOT/usr/share/doc/duel3 + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(duel3.desktop) duel3 = 0.1-0.41.20060225.fc42 duel3(aarch-64) = 0.1-0.41.20060225.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libGL.so.1()(64bit) libGLU.so.1()(64bit) libaldmb-0.9.3.so()(64bit) liballeg.so.4.4()(64bit) liballeggl.so.4.4()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libdumb-0.9.3.so()(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) libm.so.6(GLIBC_2.17)(64bit) libm.so.6(GLIBC_2.27)(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) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.32)(64bit) rtld(GNU_HASH) Processing files: duel3-debugsource-0.1-0.41.20060225.fc42.aarch64 Provides: duel3-debugsource = 0.1-0.41.20060225.fc42 duel3-debugsource(aarch-64) = 0.1-0.41.20060225.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: duel3-debuginfo-0.1-0.41.20060225.fc42.aarch64 Provides: debuginfo(build-id) = 8cc1cf1e999c5a22517a338830819ff0c50c63f0 duel3-debuginfo = 0.1-0.41.20060225.fc42 duel3-debuginfo(aarch-64) = 0.1-0.41.20060225.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: duel3-debugsource(aarch-64) = 0.1-0.41.20060225.fc42 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/duel3-0.1-build/BUILDROOT Wrote: /builddir/build/RPMS/duel3-debugsource-0.1-0.41.20060225.fc42.aarch64.rpm Wrote: /builddir/build/RPMS/duel3-debuginfo-0.1-0.41.20060225.fc42.aarch64.rpm Wrote: /builddir/build/RPMS/duel3-0.1-0.41.20060225.fc42.aarch64.rpm Child return code was: 0