<86>Dec 6 03:04:44 userdel[1770209]: delete user 'rooter' <86>Dec 6 03:04:44 userdel[1770209]: removed group 'rooter' owned by 'rooter' <86>Dec 6 03:04:44 userdel[1770209]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 6 03:04:44 groupadd[1770221]: group added to /etc/group: name=rooter, GID=630 <86>Dec 6 03:04:44 groupadd[1770221]: group added to /etc/gshadow: name=rooter <86>Dec 6 03:04:44 groupadd[1770221]: new group: name=rooter, GID=630 <86>Dec 6 03:04:44 useradd[1770229]: new user: name=rooter, UID=630, GID=630, home=/root, shell=/bin/bash <86>Dec 6 03:04:44 userdel[1770247]: delete user 'builder' <86>Dec 6 03:04:44 userdel[1770247]: removed group 'builder' owned by 'builder' <86>Dec 6 03:04:44 userdel[1770247]: removed shadow group 'builder' owned by 'builder' <86>Dec 6 03:04:44 groupadd[1770258]: group added to /etc/group: name=builder, GID=631 <86>Dec 6 03:04:44 groupadd[1770258]: group added to /etc/gshadow: name=builder <86>Dec 6 03:04:44 groupadd[1770258]: new group: name=builder, GID=631 <86>Dec 6 03:04:45 useradd[1770265]: new user: name=builder, UID=631, GID=631, home=/usr/src, shell=/bin/bash <13>Dec 6 03:04:48 rpmi: xorg-proto-devel-2018.4-alt3 1527685079 installed <13>Dec 6 03:04:48 rpmi: libogg-1.3.4-alt1 p9+249556.100.1.1 1586300644 installed <13>Dec 6 03:04:48 rpmi: libflac8-1.3.3-alt1 p9+249557.100.1.1 1586301784 installed <13>Dec 6 03:04:48 rpmi: libvorbis-1.3.6-alt2 sisyphus+220072.200.2.2 1548744467 installed <13>Dec 6 03:04:48 rpmi: libICE-1.0.9-alt1 1409902719 installed <13>Dec 6 03:04:48 rpmi: libglvnd-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834868 installed <13>Dec 6 03:04:48 rpmi: libSM-1.2.3-alt1 sisyphus+226734.100.2.1 1554586157 installed <13>Dec 6 03:04:48 rpmi: libalsa-1:1.1.9-alt2 sisyphus+229323.100.1.1 1557826762 installed <13>Dec 6 03:04:48 rpmi: libexpat-2.2.10-alt1 p9+261554.100.1.1 1605103332 installed <13>Dec 6 03:04:48 rpmi: libwayland-server-1.18.0-alt1 p9+260591.100.12.1 1606212847 installed <13>Dec 6 03:04:48 rpmi: libpng16-1.6.36-alt1 sisyphus+219478.100.1.1 1547633315 installed <13>Dec 6 03:04:48 rpmi: libslang2-2.3.2-alt3 sisyphus+226951.200.4.1 1554841002 installed <13>Dec 6 03:04:48 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>Dec 6 03:04:48 rpmi: libXau-devel-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>Dec 6 03:04:48 rpmi: libOpenGL-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834868 installed <13>Dec 6 03:04:48 rpmi: libICE-devel-1.0.9-alt1 1409902719 installed <13>Dec 6 03:04:48 rpmi: libSM-devel-1.2.3-alt1 sisyphus+226734.100.2.1 1554586157 installed <13>Dec 6 03:04:48 rpmi: libaudiofile1-0.3.6-alt3 sisyphus+222710.100.1.1 1551006551 installed <13>Dec 6 03:04:48 rpmi: libogg-devel-1.3.4-alt1 p9+249556.100.1.1 1586300644 installed <13>Dec 6 03:04:48 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550600768 installed <13>Dec 6 03:04:48 rpmi: libmad-0.15.1b-alt9 sisyphus+222614.100.1.1 1550890148 installed <13>Dec 6 03:04:48 rpmi: timidity-instruments-1:1.0-alt1 1166705614 installed <13>Dec 6 03:04:48 rpmi: libgsm-1.0.17-alt1 1523356157 installed <13>Dec 6 03:04:48 rpmi: libsndfile-1.0.28-alt2 sisyphus.212728.100 1536333060 installed <13>Dec 6 03:04:48 rpmi: liblz4-1:1.9.2-alt1 p9+238696.500.1.1 1570228072 installed <13>Dec 6 03:04:48 rpmi: libgpg-error-1.36-alt1 p9+261942.140.4.1 1606237682 installed <13>Dec 6 03:04:48 rpmi: libgcrypt20-1.8.5-alt3 p9+261942.200.4.1 1606237844 installed <13>Dec 6 03:04:48 rpmi: libsystemd-1:243.9-alt1 p9+258476.300.4.1 1601997124 installed <13>Dec 6 03:04:48 rpmi: libdbus-1.12.16-alt2 p9+240607.100.1.1 1573553670 installed <13>Dec 6 03:04:48 rpmi: libasyncns-0.8-alt2.qa1 1365949819 installed <13>Dec 6 03:04:48 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268594 installed <13>Dec 6 03:04:48 rpmi: libwayland-client-1.18.0-alt1 p9+260591.100.12.1 1606212847 installed <13>Dec 6 03:04:48 rpmi: libpciaccess-1:0.14-alt1 1528969624 installed <13>Dec 6 03:04:48 rpmi: libdrm-1:2.4.102-alt1 p9+252863.100.1.1 1591372623 installed <13>Dec 6 03:04:48 rpmi: libgbm-4:20.1.8-alt1 p9+260591.240.12.1 1606213200 installed <13>Dec 6 03:04:48 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed <13>Dec 6 03:04:49 rpmi: libstdc++8-devel-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587756 installed <13>Dec 6 03:04:50 rpmi: gcc8-c++-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587756 installed <13>Dec 6 03:04:50 rpmi: libX11-locales-3:1.6.7-alt2 p9+258208.100.1.1 1600333167 installed <13>Dec 6 03:04:50 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949347 installed <13>Dec 6 03:04:50 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Dec 6 03:04:50 rpmi: libX11-3:1.6.7-alt2 p9+258208.100.1.1 1600333167 installed <13>Dec 6 03:04:50 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed <13>Dec 6 03:04:50 rpmi: libXxf86vm-1.1.4-alt2 1527672159 installed <13>Dec 6 03:04:50 rpmi: libXi-1.7.9-alt2 sisyphus+226377.100.1.2 1554260258 installed <13>Dec 6 03:04:50 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614842 installed <13>Dec 6 03:04:50 rpmi: libXt-1.1.4-alt1 1369984716 installed <13>Dec 6 03:04:50 rpmi: libpulseaudio-13.0-alt4 p9+261614.100.2.1 1605550488 installed <13>Dec 6 03:04:50 rpmi: libmikmod-3.3.11.1-alt2 1502706813 installed <13>Dec 6 03:04:50 rpmi: libXmu-1.1.3-alt1 sisyphus+225206.1200.1.2 1552949629 installed <13>Dec 6 03:04:50 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949282 installed <13>Dec 6 03:04:50 rpmi: libGLX-mesa-4:20.1.8-alt1 p9+260591.240.12.1 1606213200 installed <13>Dec 6 03:04:50 rpmi: libEGL-mesa-4:20.1.8-alt1 p9+260591.240.12.1 1606213200 installed <13>Dec 6 03:04:50 rpmi: libEGL-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834868 installed <13>Dec 6 03:04:50 rpmi: libGLX-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834868 installed <13>Dec 6 03:04:50 rpmi: libGL-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834868 installed <13>Dec 6 03:04:50 rpmi: libGLU-4:9.0.1-alt1 p9+251991.3000.19.1 1590835932 installed <13>Dec 6 03:04:50 rpmi: libXrender-0.9.10-alt1 p9+261891.200.2.1 1606149106 installed <13>Dec 6 03:04:50 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949698 installed <13>Dec 6 03:04:50 rpmi: libSDL-1.2.14-alt8 p9+232634.100.1.1 1560964523 installed <13>Dec 6 03:04:50 rpmi: libSDL_mixer-1.2.12-alt1 1421435872 installed <13>Dec 6 03:04:50 rpmi: libsmpeg-0.4.5-alt3.svn20120121 sisyphus+224764.100.1.1 1552297037 installed <13>Dec 6 03:04:50 rpmi: libfreeglut-3.0.0-alt3 sisyphus+226742.100.2.3 1554619772 installed <13>Dec 6 03:04:52 rpmi: libxcb-devel-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Dec 6 03:04:52 rpmi: libX11-devel-3:1.6.7-alt2 p9+258208.100.1.1 1600333167 installed <13>Dec 6 03:04:52 rpmi: libglvnd-devel-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834868 installed <13>Dec 6 03:04:52 rpmi: libGL-devel-4:20.1.8-alt1 p9+260591.240.12.1 1606213200 installed <13>Dec 6 03:04:52 rpmi: libGLU-devel-4:9.0.1-alt1 p9+251991.3000.19.1 1590835932 installed <13>Dec 6 03:04:52 rpmi: libSDL-devel-1.2.14-alt8 p9+232634.100.1.1 1560964523 installed <13>Dec 6 03:04:52 rpmi: libXext-devel-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed <13>Dec 6 03:04:52 rpmi: libXfixes-devel-5.0.3-alt1 sisyphus+226736.100.2.2 1554614842 installed <13>Dec 6 03:04:52 rpmi: libXt-devel-1.1.4-alt1 1369984716 installed <13>Dec 6 03:04:52 rpmi: libXmu-devel-1.1.3-alt1 sisyphus+225206.1200.1.2 1552949629 installed <13>Dec 6 03:04:52 rpmi: libXi-devel-1.7.9-alt2 sisyphus+226377.100.1.2 1554260258 installed <13>Dec 6 03:04:52 rpmi: libSDL_mixer-devel-1.2.12-alt1 1421435872 installed <13>Dec 6 03:04:52 rpmi: libfreeglut-devel-3.0.0-alt3 sisyphus+226742.100.2.3 1554619772 installed <13>Dec 6 03:04:52 rpmi: libsmpeg-devel-0.4.5-alt3.svn20120121 sisyphus+224764.100.1.1 1552297037 installed <13>Dec 6 03:04:52 rpmi: aalib-1.4-alt8rc5 1460743513 installed <13>Dec 6 03:04:52 rpmi: gcc-c++-8-alt2 p9+246536.100.3.1 1582643803 installed <13>Dec 6 03:04:52 rpmi: libpng-devel-1.6.36-alt1 sisyphus+219478.100.1.1 1547633315 installed <13>Dec 6 03:04:52 rpmi: libvorbis-devel-1.3.6-alt2 sisyphus+220072.200.2.2 1548744467 installed <13>Dec 6 03:04:52 rpmi: libaudiofile-devel-0.3.6-alt3 sisyphus+222710.100.1.1 1551006551 installed <13>Dec 6 03:04:52 rpmi: libslang2-devel-2.3.2-alt3 sisyphus+226951.200.4.1 1554841002 installed <13>Dec 6 03:04:52 rpmi: libalsa-devel-1:1.1.9-alt2 sisyphus+229323.100.1.1 1557826762 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.29338 + 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.29338 + 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 + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FCFLAGS + '[' -n '' ']' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + sort -u + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -ri dirname -- '{}' + readlink -e -- ./configure + ./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 --disable-silent-rules --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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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' 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 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' 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.68559 + 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.68559 + 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.qVh1X7 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.BD8sG9 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) 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.gjU6ye 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.zb41Bm find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.G9HOKx 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) Adding to glaxium-debuginfo a strict dependency on glaxium 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 9.48user 2.11system 0:11.27elapsed 102%CPU (0avgtext+0avgdata 67788maxresident)k 0inputs+0outputs (0major+822973minor)pagefaults 0swaps 18.77user 5.37system 0:24.00elapsed 100%CPU (0avgtext+0avgdata 117648maxresident)k 1608inputs+0outputs (0major+1152277minor)pagefaults 0swaps