Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/glaxium.spec'], chrootPath='/var/lib/mock/f30-build-37877-21837/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/glaxium-0.5-30.fc30.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/f30-build-37877-21837/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.R2EV20 + 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):' Patch #0 (glaxium-0.5-fixes.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file scratcher.hpp patching file tank.hpp patching file variables.cpp patching file Makefile.in + echo 'Patch #1 (glaxium_0.5-allow-running-when-dsp-busy.patch):' Patch #1 (glaxium_0.5-allow-running-when-dsp-busy.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file main.cpp patching file sprite.cpp patching file variables.cpp patching file variables.hpp + echo 'Patch #2 (glaxium_0.5-glutInit.patch):' Patch #2 (glaxium_0.5-glutInit.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file main.cpp + echo 'Patch #3 (glaxium_0.5-rh553067.patch):' Patch #3 (glaxium_0.5-rh553067.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file tank.cpp patching file elem.cpp + echo 'Patch #4 (glaxium_0.5-64bit-crash.patch):' Patch #4 (glaxium_0.5-64bit-crash.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file scene.cpp + echo 'Patch #5 (glaxium_0.5-fighter2_meshes-fix.patch):' Patch #5 (glaxium_0.5-fighter2_meshes-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file fighter2.cpp Patch #6 (0001-Stop-mixing-glut-and-SDL-usage.patch): + echo 'Patch #6 (0001-Stop-mixing-glut-and-SDL-usage.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 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 + 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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5Dmb6X + 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-redhat-linux-gnu --host=riscv64-redhat-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 checking for riscv64-redhat-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-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl.exe... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-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 BUILDSTDERR: config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating conf.h BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 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 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\" BUILDSTDERR: scratcher.cpp: In constructor 'Scratcher::Scratcher(List*, float, float, int)': BUILDSTDERR: scratcher.cpp:99:11: warning: unused variable 'dist' [-Wunused-variable] BUILDSTDERR: 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: 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: 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: 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: 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: int i,j,k; BUILDSTDERR: ^ BUILDSTDERR: scene.cpp:256:10: warning: unused variable 'k' [-Wunused-variable] BUILDSTDERR: 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: 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: if (GLvar->texture_floorMap[texture]!=oldFloor) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: scene.cpp:378:16: warning: unused variable 'dot3LightX' [-Wunused-variable] BUILDSTDERR: static float dot3LightX = 0; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: scene.cpp:379:15: warning: unused variable 'cpt' [-Wunused-variable] BUILDSTDERR: 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: int i; BUILDSTDERR: ^ BUILDSTDERR: scene.cpp: In member function 'void Scene::drawFPS()': BUILDSTDERR: scene.cpp:1056:6: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int i; BUILDSTDERR: ^ BUILDSTDERR: scene.cpp:1057:6: warning: variable 'diff' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int diff; 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 diamond.cpp -o diamond.o -DDATADIR=\"/usr/share/glaxium\" BUILDSTDERR: scene.cpp: In member function 'void Scene::drawFPSBench()': BUILDSTDERR: scene.cpp:2078:6: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int i; BUILDSTDERR: ^ BUILDSTDERR: scene.cpp:2079:6: warning: variable 'diff' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int diff; BUILDSTDERR: ^~~~ BUILDSTDERR: scene.cpp: In member function 'void Scene::drawMenu()': BUILDSTDERR: scene.cpp:2115:6: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 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: static int benchTime; 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 myship.cpp -o myship.o -DDATADIR=\"/usr/share/glaxium\" BUILDSTDERR: scene.cpp:2342:10: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 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: static float cpt=0; BUILDSTDERR: ^~~ BUILDSTDERR: scene.cpp:378:16: warning: 'dot3LightX' defined but not used [-Wunused-variable] BUILDSTDERR: static float dot3LightX = 0; 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 glax_glut.cpp -o glax_glut.o -DDATADIR=\"/usr/share/glaxium\" 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: 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: 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: 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: 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: Sprite *explode; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: myship.cpp:611:12: warning: enumeration value 'UNTOUCHABLE' not handled in switch [-Wswitch] BUILDSTDERR: switch (state_) 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 explosion.cpp -o explosion.o -DDATADIR=\"/usr/share/glaxium\" 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: 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] 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\" BUILDSTDERR: explosion.cpp: In member function 'virtual void PieceOfShip::drawShadowable()': BUILDSTDERR: explosion.cpp:220:11: warning: unused variable 'pColor' [-Wunused-variable] BUILDSTDERR: float pColor[] = {1.0,1.0,1.0,1.0}; 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 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 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 list.cpp -o list.o -DDATADIR=\"/usr/share/glaxium\" 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: fread( header, 1, sizeof(header), fp); 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 cube.cpp -o cube.o -DDATADIR=\"/usr/share/glaxium\" BUILDSTDERR: bandit2.cpp: In constructor 'Bandit2::Bandit2(List*, float, float, float, int)': BUILDSTDERR: bandit2.cpp:33:9: warning: unused variable 'nb' [-Wunused-variable] BUILDSTDERR: 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: 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: 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] 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 main.cpp -o main.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\" BUILDSTDERR: cube.cpp: In member function 'virtual void Cube::collision(Sprite*)': BUILDSTDERR: cube.cpp:267:24: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: static int i=0; BUILDSTDERR: ^ BUILDSTDERR: cube.cpp:231:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] BUILDSTDERR: 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: cube.cpp: At global scope: BUILDSTDERR: cube.cpp:267:24: warning: 'i' defined but not used [-Wunused-variable] BUILDSTDERR: static int i=0; BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: }; BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: variables.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: variables.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: variables.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: variables.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: variables.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: variables.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: variables.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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: 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: 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: 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: space_name[3] = "textures/space2.png"; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: variables.cpp: In member function 'void GlaxiumVariables::initTextures()': BUILDSTDERR: variables.cpp:229:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: initTexture(texture_floorMap[0], "textures/floormap.png"); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:232:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: initTexture(texture_floorMap[1], "textures/floormap1.png"); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:235:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: initTexture(texture_floorMap[2], "textures/floormap2.png"); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:238:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: initTexture(texture_floorMap[3], "textures/floormap3.png"); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:241:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: initTexture(texture_floorMap[4], "textures/floormap4.png"); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:245:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: initTexture(texture_mark, "textures/mark.png"); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:246:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: initTexture(texture_building, "textures/cube.png"); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:247:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: initTexture(texture_tache, "textures/tache.png"); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:248:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: initTexture(texture_deadtache, "textures/deadtache.png"); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:249:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: initTexture(texture_camouflage, "textures/camouflage.png"); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:250:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: initTexture(texture_thunder, "textures/thunder.png"); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:251:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: initTexture(texture_specialeffect1, "textures/effect1.png"); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:253:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: initTexture(texture_chaine, "textures/chain.png"); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:254:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: initTexture(texture_myship, "textures/myship.png"); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:255:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: initTexture(texture_piege, "textures/piege.png"); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:256:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: initTexture(texture_bandit1, "textures/bandit1.png"); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:257:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: initTexture(texture_fire3, "textures/missile.png"); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:258:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: initTexture(texture_fighter2, "textures/fighter2.png"); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:260:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: initTexture(texture_bandit2, "textures/bandit2.png"); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:261:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: initTexture(texture_sphere, "textures/sphere.png"); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:263:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: initTexture(texture_fumee[0], "textures/fumee1.png"); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:264:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: initTexture(texture_fumee[1], "textures/fumee2.png"); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:265:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: initTexture(texture_fumee[2], "textures/fumee3.png"); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:267:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: initTexture(texture_gameover, "textures/gameover.png"); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:268:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: initTexture(texture_board, "textures/board.png"); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:269:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: initTexture(texture_galaxy, "textures/galaxy.png"); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:271:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: initTexture(texture_capsule[Diamond::POWER], "textures/capsule_shield.png"); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:272:84: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: initTexture(texture_capsule[Diamond::POWERUP], "textures/capsule_power.png"); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:273:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: initTexture(texture_capsule[Diamond::BOMB], "textures/capsule_bomb.png"); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:274:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: initTexture(texture_capsule[Diamond::INVUL], "textures/capsule_invul.png"); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:276:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: initTexture(texture_floor[0], "textures/floor.png"); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:277:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: initTexture(texture_letters, "textures/chars.png"); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:281:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: initTexture(texture_floor[1], "textures/floor1.png"); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:284:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: initTexture(texture_floor[2], "textures/floor2.png"); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:287:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: initTexture(texture_floor[3], "textures/floor3.png"); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:290:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: initTexture(texture_floor[4], "textures/floor4.png"); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:293:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: initTexture(texture_border, "textures/border2.png"); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp:308:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: texture = new PngTex(getFullPath("textures/glax2.png")); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp: In member function 'void GlaxiumVariables::initSound()': BUILDSTDERR: variables.cpp:367:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: module2 = Mix_LoadMUS(getFullPath("samples/glax3.xm")); BUILDSTDERR: ^ BUILDSTDERR: variables.cpp: In member function 'void GlaxiumVariables::initInstallDir()': BUILDSTDERR: variables.cpp:401:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: installDir = DATADIR"/"; BUILDSTDERR: ^~~ BUILDSTDERR: variables.cpp:404:10: warning: too many arguments for format [-Wformat-extra-args] BUILDSTDERR: printf("Found textures in ./\n", DATADIR); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ 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: 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: 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: fscanf(fOptions, "%d %d %d %d", &filter, &anis, &details, &nShad); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp: In function 'int main(int, char**)': BUILDSTDERR: main.cpp:233:87: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 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: delete scene->globalList; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: main.cpp:265:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: GLvar->module1 = Mix_LoadMUS(GLvar->getFullPath("samples/glax.xm")); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:74:9: warning: unused variable 'keyA' [-Wunused-variable] BUILDSTDERR: int keyA=0; BUILDSTDERR: ^~~~ BUILDSTDERR: main.cpp:75:9: warning: unused variable 'keyZ' [-Wunused-variable] BUILDSTDERR: int keyZ=0; 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 listsprite.cpp -o listsprite.o -DDATADIR=\"/usr/share/glaxium\" 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: 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: 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: 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] 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 fighter2.cpp -o fighter2.o -DDATADIR=\"/usr/share/glaxium\" BUILDSTDERR: listsprite.cpp: In member function 'void ListSprite::move()': BUILDSTDERR: listsprite.cpp:96:9: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int i=0; 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 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 piege.cpp -o piege.o -DDATADIR=\"/usr/share/glaxium\" 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: 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: 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: 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: 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: fighter2.cpp: In constructor 'Fighter2::Fighter2(List*, float, float, float, int)': BUILDSTDERR: fighter2.cpp:33:9: warning: unused variable 'nb' [-Wunused-variable] BUILDSTDERR: 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: 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: 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: 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: 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: piege.cpp: In member function 'virtual void Piege::move()': BUILDSTDERR: piege.cpp:220:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 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: 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: 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] g++ -g -o glaxium scratcher.o ship1.o scene.o tache.o diamond.o myship.o glax_glut.o explosion.o sprite.o bandit2.o pngtex.o elem.o list.o cube.o variables.o main.o tank.o listsprite.o fire.o fighter2.o spirale.o piege.o -lpng -lX11 -lGLU -lGL -lSDL_mixer -L/usr/X11R6/lib -lSDL -lpthread -lm + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.JBFnBL + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/glaxium-0.5-30.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/glaxium-0.5-30.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/glaxium-0.5-30.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/glaxium-0.5-30.fc30.riscv64 + cd glaxium_0.5 + mkdir -p /builddir/build/BUILDROOT/glaxium-0.5-30.fc30.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-30.fc30.riscv64/usr exec_prefix=/builddir/build/BUILDROOT/glaxium-0.5-30.fc30.riscv64/usr bindir=/builddir/build/BUILDROOT/glaxium-0.5-30.fc30.riscv64/usr/bin sbindir=/builddir/build/BUILDROOT/glaxium-0.5-30.fc30.riscv64/usr/sbin sysconfdir=/builddir/build/BUILDROOT/glaxium-0.5-30.fc30.riscv64/etc datadir=/builddir/build/BUILDROOT/glaxium-0.5-30.fc30.riscv64/usr/share includedir=/builddir/build/BUILDROOT/glaxium-0.5-30.fc30.riscv64/usr/include libdir=/builddir/build/BUILDROOT/glaxium-0.5-30.fc30.riscv64/usr/lib64 libexecdir=/builddir/build/BUILDROOT/glaxium-0.5-30.fc30.riscv64/usr/libexec localstatedir=/builddir/build/BUILDROOT/glaxium-0.5-30.fc30.riscv64/var sharedstatedir=/builddir/build/BUILDROOT/glaxium-0.5-30.fc30.riscv64/var/lib mandir=/builddir/build/BUILDROOT/glaxium-0.5-30.fc30.riscv64/usr/share/man infodir=/builddir/build/BUILDROOT/glaxium-0.5-30.fc30.riscv64/usr/share/info install Instaling glaxium in /builddir/build/BUILDROOT/glaxium-0.5-30.fc30.riscv64/usr/bin and its data in /builddir/build/BUILDROOT/glaxium-0.5-30.fc30.riscv64/usr/share/glaxium + ln -s opengl-game-wrapper.sh /builddir/build/BUILDROOT/glaxium-0.5-30.fc30.riscv64/usr/bin/glaxium-wrapper + mkdir -p /builddir/build/BUILDROOT/glaxium-0.5-30.fc30.riscv64/usr/share/applications + desktop-file-install --dir /builddir/build/BUILDROOT/glaxium-0.5-30.fc30.riscv64/usr/share/applications /builddir/build/SOURCES/glaxium.desktop + mkdir -p /builddir/build/BUILDROOT/glaxium-0.5-30.fc30.riscv64/usr/share/icons/hicolor/128x128/apps + install -p -m 644 /builddir/build/SOURCES/glaxium.png /builddir/build/BUILDROOT/glaxium-0.5-30.fc30.riscv64/usr/share/icons/hicolor/128x128/apps + mkdir -p /builddir/build/BUILDROOT/glaxium-0.5-30.fc30.riscv64/usr/share/appdata + install -p -m 644 /builddir/build/SOURCES/glaxium.appdata.xml /builddir/build/BUILDROOT/glaxium-0.5-30.fc30.riscv64/usr/share/appdata + appstream-util validate-relax --nonet /builddir/build/BUILDROOT/glaxium-0.5-30.fc30.riscv64/usr/share/appdata/glaxium.appdata.xml BUILDSTDERR: /builddir/build/BUILDROOT/glaxium-0.5-30.fc30.riscv64/usr/share/appdata/glaxium.appdata.xml: GLib-GIO-Message: 14:32:27.962: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications. OK + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.5-30.fc30 --unique-debug-suffix -0.5-30.fc30.riscv64 --unique-debug-src-base glaxium-0.5-30.fc30.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/glaxium_0.5 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/glaxium-0.5-30.fc30.riscv64/usr/bin/glaxium extracting debug info from /builddir/build/BUILDROOT/glaxium-0.5-30.fc30.riscv64/usr/bin/glaxium /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 1432 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 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: glaxium-0.5-30.fc30.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.kg31XX + umask 022 + cd /builddir/build/BUILD + cd glaxium_0.5 + DOCDIR=/builddir/build/BUILDROOT/glaxium-0.5-30.fc30.riscv64/usr/share/doc/glaxium + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/glaxium-0.5-30.fc30.riscv64/usr/share/doc/glaxium + cp -pr CHANGES.txt /builddir/build/BUILDROOT/glaxium-0.5-30.fc30.riscv64/usr/share/doc/glaxium + cp -pr LICENSE /builddir/build/BUILDROOT/glaxium-0.5-30.fc30.riscv64/usr/share/doc/glaxium + cp -pr README.txt /builddir/build/BUILDROOT/glaxium-0.5-30.fc30.riscv64/usr/share/doc/glaxium + exit 0 Provides: application() application(glaxium.desktop) glaxium = 0.5-30.fc30 glaxium(riscv-64) = 0.5-30.fc30 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-30.fc30.riscv64 Provides: glaxium-debugsource = 0.5-30.fc30 glaxium-debugsource(riscv-64) = 0.5-30.fc30 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-30.fc30.riscv64 Provides: debuginfo(build-id) = 8bbb121f640d87b13e8f2fdd9754190e851b4654 glaxium-debuginfo = 0.5-30.fc30 glaxium-debuginfo(riscv-64) = 0.5-30.fc30 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-30.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/glaxium-0.5-30.fc30.riscv64 Wrote: /builddir/build/RPMS/glaxium-0.5-30.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/glaxium-debugsource-0.5-30.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/glaxium-debuginfo-0.5-30.fc30.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.6drCsk + umask 022 + cd /builddir/build/BUILD + cd glaxium_0.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/glaxium-0.5-30.fc30.riscv64 + exit 0 Child return code was: 0