Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/duel3.spec'], chrootPath='/var/lib/mock/f29-build-26853-13990/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/duel3.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/duel3-0.1-0.27.20060225.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/duel3.spec'], chrootPath='/var/lib/mock/f29-build-26853-13990/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/duel3.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6jhBla + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Duel3_20060225_src + /usr/bin/unzip -qq /builddir/build/SOURCES/Duel3_20060225_src.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd Duel3_20060225_src + /usr/bin/unzip -qq /builddir/build/SOURCES/Duel3_20060225_bin.zip + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv Duel3_20060225_bin/Desktop.ini Duel3_20060225_bin/Duel3.exe Duel3_20060225_bin/ShipAtts.d3 Duel3_20060225_bin/Ships.d3 Duel3_20060225_bin/Thumbs.db Duel3_20060225_bin/WeaponsSet.d3 Duel3_20060225_bin/alleg42.dll Duel3_20060225_bin/fonts.dat Duel3_20060225_bin/images Duel3_20060225_bin/license.txt Duel3_20060225_bin/log.txt Duel3_20060225_bin/models Duel3_20060225_bin/models.d3 Duel3_20060225_bin/music Duel3_20060225_bin/readme.txt Duel3_20060225_bin/sounds.dat Duel3_20060225_bin/w_hud Source + cp /builddir/build/SOURCES/music-credits.txt . + echo 'Patch #0 (Duel3_20060225-fixes.patch):' Patch #0 (Duel3_20060225-fixes.patch): + /usr/bin/patch --no-backup-if-mismatch -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 + echo 'Patch #1 (Duel3_20060225-windowed-mode.patch):' Patch #1 (Duel3_20060225-windowed-mode.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Source/main.cpp + echo 'Patch #2 (Duel3_20060225-fix-buf-oflow.patch):' Patch #2 (Duel3_20060225-fix-buf-oflow.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Source/Player.cpp + echo 'Patch #3 (Duel3_20060225-extra-fix-buf-oflow.patch):' Patch #3 (Duel3_20060225-extra-fix-buf-oflow.patch): + /usr/bin/patch --no-backup-if-mismatch -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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yg3tFG + umask 022 + cd /builddir/build/BUILD ~/build/BUILD/Duel3_20060225_src/Source ~/build/BUILD/Duel3_20060225_src + cd Duel3_20060225_src + pushd Source + make -j4 PREFIX=/usr 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor' g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o main.o -c main.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Standards.o -c Standards.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o CCamera.o -c CCamera.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o CVector2.o -c CVector2.cpp BUILDSTDERR: Standards.cpp: In function 'int loadTexture(char*)': BUILDSTDERR: Standards.cpp:51:13: warning: unused variable 'pal' [-Wunused-variable] BUILDSTDERR: PALETTE pal; BUILDSTDERR: ^~~ BUILDSTDERR: Standards.cpp: In function 'float FastSqrt(float)': BUILDSTDERR: Standards.cpp:119:14: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: int i = *(int*)&x; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: Standards.cpp:121:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: x = *(float*)&i; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: Standards.cpp: In function 'int loadTexture(char*)': BUILDSTDERR: Standards.cpp:79:9: warning: 'iTexture' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: return iTexture; BUILDSTDERR: ^~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o BRect.o -c BRect.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o SObject.o -c SObject.cpp BUILDSTDERR: CCamera.cpp: In member function 'bool CCamera::setOrthoViewport(int, int)': BUILDSTDERR: CCamera.cpp:33:1: warning: no return statement in function returning non-void [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Model.o -c Model.cpp BUILDSTDERR: main.cpp: In function 'int main(int, const char**)': BUILDSTDERR: main.cpp:291:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: play_song(DATADIR "music/BlackIce1.XM"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:432:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: play_song(DATADIR "music/BlackIce1.XM"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:433:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"RETURNING TO MENU\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:439:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"\nDONE\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp: In function 'void reset_game()': BUILDSTDERR: main.cpp:575:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"\nEntering function reset_game\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:577:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"Setting up camera\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp: In function 'void init_game()': BUILDSTDERR: main.cpp:598:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"\nINIT GAME\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:600:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"Loading DUMB\n\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:604:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"Loading title image\n\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:605:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: title.setPict(800,600, DATADIR "images/title.bmp",false); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:609:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: loadModels(DATADIR "models.d3"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:611:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"Models Loaded\n\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:615:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"Loading fonts\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:618:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"Fonts Loaded\n\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:620:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"Error loading fonts\n\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:624:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"Creating fonts\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:637:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"Fonts created\n\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:641:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: loadShipDefs(DATADIR "Ships.d3"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:652:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"Loading sounds\n\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:653:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: SfxSingleton::instance()->setData(DATADIR "sounds.dat"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:660:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: game.setupWeapons(DATADIR "weapons.d3",&partGen); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:668:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"\nAdding Game Modes\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:671:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE," adding asteroids\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:673:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE," adding missile avoid\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:675:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE," adding 2p missile avoid\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:677:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE," adding 2p asteroids\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:680:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"\nInit Menus\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:596:10: warning: unused variable 'temp' [-Wunused-variable] BUILDSTDERR: char temp[100]; BUILDSTDERR: ^~~~ BUILDSTDERR: main.cpp:613:14: warning: unused variable 'def' [-Wunused-variable] BUILDSTDERR: TShipDef def; BUILDSTDERR: ^~~ BUILDSTDERR: main.cpp:635:9: warning: unused variable 'iNumFonts' [-Wunused-variable] BUILDSTDERR: int iNumFonts=n; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: main.cpp: In function 'void loadShipDefs(char*)': BUILDSTDERR: main.cpp:693:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"\nLoading Ship defs\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:714:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE," Ship defs file loaded\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:727:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: for(; file[n]!='|' ; n++); n++; BUILDSTDERR: ^~~ BUILDSTDERR: main.cpp:727:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' BUILDSTDERR: for(; file[n]!='|' ; n++); n++; BUILDSTDERR: ^ BUILDSTDERR: main.cpp:742:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: for(; file[n]!='|' ; n++); n++; BUILDSTDERR: ^~~ BUILDSTDERR: main.cpp:742:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' BUILDSTDERR: for(; file[n]!='|' ; n++); n++; BUILDSTDERR: ^ BUILDSTDERR: main.cpp:758:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: for(; file[n]!='|' ; n++); n++; BUILDSTDERR: ^~~ BUILDSTDERR: main.cpp:758:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' BUILDSTDERR: for(; file[n]!='|' ; n++); n++; BUILDSTDERR: ^ BUILDSTDERR: main.cpp:801:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:697:9: warning: unused variable 'iFilePos' [-Wunused-variable] BUILDSTDERR: int iFilePos=0; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: main.cpp: In function 'int initAllegroGL()': BUILDSTDERR: main.cpp:809:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"INIT ALLEGROGL\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:815:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"Setting up window\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:829:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"Setting gfx mode\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:837:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"!!Error setting gfx mode!!\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:842:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"Installing keyboard and mouse\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:850:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"Converting font\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:857:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"Configuring opengl settings\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:907:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"Installing timer\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp: In function 'void end_game()': BUILDSTDERR: main.cpp:924:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"\nEND_GAME\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:929:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"unloading datafile\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:933:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for(int n=0 ; n::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if(gameMode>=0 && gameMode=0 && curWeapon*, int)': BUILDSTDERR: Ship.cpp:463:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE, "Ship::setupAmmo\n"); BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Game.o -c Game.cpp BUILDSTDERR: Arena.cpp: In member function 'void Arena::addWall(CVector2, CVector2)': BUILDSTDERR: Arena.cpp:30:13: warning: unused variable 'nodes' [-Wunused-variable] BUILDSTDERR: int nodes; BUILDSTDERR: ^~~~~ BUILDSTDERR: Arena.cpp: In member function 'virtual void Arena::draw(bool)': BUILDSTDERR: Arena.cpp:88:11: warning: unused variable 'lineLength' [-Wunused-variable] BUILDSTDERR: float lineLength; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: Arena.cpp:93:11: warning: unused variable 'tx' [-Wunused-variable] BUILDSTDERR: float tx,ty; BUILDSTDERR: ^~ BUILDSTDERR: Arena.cpp:93:14: warning: unused variable 'ty' [-Wunused-variable] BUILDSTDERR: float tx,ty; BUILDSTDERR: ^~ BUILDSTDERR: Arena.cpp:94:11: warning: unused variable 'rColour' [-Wunused-variable] BUILDSTDERR: float rColour; BUILDSTDERR: ^~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Widget.o -c Widget.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o ShipArray.o -c ShipArray.cpp BUILDSTDERR: Player.cpp: In member function 'virtual void Player::drawHUD()': BUILDSTDERR: Player.cpp:22:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: hudl.setPict(400,70,DATADIR "images/hudl_closed.bmp",false); BUILDSTDERR: ^ BUILDSTDERR: Player.cpp:24:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: hudr.setPict(400,70,DATADIR "images/hudr_3.bmp",false); BUILDSTDERR: ^ BUILDSTDERR: Player.cpp:33:27: warning: zero-length gnu_printf format string [-Wformat-zero-length] BUILDSTDERR: sprintf(ammo_left,"",ship.retWepName()); BUILDSTDERR: ^~ BUILDSTDERR: Player.cpp:41:28: warning: zero-length gnu_printf format string [-Wformat-zero-length] BUILDSTDERR: sprintf(lives_left,""); BUILDSTDERR: ^~ BUILDSTDERR: Player.cpp: In member function 'virtual void Player::drawHotSeatHUD(int)': BUILDSTDERR: Player.cpp:107:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: hudl.setPict(400,70,DATADIR "images/hudl_3.bmp",false); BUILDSTDERR: ^ BUILDSTDERR: Player.cpp:109:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: hudr.setPict(400,70,DATADIR "images/hudr_3.bmp",false); BUILDSTDERR: ^ BUILDSTDERR: Player.cpp:127:27: warning: zero-length gnu_printf format string [-Wformat-zero-length] BUILDSTDERR: sprintf(ammo_left,"",ship.retWepName()); BUILDSTDERR: ^~ BUILDSTDERR: Player.cpp:134:28: warning: zero-length gnu_printf format string [-Wformat-zero-length] BUILDSTDERR: sprintf(lives_left,""); BUILDSTDERR: ^~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Starfield.o -c Starfield.cpp BUILDSTDERR: Player.cpp: In member function 'void Player::drawTargetRet(int)': BUILDSTDERR: Player.cpp:390:50: warning: 'curAng' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: float incr = (M_PI*2)/(float)points, curAng; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Player.cpp: In member function 'virtual void Player::drawHUD()': BUILDSTDERR: Player.cpp:39:28: warning: '%d' directive writing between 1 and 10 bytes into a region of size 4 [-Wformat-overflow=] BUILDSTDERR: sprintf(lives_left,"%d",lives); BUILDSTDERR: ^~~~ BUILDSTDERR: Player.cpp:39:28: note: directive argument in the range [1, 2147483647] BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from Player.h:9, BUILDSTDERR: from Player.cpp:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 2 and 11 bytes into a destination of size 4 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Player.cpp: In member function 'virtual void Player::drawHotSeatHUD(int)': BUILDSTDERR: Player.cpp:132:28: warning: '%d' directive writing between 1 and 10 bytes into a region of size 4 [-Wformat-overflow=] BUILDSTDERR: sprintf(lives_left,"%d",lives); BUILDSTDERR: ^~~~ BUILDSTDERR: Player.cpp:132:28: note: directive argument in the range [1, 2147483647] BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from Player.h:9, BUILDSTDERR: from Player.cpp:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 2 and 11 bytes into a destination of size 4 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o CVector3.o -c CVector3.cpp BUILDSTDERR: Game.cpp: In member function 'void Game::setupWeapons(char*, ParticleGenerator**)': BUILDSTDERR: Game.cpp:113:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: weapons[iNumWeapons].createWeapon("Lightning Ball",6,pinfo,DATADIR "w_hud/single_shot.bmp"); BUILDSTDERR: ^ BUILDSTDERR: Game.cpp:113:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: Game.cpp:141:91: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: weapons[iNumWeapons].createWeapon("Hellstrike",14,pinfo,DATADIR "w_hud/hellstrike.bmp"); BUILDSTDERR: ^ BUILDSTDERR: Game.cpp:141:91: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: Game.cpp:171:91: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: weapons[iNumWeapons].createWeapon("Wrath Missile",14,pinfo,DATADIR "w_hud/missile.bmp"); BUILDSTDERR: ^ BUILDSTDERR: Game.cpp:171:91: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: Game.cpp:200:88: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: weapons[iNumWeapons].createWeapon("Lightning",2,pinfo,DATADIR "w_hud/lightning.bmp"); BUILDSTDERR: ^ BUILDSTDERR: Game.cpp:200:88: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: Game.cpp:228:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: weapons[iNumWeapons].createWeapon("Shot Gun",14,pinfo,DATADIR "w_hud/shotgun.bmp"); BUILDSTDERR: ^ BUILDSTDERR: Game.cpp:228:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: Game.cpp:257:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: weapons[iNumWeapons].createWeapon("Plasma Mine",25,pinfo,DATADIR "w_hud/one_mine.bmp"); BUILDSTDERR: ^ BUILDSTDERR: Game.cpp:257:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: Game.cpp:287:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: weapons[iNumWeapons].createWeapon("Tri-Shot",7,pinfo,DATADIR "w_hud/tri_shot.bmp"); BUILDSTDERR: ^ BUILDSTDERR: Game.cpp:287:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: Game.cpp:316:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: weapons[iNumWeapons].createWeapon("Homing Missiles",14,pinfo,DATADIR "w_hud/homing_missile.bmp"); BUILDSTDERR: ^ BUILDSTDERR: Game.cpp:316:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: Game.cpp:345:92: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: weapons[iNumWeapons].createWeapon("Spider Mine",25,pinfo,DATADIR "w_hud/four_mines.bmp"); BUILDSTDERR: ^ BUILDSTDERR: Game.cpp:345:92: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: Game.cpp:374:91: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: weapons[iNumWeapons].createWeapon("Concussion",25,pinfo,DATADIR "w_hud/concussion.bmp"); BUILDSTDERR: ^ BUILDSTDERR: Game.cpp:374:91: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: Game.cpp:403:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: weapons[iNumWeapons].createWeapon("Defense Ring",50,pinfo,DATADIR "w_hud/defense.bmp"); BUILDSTDERR: ^ BUILDSTDERR: Game.cpp:403:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: Game.cpp:433:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: weapons[iNumWeapons].createWeapon("Redeemer Missile",20,pinfo,DATADIR "w_hud/redeemer.bmp"); BUILDSTDERR: ^ BUILDSTDERR: Game.cpp:433:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: Game.cpp:462:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: weapons[iNumWeapons].createWeapon("Gattling Gun",2,pinfo,DATADIR "w_hud/gattling.bmp"); BUILDSTDERR: ^ BUILDSTDERR: Game.cpp:462:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: Game.cpp:490:89: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: weapons[iNumWeapons].createWeapon("Rebound Gun",40,pinfo,DATADIR "w_hud/rebound.bmp"); BUILDSTDERR: ^ BUILDSTDERR: Game.cpp:490:89: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: Game.cpp:518:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: weapons[iNumWeapons].createWeapon("EMP Wave",30,pinfo,DATADIR "w_hud/emp.bmp"); BUILDSTDERR: ^ BUILDSTDERR: Game.cpp:518:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: Game.cpp:548:91: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: weapons[iNumWeapons].createWeapon("Berserkers",25,pinfo,DATADIR "w_hud/berserkers.bmp"); BUILDSTDERR: ^ BUILDSTDERR: Game.cpp:548:91: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: Game.cpp: In member function 'void Game::constructObjectList()': BUILDSTDERR: Game.cpp:581:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"\nConstructing Object List\n"); BUILDSTDERR: ^ BUILDSTDERR: Game.cpp:583:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE," adding players to object list\n"); BUILDSTDERR: ^ BUILDSTDERR: Game.cpp:594:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE," adding walls to object list\n"); BUILDSTDERR: ^ BUILDSTDERR: Game.cpp:604:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE," adding projectiles to object list\n"); BUILDSTDERR: ^ BUILDSTDERR: Game.cpp:611:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE," adding asteroids to object list\n"); BUILDSTDERR: ^ BUILDSTDERR: Game.cpp:618:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE," adding powerups to object list\n"); BUILDSTDERR: ^ BUILDSTDERR: Game.cpp: In member function 'void Game::clearObjectList()': BUILDSTDERR: Game.cpp:632:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"\nClearing Object List\n"); BUILDSTDERR: ^ BUILDSTDERR: Game.cpp: In member function 'void Game::draw()': BUILDSTDERR: Game.cpp:680:122: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: writeText_2D(400-(strlen(endGameMessage)*15)/2,100,0,makecol(200,200,200),allFonts[4],"Hit Enter to Continue"); BUILDSTDERR: ^ BUILDSTDERR: Game.cpp: In member function 'int Game::addPlayer(Player*)': BUILDSTDERR: Game.cpp:896:29: warning: deleting object of polymorphic class type 'Player' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] BUILDSTDERR: delete players[n]; //delete the old player BUILDSTDERR: ^ BUILDSTDERR: Game.cpp: In destructor 'Game::~Game()': BUILDSTDERR: Game.cpp:986:25: warning: deleting object of polymorphic class type 'Player' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] BUILDSTDERR: delete players[n]; BUILDSTDERR: ^ BUILDSTDERR: Game.cpp: In member function 'char* Game::getWeaponName(int)': BUILDSTDERR: Game.cpp:968:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: ShipArray.cpp: In member function 'void ShipArray::init()': BUILDSTDERR: ShipArray.cpp:27:9: warning: unused variable 'iNumDefs' [-Wunused-variable] BUILDSTDERR: int iNumDefs=0; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: ShipArray.cpp: In member function 'TShipDef ShipArray::retShipDef(int)': BUILDSTDERR: ShipArray.cpp:23:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o particle.o -c particle.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o particlesystem.o -c particlesystem.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o particlegenerator.o -c particlegenerator.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o asteroid.o -c asteroid.cpp BUILDSTDERR: particle.cpp: In member function 'int Particle::move()': BUILDSTDERR: particle.cpp:87:1: warning: no return statement in function returning non-void [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Controller.o -c Controller.cpp BUILDSTDERR: particlesystem.cpp: In member function 'void ParticleSystem::setupVArray(int)': BUILDSTDERR: particlesystem.cpp:198:11: warning: variable 'x' set but not used [-Wunused-but-set-variable] BUILDSTDERR: float x,y,z,s; BUILDSTDERR: ^ BUILDSTDERR: particlesystem.cpp:198:13: warning: variable 'y' set but not used [-Wunused-but-set-variable] BUILDSTDERR: float x,y,z,s; BUILDSTDERR: ^ BUILDSTDERR: particlesystem.cpp:198:15: warning: variable 'z' set but not used [-Wunused-but-set-variable] BUILDSTDERR: float x,y,z,s; BUILDSTDERR: ^ BUILDSTDERR: particlegenerator.cpp: In member function 'void ParticleGenerator::makePartRing()': BUILDSTDERR: particlegenerator.cpp:301:11: warning: unused variable 'ang2' [-Wunused-variable] BUILDSTDERR: float ang2=(float)(rand()%100)/100 * M_PI; BUILDSTDERR: ^~~~ BUILDSTDERR: particlegenerator.cpp:307:11: warning: unused variable 'velRand' [-Wunused-variable] BUILDSTDERR: float velRand; BUILDSTDERR: ^~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o SfxSingleton.o -c SfxSingleton.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o GameMode.o -c GameMode.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o AsteroidsGameMode.o -c AsteroidsGameMode.cpp BUILDSTDERR: asteroid.cpp: In member function 'void AsteroidArray::setModels(Model*, int, int)': BUILDSTDERR: asteroid.cpp:184:9: warning: variable 'r' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int r; BUILDSTDERR: ^ BUILDSTDERR: SfxSingleton.cpp: In member function 'void SfxSingleton::setData(char*)': BUILDSTDERR: SfxSingleton.cpp:41:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"Could not load sounds"); BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o NewMenu.o -c NewMenu.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Button.o -c Button.cpp BUILDSTDERR: GameMode.cpp: In member function 'virtual TMenuPage GameMode::createMenuPage(FONT**, TButtonAtts, int, Model*, ShipArray*, Game*)': BUILDSTDERR: GameMode.cpp:112:92: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: page.widgets[0] = new Button(0,makeVector2(0,-3,true),4.5,2.45,allFonts[2],"Play",bAtts); BUILDSTDERR: ^ BUILDSTDERR: GameMode.cpp:115:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: page.widgets[1] = new Button(1,makeVector2(0,-6,true),5,2.45,allFonts[2],"Back",bAtts); BUILDSTDERR: ^ BUILDSTDERR: GameMode.cpp:124:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: page.widgets[4] = new CheckBox(4,makeVector2(-15,-13,true),1,1,allFonts[4],"Enable Asteroids",bAtts); BUILDSTDERR: ^ BUILDSTDERR: GameMode.cpp:127:99: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: page.widgets[5] = new CheckBox(5,makeVector2(0,-13,true),1,1,allFonts[4],"Walls On",bAtts,true); BUILDSTDERR: ^ BUILDSTDERR: GameMode.cpp: In member function 'virtual void GameMode::runInGame(Game*)': BUILDSTDERR: GameMode.cpp:140:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: g->endGame("Player 2 Wins"); BUILDSTDERR: ^ BUILDSTDERR: GameMode.cpp:143:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: g->endGame("Player 1 Wins"); BUILDSTDERR: ^ BUILDSTDERR: GameMode.cpp: In member function 'virtual void GameMode::writeStats(Game*)': BUILDSTDERR: GameMode.cpp:163:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: writeText_2D(xx,130,0,makecol(200,250,200),allFonts[4],"Player1"); BUILDSTDERR: ^ BUILDSTDERR: GameMode.cpp:167:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: writeText_2D(xx,130,0,makecol(200,250,200),allFonts[4],"Player2"); BUILDSTDERR: ^ BUILDSTDERR: GameMode.cpp: In member function 'virtual int GameMode::getPlayerShipNum(int)': BUILDSTDERR: GameMode.cpp:97:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: AsteroidsGameMode.cpp: In member function 'virtual TMenuPage AsteroidsGameMode::createMenuPage(FONT**, TButtonAtts, int, Model*, ShipArray*, Game*)': BUILDSTDERR: AsteroidsGameMode.cpp:88:93: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: page.widgets[0] = new Button(0,makeVector2(0,1.5,true),4.5,2.45,allFonts[2],"Play",bAtts); BUILDSTDERR: ^ BUILDSTDERR: AsteroidsGameMode.cpp:91:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: page.widgets[1] = new Button(1,makeVector2(0,-6,true),5,2.45,allFonts[2],"Back",bAtts); BUILDSTDERR: ^ BUILDSTDERR: AsteroidsGameMode.cpp:94:102: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: page.widgets[2] = new CheckBox(2,makeVector2(-19,-10,true),1,1,allFonts[4],"Walls On",bAtts,false); BUILDSTDERR: ^ BUILDSTDERR: AsteroidsGameMode.cpp:97:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: page.widgets[3] = new CheckBox(3,makeVector2(-4,-10,true),1,1,allFonts[4],"Maniac Mode",bAtts,false); BUILDSTDERR: ^ BUILDSTDERR: AsteroidsGameMode.cpp:100:107: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: page.widgets[4] = new CheckBox(4,makeVector2(5,-10,true),1,1,allFonts[4],"Projectile Wrap",bAtts,false); BUILDSTDERR: ^ BUILDSTDERR: AsteroidsGameMode.cpp: In member function 'virtual void AsteroidsGameMode::runInGame(Game*)': BUILDSTDERR: AsteroidsGameMode.cpp:124:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: g->endGame("Game Over"); BUILDSTDERR: ^ BUILDSTDERR: AsteroidsGameMode.cpp: In member function 'virtual void AsteroidsGameMode::writeStats(Game*)': BUILDSTDERR: AsteroidsGameMode.cpp:137:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: writeText_2D(xx,130,0,makecol(200,250,200),allFonts[4],"Player1"); BUILDSTDERR: ^ BUILDSTDERR: AsteroidsGameMode.cpp:141:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: writeText_2D(xx,130,0,makecol(200,250,200),allFonts[4],"Player2"); BUILDSTDERR: ^ BUILDSTDERR: AsteroidsGameMode.cpp: In member function 'virtual CVector2 AsteroidsGameMode::getPlayerStartPos(int)': BUILDSTDERR: AsteroidsGameMode.cpp:78:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o CheckBox.o -c CheckBox.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o ShipSelector.o -c ShipSelector.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o MissileAvoid.o -c MissileAvoid.cpp BUILDSTDERR: NewMenu.cpp: In destructor 'NewMenu::~NewMenu()': BUILDSTDERR: NewMenu.cpp:14:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"Deleting Menu\n"); BUILDSTDERR: ^ BUILDSTDERR: NewMenu.cpp:15:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for(int n=0 ; n::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if(curPage>=0 && curPage>>",ba); BUILDSTDERR: ^ BUILDSTDERR: ShipSelector.cpp: In member function 'virtual void ShipSelector::draw()': BUILDSTDERR: ShipSelector.cpp:72:93: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: writeText_3D(pos.retX()-5,pos.retY()-3.5 ,0,makeacol32(0,100,200,255),f,"Acceleration"); BUILDSTDERR: ^ BUILDSTDERR: ShipSelector.cpp:75:89: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: writeText_3D(pos.retX()-5,pos.retY()-4.25 ,0,makeacol32(0,100,200,255),f,"Max Speed"); BUILDSTDERR: ^ BUILDSTDERR: ShipSelector.cpp:78:89: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: writeText_3D(pos.retX()-5,pos.retY()-5 ,0,makeacol32(0,100,200,255),f,"Rot Thrust"); BUILDSTDERR: ^ BUILDSTDERR: ShipSelector.cpp:81:88: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: writeText_3D(pos.retX()-5,pos.retY()-5.75 ,0,makeacol32(0,100,200,255),f,"Traction"); BUILDSTDERR: ^ BUILDSTDERR: ShipSelector.cpp:84:85: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: writeText_3D(pos.retX()-5,pos.retY()-6.5 ,0,makeacol32(0,100,200,255),f,"Armor"); BUILDSTDERR: ^ BUILDSTDERR: ShipSelector.cpp:87:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: writeText_3D(pos.retX()-5,pos.retY()-7.25 ,0,makeacol32(0,100,200,255),f,"Shield"); BUILDSTDERR: ^ BUILDSTDERR: MissileAvoid.cpp: In member function 'virtual TMenuPage MissileAvoid::createMenuPage(FONT**, TButtonAtts, int, Model*, ShipArray*, Game*)': BUILDSTDERR: MissileAvoid.cpp:121:93: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: page.widgets[0] = new Button(0,makeVector2(0,1.5,true),4.5,2.45,allFonts[2],"Play",bAtts); BUILDSTDERR: ^ BUILDSTDERR: MissileAvoid.cpp:124:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: page.widgets[1] = new Button(1,makeVector2(0,-6,true),5,2.45,allFonts[2],"Back",bAtts); BUILDSTDERR: ^ BUILDSTDERR: MissileAvoid.cpp:127:106: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: page.widgets[2] = new CheckBox(2,makeVector2(-15,-10,true),1,1,allFonts[4],"Asteroids On",bAtts,false); BUILDSTDERR: ^ BUILDSTDERR: MissileAvoid.cpp:130:103: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: page.widgets[3] = new CheckBox(3,makeVector2(0,-10,true),1,1,allFonts[4],"Maniac Mode",bAtts,false); BUILDSTDERR: ^ BUILDSTDERR: MissileAvoid.cpp: In member function 'virtual void MissileAvoid::writeStats(Game*)': BUILDSTDERR: MissileAvoid.cpp:144:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: writeText_2D(xx,130,0,makecol(200,250,200),allFonts[4],"Player1"); BUILDSTDERR: ^ BUILDSTDERR: MissileAvoid.cpp: In member function 'virtual void MissileAvoid::runInGame(Game*)': BUILDSTDERR: MissileAvoid.cpp:177:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: g->endGame("Game Over"); BUILDSTDERR: ^ BUILDSTDERR: MissileAvoid.cpp: In member function 'virtual CVector2 MissileAvoid::getPlayerStartPos(int)': BUILDSTDERR: MissileAvoid.cpp:88:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o MissileAvoid2p.o -c MissileAvoid2p.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o GameSettingsSingleton.o -c GameSettingsSingleton.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o ScoreKeeper.o -c ScoreKeeper.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o AsteroidsGameMode2p.o -c AsteroidsGameMode2p.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Powerup.o -c Powerup.cpp BUILDSTDERR: ScoreKeeper.cpp: In member function 'int ScoreKeeper::incMultiplier(int)': BUILDSTDERR: ScoreKeeper.cpp:75:1: warning: no return statement in function returning non-void [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: ScoreKeeper.cpp: In member function 'int ScoreKeeper::loadPagesCallback(const char*, int, void*)': BUILDSTDERR: ScoreKeeper.cpp:155:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf(fp,"%d",&scorePages[nScorePages].sortType); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ScoreKeeper.cpp:157:19: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf(fp,"%s",scorePages[nScorePages].scores[n].name); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ScoreKeeper.cpp:158:19: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf(fp,"%d",&scorePages[nScorePages].scores[n].score); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o unix.o -c unix.cpp BUILDSTDERR: MissileAvoid2p.cpp: In member function 'virtual void MissileAvoid2p::writeStats(Game*)': BUILDSTDERR: MissileAvoid2p.cpp:75:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: writeText_2D(xx,130,0,makecol(200,250,200),allFonts[4],"Player1"); BUILDSTDERR: ^ BUILDSTDERR: MissileAvoid2p.cpp:79:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: writeText_2D(xx,130,0,makecol(200,250,200),allFonts[4],"Player2"); BUILDSTDERR: ^ BUILDSTDERR: Powerup.cpp: In member function 'void Powerup::create(TPowerupInfo, CVector2)': BUILDSTDERR: Powerup.cpp:24:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"Creating\n"); BUILDSTDERR: ^ BUILDSTDERR: Powerup.cpp:50:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"Created\n"); BUILDSTDERR: ^ BUILDSTDERR: AsteroidsGameMode2p.cpp: In member function 'virtual TMenuPage AsteroidsGameMode2p::createMenuPage(FONT**, TButtonAtts, int, Model*, ShipArray*, Game*)': BUILDSTDERR: AsteroidsGameMode2p.cpp:65:93: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: page.widgets[0] = new Button(0,makeVector2(0,1.5,true),4.5,2.45,allFonts[2],"Play",bAtts); BUILDSTDERR: ^ BUILDSTDERR: AsteroidsGameMode2p.cpp:68:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: page.widgets[1] = new Button(1,makeVector2(0,-6,true),5,2.45,allFonts[2],"Back",bAtts); BUILDSTDERR: ^ BUILDSTDERR: AsteroidsGameMode2p.cpp:71:102: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: page.widgets[2] = new CheckBox(2,makeVector2(-19,-10,true),1,1,allFonts[4],"Walls On",bAtts,false); BUILDSTDERR: ^ BUILDSTDERR: AsteroidsGameMode2p.cpp:74:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: page.widgets[3] = new CheckBox(3,makeVector2(-5,-10,true),1,1,allFonts[4],"Maniac Mode",bAtts,false); BUILDSTDERR: ^ BUILDSTDERR: AsteroidsGameMode2p.cpp:77:108: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: page.widgets[4] = new CheckBox(4,makeVector2(10,-10,true),1,1,allFonts[4],"Projectile Wrap",bAtts,false); BUILDSTDERR: ^ BUILDSTDERR: AsteroidsGameMode2p.cpp: In member function 'virtual void AsteroidsGameMode2p::runInGame(Game*)': BUILDSTDERR: AsteroidsGameMode2p.cpp:104:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: g->endGame("Game Over"); BUILDSTDERR: ^ 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 + popd ~/build/BUILD/Duel3_20060225_src + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.mXETc6 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/duel3-0.1-0.27.20060225.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/duel3-0.1-0.27.20060225.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/duel3-0.1-0.27.20060225.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/duel3-0.1-0.27.20060225.fc29.riscv64 + cd Duel3_20060225_src + pushd Source ~/build/BUILD/Duel3_20060225_src/Source ~/build/BUILD/Duel3_20060225_src + make install PREFIX=/builddir/build/BUILDROOT/duel3-0.1-0.27.20060225.fc29.riscv64/usr mkdir -p /builddir/build/BUILDROOT/duel3-0.1-0.27.20060225.fc29.riscv64/usr/bin/ mkdir -p /builddir/build/BUILDROOT/duel3-0.1-0.27.20060225.fc29.riscv64/usr/share/duel3/images mkdir -p /builddir/build/BUILDROOT/duel3-0.1-0.27.20060225.fc29.riscv64/usr/share/duel3/models mkdir -p /builddir/build/BUILDROOT/duel3-0.1-0.27.20060225.fc29.riscv64/usr/share/duel3/music mkdir -p /builddir/build/BUILDROOT/duel3-0.1-0.27.20060225.fc29.riscv64/usr/share/duel3/w_hud install -p -m 755 duel3 /builddir/build/BUILDROOT/duel3-0.1-0.27.20060225.fc29.riscv64/usr/bin/ install -p -m 644 images/* /builddir/build/BUILDROOT/duel3-0.1-0.27.20060225.fc29.riscv64/usr/share/duel3/images install -p -m 644 models/* /builddir/build/BUILDROOT/duel3-0.1-0.27.20060225.fc29.riscv64/usr/share/duel3/models install -p -m 644 music/* /builddir/build/BUILDROOT/duel3-0.1-0.27.20060225.fc29.riscv64/usr/share/duel3/music install -p -m 644 w_hud/* /builddir/build/BUILDROOT/duel3-0.1-0.27.20060225.fc29.riscv64/usr/share/duel3/w_hud install -p -m 664 *.dat /builddir/build/BUILDROOT/duel3-0.1-0.27.20060225.fc29.riscv64/usr/share/duel3 install -p -m 664 *.d3 /builddir/build/BUILDROOT/duel3-0.1-0.27.20060225.fc29.riscv64/usr/share/duel3 ~/build/BUILD/Duel3_20060225_src + popd + ln -s opengl-game-wrapper.sh /builddir/build/BUILDROOT/duel3-0.1-0.27.20060225.fc29.riscv64/usr/bin/duel3-wrapper + mkdir -p /builddir/build/BUILDROOT/duel3-0.1-0.27.20060225.fc29.riscv64/usr/share/applications + desktop-file-install --dir /builddir/build/BUILDROOT/duel3-0.1-0.27.20060225.fc29.riscv64/usr/share/applications /builddir/build/SOURCES/duel3.desktop + mkdir -p /builddir/build/BUILDROOT/duel3-0.1-0.27.20060225.fc29.riscv64/usr/share/icons/hicolor/64x64/apps + install -p -m 644 /builddir/build/SOURCES/duel3.png /builddir/build/BUILDROOT/duel3-0.1-0.27.20060225.fc29.riscv64/usr/share/icons/hicolor/64x64/apps + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.1-0.27.20060225.fc29 --unique-debug-suffix -0.1-0.27.20060225.fc29.riscv64 --unique-debug-src-base duel3-0.1-0.27.20060225.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/Duel3_20060225_src explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/duel3-0.1-0.27.20060225.fc29.riscv64/usr/bin/duel3 extracting debug info from /builddir/build/BUILDROOT/duel3-0.1-0.27.20060225.fc29.riscv64/usr/bin/duel3 /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 721 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: duel3-0.1-0.27.20060225.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.cC89ZE + umask 022 + cd /builddir/build/BUILD + cd Duel3_20060225_src + DOCDIR=/builddir/build/BUILDROOT/duel3-0.1-0.27.20060225.fc29.riscv64/usr/share/doc/duel3 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/duel3-0.1-0.27.20060225.fc29.riscv64/usr/share/doc/duel3 + cp -pr Source/readme.txt /builddir/build/BUILDROOT/duel3-0.1-0.27.20060225.fc29.riscv64/usr/share/doc/duel3 + cp -pr license.txt /builddir/build/BUILDROOT/duel3-0.1-0.27.20060225.fc29.riscv64/usr/share/doc/duel3 + cp -pr music-credits.txt /builddir/build/BUILDROOT/duel3-0.1-0.27.20060225.fc29.riscv64/usr/share/doc/duel3 + exit 0 Provides: application() application(duel3.desktop) duel3 = 0.1-0.27.20060225.fc29 duel3(riscv-64) = 0.1-0.27.20060225.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(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.27)(64bit) libdumb-0.9.3.so()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(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) rtld(GNU_HASH) Processing files: duel3-debugsource-0.1-0.27.20060225.fc29.riscv64 Provides: duel3-debugsource = 0.1-0.27.20060225.fc29 duel3-debugsource(riscv-64) = 0.1-0.27.20060225.fc29 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.27.20060225.fc29.riscv64 Provides: debuginfo(build-id) = cc77fedbedd3c0076cabb82cb9d5c7df090b4762 duel3-debuginfo = 0.1-0.27.20060225.fc29 duel3-debuginfo(riscv-64) = 0.1-0.27.20060225.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: duel3-debugsource(riscv-64) = 0.1-0.27.20060225.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/duel3-0.1-0.27.20060225.fc29.riscv64 Wrote: /builddir/build/RPMS/duel3-0.1-0.27.20060225.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/duel3-debugsource-0.1-0.27.20060225.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/duel3-debuginfo-0.1-0.27.20060225.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.bH4w3q + umask 022 + cd /builddir/build/BUILD + cd Duel3_20060225_src + /usr/bin/rm -rf /builddir/build/BUILDROOT/duel3-0.1-0.27.20060225.fc29.riscv64 + exit 0 Child return code was: 0