Mock Version: 2.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/scrap.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1589924008.629405/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.scadviji:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.scadviji:/etc/resolv.conf', '--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', 'd2ed96f4189a4fad9101e0a454a80f08', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1589924008.629405/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.scadviji:/etc/resolv.conf', '--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', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/scrap.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'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1540944000 Wrote: /builddir/build/SRPMS/scrap-release-3.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/scrap.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1589924008.629405/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.scadviji:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.scadviji:/etc/resolv.conf', '--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', 'ab769faa46d44c49a4851dc609f1e1fb', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1589924008.629405/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.scadviji:/etc/resolv.conf', '--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', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/scrap.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'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1540944000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hQCPfv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf scrap-release + /usr/bin/mkdir -p scrap-release + cd scrap-release + /usr/bin/gzip -dc /builddir/build/SOURCES/scrap.tar.gz + /usr/bin/tar -xvvof - -rw-r--r-- Thijs/Administrators 57064 2006-11-15 18:07 being.cpp -rw-r--r-- Thijs/Administrators 3159 2006-11-15 16:07 event.cpp -rw-r--r-- Thijs/Administrators 13954 2006-11-15 16:44 game.cpp -rw-r--r-- Thijs/Administrators 2945 2006-11-15 16:07 item.cpp -rw-r--r-- Thijs/Administrators 1793 2006-11-15 16:07 main.cpp -rw-r--r-- Thijs/Administrators 20579 2006-11-15 16:10 map.cpp -rw-r--r-- Thijs/Administrators 243 2006-11-15 16:07 rng.cpp -rw-r--r-- Thijs/Administrators 19669 2006-11-27 10:52 ui.cpp -rw-r--r-- Thijs/Administrators 2946 2006-11-15 16:07 being.h -rw-r--r-- Thijs/Administrators 77 2006-11-15 16:07 data.h -rw-r--r-- Thijs/Administrators 873 2006-11-15 16:07 event.h -rw-r--r-- Thijs/Administrators 1042 2006-11-15 16:07 game.h -rw-r--r-- Thijs/Administrators 1872 2006-11-15 16:10 item.h -rw-r--r-- Thijs/Administrators 165 2006-11-15 16:07 main.h -rw-r--r-- Thijs/Administrators 5035 2006-11-15 16:07 map.h -rw-r--r-- Thijs/Administrators 4292 2006-11-15 16:07 mt19937ar.h -rw-r--r-- Thijs/Administrators 78 2006-11-15 16:07 rng.h -rw-r--r-- Thijs/Administrators 2681 2006-11-15 16:26 ui.h -rw-r--r-- Thijs/Administrators 763 2006-10-26 22:56 makefile.mingw -rw-r--r-- Thijs/Administrators 688 2006-10-26 22:55 makefile.linux -rw-r--r-- Thijs/Administrators 1638 2006-10-26 20:17 readme.txt -rw-r--r-- Thijs/Administrators 5122 2006-10-26 23:24 manual.txt + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (scrap.patch): + echo 'Patch #0 (scrap.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file being.cpp patching file game.cpp patching file main.cpp patching file Makefile patching file ui.cpp + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0ysimt + umask 022 + cd /builddir/build/BUILD + cd scrap-release + /usr/bin/make -O -j2 V=1 VERBOSE=1 g++ -c -o main.o main.cpp main.cpp: In function 'int main()': main.cpp:31:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 31 | UI.msg("Game saved successfully."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:35:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 35 | UI.msg("An error occured while trying to write the savefile!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:44:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 44 | UI.msg("Game restored successfully."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:51:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 51 | "An error occured while trying to read the savefile!" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:58:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 58 | if (UI.confirm("Would you like to play again? (y/n)")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -c -o ui.o ui.cpp ui.cpp: In member function 'Command Interface::detailspage(Being&)': ui.cpp:442:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 442 | msg("Viewing your system details. Press any key..."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.cpp: In member function 'void Interface::displaydamagetypelist(int, int, int)': ui.cpp:604:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 604 | "normal damage"); | ^~~~~~~~~~~~~~~ ui.cpp:606:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 606 | "power source"); | ^~~~~~~~~~~~~~ ui.cpp:608:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 608 | "weapon"); | ^~~~~~~~ ui.cpp:610:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 610 | "propulsion"); | ^~~~~~~~~~~~ ui.cpp:612:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 612 | "sensor"); | ^~~~~~~~ ui.cpp:614:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 614 | "armor"); | ^~~~~~~ ui.cpp:616:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 616 | "other"); | ^~~~~~~ ui.cpp: In member function 'void Interface::displayhelp()': ui.cpp:651:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 651 | windowline( 3, "movement: "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.cpp:652:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 652 | windowline( 4, " "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.cpp:653:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 653 | windowline( 5, "7 8 9 y k u "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.cpp:654:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 654 | windowline( 6, " \\|/ \\|/ "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.cpp:655:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 655 | windowline( 7, "4-@-6 or h-@-l "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.cpp:656:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 656 | windowline( 8, " /|\\ /|\\ "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.cpp:657:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 657 | windowline( 9, "1 2 3 b j n "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.cpp:658:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 658 | windowline(10, " "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.cpp:659:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 659 | windowline(11, "1-8: use system 1-8 "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.cpp:660:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 660 | windowline(12, " .: wait "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.cpp:661:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 661 | windowline(13, " d: view system details "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.cpp:662:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 662 | windowline(14, " @: display name of level"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.cpp:663:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 663 | windowline(15, " r: reorder systems "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.cpp:664:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 664 | windowline(16, " s: switch systems on/off"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.cpp:665:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 665 | windowline(17, " >: take exit "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.cpp:666:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 666 | windowline(18, " ?: display this page "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.cpp:667:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 667 | windowline(19, " S: save game "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.cpp:668:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 668 | windowline(20, " R: restore saved game "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.cpp:669:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 669 | windowline(21, " Q: quit game "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.cpp:674:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 674 | msg("Press any key..."); | ^~~~~~~~~~~~~~~~~~ g++ -c -o map.o map.cpp map.cpp: In member function 'char* Tile::getname()': map.cpp:64:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 64 | return "the exit to the next level"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ map.cpp:66:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 66 | return "grass"; | ^~~~~~~ map.cpp:68:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 68 | return "tree"; | ^~~~~~ map.cpp:70:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 70 | return "dirt"; | ^~~~~~ map.cpp:72:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 72 | return "rough ground"; | ^~~~~~~~~~~~~~ map.cpp:74:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 74 | return "rock"; | ^~~~~~ map.cpp:76:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 76 | return "road"; | ^~~~~~ map.cpp:78:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 78 | return "concrete wall"; | ^~~~~~~~~~~~~~~ map.cpp:80:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 80 | return "concrete floor"; | ^~~~~~~~~~~~~~~~ map.cpp:82:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 82 | return "metal wall"; | ^~~~~~~~~~~~ map.cpp:84:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 84 | return "metal floor"; | ^~~~~~~~~~~~~ map.cpp:86:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 86 | return "cavern wall"; | ^~~~~~~~~~~~~ map.cpp:88:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 88 | return "cavern floor"; | ^~~~~~~~~~~~~~ map.cpp:90:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 90 | return "deep chasm"; | ^~~~~~~~~~~~ map.cpp:92:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 92 | return "shallow water"; | ^~~~~~~~~~~~~~~ map.cpp:94:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 94 | return "deep water"; | ^~~~~~~~~~~~ map.cpp:96:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 96 | return "darkness"; | ^~~~~~~~~~ map.cpp:98:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 98 | return "ruined wall"; | ^~~~~~~~~~~~~ map.cpp:100:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 100 | return "underwater"; | ^~~~~~~~~~~~ map.cpp:102:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 102 | return "buggy tile"; | ^~~~~~~~~~~~ g++ -c -o being.o being.cpp being.cpp: In constructor 'Being::Being(BeingType, int)': being.cpp:20:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 20 | eq[0] = Power("power cell", 0); | ^~~~~~~~~~~~ being.cpp:21:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 21 | eq[1] = Weapon("minigun", 12, DAMAGE_NORMAL, 1, TW_NORMAL); | ^~~~~~~~~ being.cpp:22:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 22 | eq[2] = Propulsion("buggy drive", 9, TP_LAND); | ^~~~~~~~~~~~~ being.cpp:23:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 23 | eq[3] = Sensor("mini-range sensor", 2, TS_NORMAL); | ^~~~~~~~~~~~~~~~~~~ being.cpp:27:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 27 | eq[0] = Power("power cell", 0); | ^~~~~~~~~~~~ being.cpp:28:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 28 | eq[1] = Weapon("weak laser gun", 15, DAMAGE_SENSOR, 2, TW_NORMAL); | ^~~~~~~~~~~~~~~~ being.cpp:29:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 29 | eq[2] = Propulsion("hovering thruster", 0, habitat); | ^~~~~~~~~~~~~~~~~~~ being.cpp:30:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 30 | eq[3] = Sensor("scanner", 4, TS_AIR); | ^~~~~~~~~ being.cpp:34:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 34 | eq[0] = Power("power cell", 0); | ^~~~~~~~~~~~ being.cpp:35:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 35 | eq[1] = Weapon("disrupter", 18, DAMAGE_WEAPON, 1, TW_NORMAL); | ^~~~~~~~~~~ being.cpp:36:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 36 | eq[2] = Sensor("X-ray scope", 2, TS_XRAY); | ^~~~~~~~~~~~~ being.cpp:40:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 40 | eq[0] = Power("power core", 8); | ^~~~~~~~~~~~ being.cpp:41:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 41 | eq[1] = Power("emergency power", 32, 35); | ^~~~~~~~~~~~~~~~~ being.cpp:42:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 42 | eq[2] = Weapon("phaser rifle", 18, DAMAGE_POWER, 2, TW_NORMAL); | ^~~~~~~~~~~~~~ being.cpp:43:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 43 | eq[3] = Propulsion("two-wheel drive", 6, TP_LAND); | ^~~~~~~~~~~~~~~~~ being.cpp:44:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 44 | eq[4] = Sensor("short-range sensor", 3, TS_NORMAL); | ^~~~~~~~~~~~~~~~~~~~ being.cpp:48:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | eq[0] = Power("power cell", 0); | ^~~~~~~~~~~~ being.cpp:49:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 49 | eq[1] = Weapon("gun", 20, DAMAGE_NORMAL, 2, TW_NORMAL); | ^~~~~ being.cpp:50:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 50 | eq[2] = Propulsion("caterpillar track", 3, habitat); | ^~~~~~~~~~~~~~~~~~~ being.cpp:51:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 51 | eq[3] = Sensor("short-range sensor", 3, TS_NORMAL); | ^~~~~~~~~~~~~~~~~~~~ being.cpp:52:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 52 | eq[4] = Armor("tank armor", 15, 0); | ^~~~~~~~~~~~ being.cpp:56:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 56 | eq[0] = Power("power core", 8); | ^~~~~~~~~~~~ being.cpp:57:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 57 | eq[1] = Weapon("taser", 30, DAMAGE_POWER, 1, TW_NORMAL); | ^~~~~~~ being.cpp:58:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 58 | eq[2] = Weapon("bazooka", 40, DAMAGE_ARMOR, 4, TW_AIR, 30); | ^~~~~~~~~ being.cpp:59:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 59 | eq[3] = Propulsion("caterpillar track", 3, TP_TRACK); | ^~~~~~~~~~~~~~~~~~~ being.cpp:60:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 60 | eq[4] = Sensor("scanner", 4, TS_AIR); | ^~~~~~~~~ being.cpp:64:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 64 | eq[0] = Power("power cell", 0); | ^~~~~~~~~~~~ being.cpp:65:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 65 | eq[1] = Weapon("automatic gun", 32, DAMAGE_NORMAL, 3, TW_AIR); | ^~~~~~~~~~~~~~~ being.cpp:66:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 66 | eq[2] = Sensor("security camera", 4, TS_INFRA); | ^~~~~~~~~~~~~~~~~ being.cpp:71:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 71 | eq[0] = Power("biocore", 12); | ^~~~~~~~~ being.cpp:72:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 72 | eq[1] = Power("emergency power", 32, 35); | ^~~~~~~~~~~~~~~~~ being.cpp:73:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 73 | eq[2] = Weapon("flamethrower", 30, DAMAGE_ARMOR, | ^~~~~~~~~~~~~~ being.cpp:75:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 75 | eq[3] = Propulsion("cybernetic leg", 3, TP_LAND); | ^~~~~~~~~~~~~~~~ being.cpp:76:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 76 | eq[4] = Propulsion("jetpack", 15, TP_AIR, 8); | ^~~~~~~~~ being.cpp:77:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 77 | eq[5] = Sensor("X-ray visor", 3, TS_XRAY); | ^~~~~~~~~~~~~ being.cpp:78:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 78 | eq[6] = Armor("cybernetic armor", 16, DAMAGE_NORMAL); | ^~~~~~~~~~~~~~~~~~ being.cpp:82:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 82 | eq[0] = Power("steam engine", 0); | ^~~~~~~~~~~~~~ being.cpp:83:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 83 | eq[1] = Weapon("grinder", 45, DAMAGE_NORMAL, 1, TW_NORMAL); | ^~~~~~~~~ being.cpp:84:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 84 | eq[2] = Propulsion("spiked wheel", 1, TP_TRACK); | ^~~~~~~~~~~~~~ being.cpp:85:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 85 | eq[3] = Sensor("motion detector", 4, TS_NORMAL); | ^~~~~~~~~~~~~~~~~ being.cpp:86:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 86 | eq[4] = Armor("front plate", 24, DAMAGE_WEAPON); | ^~~~~~~~~~~~~ being.cpp:87:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 87 | eq[5] = Armor("aft plate", 24, DAMAGE_POWER); | ^~~~~~~~~~~ being.cpp:91:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 91 | eq[0] = Power("power cell", 0); | ^~~~~~~~~~~~ being.cpp:92:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 92 | eq[1] = Weapon("sonic gun", 40, DAMAGE_SENSOR, | ^~~~~~~~~~~ being.cpp:94:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 94 | eq[2] = Propulsion("burrowing claw", 0, TP_LAND | TP_ROCK); | ^~~~~~~~~~~~~~~~ being.cpp:95:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 95 | eq[3] = Sensor("armadillo visor", 2, TS_XRAY | TERRAIN_DARK); | ^~~~~~~~~~~~~~~~~ being.cpp:96:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 96 | eq[4] = Armor("armadillo plate", 20, DAMAGE_PROPULSION); | ^~~~~~~~~~~~~~~~~ being.cpp:100:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 100 | eq[0] = Power("reactor core", 12); | ^~~~~~~~~~~~~~ being.cpp:101:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 101 | eq[1] = Power("reactor core", 12); | ^~~~~~~~~~~~~~ being.cpp:102:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 102 | eq[2] = Power("reactor core", 12); | ^~~~~~~~~~~~~~ being.cpp:103:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 103 | eq[3] = Power("reactor core", 12); | ^~~~~~~~~~~~~~ being.cpp:108:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 108 | eq[0] = Power("power core", 8); | ^~~~~~~~~~~~ being.cpp:109:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 109 | eq[1] = Weapon("heavy gun", 45, DAMAGE_NORMAL, 3, TW_NORMAL); | ^~~~~~~~~~~ being.cpp:110:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 110 | eq[2] = Propulsion("four-wheel drive", 7, TP_TRACK); | ^~~~~~~~~~~~~~~~~~ being.cpp:111:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 111 | eq[3] = Propulsion("floater", 2, TP_WATER); | ^~~~~~~~~ being.cpp:112:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 112 | eq[4] = Sensor("motion detector", 4, TS_NORMAL); | ^~~~~~~~~~~~~~~~~ being.cpp:113:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 113 | eq[5] = Armor("iron plating", 10, 0); | ^~~~~~~~~~~~~~ being.cpp:117:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 117 | eq[0] = Power("power core", 8); | ^~~~~~~~~~~~ being.cpp:118:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 118 | eq[1] = Weapon("extended gun", 35, DAMAGE_NORMAL, 4, TW_NORMAL); | ^~~~~~~~~~~~~~ being.cpp:119:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 119 | eq[2] = Weapon("torpedo tube", 45, DAMAGE_PROPULSION, 3, TW_WATER); | ^~~~~~~~~~~~~~ being.cpp:120:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 120 | eq[3] = Propulsion("propeller", 6, TP_WATER); | ^~~~~~~~~~~ being.cpp:121:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 121 | eq[4] = Sensor("long-range sensor", 5, TS_NORMAL); | ^~~~~~~~~~~~~~~~~~~ being.cpp:122:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 122 | eq[5] = Sensor("sonar pulse emitter", 9, TS_SONAR, 35); | ^~~~~~~~~~~~~~~~~~~~~ being.cpp:123:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 123 | eq[6] = Armor("hull plating", 24, DAMAGE_PROPULSION); | ^~~~~~~~~~~~~~ being.cpp:127:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | eq[0] = Weapon("detonator", 55, DAMAGE_NORMAL, 3, TW_NORMAL, 100); | ^~~~~~~~~~~ being.cpp:132:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 132 | eq[0] = Power("heavy combustor", 14); | ^~~~~~~~~~~~~~~~~ being.cpp:133:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 133 | eq[1] = Weapon("extended heavy gun", 45, DAMAGE_NORMAL, | ^~~~~~~~~~~~~~~~~~~~ being.cpp:135:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 135 | eq[2] = Propulsion("heavy-duty propeller", 3, TP_WATER); | ^~~~~~~~~~~~~~~~~~~~~~ being.cpp:136:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 136 | eq[3] = Sensor("long-range sensor", 5, TS_NORMAL); | ^~~~~~~~~~~~~~~~~~~ being.cpp:137:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 137 | eq[4] = Sensor("short-range radar", 2, TS_INFRA | TERRAIN_HIGH); | ^~~~~~~~~~~~~~~~~~~ being.cpp:138:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 138 | eq[5] = Armor("enhanced hull plating", 32, DAMAGE_PROPULSION); | ^~~~~~~~~~~~~~~~~~~~~~~ being.cpp:139:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 139 | eq[6] = Armor("interior hull plating", 24, DAMAGE_PROPULSION); | ^~~~~~~~~~~~~~~~~~~~~~~ being.cpp:143:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 143 | eq[0] = Power("power core", 8); | ^~~~~~~~~~~~ being.cpp:144:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 144 | eq[1] = Weapon("quake engine", 55, DAMAGE_NORMAL, 3, | ^~~~~~~~~~~~~~ being.cpp:146:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 146 | eq[2] = Propulsion("magnetic propulsion", 0, TP_ROCK); | ^~~~~~~~~~~~~~~~~~~~~ being.cpp:147:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 147 | eq[3] = Sensor("seismic sensor", 7, TS_TREMOR); | ^~~~~~~~~~~~~~~~ being.cpp:148:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 148 | eq[4] = Armor("mineral shield", 20, | ^~~~~~~~~~~~~~~~ being.cpp:153:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 153 | eq[0] = Power("combustion engine", 4); | ^~~~~~~~~~~~~~~~~~~ being.cpp:154:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 154 | eq[1] = Weapon("bomb array", 45, DAMAGE_NORMAL, 2, TW_AIR); | ^~~~~~~~~~~~ being.cpp:155:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 155 | eq[2] = Propulsion("jet drive", 12, TP_AIR); | ^~~~~~~~~~~ being.cpp:156:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 156 | eq[3] = Sensor("mid-range radar", 5, TS_INFRA | TERRAIN_HIGH); | ^~~~~~~~~~~~~~~~~ being.cpp:157:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 157 | eq[4] = Armor("energy shield", 35, DAMAGE_POWER, 16); | ^~~~~~~~~~~~~~~ being.cpp:161:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 161 | eq[0] = Power("nuclear core", 16, 16); | ^~~~~~~~~~~~~~ being.cpp:162:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 162 | eq[1] = Power("nuclear core", 16, 16); | ^~~~~~~~~~~~~~ being.cpp:163:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 163 | eq[2] = Weapon("heavy torpedo tube", 55, DAMAGE_PROPULSION, | ^~~~~~~~~~~~~~~~~~~~ being.cpp:165:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 165 | eq[3] = Propulsion("submarine drive", 8, TP_SUB); | ^~~~~~~~~~~~~~~~~ being.cpp:166:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 166 | eq[4] = Sensor("sonar", 9, TS_SONAR); | ^~~~~~~ being.cpp:167:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 167 | eq[5] = Armor("fortified hull", 32, | ^~~~~~~~~~~~~~~~ being.cpp:169:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 169 | eq[6] = Armor("improved energy shield", 50, DAMAGE_POWER, 18); | ^~~~~~~~~~~~~~~~~~~~~~~~ being.cpp:173:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 173 | eq[0] = Power("dragonheart", 24, 12); | ^~~~~~~~~~~~~ being.cpp:174:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 174 | eq[1] = Weapon("heavy flamethrower", 60, DAMAGE_ARMOR, | ^~~~~~~~~~~~~~~~~~~~ being.cpp:176:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 176 | eq[2] = Weapon("shredder", 75, DAMAGE_PROPULSION, | ^~~~~~~~~~ being.cpp:178:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 178 | eq[3] = Propulsion("gas balloon", 10, TP_AIR); | ^~~~~~~~~~~~~ being.cpp:179:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 179 | eq[4] = Sensor("dragoneye", 6, TS_AIR | TERRAIN_DARK); | ^~~~~~~~~~~ being.cpp:180:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 180 | eq[5] = Armor("scale armor", 40, 0); | ^~~~~~~~~~~~~ being.cpp:184:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 184 | eq[0] = Power("power cell", 0); | ^~~~~~~~~~~~ being.cpp:185:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 185 | eq[1] = Weapon("long-range artillery", 60, DAMAGE_NORMAL, | ^~~~~~~~~~~~~~~~~~~~~~ being.cpp:187:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 187 | eq[2] = Sensor("long-range radar", 16, | ^~~~~~~~~~~~~~~~~~ being.cpp:189:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 189 | eq[3] = Armor("front shield", 40, DAMAGE_WEAPON); | ^~~~~~~~~~~~~~ being.cpp:194:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 194 | eq[0] = Power("heart of steel", 24); | ^~~~~~~~~~~~~~~~ being.cpp:195:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 195 | eq[1] = Weapon("steelshredder", 72, DAMAGE_NORMAL, 1, TW_NORMAL); | ^~~~~~~~~~~~~~~ being.cpp:196:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 196 | eq[2] = Propulsion("steel leg", 12, TP_TRACK); | ^~~~~~~~~~~ being.cpp:197:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 197 | eq[3] = Propulsion("quicksilver leg", 16, TP_TRACK, 25); | ^~~~~~~~~~~~~~~~~ being.cpp:198:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 198 | eq[4] = Sensor("magnetic field detector", 7, | ^~~~~~~~~~~~~~~~~~~~~~~~~ being.cpp:200:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 200 | eq[5] = Armor("organic steel plate", 40, DAMAGE_ARMOR); | ^~~~~~~~~~~~~~~~~~~~~ being.cpp:204:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 204 | eq[0] = Power("power core of regeneration", 32); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ being.cpp:205:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 205 | eq[1] = Weapon("fireball", 72, DAMAGE_ARMOR, 6, TW_NORMAL, 30); | ^~~~~~~~~~ being.cpp:206:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 206 | eq[2] = Weapon("cold ray", 72, DAMAGE_PROPULSION, | ^~~~~~~~~~ being.cpp:208:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 208 | eq[3] = Weapon("lightning bolt", 72, DAMAGE_SENSOR, | ^~~~~~~~~~~~~~~~ being.cpp:210:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 210 | eq[4] = Propulsion("mecha leg", 9, TP_TRACK); | ^~~~~~~~~~~ being.cpp:211:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 211 | eq[5] = Sensor("orb of scrying", 12, TS_NORMAL | TS_TREMOR); | ^~~~~~~~~~~~~~~~ being.cpp:212:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 212 | eq[6] = Armor("advanced techno-armor", 30, | ^~~~~~~~~~~~~~~~~~~~~~~ being.cpp:215:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 215 | eq[7] = Armor("invulnerability sphere", 999, 0, 40); | ^~~~~~~~~~~~~~~~~~~~~~~~ being.cpp:221:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 221 | eq[0] = Power("buggy being power", 0); | ^~~~~~~~~~~~~~~~~~~ being.cpp: In member function 'void Being::createpc()': being.cpp:230:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 230 | eq[0] = Power("power cell", 0); | ^~~~~~~~~~~~ being.cpp:231:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 231 | eq[1] = Weapon("medium gun", 35, DAMAGE_NORMAL, 2, TW_NORMAL); | ^~~~~~~~~~~~ being.cpp:232:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 232 | eq[2] = Propulsion("two-wheel drive", 6, TP_LAND); | ^~~~~~~~~~~~~~~~~ being.cpp:233:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 233 | eq[3] = Sensor("short-range sensor", 3, TS_NORMAL); | ^~~~~~~~~~~~~~~~~~~~ being.cpp:235:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 235 | eq[4] = Armor("iron plating", 10, 0); | ^~~~~~~~~~~~~~ being.cpp: In member function 'char* Being::getname()': being.cpp:330:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 330 | return "wreck"; | ^~~~~~~ being.cpp:332:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 332 | return "yourself"; | ^~~~~~~~~~ being.cpp:334:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 334 | return "buggy"; | ^~~~~~~ being.cpp:336:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 336 | return "probe"; | ^~~~~~~ being.cpp:338:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 338 | return "sentry"; | ^~~~~~~~ being.cpp:340:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 340 | return "hunter"; | ^~~~~~~~ being.cpp:342:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 342 | return "tank"; | ^~~~~~ being.cpp:344:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 344 | return "ambusher"; | ^~~~~~~~~~ being.cpp:346:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 346 | return "security system"; | ^~~~~~~~~~~~~~~~~ being.cpp:348:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 348 | return "cyborg"; | ^~~~~~~~ being.cpp:350:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 350 | return "juggernaut"; | ^~~~~~~~~~~~ being.cpp:352:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 352 | return "armadillo"; | ^~~~~~~~~~~ being.cpp:354:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 354 | return "power plant"; | ^~~~~~~~~~~~~ being.cpp:356:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 356 | return "amphibian"; | ^~~~~~~~~~~ being.cpp:358:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 358 | return "destroyer"; | ^~~~~~~~~~~ being.cpp:360:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 360 | return "mine"; | ^~~~~~ being.cpp:362:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 362 | return "battleship"; | ^~~~~~~~~~~~ being.cpp:364:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 364 | return "geologist"; | ^~~~~~~~~~~ being.cpp:366:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 366 | return "bomber"; | ^~~~~~~~ being.cpp:368:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 368 | return "submarine"; | ^~~~~~~~~~~ being.cpp:370:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 370 | return "draco"; | ^~~~~~~ being.cpp:372:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 372 | return "missile launcher"; | ^~~~~~~~~~~~~~~~~~ being.cpp:374:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 374 | return "steel elemental"; | ^~~~~~~~~~~~~~~~~ being.cpp:376:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 376 | return "mechalich"; | ^~~~~~~~~~~ being.cpp:380:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 380 | return "buggy being"; | ^~~~~~~~~~~~~ being.cpp: In member function 'int Being::act()': being.cpp:459:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 459 | UI.msg("You need to find the exit first!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ being.cpp:464:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 464 | if (UI.confirm("Save this game and quit? (y/n)")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ being.cpp:470:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 470 | if (UI.confirm("Restore previous game? (y/n)")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ being.cpp:477:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 477 | "Are you sure you want to quit this game without saving? (y/n)" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ being.cpp: In member function 'int Being::go(int, int, bool)': being.cpp:514:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 514 | UI.msg("Bumping into them won't get the job done, you know."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ being.cpp:516:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 516 | UI.msg("There seems to be something there already!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ being.cpp:529:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 529 | UI.msg("\ | ^~ 530 | You can't go there using your current propulsion system."); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ being.cpp:537:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 537 | UI.msg("Watch out, or you'll fall off the map!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ being.cpp: In member function 'int Being::salvage(Being&)': being.cpp:575:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 575 | ("Which system do you want to salvage from the wreck?", wreck); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ being.cpp:578:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 578 | UI.msg("Action cancelled."); | ^~~~~~~~~~~~~~~~~~~ being.cpp:590:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 590 | UI.msg("Action cancelled."); | ^~~~~~~~~~~~~~~~~~~ being.cpp:602:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 602 | UI.msg("Your robot needs a source of power!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ being.cpp: In member function 'int Being::attack(int)': being.cpp:626:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 626 | "Use +/- to cycle through targets; x to cancel; any other key to fire" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ being.cpp:634:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 634 | UI.msg("Action cancelled."); | ^~~~~~~~~~~~~~~~~~~ being.cpp:640:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 640 | UI.msg("\ | ^~ 641 | Your safety protocols prevent you from shooting yourself."); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ being.cpp:647:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 647 | UI.msg("You don't hit anything."); | ^~~~~~~~~~~~~~~~~~~~~~~~~ being.cpp: In member function 'void Being::selectrepairing(bool)': being.cpp:853:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 853 | UI.msg("All systems are in perfect condition."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ being.cpp:857:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 857 | ("Which system should be repaired next?", *this); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ being.cpp: In member function 'void Being::damagebyuse(int, int)': being.cpp:959:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 959 | UI.msg("The enemy's power source overloads!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ being.cpp: In member function 'int Being::reorderitems()': being.cpp:992:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 992 | ("Which system do you want move to another position?", *this); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ being.cpp:994:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 994 | UI.msg("Action cancelled."); | ^~~~~~~~~~~~~~~~~~~ being.cpp:1002:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1002 | UI.msg("Action cancelled."); | ^~~~~~~~~~~~~~~~~~~ being.cpp: In member function 'int Being::onoff()': being.cpp:1030:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1030 | item = UI.selectitem("Which system do you want to switch on or off?", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ being.cpp:1033:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1033 | UI.msg("Action cancelled."); | ^~~~~~~~~~~~~~~~~~~ being.cpp:1037:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1037 | UI.msg("That system is short on power and can't be switched on!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ being.cpp:1043:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1043 | UI.msg("You can't switch this sensor off again this turn."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ being.cpp:1059:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1059 | UI.msg("That system has no on/off switch."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ being.cpp: In member function 'int Being::use(int)': being.cpp:1096:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1096 | UI.msg("\ | ^~ 1097 | Warning: this power source can currently only repair itself."); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ being.cpp:1099:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1099 | UI.msg("\ | ^~ 1100 | Warning: this power source will only repair itself while it is switched off."); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ being.cpp:1107:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1107 | UI.msg("That system is in no state to be used."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ being.cpp:1111:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1111 | UI.msg("Press movement keys to use your propulsion system."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ being.cpp:1115:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1115 | UI.msg("Looking around..."); | ^~~~~~~~~~~~~~~~~~~ being.cpp:1121:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1121 | UI.msg("Your armor functions constantly while it is active."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ being.cpp:1127:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1127 | UI.msg("Use of that item is not implemented yet!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -c -o item.o item.cpp g++ -c -o game.o game.cpp game.cpp: In member function 'void Game::mainloop()': game.cpp:338:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 338 | UI.msg("\ | ^~ 339 | Congratulations! You have completed all 20 levels of the game! There's \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 340 | probably a great reward for you and your robot at the bottom of the dungeon, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 341 | but I'm afraid I haven't implemented it... Anyway, thank you for your \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 342 | interest in this game."); | ~~~~~~~~~~~~~~~~~~~~~~~ game.cpp: In member function 'void Game::load(std::istream&)': game.cpp:414:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 414 | UI.msg("\ | ^~ 415 | The savefile was created by a more recent version of Scrap and can't be \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 416 | opened by this program."); | ~~~~~~~~~~~~~~~~~~~~~~~~ g++ -c -o event.o event.cpp g++ -c -o rng.o rng.cpp g++ -o scrap main.o ui.o map.o being.o item.o game.o event.o rng.o -lncurses + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.JsrIWv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/scrap-release-3.fc33.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/scrap-release-3.fc33.x86_64 ++ dirname /builddir/build/BUILDROOT/scrap-release-3.fc33.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/scrap-release-3.fc33.x86_64 + cd scrap-release + rm -rf /builddir/build/BUILDROOT/scrap-release-3.fc33.x86_64 + mkdir -p /builddir/build/BUILDROOT/scrap-release-3.fc33.x86_64/usr/bin + install scrap /builddir/build/BUILDROOT/scrap-release-3.fc33.x86_64/usr/bin/ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: scrap-release-3.fc33.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.0AK9Gt + umask 022 + cd /builddir/build/BUILD + cd scrap-release + DOCDIR=/builddir/build/BUILDROOT/scrap-release-3.fc33.x86_64/usr/share/doc/scrap + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/scrap-release-3.fc33.x86_64/usr/share/doc/scrap + cp -pr manual.txt /builddir/build/BUILDROOT/scrap-release-3.fc33.x86_64/usr/share/doc/scrap + RPM_EC=0 ++ jobs -p + exit 0 Provides: scrap = release-3.fc33 scrap(x86-64) = release-3.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libncurses.so.6()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.1)(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.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.5)(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/scrap-release-3.fc33.x86_64 Wrote: /builddir/build/RPMS/scrap-release-3.fc33.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.kDbIou + umask 022 + cd /builddir/build/BUILD + cd scrap-release + /usr/bin/rm -rf /builddir/build/BUILDROOT/scrap-release-3.fc33.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0