Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/glaxium.spec'], chrootPath='/var/lib/mock/f31-build-63481-29353/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'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/glaxium.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564012800 Wrote: /builddir/build/SRPMS/glaxium-0.5-32.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/glaxium.spec'], chrootPath='/var/lib/mock/f31-build-63481-29353/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'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/glaxium.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564012800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.26K0mi + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf glaxium_0.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/glaxium_0.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd glaxium_0.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (glaxium-0.5-fixes.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #1 (glaxium_0.5-allow-running-when-dsp-busy.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #2 (glaxium_0.5-glutInit.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #3 (glaxium_0.5-rh553067.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #4 (glaxium_0.5-64bit-crash.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #5 (glaxium_0.5-fighter2_meshes-fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #6 (0001-Stop-mixing-glut-and-SDL-usage.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + autoreconf -ivf BUILDSTDERR: autoreconf: Entering directory `.' BUILDSTDERR: autoreconf: configure.in: not using Gettext BUILDSTDERR: autoreconf: running: aclocal --force BUILDSTDERR: aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' BUILDSTDERR: acinclude.m4:8: warning: underquoted definition of FC_EXPAND_DIR BUILDSTDERR: acinclude.m4:8: run info Automake 'Extending aclocal' BUILDSTDERR: acinclude.m4:8: or see https://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal BUILDSTDERR: autoreconf: configure.in: tracing BUILDSTDERR: autoreconf: configure.in: not using Libtool BUILDSTDERR: autoreconf: running: /usr/bin/autoconf --force BUILDSTDERR: autoreconf: running: /usr/bin/autoheader --force BUILDSTDERR: autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' BUILDSTDERR: autoheader: WARNING: and `config.h.top', to define templates for `config.h.in' BUILDSTDERR: autoheader: WARNING: is deprecated and discouraged. BUILDSTDERR: autoheader: BUILDSTDERR: autoheader: WARNING: Using the third argument of `AC_DEFINE' and BUILDSTDERR: autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without BUILDSTDERR: autoheader: WARNING: `acconfig.h': BUILDSTDERR: autoheader: BUILDSTDERR: autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, BUILDSTDERR: autoheader: [Define if a function `main' is needed.]) BUILDSTDERR: autoheader: BUILDSTDERR: autoheader: WARNING: More sophisticated templates can also be produced, see the BUILDSTDERR: autoheader: WARNING: documentation. BUILDSTDERR: autoreconf: configure.in: not using Automake BUILDSTDERR: autoreconf: Leaving directory `.' + sed -i 's|/games/glaxium|/glaxium|g' configure configure.in Makefile.in + sed -i 's/\r//g' CHANGES.txt LICENSE README.txt + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (glaxium-0.5-fixes.patch): patching file scratcher.hpp patching file tank.hpp patching file variables.cpp patching file Makefile.in Patch #1 (glaxium_0.5-allow-running-when-dsp-busy.patch): patching file main.cpp patching file sprite.cpp patching file variables.cpp patching file variables.hpp Patch #2 (glaxium_0.5-glutInit.patch): patching file main.cpp Patch #3 (glaxium_0.5-rh553067.patch): patching file tank.cpp patching file elem.cpp Patch #4 (glaxium_0.5-64bit-crash.patch): patching file scene.cpp Patch #5 (glaxium_0.5-fighter2_meshes-fix.patch): patching file fighter2.cpp Patch #6 (0001-Stop-mixing-glut-and-SDL-usage.patch): patching file bandit2.cpp patching file configure.in patching file cube.cpp patching file diamond.cpp patching file fighter2.cpp patching file fire.cpp patching file glax_glut.cpp patching file glax_glut.hpp patching file main.cpp patching file myship.cpp patching file piege.cpp patching file scene.cpp patching file scratcher.cpp patching file ship1.cpp patching file spirale.cpp patching file sprite.hpp patching file tache.cpp patching file tank.cpp Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mGSdEf + umask 022 + cd /builddir/build/BUILD + cd glaxium_0.5 + 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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking BUILDSTDERR: config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 checking for riscv64-koji-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for riscv64-koji-linux-gnu-g++... no checking for riscv64-koji-linux-gnu-c++... no checking for riscv64-koji-linux-gnu-gpp... no checking for riscv64-koji-linux-gnu-aCC... no checking for riscv64-koji-linux-gnu-CC... no checking for riscv64-koji-linux-gnu-cxx... no checking for riscv64-koji-linux-gnu-cc++... no checking for riscv64-koji-linux-gnu-cl.exe... no checking for riscv64-koji-linux-gnu-FCC... no checking for riscv64-koji-linux-gnu-KCC... no checking for riscv64-koji-linux-gnu-RCC... no checking for riscv64-koji-linux-gnu-xlC_r... no checking for riscv64-koji-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether make sets $(MAKE)... yes checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.1.5... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking SDL.h usability... yes checking SDL.h presence... yes checking for SDL.h... yes checking for Mix_PlayMusic in -lSDL_mixer... yes checking SDL_mixer.h usability... yes checking SDL_mixer.h presence... yes checking for SDL_mixer.h... yes checking for glVertex3f in -lGL... yes checking for gluPerspective in -lGLU... yes checking for XDestroyWindow in -lX11... yes checking for XFreeDeviceControl in -lXi... no checking for XmuScanlineNot in -lXmu... no checking for png_write_rows in -lpng... yes checking GL/gl.h usability... yes checking GL/gl.h presence... yes checking for GL/gl.h... yes checking GL/glu.h usability... yes checking GL/glu.h presence... yes checking for GL/glu.h... yes checking GL/glx.h usability... yes checking GL/glx.h presence... yes checking for GL/glx.h... yes checking png.h usability... yes checking png.h presence... yes checking for png.h... yes configure: creating ./config.status config.status: creating Makefile config.status: creating conf.h g++ -c -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 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT scratcher.cpp -o scratcher.o -DDATADIR=\"/usr/share/glaxium\" g++ -c -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 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT ship1.cpp -o ship1.o -DDATADIR=\"/usr/share/glaxium\" g++ -c -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 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT glax_glut.cpp -o glax_glut.o -DDATADIR=\"/usr/share/glaxium\" BUILDSTDERR: g++ -c -O2 -g -pipe -Wall scratcher.cpp: In constructor 'Scratcher::Scratcher(List*, float, float, int)': BUILDSTDERR: scratcher.cpp:99:11: warning: unused variable 'dist' [-Wunused-variable] BUILDSTDERR: 99 | float dist = (float)sqrt(dx*dx+dz*dz); BUILDSTDERR: | ^~~~ BUILDSTDERR: scratcher.cpp: In member function 'virtual void Scratcher::collision(Sprite*)': BUILDSTDERR: scratcher.cpp:161:11: warning: enumeration value 'TYPE_MY_SPACE_SHIP' not handled in switch [-Wswitch] BUILDSTDERR: 161 | switch(contact->getType()) BUILDSTDERR: | ^ BUILDSTDERR: scratcher.cpp:161:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] BUILDSTDERR: scratcher.cpp:161:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] BUILDSTDERR: scratcher.cpp:161:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] BUILDSTDERR: scratcher.cpp:161:11: warning: enumeration value 'TYPE_CUBE' not handled in switch [-Wswitch] BUILDSTDERR: scratcher.cpp:161:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] BUILDSTDERR: scratcher.cpp:161:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] BUILDSTDERR: scratcher.cpp:161:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] BUILDSTDERR: scratcher.cpp:161:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] BUILDSTDERR: scratcher.cpp:161:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] BUILDSTDERR: scratcher.cpp:161:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] BUILDSTDERR: scratcher.cpp:161:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] BUILDSTDERR: scratcher.cpp:161:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] BUILDSTDERR: scratcher.cpp:161:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] BUILDSTDERR: scratcher.cpp:161:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] BUILDSTDERR: scratcher.cpp:161:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] BUILDSTDERR: scratcher.cpp:161:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] BUILDSTDERR: scratcher.cpp:161:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] BUILDSTDERR: scratcher.cpp:161:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] BUILDSTDERR: scratcher.cpp:161:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] BUILDSTDERR: scratcher.cpp:161:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] BUILDSTDERR: ship1.cpp: In constructor 'Ship1::Ship1(List*, float, float, float, int)': BUILDSTDERR: ship1.cpp:35:9: warning: unused variable 'nb' [-Wunused-variable] BUILDSTDERR: 35 | int nb=random()%5; BUILDSTDERR: | ^~ BUILDSTDERR: ship1.cpp: In member function 'virtual void Ship1::collision(Sprite*)': BUILDSTDERR: ship1.cpp:330:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] BUILDSTDERR: 330 | switch(contact->getType()) BUILDSTDERR: | ^ BUILDSTDERR: ship1.cpp:330:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] BUILDSTDERR: ship1.cpp:330:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] BUILDSTDERR: ship1.cpp:330:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] BUILDSTDERR: ship1.cpp:330:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] BUILDSTDERR: ship1.cpp:330:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] BUILDSTDERR: ship1.cpp:330:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] BUILDSTDERR: ship1.cpp:330:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] BUILDSTDERR: ship1.cpp:330:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] BUILDSTDERR: ship1.cpp:330:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] BUILDSTDERR: ship1.cpp:330:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] BUILDSTDERR: ship1.cpp:330:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] BUILDSTDERR: ship1.cpp:330:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] BUILDSTDERR: ship1.cpp:330:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] BUILDSTDERR: ship1.cpp:330:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] BUILDSTDERR: ship1.cpp:330:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] BUILDSTDERR: ship1.cpp:330:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] BUILDSTDERR: ship1.cpp: In member function 'virtual void Ship1Fire::collision(Sprite*)': BUILDSTDERR: ship1.cpp:446:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] BUILDSTDERR: 446 | switch(contact->getType()) BUILDSTDERR: | ^ BUILDSTDERR: ship1.cpp:446:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] BUILDSTDERR: ship1.cpp:446:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] BUILDSTDERR: ship1.cpp:446:11: warning: enumeration value 'TYPE_CUBE' not handled in switch [-Wswitch] BUILDSTDERR: ship1.cpp:446:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] BUILDSTDERR: ship1.cpp:446:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] BUILDSTDERR: ship1.cpp:446:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] BUILDSTDERR: ship1.cpp:446:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] BUILDSTDERR: ship1.cpp:446:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] BUILDSTDERR: ship1.cpp:446:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] BUILDSTDERR: ship1.cpp:446:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] BUILDSTDERR: ship1.cpp:446:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] BUILDSTDERR: ship1.cpp:446:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] BUILDSTDERR: ship1.cpp:446:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] BUILDSTDERR: ship1.cpp:446:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] BUILDSTDERR: ship1.cpp:446:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] BUILDSTDERR: ship1.cpp:446:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] BUILDSTDERR: ship1.cpp:446:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] BUILDSTDERR: ship1.cpp:446:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] BUILDSTDERR: ship1.cpp:446:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] BUILDSTDERR: scene.cpp: In member function 'void Scene::initVariables()': BUILDSTDERR: scene.cpp:256:8: warning: unused variable 'j' [-Wunused-variable] BUILDSTDERR: 256 | int i,j,k; BUILDSTDERR: | ^ BUILDSTDERR: scene.cpp:256:10: warning: unused variable 'k' [-Wunused-variable] BUILDSTDERR: 256 | int i,j,k; BUILDSTDERR: | ^ BUILDSTDERR: scene.cpp: In member function 'void Scene::drawFloor()': BUILDSTDERR: scene.cpp:607:44: warning: comparison of integer expressions of different signedness: 'GLuint' {aka 'unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: 607 | if (GLvar->texture_floorMap[textureMap]!=oldFloorMap) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: scene.cpp:613:41: warning: comparison of integer expressions of different signedness: 'GLuint' {aka 'unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: 613 | if (GLvar->texture_floorMap[texture]!=oldFloor) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: scene.cpp:378:16: warning: unused variable 'dot3LightX' [-Wunused-variable] BUILDSTDERR: 378 | static float dot3LightX = 0; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: scene.cpp:379:15: warning: unused variable 'cpt' [-Wunused-variable] BUILDSTDERR: 379 | static float cpt=0; BUILDSTDERR: | ^~~ BUILDSTDERR: scene.cpp: In member function 'void Scene::drawPlayers()': BUILDSTDERR: scene.cpp:869:6: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 869 | int i; BUILDSTDERR: | ^ BUILDSTDERR: scene.cpp: In member function 'void Scene::drawFPS()': BUILDSTDERR: scene.cpp:1056:6: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 1056 | int i; BUILDSTDERR: | ^ BUILDSTDERR: scene.cpp:1057:6: warning: variable 'diff' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1057 | int diff; BUILDSTDERR: | ^~~~ BUILDSTDERR: scene.cpp: In member function 'void Scene::drawFPSBench()': BUILDSTDERR: scene.cpp:2078:6: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 2078 | int i; BUILDSTDERR: | ^ BUILDSTDERR: scene.cpp:2079:6: warning: variable 'diff' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2079 | int diff; BUILDSTDERR: | ^~~~ BUILDSTDERR: scene.cpp: In member function 'void Scene::drawMenu()': BUILDSTDERR: scene.cpp:2115:6: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 2115 | int i, j; BUILDSTDERR: | ^ BUILDSTDERR: scene.cpp: In member function 'void Scene::menuIdle()': BUILDSTDERR: scene.cpp:2321:13: warning: variable 'benchTime' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2321 | static int benchTime; BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: scene.cpp:2342:10: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2342 | fscanf(fOptions, "%d %d %d %d", &filterValue, &anisValue, &detailValue, &nshadows); BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: scene.cpp: At global scope: BUILDSTDERR: scene.cpp:379:15: warning: 'cpt' defined but not used [-Wunused-variable] BUILDSTDERR: 379 | static float cpt=0; BUILDSTDERR: | ^~~ BUILDSTDERR: scene.cpp:378:16: warning: 'dot3LightX' defined but not used [-Wunused-variable] BUILDSTDERR: 378 | static float dot3LightX = 0; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: diamond.cpp: In member function 'virtual void Diamond::collision(Sprite*)': BUILDSTDERR: diamond.cpp:208:18: warning: enumeration value 'POWERUP' not handled in switch [-Wswitch] BUILDSTDERR: 208 | switch (type_) { BUILDSTDERR: | ^ BUILDSTDERR: diamond.cpp:208:18: warning: enumeration value 'INVUL' not handled in switch [-Wswitch] BUILDSTDERR: diamond.cpp:197:11: warning: enumeration value 'TYPE_MY_FIRE2' not handled in switch [-Wswitch] BUILDSTDERR: 197 | switch(contact->getType()) BUILDSTDERR: | ^ BUILDSTDERR: diamond.cpp:197:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] BUILDSTDERR: diamond.cpp:197:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] BUILDSTDERR: diamond.cpp:197:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] BUILDSTDERR: diamond.cpp:197:11: warning: enumeration value 'TYPE_CUBE' not handled in switch [-Wswitch] BUILDSTDERR: diamond.cpp:197:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] BUILDSTDERR: diamond.cpp:197:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] BUILDSTDERR: diamond.cpp:197:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] BUILDSTDERR: diamond.cpp:197:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] BUILDSTDERR: diamond.cpp:197:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] BUILDSTDERR: diamond.cpp:197:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] BUILDSTDERR: diamond.cpp:197:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] BUILDSTDERR: diamond.cpp:197:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] BUILDSTDERR: diamond.cpp:197:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] BUILDSTDERR: diamond.cpp:197:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] BUILDSTDERR: diamond.cpp:197:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] BUILDSTDERR: diamond.cpp:197:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] BUILDSTDERR: diamond.cpp:197:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] BUILDSTDERR: diamond.cpp:197:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] BUILDSTDERR: diamond.cpp:197:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] BUILDSTDERR: diamond.cpp:197:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] BUILDSTDERR: myship.cpp: In constructor 'MyShip::MyShip(List*, int)': BUILDSTDERR: myship.cpp:79:6: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 79 | int i; BUILDSTDERR: | ^ BUILDSTDERR: myship.cpp: In member function 'virtual void MyShip::draw()': BUILDSTDERR: myship.cpp:412:6: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 412 | int i; BUILDSTDERR: | ^ BUILDSTDERR: myship.cpp: In member function 'virtual void MyShip::move()': BUILDSTDERR: myship.cpp:558:12: warning: variable 'explode' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 558 | Sprite *explode; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: explosion.cpp: In member function 'virtual void PieceOfShip::drawShadowable()': BUILDSTDERR: explosion.cpp:220:11: warning: unused variable 'pColor' [-Wunused-variable] BUILDSTDERR: 220 | float pColor[] = {1.0,1.0,1.0,1.0}; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: myship.cpp:611:12: warning: enumeration value 'UNTOUCHABLE' not handled in switch [-Wswitch] BUILDSTDERR: 611 | switch (state_) BUILDSTDERR: | ^ BUILDSTDERR: myship.cpp: In member function 'virtual void MyShip::collision(Sprite*)': BUILDSTDERR: myship.cpp:805:8: warning: enumeration value 'TYPE_MY_SPACE_SHIP' not handled in switch [-Wswitch] BUILDSTDERR: 805 | switch(contact->getType()) BUILDSTDERR: | ^ BUILDSTDERR: myship.cpp:805:8: warning: enumeration value 'TYPE_MY_FIRE1' not handled in switch [-Wswitch] BUILDSTDERR: myship.cpp:805:8: warning: enumeration value 'TYPE_MY_FIRE2' not handled in switch [-Wswitch] BUILDSTDERR: myship.cpp:805:8: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] BUILDSTDERR: myship.cpp:805:8: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] BUILDSTDERR: myship.cpp:805:8: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] BUILDSTDERR: myship.cpp:805:8: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] BUILDSTDERR: myship.cpp:805:8: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] BUILDSTDERR: myship.cpp:805:8: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] BUILDSTDERR: myship.cpp:805:8: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] BUILDSTDERR: myship.cpp:805:8: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] BUILDSTDERR: myship.cpp:805:8: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] BUILDSTDERR: spirale.cpp: In member function 'virtual void Spirale::collision(Sprite*)': BUILDSTDERR: spirale.cpp:147:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] BUILDSTDERR: 147 | switch(contact->getType()) BUILDSTDERR: | ^ BUILDSTDERR: spirale.cpp:147:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] BUILDSTDERR: spirale.cpp:147:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] BUILDSTDERR: spirale.cpp:147:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] BUILDSTDERR: spirale.cpp:147:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] BUILDSTDERR: spirale.cpp:147:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] BUILDSTDERR: spirale.cpp:147:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] BUILDSTDERR: spirale.cpp:147:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] BUILDSTDERR: spirale.cpp:147:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] BUILDSTDERR: spirale.cpp:147:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] BUILDSTDERR: spirale.cpp:147:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] BUILDSTDERR: spirale.cpp:147:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] BUILDSTDERR: spirale.cpp:147:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] BUILDSTDERR: spirale.cpp:147:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] BUILDSTDERR: spirale.cpp:147:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] BUILDSTDERR: spirale.cpp:147:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] BUILDSTDERR: pngtex.cpp: In constructor 'PngTex::PngTex(const char*)': BUILDSTDERR: pngtex.cpp:46:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 46 | fread( header, 1, sizeof(header), fp); BUILDSTDERR: | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: bandit2.cpp: In constructor 'Bandit2::Bandit2(List*, float, float, float, int)': BUILDSTDERR: bandit2.cpp:33:9: warning: unused variable 'nb' [-Wunused-variable] BUILDSTDERR: 33 | int nb=random()%5; BUILDSTDERR: | ^~ BUILDSTDERR: bandit2.cpp: In member function 'virtual void Bandit2::collision(Sprite*)': BUILDSTDERR: bandit2.cpp:220:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] BUILDSTDERR: 220 | switch(contact->getType()) BUILDSTDERR: | ^ BUILDSTDERR: bandit2.cpp:220:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] BUILDSTDERR: bandit2.cpp:220:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] BUILDSTDERR: bandit2.cpp:220:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] BUILDSTDERR: bandit2.cpp:220:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] BUILDSTDERR: bandit2.cpp:220:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] BUILDSTDERR: bandit2.cpp:220:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] BUILDSTDERR: bandit2.cpp:220:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] BUILDSTDERR: bandit2.cpp:220:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] BUILDSTDERR: bandit2.cpp:220:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] BUILDSTDERR: bandit2.cpp:220:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] BUILDSTDERR: bandit2.cpp:220:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] BUILDSTDERR: bandit2.cpp:220:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] BUILDSTDERR: bandit2.cpp:220:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] BUILDSTDERR: bandit2.cpp:220:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] BUILDSTDERR: bandit2.cpp:220:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] BUILDSTDERR: bandit2.cpp:220:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] BUILDSTDERR: bandit2.cpp: In member function 'virtual void Bandit2Fire::collision(Sprite*)': BUILDSTDERR: bandit2.cpp:346:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] BUILDSTDERR: 346 | switch(contact->getType()) BUILDSTDERR: | ^ BUILDSTDERR: bandit2.cpp:346:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] BUILDSTDERR: bandit2.cpp:346:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] BUILDSTDERR: bandit2.cpp:346:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] BUILDSTDERR: bandit2.cpp:346:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] BUILDSTDERR: bandit2.cpp:346:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] BUILDSTDERR: bandit2.cpp:346:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] BUILDSTDERR: bandit2.cpp:346:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] BUILDSTDERR: bandit2.cpp:346:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] BUILDSTDERR: bandit2.cpp:346:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] BUILDSTDERR: bandit2.cpp:346:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] BUILDSTDERR: bandit2.cpp:346:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] BUILDSTDERR: bandit2.cpp:346:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] BUILDSTDERR: bandit2.cpp:346:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] BUILDSTDERR: bandit2.cpp:346:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] BUILDSTDERR: bandit2.cpp:346:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] BUILDSTDERR: bandit2.cpp:346:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] BUILDSTDERR: bandit2.cpp:346:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] BUILDSTDERR: bandit2.cpp:346:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] -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 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT scene.cpp -o scene.o -DDATADIR=\"/usr/share/glaxium\" g++ -c -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 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT tache.cpp -o tache.o -DDATADIR=\"/usr/share/glaxium\" g++ -c -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 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT diamond.cpp -o diamond.o -DDATADIR=\"/usr/share/glaxium\" g++ -c -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 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT myship.cpp -o myship.o -DDATADIR=\"/usr/share/glaxium\" g++ -c -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 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT explosion.cpp -o explosion.o -DDATADIR=\"/usr/share/glaxium\" g++ -c -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 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT spirale.cpp -o spirale.o -DDATADIR=\"/usr/share/glaxium\" g++ -c -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 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT bandit2.cpp -o bandit2.o -DDATADIR=\"/usr/share/glaxium\" g++ -c -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 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT pngtex.cpp -o pngtex.o -DDATADIR=\"/usr/share/glaxium\" g++ -c -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 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT list.cpp -o list.o -DDATADIR=\"/usr/share/glaxium\" BUILDSTDERR: g++ -c -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 -specvariables.cpp:39:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 39 | "welcome.wav", BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:40:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 40 | "tir.wav", BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: variables.cpp:41:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 41 | "explode1.wav", BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:42:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 42 | "explode2.wav", BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:43:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 43 | "tachefire.wav", BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:44:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 44 | "glups.wav", BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: variables.cpp:45:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 45 | "powerup.wav", BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:46:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 46 | "detection.wav", BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:47:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 47 | "gameover.wav" BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp: In member function 'void GlaxiumVariables::initVariables()': BUILDSTDERR: variables.cpp:161:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 161 | space_name[0] = "textures/space1.png"; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:162:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 162 | space_name[1] = "textures/space0.png"; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:163:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 163 | space_name[2] = "textures/space3.png"; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:164:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 164 | space_name[3] = "textures/space2.png"; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp: In member function 'void GlaxiumVariables::initTextures()': BUILDSTDERR: variables.cpp:229:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 229 | initTexture(texture_floorMap[0], "textures/floormap.png"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:232:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 232 | initTexture(texture_floorMap[1], "textures/floormap1.png"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:235:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 235 | initTexture(texture_floorMap[2], "textures/floormap2.png"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:238:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 238 | initTexture(texture_floorMap[3], "textures/floormap3.png"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:241:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 241 | initTexture(texture_floorMap[4], "textures/floormap4.png"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:245:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 245 | initTexture(texture_mark, "textures/mark.png"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:246:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 246 | initTexture(texture_building, "textures/cube.png"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:247:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 247 | initTexture(texture_tache, "textures/tache.png"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:248:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 248 | initTexture(texture_deadtache, "textures/deadtache.png"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:249:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 249 | initTexture(texture_camouflage, "textures/camouflage.png"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:250:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 250 | initTexture(texture_thunder, "textures/thunder.png"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:251:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 251 | initTexture(texture_specialeffect1, "textures/effect1.png"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:253:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 253 | initTexture(texture_chaine, "textures/chain.png"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:254:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 254 | initTexture(texture_myship, "textures/myship.png"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:255:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 255 | initTexture(texture_piege, "textures/piege.png"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:256:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 256 | initTexture(texture_bandit1, "textures/bandit1.png"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:257:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 257 | initTexture(texture_fire3, "textures/missile.png"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:258:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 258 | initTexture(texture_fighter2, "textures/fighter2.png"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:260:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 260 | initTexture(texture_bandit2, "textures/bandit2.png"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:261:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 261 | initTexture(texture_sphere, "textures/sphere.png"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:263:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 263 | initTexture(texture_fumee[0], "textures/fumee1.png"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:264:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 264 | initTexture(texture_fumee[1], "textures/fumee2.png"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:265:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 265 | initTexture(texture_fumee[2], "textures/fumee3.png"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:267:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 267 | initTexture(texture_gameover, "textures/gameover.png"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:268:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 268 | initTexture(texture_board, "textures/board.png"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:269:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 269 | initTexture(texture_galaxy, "textures/galaxy.png"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:271:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 271 | initTexture(texture_capsule[Diamond::POWER], "textures/capsule_shield.png"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:272:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 272 | initTexture(texture_capsule[Diamond::POWERUP], "textures/capsule_power.png"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:273:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 273 | initTexture(texture_capsule[Diamond::BOMB], "textures/capsule_bomb.png"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:274:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 274 | initTexture(texture_capsule[Diamond::INVUL], "textures/capsule_invul.png"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:276:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 276 | initTexture(texture_floor[0], "textures/floor.png"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:277:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 277 | initTexture(texture_letters, "textures/chars.png"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:281:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 281 | initTexture(texture_floor[1], "textures/floor1.png"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:284:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 284 | initTexture(texture_floor[2], "textures/floor2.png"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:287:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 287 | initTexture(texture_floor[3], "textures/floor3.png"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:290:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 290 | initTexture(texture_floor[4], "textures/floor4.png"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:293:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 293 | initTexture(texture_border, "textures/border2.png"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp:308:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 308 | texture = new PngTex(getFullPath("textures/glax2.png")); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: cube.cpp: In member function 'virtual void Cube::collision(Sprite*)': BUILDSTDERR: cube.cpp:267:24: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 267 | static int i=0; BUILDSTDERR: | ^ BUILDSTDERR: cube.cpp:231:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] BUILDSTDERR: 231 | switch(contact->getType()) BUILDSTDERR: | ^ BUILDSTDERR: cube.cpp:231:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] BUILDSTDERR: cube.cpp:231:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] BUILDSTDERR: cube.cpp:231:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] BUILDSTDERR: cube.cpp:231:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] BUILDSTDERR: cube.cpp:231:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] BUILDSTDERR: cube.cpp:231:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] BUILDSTDERR: cube.cpp:231:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] BUILDSTDERR: cube.cpp:231:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] BUILDSTDERR: cube.cpp:231:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] BUILDSTDERR: cube.cpp:231:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] BUILDSTDERR: cube.cpp:231:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] BUILDSTDERR: cube.cpp:231:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] BUILDSTDERR: cube.cpp:231:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] BUILDSTDERR: cube.cpp:231:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] BUILDSTDERR: variables.cpp: In member function 'void GlaxiumVariables::initSound()': BUILDSTDERR: variables.cpp:367:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 367 | module2 = Mix_LoadMUS(getFullPath("samples/glax3.xm")); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from variables.hpp:28, BUILDSTDERR: from sprite.hpp:37, BUILDSTDERR: from variables.cpp:19: BUILDSTDERR: variables.cpp: In member function 'void GlaxiumVariables::initInstallDir()': BUILDSTDERR: conf.h:4:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 4 | #define DATADIR "/usr/share/glaxium" BUILDSTDERR: variables.cpp:401:17: note: in expansion of macro 'DATADIR' BUILDSTDERR: 401 | installDir = DATADIR"/"; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: variables.cpp:404:10: warning: too many arguments for format [-Wformat-extra-args] BUILDSTDERR: 404 | printf("Found textures in ./\n", DATADIR); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tank.cpp: In member function 'virtual void Tank::collision(Sprite*)': BUILDSTDERR: tank.cpp:489:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] BUILDSTDERR: 489 | switch(contact->getType()) BUILDSTDERR: | ^ BUILDSTDERR: tank.cpp:489:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] BUILDSTDERR: tank.cpp:489:11: warning: enumeration value 'TYPE_CUBE' not handled in switch [-Wswitch] BUILDSTDERR: tank.cpp:489:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] BUILDSTDERR: tank.cpp:489:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] BUILDSTDERR: tank.cpp:489:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] BUILDSTDERR: tank.cpp:489:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] BUILDSTDERR: tank.cpp:489:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] BUILDSTDERR: tank.cpp:489:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] BUILDSTDERR: tank.cpp:489:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] BUILDSTDERR: tank.cpp:489:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] BUILDSTDERR: tank.cpp:489:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] BUILDSTDERR: tank.cpp:489:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] BUILDSTDERR: tank.cpp:489:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] BUILDSTDERR: tank.cpp:489:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] BUILDSTDERR: tank.cpp:489:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] BUILDSTDERR: tank.cpp:489:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] BUILDSTDERR: variables.cpp: In static member function 'static bool GlaxiumVariables::isExtensionSupported(const char*)': BUILDSTDERR: variables.cpp:498:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 498 | if (where == start || *(where - 1) == ' ') BUILDSTDERR: | ^~ BUILDSTDERR: variables.cpp:501:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 501 | start = terminator; BUILDSTDERR: | ^~~~~ BUILDSTDERR: variables.cpp: In member function 'void GlaxiumVariables::initOptionsFile(bool)': BUILDSTDERR: variables.cpp:108:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 108 | fscanf(fOptions, "%d %d %d %d", &filter, &anis, &details, &nShad); BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tank.cpp: In member function 'virtual void TankFire::collision(Sprite*)': BUILDSTDERR: tank.cpp:633:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] BUILDSTDERR: 633 | switch(contact->getType()) BUILDSTDERR: | ^ BUILDSTDERR: tank.cpp:633:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] BUILDSTDERR: tank.cpp:633:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] BUILDSTDERR: tank.cpp:633:11: warning: enumeration value 'TYPE_CUBE' not handled in switch [-Wswitch] BUILDSTDERR: tank.cpp:633:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] BUILDSTDERR: tank.cpp:633:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] BUILDSTDERR: tank.cpp:633:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] BUILDSTDERR: tank.cpp:633:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] BUILDSTDERR: tank.cpp:633:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] BUILDSTDERR: tank.cpp:633:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] BUILDSTDERR: tank.cpp:633:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] BUILDSTDERR: tank.cpp:633:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] BUILDSTDERR: tank.cpp:633:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] BUILDSTDERR: tank.cpp:633:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] BUILDSTDERR: tank.cpp:633:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] BUILDSTDERR: tank.cpp:633:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] BUILDSTDERR: tank.cpp:633:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] BUILDSTDERR: tank.cpp:633:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] BUILDSTDERR: tank.cpp:633:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] BUILDSTDERR: tank.cpp:633:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] BUILDSTDERR: cube.cpp: At global scope: BUILDSTDERR: cube.cpp:267:24: warning: 'i' defined but not used [-Wunused-variable] BUILDSTDERR: 267 | static int i=0; BUILDSTDERR: | ^ BUILDSTDERR: fire.cpp: In member function 'virtual void MyFire1::collision(Sprite*)': BUILDSTDERR: fire.cpp:123:11: warning: enumeration value 'TYPE_MY_SPACE_SHIP' not handled in switch [-Wswitch] BUILDSTDERR: 123 | switch(contact->getType()) BUILDSTDERR: | ^ BUILDSTDERR: fire.cpp:123:11: warning: enumeration value 'TYPE_MY_FIRE1' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:123:11: warning: enumeration value 'TYPE_MY_FIRE2' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:123:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:123:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:123:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:123:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:123:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:123:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:123:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:123:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:123:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:123:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:123:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp: In member function 'virtual void MyFire2::move()': BUILDSTDERR: fire.cpp:233:11: warning: enumeration value 'NOT_STARTED' not handled in switch [-Wswitch] BUILDSTDERR: 233 | switch(state_) BUILDSTDERR: | ^ BUILDSTDERR: fire.cpp:233:11: warning: enumeration value 'MOVING' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:233:11: warning: enumeration value 'TOUCHING' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:233:11: warning: enumeration value 'DEAD' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp: In member function 'virtual void MyFire3::collision(Sprite*)': BUILDSTDERR: fire.cpp:474:11: warning: enumeration value 'TYPE_MY_SPACE_SHIP' not handled in switch [-Wswitch] BUILDSTDERR: 474 | switch(contact->getType()) BUILDSTDERR: | ^ BUILDSTDERR: fire.cpp:474:11: warning: enumeration value 'TYPE_MY_FIRE1' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:474:11: warning: enumeration value 'TYPE_MY_FIRE2' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:474:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:474:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:474:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:474:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:474:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:474:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:474:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:474:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:474:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:474:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:474:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:474:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp: In member function 'virtual void MyFire4::collision(Sprite*)': BUILDSTDERR: fire.cpp:633:11: warning: enumeration value 'TYPE_MY_SPACE_SHIP' not handled in switch [-Wswitch] BUILDSTDERR: 633 | switch(contact->getType()) BUILDSTDERR: | ^ BUILDSTDERR: fire.cpp:633:11: warning: enumeration value 'TYPE_MY_FIRE1' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:633:11: warning: enumeration value 'TYPE_MY_FIRE2' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:633:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:633:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:633:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:633:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:633:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:633:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:633:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:633:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:633:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:633:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:633:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:633:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:633:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:633:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] BUILDSTDERR: fire.cpp:633:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] BUILDSTDERR: listsprite.cpp: In member function 'void ListSprite::move()': BUILDSTDERR: listsprite.cpp:96:9: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 96 | int i=0; BUILDSTDERR: | ^ s=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT cube.cpp -o cube.o -DDATADIR=\"/usr/share/glaxium\" g++ -c -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 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT variables.cpp -o variables.o -DDATADIR=\"/usr/share/glaxium\" g++ -c -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 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT tank.cpp -o tank.o -DDATADIR=\"/usr/share/glaxium\" g++ -c -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 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT fire.cpp -o fire.o -DDATADIR=\"/usr/share/glaxium\" g++ -c -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 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT elem.cpp -o elem.o -DDATADIR=\"/usr/share/glaxium\" g++ -c -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 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT sprite.cpp -o sprite.o -DDATADIR=\"/usr/share/glaxium\" g++ -c -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 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT fighter2.cpp -o fighter2.o -DDATADIR=\"/usr/share/glaxium\" g++ -c -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 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT listsprite.cpp -o listsprite.o -DDATADIR=\"/usr/share/glaxium\" g++ -c -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 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT main.cpp -o main.o -DDATADIR=\"/usr/share/glaxium\" BUILDSTDERR: g++ -c -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 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT piege.cpp -o piege.o -DDATAfighter2.cpp: In constructor 'Fighter2::Fighter2(List*, float, float, float, int)': BUILDSTDERR: fighter2.cpp:33:9: warning: unused variable 'nb' [-Wunused-variable] BUILDSTDERR: 33 | int nb=random()%5; BUILDSTDERR: | ^~ BUILDSTDERR: fighter2.cpp: In member function 'virtual void Fighter2::collision(Sprite*)': BUILDSTDERR: fighter2.cpp:205:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] BUILDSTDERR: 205 | switch(contact->getType()) BUILDSTDERR: | ^ BUILDSTDERR: fighter2.cpp:205:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] BUILDSTDERR: fighter2.cpp:205:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] BUILDSTDERR: fighter2.cpp:205:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] BUILDSTDERR: fighter2.cpp:205:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] BUILDSTDERR: fighter2.cpp:205:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] BUILDSTDERR: fighter2.cpp:205:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] BUILDSTDERR: fighter2.cpp:205:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] BUILDSTDERR: fighter2.cpp:205:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] BUILDSTDERR: fighter2.cpp:205:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] BUILDSTDERR: fighter2.cpp:205:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] BUILDSTDERR: fighter2.cpp:205:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] BUILDSTDERR: fighter2.cpp:205:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] BUILDSTDERR: fighter2.cpp:205:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] BUILDSTDERR: fighter2.cpp:205:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] BUILDSTDERR: fighter2.cpp:205:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] BUILDSTDERR: fighter2.cpp:205:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] BUILDSTDERR: fighter2.cpp: In member function 'virtual void Fighter2Fire::collision(Sprite*)': BUILDSTDERR: fighter2.cpp:331:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] BUILDSTDERR: 331 | switch(contact->getType()) BUILDSTDERR: | ^ BUILDSTDERR: fighter2.cpp:331:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] BUILDSTDERR: fighter2.cpp:331:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] BUILDSTDERR: fighter2.cpp:331:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] BUILDSTDERR: fighter2.cpp:331:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] BUILDSTDERR: fighter2.cpp:331:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] BUILDSTDERR: fighter2.cpp:331:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] BUILDSTDERR: fighter2.cpp:331:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] BUILDSTDERR: fighter2.cpp:331:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] BUILDSTDERR: fighter2.cpp:331:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] BUILDSTDERR: fighter2.cpp:331:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] BUILDSTDERR: fighter2.cpp:331:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] BUILDSTDERR: fighter2.cpp:331:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] BUILDSTDERR: fighter2.cpp:331:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] BUILDSTDERR: fighter2.cpp:331:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] BUILDSTDERR: fighter2.cpp:331:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] BUILDSTDERR: fighter2.cpp:331:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] BUILDSTDERR: fighter2.cpp:331:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] BUILDSTDERR: fighter2.cpp:331:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] BUILDSTDERR: main.cpp: In function 'int main(int, char**)': BUILDSTDERR: main.cpp:233:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 233 | GLvar->module2 = Mix_LoadMUS(GLvar->getFullPath("samples/glax3.xm")); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:244:35: warning: deleting object of polymorphic class type 'ListSprite' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] BUILDSTDERR: 244 | delete scene->globalList; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: main.cpp:265:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 265 | GLvar->module1 = Mix_LoadMUS(GLvar->getFullPath("samples/glax.xm")); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:74:9: warning: unused variable 'keyA' [-Wunused-variable] BUILDSTDERR: 74 | int keyA=0; BUILDSTDERR: | ^~~~ BUILDSTDERR: main.cpp:75:9: warning: unused variable 'keyZ' [-Wunused-variable] BUILDSTDERR: 75 | int keyZ=0; BUILDSTDERR: | ^~~~ BUILDSTDERR: piege.cpp: In member function 'virtual void Piege::move()': BUILDSTDERR: piege.cpp:220:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 220 | if (ringing_) BUILDSTDERR: | ^~ BUILDSTDERR: piege.cpp:229:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 229 | switch(state_) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: piege.cpp: In member function 'virtual void Piege::collision(Sprite*)': BUILDSTDERR: piege.cpp:329:11: warning: enumeration value 'TYPE_MY_FIRE1' not handled in switch [-Wswitch] BUILDSTDERR: 329 | switch(contact->getType()) BUILDSTDERR: | ^ BUILDSTDERR: piege.cpp:329:11: warning: enumeration value 'TYPE_MY_FIRE2' not handled in switch [-Wswitch] BUILDSTDERR: piege.cpp:329:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] BUILDSTDERR: piege.cpp:329:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] BUILDSTDERR: piege.cpp:329:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] BUILDSTDERR: piege.cpp:329:11: warning: enumeration value 'TYPE_CUBE' not handled in switch [-Wswitch] BUILDSTDERR: piege.cpp:329:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] BUILDSTDERR: piege.cpp:329:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] BUILDSTDERR: piege.cpp:329:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] BUILDSTDERR: piege.cpp:329:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] BUILDSTDERR: piege.cpp:329:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] BUILDSTDERR: piege.cpp:329:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] BUILDSTDERR: piege.cpp:329:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] BUILDSTDERR: piege.cpp:329:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] BUILDSTDERR: piege.cpp:329:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] BUILDSTDERR: piege.cpp:329:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] BUILDSTDERR: piege.cpp:329:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] BUILDSTDERR: piege.cpp:329:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] BUILDSTDERR: piege.cpp:329:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] BUILDSTDERR: piege.cpp:329:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] BUILDSTDERR: piege.cpp:329:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] BUILDSTDERR: piege.cpp:329:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 DIR=\"/usr/share/glaxium\" g++ -g -o glaxium scratcher.o ship1.o glax_glut.o scene.o tache.o diamond.o myship.o explosion.o spirale.o bandit2.o pngtex.o list.o cube.o variables.o tank.o fire.o elem.o sprite.o fighter2.o listsprite.o main.o piege.o -lpng -lX11 -lGLU -lGL -lSDL_mixer -L/usr/X11R6/lib -lSDL -lpthread -lm Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.B657th + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/glaxium-0.5-32.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/glaxium-0.5-32.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/glaxium-0.5-32.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/glaxium-0.5-32.fc31.riscv64 + cd glaxium_0.5 + mkdir -p /builddir/build/BUILDROOT/glaxium-0.5-32.fc31.riscv64/usr/bin + echo 'warning: %makeinstall is deprecated, try %make_install instead' BUILDSTDERR: warning: %makeinstall is deprecated, try %make_install instead + /usr/bin/make prefix=/builddir/build/BUILDROOT/glaxium-0.5-32.fc31.riscv64/usr exec_prefix=/builddir/build/BUILDROOT/glaxium-0.5-32.fc31.riscv64/usr bindir=/builddir/build/BUILDROOT/glaxium-0.5-32.fc31.riscv64/usr/bin sbindir=/builddir/build/BUILDROOT/glaxium-0.5-32.fc31.riscv64/usr/sbin sysconfdir=/builddir/build/BUILDROOT/glaxium-0.5-32.fc31.riscv64/etc datadir=/builddir/build/BUILDROOT/glaxium-0.5-32.fc31.riscv64/usr/share includedir=/builddir/build/BUILDROOT/glaxium-0.5-32.fc31.riscv64/usr/include libdir=/builddir/build/BUILDROOT/glaxium-0.5-32.fc31.riscv64/usr/lib64 libexecdir=/builddir/build/BUILDROOT/glaxium-0.5-32.fc31.riscv64/usr/libexec localstatedir=/builddir/build/BUILDROOT/glaxium-0.5-32.fc31.riscv64/var sharedstatedir=/builddir/build/BUILDROOT/glaxium-0.5-32.fc31.riscv64/var/lib mandir=/builddir/build/BUILDROOT/glaxium-0.5-32.fc31.riscv64/usr/share/man infodir=/builddir/build/BUILDROOT/glaxium-0.5-32.fc31.riscv64/usr/share/info install + ln -s opengl-game-wrapper.sh /builddir/build/BUILDROOT/glaxium-0.5-32.fc31.riscv64/usr/bin/glaxium-wrapper + mkdir -p /builddir/build/BUILDROOT/glaxium-0.5-32.fc31.riscv64/usr/share/applications + desktop-file-install --dir /builddir/build/BUILDROOT/glaxium-0.5-32.fc31.riscv64/usr/share/applications /builddir/build/SOURCES/glaxium.desktop + mkdir -p /builddir/build/BUILDROOT/glaxium-0.5-32.fc31.riscv64/usr/share/icons/hicolor/128x128/apps + install -p -m 644 /builddir/build/SOURCES/glaxium.png /builddir/build/BUILDROOT/glaxium-0.5-32.fc31.riscv64/usr/share/icons/hicolor/128x128/apps + mkdir -p /builddir/build/BUILDROOT/glaxium-0.5-32.fc31.riscv64/usr/share/appdata + install -p -m 644 /builddir/build/SOURCES/glaxium.appdata.xml /builddir/build/BUILDROOT/glaxium-0.5-32.fc31.riscv64/usr/share/appdata + appstream-util validate-relax --nonet /builddir/build/BUILDROOT/glaxium-0.5-32.fc31.riscv64/usr/share/appdata/glaxium.appdata.xml BUILDSTDERR: GLib-GIO-Message: 09:29:16.166: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications. + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.5-32.fc31 --unique-debug-suffix -0.5-32.fc31.riscv64 --unique-debug-src-base glaxium-0.5-32.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/glaxium_0.5 BUILDSTDERR: 1432 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /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 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Instaling glaxium in /builddir/build/BUILDROOT/glaxium-0.5-32.fc31.riscv64/usr/bin and its data in /builddir/build/BUILDROOT/glaxium-0.5-32.fc31.riscv64/usr/share/glaxium /builddir/build/BUILDROOT/glaxium-0.5-32.fc31.riscv64/usr/share/appdata/glaxium.appdata.xml: OK explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/glaxium-0.5-32.fc31.riscv64/usr/bin/glaxium extracting debug info from /builddir/build/BUILDROOT/glaxium-0.5-32.fc31.riscv64/usr/bin/glaxium original debug info size: 884kB, size after compression: 620kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: glaxium-0.5-32.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.j7e9sh + umask 022 + cd /builddir/build/BUILD + cd glaxium_0.5 + DOCDIR=/builddir/build/BUILDROOT/glaxium-0.5-32.fc31.riscv64/usr/share/doc/glaxium + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/glaxium-0.5-32.fc31.riscv64/usr/share/doc/glaxium + cp -pr CHANGES.txt /builddir/build/BUILDROOT/glaxium-0.5-32.fc31.riscv64/usr/share/doc/glaxium + cp -pr LICENSE /builddir/build/BUILDROOT/glaxium-0.5-32.fc31.riscv64/usr/share/doc/glaxium + cp -pr README.txt /builddir/build/BUILDROOT/glaxium-0.5-32.fc31.riscv64/usr/share/doc/glaxium + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: application() application(glaxium.desktop) glaxium = 0.5-32.fc31 glaxium(riscv-64) = 0.5-32.fc31 metainfo() metainfo(glaxium.appdata.xml) 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) libSDL-1.2.so.0()(64bit) libSDL_mixer-1.2.so.0()(64bit) libX11.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(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) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libpthread.so.0()(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: glaxium-debugsource-0.5-32.fc31.riscv64 Provides: glaxium-debugsource = 0.5-32.fc31 glaxium-debugsource(riscv-64) = 0.5-32.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: glaxium-debuginfo-0.5-32.fc31.riscv64 Provides: debuginfo(build-id) = ef11287cf859a4712159a1198caceb2c713e03e5 glaxium-debuginfo = 0.5-32.fc31 glaxium-debuginfo(riscv-64) = 0.5-32.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: glaxium-debugsource(riscv-64) = 0.5-32.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/glaxium-0.5-32.fc31.riscv64 Wrote: /builddir/build/RPMS/glaxium-debuginfo-0.5-32.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/glaxium-debugsource-0.5-32.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/glaxium-0.5-32.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.EBtZai + umask 022 + cd /builddir/build/BUILD + cd glaxium_0.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/glaxium-0.5-32.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0