<86>Dec 17 01:04:57 userdel[55210]: delete user 'rooter' <86>Dec 17 01:04:57 groupadd[55329]: group added to /etc/group: name=rooter, GID=627 <86>Dec 17 01:04:57 groupadd[55329]: group added to /etc/gshadow: name=rooter <86>Dec 17 01:04:57 groupadd[55329]: new group: name=rooter, GID=627 <86>Dec 17 01:04:57 useradd[55410]: new user: name=rooter, UID=627, GID=627, home=/root, shell=/bin/bash <86>Dec 17 01:04:57 userdel[55609]: delete user 'builder' <86>Dec 17 01:04:57 userdel[55609]: removed group 'builder' owned by 'builder' <86>Dec 17 01:04:57 userdel[55609]: removed shadow group 'builder' owned by 'builder' <86>Dec 17 01:04:57 groupadd[55711]: group added to /etc/group: name=builder, GID=628 <86>Dec 17 01:04:57 groupadd[55711]: group added to /etc/gshadow: name=builder <86>Dec 17 01:04:57 groupadd[55711]: new group: name=builder, GID=628 <86>Dec 17 01:04:57 useradd[55749]: new user: name=builder, UID=628, GID=628, home=/usr/src, shell=/bin/bash <13>Dec 17 01:05:01 rpmi: xorg-proto-devel-2018.4-alt3 1527685079 installed <13>Dec 17 01:05:01 rpmi: libogg-1.3.3-alt1 sisyphus.217914.100 1545006089 installed <13>Dec 17 01:05:01 rpmi: libglvnd-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed <13>Dec 17 01:05:01 rpmi: libflac8-1.3.2-alt1 1507623526 installed <13>Dec 17 01:05:01 rpmi: libvorbis-1.3.6-alt1 1528307803 installed <13>Dec 17 01:05:01 rpmi: libICE-1.0.9-alt1 1409902719 installed <13>Dec 17 01:05:01 rpmi: libSM-1.2.3-alt1 sisyphus.215747.100 1540812760 installed <13>Dec 17 01:05:01 rpmi: libalsa-1:1.1.7-alt1 sisyphus.215150.100 1539797654 installed <13>Dec 17 01:05:01 rpmi: libexpat-2.2.4-alt1 1503305341 installed <13>Dec 17 01:05:01 rpmi: libwayland-server-1.16.0-alt1 1535614868 installed <13>Dec 17 01:05:01 rpmi: libpng16-1.6.35-alt1 sisyphus.214397.100 1539159326 installed <13>Dec 17 01:05:01 rpmi: libslang2-2.3.2-alt1 1534746867 installed <13>Dec 17 01:05:01 rpmi: libXau-1.0.8-alt1 1369565807 installed <13>Dec 17 01:05:01 rpmi: libXau-devel-1.0.8-alt1 1369565807 installed <13>Dec 17 01:05:01 rpmi: libICE-devel-1.0.9-alt1 1409902719 installed <13>Dec 17 01:05:01 rpmi: libSM-devel-1.2.3-alt1 sisyphus.215747.100 1540812760 installed <13>Dec 17 01:05:01 rpmi: libaudiofile1-0.3.6-alt3 sisyphus.217432.100 1544114998 installed <13>Dec 17 01:05:01 rpmi: libOpenGL-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed <13>Dec 17 01:05:01 rpmi: libGLES-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed <13>Dec 17 01:05:01 rpmi: libogg-devel-1.3.3-alt1 sisyphus.217914.100 1545006089 installed <13>Dec 17 01:05:01 rpmi: zlib-devel-1.2.11-alt1 sisyphus.217171.100 1543710738 installed <13>Dec 17 01:05:01 rpmi: libmad-0.15.1b-alt8.2 1519202945 installed <13>Dec 17 01:05:01 rpmi: timidity-instruments-1:1.0-alt1 1166705614 installed <13>Dec 17 01:05:01 rpmi: libgsm-1.0.17-alt1 1523356157 installed <13>Dec 17 01:05:01 rpmi: libsndfile-1.0.28-alt2 sisyphus.212728.100 1536333060 installed <13>Dec 17 01:05:01 rpmi: liblz4-1:1.8.3-alt1 sisyphus.213737.100 1538009646 installed <13>Dec 17 01:05:01 rpmi: libgpg-error-1.31-alt1.S1 1529015796 installed <13>Dec 17 01:05:01 rpmi: libgcrypt20-1.8.3-alt3 sisyphus.214019.140 1538990261 installed <13>Dec 17 01:05:01 rpmi: libsystemd-1:239-alt3 sisyphus.215710.300 1540765573 installed <13>Dec 17 01:05:01 rpmi: libdbus-1.12.12-alt1 sisyphus.217336.100 1544000947 installed <13>Dec 17 01:05:01 rpmi: libasyncns-0.8-alt2.qa1 1365949819 installed <13>Dec 17 01:05:01 rpmi: libxshmfence-1.2-alt2 1518613549 installed <13>Dec 17 01:05:01 rpmi: libwayland-client-1.16.0-alt1 1535614868 installed <13>Dec 17 01:05:01 rpmi: libpciaccess-1:0.14-alt1 1528969624 installed <13>Dec 17 01:05:01 rpmi: libdrm-1:2.4.96-alt1 sisyphus.215486.100 1540374008 installed <13>Dec 17 01:05:01 rpmi: libgbm-4:18.3.1-alt1 sisyphus.217710.100 1544602495 installed <13>Dec 17 01:05:01 rpmi: gcc-c++-common-1.4.22-alt1 1519183788 installed <13>Dec 17 01:05:01 rpmi: libstdc++8-devel-8.2.1-alt1 sisyphus.214000.20 1542662172 installed <13>Dec 17 01:05:02 rpmi: gcc8-c++-8.2.1-alt1 sisyphus.214000.20 1542662172 installed <13>Dec 17 01:05:02 rpmi: libX11-locales-3:1.6.7-alt1 sisyphus.214413.200 1539171080 installed <13>Dec 17 01:05:02 rpmi: libXdmcp-1.1.1-alt1 1334617699 installed <13>Dec 17 01:05:02 rpmi: libxcb-1.13.1-alt1 sisyphus.214413.100 1539170828 installed <13>Dec 17 01:05:02 rpmi: libX11-3:1.6.7-alt1 sisyphus.214413.200 1539171080 installed <13>Dec 17 01:05:02 rpmi: libXext-1.3.3-alt1 1409902932 installed <13>Dec 17 01:05:02 rpmi: libXxf86vm-1.1.4-alt2 1527672159 installed <13>Dec 17 01:05:02 rpmi: libXi-1.7.9-alt1.S1 1515755338 installed <13>Dec 17 01:05:02 rpmi: libXfixes-5.0.3-alt1 sisyphus.216396.300 1542022144 installed <13>Dec 17 01:05:02 rpmi: libXt-1.1.4-alt1 1369984716 installed <13>Dec 17 01:05:02 rpmi: libpulseaudio-12.2-alt1 1535623578 installed <13>Dec 17 01:05:02 rpmi: libmikmod-3.3.11.1-alt2 1502706813 installed <13>Dec 17 01:05:02 rpmi: libXmu-1.1.2-alt1 1391072528 installed <13>Dec 17 01:05:02 rpmi: libXdamage-1.1.3-alt4 1297162596 installed <13>Dec 17 01:05:02 rpmi: libGLX-mesa-4:18.3.1-alt1 sisyphus.217710.100 1544602495 installed <13>Dec 17 01:05:02 rpmi: libEGL-mesa-4:18.3.1-alt1 sisyphus.217710.100 1544602495 installed <13>Dec 17 01:05:02 rpmi: libEGL-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed <13>Dec 17 01:05:02 rpmi: libGLX-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed <13>Dec 17 01:05:02 rpmi: libGL-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed <13>Dec 17 01:05:02 rpmi: libglvnd-devel-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed <13>Dec 17 01:05:02 rpmi: libGLU-4:9.0.0-alt1 1347643776 installed <13>Dec 17 01:05:02 rpmi: libXrender-0.9.8-alt1 1371312110 installed <13>Dec 17 01:05:02 rpmi: libXrandr-1.5.0-alt1 1431936188 installed <13>Dec 17 01:05:02 rpmi: libSDL-1.2.14-alt7 1483707267 installed <13>Dec 17 01:05:02 rpmi: libSDL_mixer-1.2.12-alt1 1421435872 installed <13>Dec 17 01:05:02 rpmi: libsmpeg-0.4.5-alt2.svn20120121 1510833820 installed <13>Dec 17 01:05:02 rpmi: libfreeglut-3.0.0-alt3 sisyphus.215254.100 1540853073 installed <13>Dec 17 01:05:04 rpmi: libxcb-devel-1.13.1-alt1 sisyphus.214413.100 1539170828 installed <13>Dec 17 01:05:04 rpmi: libX11-devel-3:1.6.7-alt1 sisyphus.214413.200 1539171080 installed <13>Dec 17 01:05:04 rpmi: libEGL-devel-4:18.3.1-alt1 sisyphus.217710.100 1544602495 installed <13>Dec 17 01:05:04 rpmi: libGL-devel-4:18.3.1-alt1 sisyphus.217710.100 1544602495 installed <13>Dec 17 01:05:04 rpmi: libGLU-devel-4:9.0.0-alt1 1347643776 installed <13>Dec 17 01:05:04 rpmi: libSDL-devel-1.2.14-alt7 1483707267 installed <13>Dec 17 01:05:04 rpmi: libXext-devel-1.3.3-alt1 1409902932 installed <13>Dec 17 01:05:04 rpmi: libXfixes-devel-5.0.3-alt1 sisyphus.216396.300 1542022144 installed <13>Dec 17 01:05:04 rpmi: libXt-devel-1.1.4-alt1 1369984716 installed <13>Dec 17 01:05:04 rpmi: libXmu-devel-1.1.2-alt1 1391072528 installed <13>Dec 17 01:05:04 rpmi: libXi-devel-1.7.9-alt1.S1 1515755338 installed <13>Dec 17 01:05:04 rpmi: libSDL_mixer-devel-1.2.12-alt1 1421435872 installed <13>Dec 17 01:05:04 rpmi: libfreeglut-devel-3.0.0-alt3 sisyphus.215254.100 1540853073 installed <13>Dec 17 01:05:04 rpmi: libsmpeg-devel-0.4.5-alt2.svn20120121 1510833820 installed <13>Dec 17 01:05:04 rpmi: aalib-1.4-alt8rc5 1460743513 installed <13>Dec 17 01:05:04 rpmi: gcc-c++-8-alt1 sisyphus.214000.40 1542664792 installed <13>Dec 17 01:05:04 rpmi: libpng-devel-1.6.35-alt1 sisyphus.214397.100 1539159326 installed <13>Dec 17 01:05:04 rpmi: libvorbis-devel-1.3.6-alt1 1528307803 installed <13>Dec 17 01:05:04 rpmi: libaudiofile-devel-0.3.6-alt3 sisyphus.217432.100 1544114998 installed <13>Dec 17 01:05:04 rpmi: libslang2-devel-2.3.2-alt1 1534746867 installed <13>Dec 17 01:05:04 rpmi: libalsa-devel-1:1.1.7-alt1 sisyphus.215150.100 1539797654 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/glaxium-0.5-alt6.1.qa4.nosrc.rpm Installing glaxium-0.5-alt6.1.qa4.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.9432 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf glaxium_0.5 + echo 'Source #0 (glaxium_0.5.tar.gz):' Source #0 (glaxium_0.5.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/glaxium_0.5.tar.gz + /bin/tar -xf - + cd glaxium_0.5 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (glaxium_0.5_gl.patch):' Patch #1 (glaxium_0.5_gl.patch): + /usr/bin/patch -p1 patching file myship.cpp patching file scene.cpp patching file variables.cpp + echo 'Patch #2 (glaxium_0.5_fix_stencil.patch):' Patch #2 (glaxium_0.5_fix_stencil.patch): + /usr/bin/patch -p1 patching file main.cpp + echo 'Patch #3 (glaxium-0.5-gcc41.patch):' Patch #3 (glaxium-0.5-gcc41.patch): + /usr/bin/patch -p0 patching file tank.hpp patching file scratcher.hpp + echo 'Patch #4 (glaxium-0.5-glut_initialisation.patch):' Patch #4 (glaxium-0.5-glut_initialisation.patch): + /usr/bin/patch -p1 patching file main.cpp Hunk #1 succeeded at 143 with fuzz 2. + echo 'Patch #5 (glaxium-0.5-alt-src-crash_fix.patch):' Patch #5 (glaxium-0.5-alt-src-crash_fix.patch): + /usr/bin/patch -p2 patching file variables.cpp + echo 'Patch #6 (glaxium-0.5-alt-DSO.patch):' Patch #6 (glaxium-0.5-alt-DSO.patch): + /usr/bin/patch -p2 patching file Makefile.in + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.81640 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd glaxium_0.5 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-included-gettext checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for x86_64-alt-linux-g++... x86_64-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-alt-linux-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 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... yes checking for XmuScanlineNot in -lXmu... yes checking for glutBitmapCharacter in -lglut... yes 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/glut.h usability... yes checking GL/glut.h presence... yes checking for GL/glut.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 + make -j8 make: Entering directory '/usr/src/RPM/BUILD/glaxium_0.5' x86_64-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT spirale.cpp -o spirale.o -DDATADIR=\"/usr/share/games/glaxium\" spirale.cpp: In member function 'virtual void Spirale::collision(Sprite*)': spirale.cpp:149:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] switch(contact->getType()) ^ spirale.cpp:149:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] spirale.cpp:149:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] spirale.cpp:149:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] spirale.cpp:149:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] spirale.cpp:149:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] spirale.cpp:149:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] spirale.cpp:149:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] spirale.cpp:149:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] spirale.cpp:149:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] spirale.cpp:149:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] spirale.cpp:149:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] spirale.cpp:149:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] spirale.cpp:149:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] spirale.cpp:149:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] spirale.cpp:149:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] make: Leaving directory '/usr/src/RPM/BUILD/glaxium_0.5' make: Entering directory '/usr/src/RPM/BUILD/glaxium_0.5' x86_64-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT scratcher.cpp -o scratcher.o -DDATADIR=\"/usr/share/games/glaxium\" scratcher.cpp: In constructor 'Scratcher::Scratcher(List*, float, float, int)': scratcher.cpp:102:11: warning: unused variable 'dist' [-Wunused-variable] float dist = (float)sqrt(dx*dx+dz*dz); ^~~~ scratcher.cpp: In member function 'virtual void Scratcher::collision(Sprite*)': scratcher.cpp:164:11: warning: enumeration value 'TYPE_MY_SPACE_SHIP' not handled in switch [-Wswitch] switch(contact->getType()) ^ scratcher.cpp:164:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] scratcher.cpp:164:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] scratcher.cpp:164:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] scratcher.cpp:164:11: warning: enumeration value 'TYPE_CUBE' not handled in switch [-Wswitch] scratcher.cpp:164:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] scratcher.cpp:164:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] scratcher.cpp:164:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] scratcher.cpp:164:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] scratcher.cpp:164:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] scratcher.cpp:164:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] scratcher.cpp:164:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] scratcher.cpp:164:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] scratcher.cpp:164:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] scratcher.cpp:164:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] scratcher.cpp:164:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] scratcher.cpp:164:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] scratcher.cpp:164:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] scratcher.cpp:164:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] scratcher.cpp:164:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] scratcher.cpp:164:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] make: Leaving directory '/usr/src/RPM/BUILD/glaxium_0.5' make: Entering directory '/usr/src/RPM/BUILD/glaxium_0.5' x86_64-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT sprite.cpp -o sprite.o -DDATADIR=\"/usr/share/games/glaxium\" make: Leaving directory '/usr/src/RPM/BUILD/glaxium_0.5' make: Entering directory '/usr/src/RPM/BUILD/glaxium_0.5' x86_64-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT list.cpp -o list.o -DDATADIR=\"/usr/share/games/glaxium\" make: Leaving directory '/usr/src/RPM/BUILD/glaxium_0.5' make: Entering directory '/usr/src/RPM/BUILD/glaxium_0.5' x86_64-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT ship1.cpp -o ship1.o -DDATADIR=\"/usr/share/games/glaxium\" ship1.cpp: In constructor 'Ship1::Ship1(List*, float, float, float, int)': ship1.cpp:36:9: warning: unused variable 'nb' [-Wunused-variable] int nb=random()%5; ^~ ship1.cpp: In member function 'virtual void Ship1::collision(Sprite*)': ship1.cpp:331:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] switch(contact->getType()) ^ ship1.cpp:331:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] ship1.cpp:331:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] ship1.cpp:331:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] ship1.cpp:331:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] ship1.cpp:331:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] ship1.cpp:331:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] ship1.cpp:331:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] ship1.cpp:331:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] ship1.cpp:331:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] ship1.cpp:331:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] ship1.cpp:331:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] ship1.cpp:331:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] ship1.cpp:331:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] ship1.cpp:331:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] ship1.cpp:331:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] ship1.cpp:331:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] ship1.cpp: In member function 'virtual void Ship1Fire::collision(Sprite*)': ship1.cpp:447:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] switch(contact->getType()) ^ ship1.cpp:447:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] ship1.cpp:447:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] ship1.cpp:447:11: warning: enumeration value 'TYPE_CUBE' not handled in switch [-Wswitch] ship1.cpp:447:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] ship1.cpp:447:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] ship1.cpp:447:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] ship1.cpp:447:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] ship1.cpp:447:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] ship1.cpp:447:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] ship1.cpp:447:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] ship1.cpp:447:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] ship1.cpp:447:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] ship1.cpp:447:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] ship1.cpp:447:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] ship1.cpp:447:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] ship1.cpp:447:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] ship1.cpp:447:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] ship1.cpp:447:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] ship1.cpp:447:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] make: Leaving directory '/usr/src/RPM/BUILD/glaxium_0.5' make: Entering directory '/usr/src/RPM/BUILD/glaxium_0.5' x86_64-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT pngtex.cpp -o pngtex.o -DDATADIR=\"/usr/share/games/glaxium\" pngtex.cpp: In constructor 'PngTex::PngTex(const char*)': 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] fread( header, 1, sizeof(header), fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/glaxium_0.5' make: Entering directory '/usr/src/RPM/BUILD/glaxium_0.5' x86_64-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT diamond.cpp -o diamond.o -DDATADIR=\"/usr/share/games/glaxium\" diamond.cpp: In member function 'virtual void Diamond::collision(Sprite*)': diamond.cpp:211:18: warning: enumeration value 'POWERUP' not handled in switch [-Wswitch] switch (type_) { ^ diamond.cpp:211:18: warning: enumeration value 'INVUL' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_MY_FIRE2' not handled in switch [-Wswitch] switch(contact->getType()) ^ diamond.cpp:200:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_CUBE' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] make: Leaving directory '/usr/src/RPM/BUILD/glaxium_0.5' make: Entering directory '/usr/src/RPM/BUILD/glaxium_0.5' x86_64-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT myship.cpp -o myship.o -DDATADIR=\"/usr/share/games/glaxium\" myship.cpp: In constructor 'MyShip::MyShip(List*, int)': myship.cpp:81:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ myship.cpp: In member function 'virtual void MyShip::draw()': myship.cpp:357:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ myship.cpp: In member function 'virtual void MyShip::move()': myship.cpp:503:12: warning: variable 'explode' set but not used [-Wunused-but-set-variable] Sprite *explode; ^~~~~~~ myship.cpp:556:12: warning: enumeration value 'UNTOUCHABLE' not handled in switch [-Wswitch] switch (state_) ^ myship.cpp: In member function 'virtual void MyShip::collision(Sprite*)': myship.cpp:750:8: warning: enumeration value 'TYPE_MY_SPACE_SHIP' not handled in switch [-Wswitch] switch(contact->getType()) ^ myship.cpp:750:8: warning: enumeration value 'TYPE_MY_FIRE1' not handled in switch [-Wswitch] myship.cpp:750:8: warning: enumeration value 'TYPE_MY_FIRE2' not handled in switch [-Wswitch] myship.cpp:750:8: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] myship.cpp:750:8: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] myship.cpp:750:8: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] myship.cpp:750:8: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] myship.cpp:750:8: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] myship.cpp:750:8: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] myship.cpp:750:8: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] myship.cpp:750:8: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] myship.cpp:750:8: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] make: Leaving directory '/usr/src/RPM/BUILD/glaxium_0.5' make: Entering directory '/usr/src/RPM/BUILD/glaxium_0.5' x86_64-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT bandit2.cpp -o bandit2.o -DDATADIR=\"/usr/share/games/glaxium\" bandit2.cpp: In constructor 'Bandit2::Bandit2(List*, float, float, float, int)': bandit2.cpp:36:9: warning: unused variable 'nb' [-Wunused-variable] int nb=random()%5; ^~ bandit2.cpp: In member function 'virtual void Bandit2::collision(Sprite*)': bandit2.cpp:223:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] switch(contact->getType()) ^ bandit2.cpp:223:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] bandit2.cpp:223:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] bandit2.cpp:223:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] bandit2.cpp:223:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] bandit2.cpp:223:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] bandit2.cpp:223:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] bandit2.cpp:223:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] bandit2.cpp:223:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] bandit2.cpp:223:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] bandit2.cpp:223:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] bandit2.cpp:223:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] bandit2.cpp:223:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] bandit2.cpp:223:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] bandit2.cpp:223:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] bandit2.cpp:223:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] bandit2.cpp:223:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] bandit2.cpp: In member function 'virtual void Bandit2Fire::collision(Sprite*)': bandit2.cpp:349:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] switch(contact->getType()) ^ bandit2.cpp:349:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] bandit2.cpp:349:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] bandit2.cpp:349:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] bandit2.cpp:349:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] bandit2.cpp:349:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] bandit2.cpp:349:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] bandit2.cpp:349:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] bandit2.cpp:349:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] bandit2.cpp:349:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] bandit2.cpp:349:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] bandit2.cpp:349:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] bandit2.cpp:349:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] bandit2.cpp:349:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] bandit2.cpp:349:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] bandit2.cpp:349:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] bandit2.cpp:349:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] bandit2.cpp:349:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] bandit2.cpp:349:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] make: Leaving directory '/usr/src/RPM/BUILD/glaxium_0.5' make: Entering directory '/usr/src/RPM/BUILD/glaxium_0.5' x86_64-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT elem.cpp -o elem.o -DDATADIR=\"/usr/share/games/glaxium\" make: Leaving directory '/usr/src/RPM/BUILD/glaxium_0.5' make: Entering directory '/usr/src/RPM/BUILD/glaxium_0.5' x86_64-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT tache.cpp -o tache.o -DDATADIR=\"/usr/share/games/glaxium\" make: Leaving directory '/usr/src/RPM/BUILD/glaxium_0.5' make: Entering directory '/usr/src/RPM/BUILD/glaxium_0.5' x86_64-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT cube.cpp -o cube.o -DDATADIR=\"/usr/share/games/glaxium\" cube.cpp: In member function 'virtual void Cube::collision(Sprite*)': cube.cpp:270:24: warning: unused variable 'i' [-Wunused-variable] static int i=0; ^ cube.cpp:234:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] switch(contact->getType()) ^ cube.cpp:234:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] cube.cpp:234:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] cube.cpp:234:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] cube.cpp:234:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] cube.cpp:234:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] cube.cpp:234:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] cube.cpp:234:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] cube.cpp:234:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] cube.cpp:234:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] cube.cpp:234:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] cube.cpp:234:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] cube.cpp:234:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] cube.cpp:234:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] cube.cpp:234:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] cube.cpp: At global scope: cube.cpp:270:24: warning: 'i' defined but not used [-Wunused-variable] static int i=0; ^ make: Leaving directory '/usr/src/RPM/BUILD/glaxium_0.5' make: Entering directory '/usr/src/RPM/BUILD/glaxium_0.5' x86_64-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT explosion.cpp -o explosion.o -DDATADIR=\"/usr/share/games/glaxium\" explosion.cpp: In member function 'virtual void PieceOfShip::drawShadowable()': explosion.cpp:220:11: warning: unused variable 'pColor' [-Wunused-variable] float pColor[] = {1.0,1.0,1.0,1.0}; ^~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/glaxium_0.5' make: Entering directory '/usr/src/RPM/BUILD/glaxium_0.5' x86_64-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT main.cpp -o main.o -DDATADIR=\"/usr/share/games/glaxium\" main.cpp: In function 'int main(int, char**)': main.cpp:232:87: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GLvar->module2 = Mix_LoadMUS(GLvar->getFullPath("samples/glax3.xm")); ^ main.cpp:242:35: warning: deleting object of polymorphic class type 'ListSprite' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete scene->globalList; ^~~~~~~~~~ main.cpp:262:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GLvar->module1 = Mix_LoadMUS(GLvar->getFullPath("samples/glax.xm")); ^ main.cpp:74:9: warning: unused variable 'keyA' [-Wunused-variable] int keyA=0; ^~~~ main.cpp:75:9: warning: unused variable 'keyZ' [-Wunused-variable] int keyZ=0; ^~~~ make: Leaving directory '/usr/src/RPM/BUILD/glaxium_0.5' make: Entering directory '/usr/src/RPM/BUILD/glaxium_0.5' x86_64-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT variables.cpp -o variables.o -DDATADIR=\"/usr/share/games/glaxium\" variables.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ variables.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] variables.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] variables.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] variables.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] variables.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] variables.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] variables.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] variables.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] variables.cpp: In member function 'void GlaxiumVariables::initVariables()': variables.cpp:161:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] space_name[0] = "textures/space1.png"; ^~~~~~~~~~~~~~~~~~~~~ variables.cpp:162:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] space_name[1] = "textures/space0.png"; ^~~~~~~~~~~~~~~~~~~~~ variables.cpp:163:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] space_name[2] = "textures/space3.png"; ^~~~~~~~~~~~~~~~~~~~~ variables.cpp:164:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] space_name[3] = "textures/space2.png"; ^~~~~~~~~~~~~~~~~~~~~ variables.cpp: In member function 'void GlaxiumVariables::initTextures()': variables.cpp:229:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] initTexture(texture_floorMap[0], "textures/floormap.png"); ^ variables.cpp:232:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] initTexture(texture_floorMap[1], "textures/floormap1.png"); ^ variables.cpp:235:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] initTexture(texture_floorMap[2], "textures/floormap2.png"); ^ variables.cpp:238:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] initTexture(texture_floorMap[3], "textures/floormap3.png"); ^ variables.cpp:241:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] initTexture(texture_floorMap[4], "textures/floormap4.png"); ^ variables.cpp:245:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] initTexture(texture_mark, "textures/mark.png"); ^ variables.cpp:246:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] initTexture(texture_building, "textures/cube.png"); ^ variables.cpp:247:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] initTexture(texture_tache, "textures/tache.png"); ^ variables.cpp:248:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] initTexture(texture_deadtache, "textures/deadtache.png"); ^ variables.cpp:249:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] initTexture(texture_camouflage, "textures/camouflage.png"); ^ variables.cpp:250:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] initTexture(texture_thunder, "textures/thunder.png"); ^ variables.cpp:251:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] initTexture(texture_specialeffect1, "textures/effect1.png"); ^ variables.cpp:253:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] initTexture(texture_chaine, "textures/chain.png"); ^ variables.cpp:254:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] initTexture(texture_myship, "textures/myship.png"); ^ variables.cpp:255:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] initTexture(texture_piege, "textures/piege.png"); ^ variables.cpp:256:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] initTexture(texture_bandit1, "textures/bandit1.png"); ^ variables.cpp:257:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] initTexture(texture_fire3, "textures/missile.png"); ^ variables.cpp:258:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] initTexture(texture_fighter2, "textures/fighter2.png"); ^ variables.cpp:260:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] initTexture(texture_bandit2, "textures/bandit2.png"); ^ variables.cpp:261:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] initTexture(texture_sphere, "textures/sphere.png"); ^ variables.cpp:263:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] initTexture(texture_fumee[0], "textures/fumee1.png"); ^ variables.cpp:264:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] initTexture(texture_fumee[1], "textures/fumee2.png"); ^ variables.cpp:265:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] initTexture(texture_fumee[2], "textures/fumee3.png"); ^ variables.cpp:267:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] initTexture(texture_gameover, "textures/gameover.png"); ^ variables.cpp:268:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] initTexture(texture_board, "textures/board.png"); ^ variables.cpp:269:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] initTexture(texture_galaxy, "textures/galaxy.png"); ^ variables.cpp:271:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] initTexture(texture_capsule[Diamond::POWER], "textures/capsule_shield.png"); ^ variables.cpp:272:84: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] initTexture(texture_capsule[Diamond::POWERUP], "textures/capsule_power.png"); ^ variables.cpp:273:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] initTexture(texture_capsule[Diamond::BOMB], "textures/capsule_bomb.png"); ^ variables.cpp:274:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] initTexture(texture_capsule[Diamond::INVUL], "textures/capsule_invul.png"); ^ variables.cpp:276:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] initTexture(texture_floor[0], "textures/floor.png"); ^ variables.cpp:277:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] initTexture(texture_letters, "textures/chars.png"); ^ variables.cpp:281:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] initTexture(texture_floor[1], "textures/floor1.png"); ^ variables.cpp:284:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] initTexture(texture_floor[2], "textures/floor2.png"); ^ variables.cpp:287:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] initTexture(texture_floor[3], "textures/floor3.png"); ^ variables.cpp:290:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] initTexture(texture_floor[4], "textures/floor4.png"); ^ variables.cpp:293:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] initTexture(texture_border, "textures/border2.png"); ^ variables.cpp:308:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] texture = new PngTex(getFullPath("textures/glax2.png")); ^ variables.cpp: In member function 'void GlaxiumVariables::initSound()': variables.cpp:364:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] module2 = Mix_LoadMUS(getFullPath("samples/glax3.xm")); ^ variables.cpp: In member function 'void GlaxiumVariables::initInstallDir()': variables.cpp:398:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] installDir = DATADIR"/"; ^~~ variables.cpp:401:10: warning: too many arguments for format [-Wformat-extra-args] printf("Found textures in ./\n", DATADIR); ^~~~~~~~~~~~~~~~~~~~~~~~ variables.cpp: In static member function 'static bool GlaxiumVariables::isExtensionSupported(const char*)': variables.cpp:494:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (where == start || *(where - 1) == ' ') ^~ variables.cpp:497:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' start = terminator; ^~~~~ variables.cpp: In member function 'void GlaxiumVariables::initOptionsFile(bool)': variables.cpp:108:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fOptions, "%d %d %d %d", &filter, &anis, &details, &nShad); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/glaxium_0.5' make: Entering directory '/usr/src/RPM/BUILD/glaxium_0.5' x86_64-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT listsprite.cpp -o listsprite.o -DDATADIR=\"/usr/share/games/glaxium\" listsprite.cpp: In member function 'void ListSprite::move()': listsprite.cpp:96:9: warning: unused variable 'i' [-Wunused-variable] int i=0; ^ make: Leaving directory '/usr/src/RPM/BUILD/glaxium_0.5' make: Entering directory '/usr/src/RPM/BUILD/glaxium_0.5' x86_64-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT piege.cpp -o piege.o -DDATADIR=\"/usr/share/games/glaxium\" piege.cpp: In member function 'virtual void Piege::move()': piege.cpp:223:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (ringing_) ^~ piege.cpp:232:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' switch(state_) ^~~~~~ piege.cpp: In member function 'virtual void Piege::collision(Sprite*)': piege.cpp:332:11: warning: enumeration value 'TYPE_MY_FIRE1' not handled in switch [-Wswitch] switch(contact->getType()) ^ piege.cpp:332:11: warning: enumeration value 'TYPE_MY_FIRE2' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_CUBE' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] make: Leaving directory '/usr/src/RPM/BUILD/glaxium_0.5' make: Entering directory '/usr/src/RPM/BUILD/glaxium_0.5' x86_64-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT fire.cpp -o fire.o -DDATADIR=\"/usr/share/games/glaxium\" fire.cpp: In member function 'virtual void MyFire1::collision(Sprite*)': fire.cpp:122:11: warning: enumeration value 'TYPE_MY_SPACE_SHIP' not handled in switch [-Wswitch] switch(contact->getType()) ^ fire.cpp:122:11: warning: enumeration value 'TYPE_MY_FIRE1' not handled in switch [-Wswitch] fire.cpp:122:11: warning: enumeration value 'TYPE_MY_FIRE2' not handled in switch [-Wswitch] fire.cpp:122:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] fire.cpp:122:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] fire.cpp:122:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] fire.cpp:122:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] fire.cpp:122:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] fire.cpp:122:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] fire.cpp:122:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] fire.cpp:122:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] fire.cpp:122:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] fire.cpp:122:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] fire.cpp:122:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] fire.cpp: In member function 'virtual void MyFire2::move()': fire.cpp:232:11: warning: enumeration value 'NOT_STARTED' not handled in switch [-Wswitch] switch(state_) ^ fire.cpp:232:11: warning: enumeration value 'MOVING' not handled in switch [-Wswitch] fire.cpp:232:11: warning: enumeration value 'TOUCHING' not handled in switch [-Wswitch] fire.cpp:232:11: warning: enumeration value 'DEAD' not handled in switch [-Wswitch] fire.cpp: In member function 'virtual void MyFire3::collision(Sprite*)': fire.cpp:473:11: warning: enumeration value 'TYPE_MY_SPACE_SHIP' not handled in switch [-Wswitch] switch(contact->getType()) ^ fire.cpp:473:11: warning: enumeration value 'TYPE_MY_FIRE1' not handled in switch [-Wswitch] fire.cpp:473:11: warning: enumeration value 'TYPE_MY_FIRE2' not handled in switch [-Wswitch] fire.cpp:473:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] fire.cpp:473:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] fire.cpp:473:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] fire.cpp:473:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] fire.cpp:473:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] fire.cpp:473:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] fire.cpp:473:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] fire.cpp:473:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] fire.cpp:473:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] fire.cpp:473:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] fire.cpp:473:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] fire.cpp:473:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] fire.cpp: In member function 'virtual void MyFire4::collision(Sprite*)': fire.cpp:632:11: warning: enumeration value 'TYPE_MY_SPACE_SHIP' not handled in switch [-Wswitch] switch(contact->getType()) ^ fire.cpp:632:11: warning: enumeration value 'TYPE_MY_FIRE1' not handled in switch [-Wswitch] fire.cpp:632:11: warning: enumeration value 'TYPE_MY_FIRE2' not handled in switch [-Wswitch] fire.cpp:632:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] fire.cpp:632:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] fire.cpp:632:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] fire.cpp:632:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] fire.cpp:632:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] fire.cpp:632:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] fire.cpp:632:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] fire.cpp:632:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] fire.cpp:632:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] fire.cpp:632:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] fire.cpp:632:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] fire.cpp:632:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] fire.cpp:632:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] fire.cpp:632:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] fire.cpp:632:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] make: Leaving directory '/usr/src/RPM/BUILD/glaxium_0.5' make: Entering directory '/usr/src/RPM/BUILD/glaxium_0.5' x86_64-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT tank.cpp -o tank.o -DDATADIR=\"/usr/share/games/glaxium\" tank.cpp: In member function 'virtual void Tank::collision(Sprite*)': tank.cpp:491:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] switch(contact->getType()) ^ tank.cpp:491:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] tank.cpp:491:11: warning: enumeration value 'TYPE_CUBE' not handled in switch [-Wswitch] tank.cpp:491:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] tank.cpp:491:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] tank.cpp:491:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] tank.cpp:491:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] tank.cpp:491:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] tank.cpp:491:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] tank.cpp:491:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] tank.cpp:491:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] tank.cpp:491:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] tank.cpp:491:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] tank.cpp:491:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] tank.cpp:491:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] tank.cpp:491:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] tank.cpp:491:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] tank.cpp: In member function 'virtual void TankFire::collision(Sprite*)': tank.cpp:635:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] switch(contact->getType()) ^ tank.cpp:635:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] tank.cpp:635:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] tank.cpp:635:11: warning: enumeration value 'TYPE_CUBE' not handled in switch [-Wswitch] tank.cpp:635:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] tank.cpp:635:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] tank.cpp:635:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] tank.cpp:635:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] tank.cpp:635:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] tank.cpp:635:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] tank.cpp:635:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] tank.cpp:635:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] tank.cpp:635:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] tank.cpp:635:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] tank.cpp:635:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] tank.cpp:635:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] tank.cpp:635:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] tank.cpp:635:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] tank.cpp:635:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] tank.cpp:635:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] make: Leaving directory '/usr/src/RPM/BUILD/glaxium_0.5' make: Entering directory '/usr/src/RPM/BUILD/glaxium_0.5' x86_64-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT fighter2.cpp -o fighter2.o -DDATADIR=\"/usr/share/games/glaxium\" fighter2.cpp: In constructor 'Fighter2::Fighter2(List*, float, float, float, int)': fighter2.cpp:36:9: warning: unused variable 'nb' [-Wunused-variable] int nb=random()%5; ^~ fighter2.cpp: In member function 'virtual void Fighter2::collision(Sprite*)': fighter2.cpp:208:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] switch(contact->getType()) ^ fighter2.cpp:208:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] fighter2.cpp:208:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] fighter2.cpp:208:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] fighter2.cpp:208:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] fighter2.cpp:208:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] fighter2.cpp:208:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] fighter2.cpp:208:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] fighter2.cpp:208:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] fighter2.cpp:208:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] fighter2.cpp:208:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] fighter2.cpp:208:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] fighter2.cpp:208:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] fighter2.cpp:208:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] fighter2.cpp:208:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] fighter2.cpp:208:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] fighter2.cpp:208:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] fighter2.cpp: In member function 'virtual void Fighter2Fire::collision(Sprite*)': fighter2.cpp:334:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] switch(contact->getType()) ^ fighter2.cpp:334:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] fighter2.cpp:334:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] fighter2.cpp:334:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] fighter2.cpp:334:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] fighter2.cpp:334:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] fighter2.cpp:334:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] fighter2.cpp:334:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] fighter2.cpp:334:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] fighter2.cpp:334:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] fighter2.cpp:334:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] fighter2.cpp:334:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] fighter2.cpp:334:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] fighter2.cpp:334:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] fighter2.cpp:334:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] fighter2.cpp:334:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] fighter2.cpp:334:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] fighter2.cpp:334:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] fighter2.cpp:334:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] fighter2.cpp: In static member function 'static void Fighter2::initList()': fighter2.cpp:91:61: warning: iteration 578 invokes undefined behavior [-Waggressive-loop-optimizations] fighter2_meshes[i*24+7] = 1 - fighter2_meshes[i*24+7]; ~~~~~~~~~~~~~~~~~~~~~~^ fighter2.cpp:90:15: note: within this loop for (i=0;i<587;i++) { ~^~~~ make: Leaving directory '/usr/src/RPM/BUILD/glaxium_0.5' make: Entering directory '/usr/src/RPM/BUILD/glaxium_0.5' x86_64-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT scene.cpp -o scene.o -DDATADIR=\"/usr/share/games/glaxium\" scene.cpp: In member function 'void Scene::initVariables()': scene.cpp:255:8: warning: unused variable 'j' [-Wunused-variable] int i,j,k; ^ scene.cpp:255:10: warning: unused variable 'k' [-Wunused-variable] int i,j,k; ^ scene.cpp: In member function 'void Scene::drawFloor()': scene.cpp:379:16: warning: unused variable 'dot3LightX' [-Wunused-variable] static float dot3LightX = 0; ^~~~~~~~~~ scene.cpp:380:15: warning: unused variable 'cpt' [-Wunused-variable] static float cpt=0; ^~~ scene.cpp:381:15: warning: unused variable 'halfMul' [-Wunused-variable] static float halfMul[] = {.5, .5 , .5,0}; ^~~~~~~ scene.cpp:382:15: warning: unused variable 'halfAdd' [-Wunused-variable] static float halfAdd[] = {.5,.5,.5,0}; ^~~~~~~ scene.cpp:384:6: warning: variable 'textureMap' set but not used [-Wunused-but-set-variable] int textureMap; ^~~~~~~~~~ scene.cpp: In member function 'void Scene::drawPlayers()': scene.cpp:539:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ scene.cpp: In member function 'void Scene::drawFPS()': scene.cpp:726:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ scene.cpp:727:6: warning: variable 'diff' set but not used [-Wunused-but-set-variable] int diff; ^~~~ scene.cpp: In member function 'void Scene::initOpenGl()': scene.cpp:1104:22: warning: unused variable 'floorShader' [-Wunused-variable] const unsigned char floorShader[]= ^~~~~~~~~~~ scene.cpp: In member function 'void Scene::drawFPSBench()': scene.cpp:1695:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ scene.cpp:1696:6: warning: variable 'diff' set but not used [-Wunused-but-set-variable] int diff; ^~~~ scene.cpp: In member function 'void Scene::drawMenu()': scene.cpp:1732:6: warning: unused variable 'i' [-Wunused-variable] int i, j; ^ scene.cpp: In member function 'void Scene::menuIdle()': scene.cpp:1938:13: warning: variable 'benchTime' set but not used [-Wunused-but-set-variable] static int benchTime; ^~~~~~~~~ scene.cpp:1959:10: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fOptions, "%d %d %d %d", &filterValue, &anisValue, &detailValue, &nshadows); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scene.cpp: At global scope: scene.cpp:382:15: warning: 'halfAdd' defined but not used [-Wunused-variable] static float halfAdd[] = {.5,.5,.5,0}; ^~~~~~~ scene.cpp:381:15: warning: 'halfMul' defined but not used [-Wunused-variable] static float halfMul[] = {.5, .5 , .5,0}; ^~~~~~~ scene.cpp:380:15: warning: 'cpt' defined but not used [-Wunused-variable] static float cpt=0; ^~~ scene.cpp:379:16: warning: 'dot3LightX' defined but not used [-Wunused-variable] static float dot3LightX = 0; ^~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/glaxium_0.5' make: Entering directory '/usr/src/RPM/BUILD/glaxium_0.5' gcc -g -o glaxium scratcher.o ship1.o sprite.o spirale.o scene.o diamond.o myship.o explosion.o bandit2.o pngtex.o list.o cube.o tache.o variables.o tank.o fire.o elem.o fighter2.o listsprite.o main.o piege.o -lpng -lglut -lXmu -lXi -lX11 -lGLU -lGL -lSDL_mixer -L/usr/X11R6/lib -lSDL -lpthread -lm -lstdc++ make: Leaving directory '/usr/src/RPM/BUILD/glaxium_0.5' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.52483 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/glaxium-buildroot + : + /bin/rm -rf -- /usr/src/tmp/glaxium-buildroot + cd glaxium_0.5 + install -pD -m755 glaxium /usr/src/tmp/glaxium-buildroot/usr/bin/glaxium + mkdir -p /usr/src/tmp/glaxium-buildroot/usr/share/games/glaxium/textures /usr/src/tmp/glaxium-buildroot/usr/share/games/glaxium/samples + install -p -m644 textures/bandit1.png textures/bandit2.png textures/board.png textures/bord.png textures/border.png textures/border2.png textures/camouflage.png textures/capsule_bomb.png textures/capsule_invul.png textures/capsule_power.png textures/capsule_shield.png textures/chain.png textures/chars.png textures/cube.png textures/deadtache.png textures/effect1.png textures/fighter2.png textures/floor.png textures/floor1.png textures/floor2.png textures/floor3.png textures/floor4.png textures/floormap.png textures/floormap1.png textures/floormap2.png textures/floormap3.png textures/floormap4.png textures/fumee1.png textures/fumee2.png textures/fumee3.png textures/galaxy.png textures/gameover.png textures/glax2.png textures/iflicla.png textures/mark.png textures/missile.png textures/myship.png textures/piege.png textures/ship1.png textures/space0.png textures/space1.png textures/space2.png textures/space3.png textures/sphere.png textures/tache.png textures/thunder.png /usr/src/tmp/glaxium-buildroot/usr/share/games/glaxium/textures/ + install -p -m644 samples/detection.wav samples/explode1.wav samples/explode2.wav samples/gameover.wav samples/glax.xm samples/glax3.xm samples/glups.wav samples/powerup.wav samples/tachefire.wav samples/tir.wav samples/welcome.wav /usr/src/tmp/glaxium-buildroot/usr/share/games/glaxium/samples/ + mkdir -p /usr/src/tmp/glaxium-buildroot/usr/share/applications + cat + install -D -m 644 /usr/src/RPM/SOURCES/glaxuim.16.png /usr/src/tmp/glaxium-buildroot/usr/share/icons/hicolor/16x16/apps/glaxium.png + install -D -m 644 /usr/src/RPM/SOURCES/glaxuim.32.png /usr/src/tmp/glaxium-buildroot/usr/share/icons/hicolor/32x32/apps/glaxium.png + install -D -m 644 /usr/src/RPM/SOURCES/glaxuim.48.png /usr/src/tmp/glaxium-buildroot/usr/share/icons/hicolor/48x48/apps/glaxium.png + mkdir -p /usr/src/tmp/glaxium-buildroot/usr/share/man/man6/ + install -pD -m644 glaxium.6 /usr/src/tmp/glaxium-buildroot/usr/share/man/man6 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/glaxium-buildroot (auto) Verifying and fixing files in /usr/src/tmp/glaxium-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/glaxium-buildroot/ (default) Compressing files in /usr/src/tmp/glaxium-buildroot (auto) Verifying ELF objects in /usr/src/tmp/glaxium-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Processing files: glaxium-0.5-alt6.1.qa4 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.40636 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd glaxium_0.5 + DOCDIR=/usr/src/tmp/glaxium-buildroot/usr/share/doc/glaxium-0.5 + export DOCDIR + rm -rf /usr/src/tmp/glaxium-buildroot/usr/share/doc/glaxium-0.5 + /bin/mkdir -p /usr/src/tmp/glaxium-buildroot/usr/share/doc/glaxium-0.5 + cp -prL CHANGES.txt README.txt /usr/src/tmp/glaxium-buildroot/usr/share/doc/glaxium-0.5 + chmod -R go-w /usr/src/tmp/glaxium-buildroot/usr/share/doc/glaxium-0.5 + chmod -R a+rX /usr/src/tmp/glaxium-buildroot/usr/share/doc/glaxium-0.5 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.XvFzpl find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.NKWDWQ find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Requires: /usr/bin/sound_wrapper, /lib64/ld-linux-x86-64.so.2, libGL.so.1()(64bit) >= set:pjdsnIDZsNXEyzW5oIC3t0AmAeK58LToh647hQpjxZEehcAzuT8DB7Oq4TEBq9RvufkGUI3CUx4qZH7RARYLi1r88w6n1SVfaJowb86umJAebAMVIXh5RTCwyo0oqfGZ6hEdp6kTIuCCp86tXfXkf1BZFR8ZHgkSUHraX9uXbQMoAlh0, libGLU.so.1()(64bit) >= set:jgWTXYExgpnd, libSDL-1.2.so.0()(64bit) >= set:lg05gnZbqoH7PWKA4ctnABSz2qI1NSj2Tk8KXpgKRSV1, libSDL_mixer-1.2.so.0()(64bit) >= set:kgId6X9IcqZhwrJ4OPgfAa4B93, libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libgcc_s.so.1(GCC_3.0)(64bit), libglut.so.3()(64bit) >= set:ljDA6yfxeS1, libm.so.6(GLIBC_2.2.5)(64bit), libpng16.so.16()(64bit) >= set:lhpnZtqi9piY3UeP5TLhzbgsbsASVC50, libpng16.so.16(PNG16_0)(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) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.P5rSzp Creating glaxium-debuginfo package Processing files: glaxium-debuginfo-0.5-alt6.1.qa4 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.pULKl1 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.x2kUdG find-requires: running scripts (debuginfo) Requires: glaxium = 0.5-alt6.1.qa4, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libGL.so.1), debug64(libGLU.so.1), debug64(libSDL-1.2.so.0), debug64(libSDL_mixer-1.2.so.0), debug64(libc.so.6), debug64(libgcc_s.so.1), debug64(libglut.so.3), debug64(libm.so.6), debug64(libpng16.so.16), debug64(libstdc++.so.6) Wrote: /usr/src/RPM/RPMS/x86_64/glaxium-0.5-alt6.1.qa4.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/glaxium-debuginfo-0.5-alt6.1.qa4.x86_64.rpm 10.75user 1.83system 0:11.39elapsed 110%CPU (0avgtext+0avgdata 66628maxresident)k 0inputs+0outputs (0major+785132minor)pagefaults 0swaps 23.55user 5.07system 0:29.34elapsed 97%CPU (0avgtext+0avgdata 122932maxresident)k 1296inputs+0outputs (0major+1217069minor)pagefaults 0swaps --- glaxium-0.5-alt6.1.qa4.x86_64.rpm.repo 2012-09-28 06:20:52.000000000 +0000 +++ glaxium-0.5-alt6.1.qa4.x86_64.rpm.hasher 2018-12-17 01:05:19.126410846 +0000 @@ -68,6 +68,6 @@ /usr/share/icons/hicolor/48x48/apps/glaxium.png 100644 -/usr/share/man/man6/glaxium.6.gz 100644 +/usr/share/man/man6/glaxium.6.xz 100644 Requires: /usr/bin/sound_wrapper Requires: /lib64/ld-linux-x86-64.so.2 -Requires: libGL.so.1()(64bit) >= set:oiqUKno7E97c8n5ZdGU8yQwfjNqe8wnf8Y5FPaOTEjuLhnbw9E8llMh4draY7thckRvfT36VcDTRrhEdp2GrfEt4TQcyxNOQmwHhVuEKecZA1hCAVZxt1NVNQZKRNZA6qBZBlM622EUaoDZIZlokSoH4aM5AZ4sXbQMoAlh +Requires: libGL.so.1()(64bit) >= set:pjdsnIDZsNXEyzW5oIC3t0AmAeK58LToh647hQpjxZEehcAzuT8DB7Oq4TEBq9RvufkGUI3CUx4qZH7RARYLi1r88w6n1SVfaJowb86umJAebAMVIXh5RTCwyo0oqfGZ6hEdp6kTIuCCp86tXfXkf1BZFR8ZHgkSUHraX9uXbQMoAlh0 Requires: rpmlib(SetVersions) @@ -75,3 +75,3 @@ Requires: libSDL-1.2.so.0()(64bit) >= set:lg05gnZbqoH7PWKA4ctnABSz2qI1NSj2Tk8KXpgKRSV1 -Requires: libSDL_mixer-1.2.so.0()(64bit) >= set:lhS63Cv0ub4rQtpkV7wHbdQ3F21 +Requires: libSDL_mixer-1.2.so.0()(64bit) >= set:kgId6X9IcqZhwrJ4OPgfAa4B93 Requires: libc.so.6(GLIBC_2.2.5)(64bit) @@ -82,5 +82,7 @@ Requires: libm.so.6(GLIBC_2.2.5)(64bit) -Requires: libpng15.so.15()(64bit) >= set:lhpnZtqi9piY3UeP5TLhzbgsbsASVC50 -Requires: libpng15.so.15(PNG15_0)(64bit) +Requires: libpng16.so.16()(64bit) >= set:lhpnZtqi9piY3UeP5TLhzbgsbsASVC50 +Requires: libpng16.so.16(PNG16_0)(64bit) Requires: libstdc++.so.6(CXXABI_1.3)(64bit) +Requires: libstdc++.so.6(CXXABI_1.3.8)(64bit) +Requires: libstdc++.so.6(CXXABI_1.3.9)(64bit) Requires: libstdc++.so.6(GLIBCXX_3.4)(64bit) --- glaxium-debuginfo-0.5-alt6.1.qa4.x86_64.rpm.repo 2012-09-28 06:20:52.000000000 +0000 +++ glaxium-debuginfo-0.5-alt6.1.qa4.x86_64.rpm.hasher 2018-12-17 01:05:19.176410823 +0000 @@ -62,3 +62,3 @@ Requires: debug64(libm.so.6) -Requires: debug64(libpng15.so.15) +Requires: debug64(libpng16.so.16) Requires: debug64(libstdc++.so.6)