<86>Dec 21 03:28:42 userdel[12059]: delete user 'rooter' <86>Dec 21 03:28:42 userdel[12059]: removed group 'rooter' owned by 'rooter' <86>Dec 21 03:28:42 groupadd[12071]: group added to /etc/group: name=rooter, GID=567 <86>Dec 21 03:28:42 groupadd[12071]: group added to /etc/gshadow: name=rooter <86>Dec 21 03:28:42 groupadd[12071]: new group: name=rooter, GID=567 <86>Dec 21 03:28:42 useradd[12081]: new user: name=rooter, UID=567, GID=567, home=/root, shell=/bin/bash <86>Dec 21 03:28:42 userdel[12100]: delete user 'builder' <86>Dec 21 03:28:42 userdel[12100]: removed group 'builder' owned by 'builder' <86>Dec 21 03:28:42 userdel[12100]: removed shadow group 'builder' owned by 'builder' <86>Dec 21 03:28:42 groupadd[12113]: group added to /etc/group: name=builder, GID=568 <86>Dec 21 03:28:42 groupadd[12113]: group added to /etc/gshadow: name=builder <86>Dec 21 03:28:42 groupadd[12113]: new group: name=builder, GID=568 <86>Dec 21 03:28:42 useradd[12124]: new user: name=builder, UID=568, GID=568, home=/usr/src, shell=/bin/bash <13>Dec 21 03:28:48 rpmi: xorg-proto-devel-2019.1-alt1 sisyphus+232786.100.1.1 1561106722 installed <13>Dec 21 03:28:48 rpmi: libogg-1.3.3-alt1 sisyphus+221902.4000.4.1 1550598413 installed <13>Dec 21 03:28:48 rpmi: libglvnd-7:1.2.0-alt4 sisyphus+241659.100.1.1 1574755340 installed <13>Dec 21 03:28:48 rpmi: libflac8-1.3.2-alt2 sisyphus+220898.4400.11.1 1551972983 installed <13>Dec 21 03:28:48 rpmi: libvorbis-1.3.6-alt2 sisyphus+220072.200.2.2 1548744467 installed <13>Dec 21 03:28:48 rpmi: libICE-1.0.9-alt1 1409902719 installed <13>Dec 21 03:28:48 rpmi: libSM-1.2.3-alt1 sisyphus+226734.100.2.1 1554586157 installed <13>Dec 21 03:28:48 rpmi: libexpat-2.2.4-alt1 1503305341 installed <13>Dec 21 03:28:48 rpmi: libwayland-server-1.17.0-alt1 sisyphus+225894.100.1.1 1553872803 installed <13>Dec 21 03:28:48 rpmi: libpng16-1.6.37-alt1 sisyphus+236677.100.2.1 1566917982 installed <13>Dec 21 03:28:48 rpmi: libslang2-2.3.2-alt3 sisyphus+226951.200.4.1 1554841002 installed <13>Dec 21 03:28:48 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>Dec 21 03:28:48 rpmi: libXau-devel-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>Dec 21 03:28:48 rpmi: libICE-devel-1.0.9-alt1 1409902719 installed <13>Dec 21 03:28:48 rpmi: libSM-devel-1.2.3-alt1 sisyphus+226734.100.2.1 1554586157 installed <13>Dec 21 03:28:48 rpmi: libaudiofile1-0.3.6-alt3 sisyphus+222710.100.1.1 1551006551 installed <13>Dec 21 03:28:48 rpmi: libOpenGL-7:1.2.0-alt4 sisyphus+241659.100.1.1 1574755340 installed <13>Dec 21 03:28:48 rpmi: libGLES-7:1.2.0-alt4 sisyphus+241659.100.1.1 1574755340 installed <13>Dec 21 03:28:48 rpmi: libogg-devel-1.3.3-alt1 sisyphus+221902.4000.4.1 1550598413 installed <13>Dec 21 03:28:48 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550600768 installed <13>Dec 21 03:28:48 rpmi: libmad-0.15.1b-alt9 sisyphus+222614.100.1.1 1550890148 installed <13>Dec 21 03:28:49 rpmi: timidity-instruments-1:1.0-alt1 1166705614 installed <13>Dec 21 03:28:49 rpmi: libgsm-1.0.17-alt1 1523356157 installed <13>Dec 21 03:28:49 rpmi: libsndfile-1.0.28-alt2 sisyphus.212728.100 1536333060 installed <13>Dec 21 03:28:49 rpmi: liblz4-1:1.9.2-alt1 sisyphus+238585.100.2.2 1570066861 installed <13>Dec 21 03:28:49 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521088 installed <13>Dec 21 03:28:49 rpmi: libgcrypt20-1.8.5-alt3 sisyphus+239622.100.1.1 1571746563 installed <13>Dec 21 03:28:49 rpmi: libsystemd-1:244.1-alt1 sisyphus+243289.100.2.3 1576850544 installed <13>Dec 21 03:28:49 rpmi: libdbus-1.12.16-alt2 sisyphus+240566.100.2.1 1573547688 installed <13>Dec 21 03:28:49 rpmi: libasyncns-0.8-alt2.qa1 1365949819 installed <13>Dec 21 03:28:49 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268594 installed <13>Dec 21 03:28:49 rpmi: libwayland-client-1.17.0-alt1 sisyphus+225894.100.1.1 1553872803 installed <13>Dec 21 03:28:49 rpmi: libpciaccess-1:0.16-alt1 sisyphus+234814.100.1.1 1563438297 installed <13>Dec 21 03:28:49 rpmi: libdrm-1:2.4.100-alt1 sisyphus+240099.100.1.1 1572599782 installed <13>Dec 21 03:28:49 rpmi: libgbm-4:19.2.8-alt1 sisyphus+243247.100.1.3 1576829396 installed <13>Dec 21 03:28:49 rpmi: gcc-c++-common-1.4.24-alt3 sisyphus+243033.100.1.1 1576462403 installed <13>Dec 21 03:28:49 rpmi: libstdc++9-devel-9.2.1-alt2 sisyphus+240563.200.2.1 1573478618 installed <13>Dec 21 03:28:51 rpmi: gcc9-c++-9.2.1-alt2 sisyphus+240563.200.2.1 1573478618 installed <13>Dec 21 03:28:51 rpmi: alsa-ucm-conf-1.2.1.2-alt1 sisyphus+242075.200.1.1 1575268256 installed <13>Dec 21 03:28:51 rpmi: alsa-topology-conf-1.2.1-alt1 sisyphus+240942.100.4.1 1574247451 installed <13>Dec 21 03:28:51 rpmi: libalsa-1:1.2.1.2-alt1 sisyphus+242075.100.1.1 1575268229 installed <13>Dec 21 03:28:51 rpmi: libX11-locales-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056781 installed <13>Dec 21 03:28:51 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949347 installed <13>Dec 21 03:28:51 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Dec 21 03:28:51 rpmi: libX11-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056781 installed <13>Dec 21 03:28:51 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed <13>Dec 21 03:28:51 rpmi: libXxf86vm-1.1.4-alt2 1527672159 installed <13>Dec 21 03:28:51 rpmi: libXi-1.7.10-alt1 sisyphus+232786.300.1.1 1561106975 installed <13>Dec 21 03:28:51 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614842 installed <13>Dec 21 03:28:51 rpmi: libXt-1.1.4-alt1 1369984716 installed <13>Dec 21 03:28:51 rpmi: libpulseaudio-13.0-alt3 sisyphus+242188.100.1.1 1575382762 installed <13>Dec 21 03:28:51 rpmi: libmikmod-3.3.11.1-alt2 1502706813 installed <13>Dec 21 03:28:51 rpmi: libXmu-1.1.3-alt1 sisyphus+225206.1200.1.2 1552949629 installed <13>Dec 21 03:28:51 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949282 installed <13>Dec 21 03:28:51 rpmi: libGLX-mesa-4:19.2.8-alt1 sisyphus+243247.100.1.3 1576829396 installed <13>Dec 21 03:28:51 rpmi: libEGL-mesa-4:19.2.8-alt1 sisyphus+243247.100.1.3 1576829396 installed <13>Dec 21 03:28:51 rpmi: libEGL-7:1.2.0-alt4 sisyphus+241659.100.1.1 1574755340 installed <13>Dec 21 03:28:51 rpmi: libGLX-7:1.2.0-alt4 sisyphus+241659.100.1.1 1574755340 installed <13>Dec 21 03:28:51 rpmi: libGL-7:1.2.0-alt4 sisyphus+241659.100.1.1 1574755340 installed <13>Dec 21 03:28:51 rpmi: libGLU-4:9.0.0-alt1 1347643776 installed <13>Dec 21 03:28:51 rpmi: libXrender-0.9.8-alt1 1371312110 installed <13>Dec 21 03:28:51 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949698 installed <13>Dec 21 03:28:51 rpmi: libSDL-1.2.14-alt8 sisyphus+232545.100.1.1 1560879158 installed <13>Dec 21 03:28:51 rpmi: libSDL_mixer-1.2.12-alt1 1421435872 installed <13>Dec 21 03:28:51 rpmi: libsmpeg-0.4.5-alt3.svn20120121 sisyphus+224764.100.1.1 1552297037 installed <13>Dec 21 03:28:51 rpmi: libfreeglut-3.2.1-alt2 sisyphus+239597.100.1.1 1571728958 installed <13>Dec 21 03:28:53 rpmi: libxcb-devel-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Dec 21 03:28:53 rpmi: libX11-devel-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056781 installed <13>Dec 21 03:28:53 rpmi: libglvnd-devel-7:1.2.0-alt4 sisyphus+241659.100.1.1 1574755340 installed <13>Dec 21 03:28:53 rpmi: libGL-devel-4:19.2.8-alt1 sisyphus+243247.100.1.3 1576829396 installed <13>Dec 21 03:28:53 rpmi: libGLU-devel-4:9.0.0-alt1 1347643776 installed <13>Dec 21 03:28:53 rpmi: libSDL-devel-1.2.14-alt8 sisyphus+232545.100.1.1 1560879158 installed <13>Dec 21 03:28:53 rpmi: libXext-devel-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed <13>Dec 21 03:28:53 rpmi: libXfixes-devel-5.0.3-alt1 sisyphus+226736.100.2.2 1554614842 installed <13>Dec 21 03:28:53 rpmi: libXt-devel-1.1.4-alt1 1369984716 installed <13>Dec 21 03:28:53 rpmi: libXmu-devel-1.1.3-alt1 sisyphus+225206.1200.1.2 1552949629 installed <13>Dec 21 03:28:53 rpmi: libXi-devel-1.7.10-alt1 sisyphus+232786.300.1.1 1561106975 installed <13>Dec 21 03:28:53 rpmi: libSDL_mixer-devel-1.2.12-alt1 1421435872 installed <13>Dec 21 03:28:53 rpmi: libfreeglut-devel-3.2.1-alt2 sisyphus+239597.100.1.1 1571728958 installed <13>Dec 21 03:28:53 rpmi: libsmpeg-devel-0.4.5-alt3.svn20120121 sisyphus+224764.100.1.1 1552297037 installed <13>Dec 21 03:28:53 rpmi: aalib-1.4-alt8rc5 1460743513 installed <13>Dec 21 03:28:53 rpmi: libalsa-devel-1:1.2.1.2-alt1 sisyphus+242075.100.1.1 1575268229 installed <13>Dec 21 03:28:53 rpmi: gcc-c++-9-alt1 sisyphus+239632.300.3.1 1571789214 installed <13>Dec 21 03:28:53 rpmi: libpng-devel-1.6.37-alt1 sisyphus+236677.100.2.1 1566917982 installed <13>Dec 21 03:28:53 rpmi: libvorbis-devel-1.3.6-alt2 sisyphus+220072.200.2.2 1548744467 installed <13>Dec 21 03:28:53 rpmi: libaudiofile-devel-0.3.6-alt3 sisyphus+222710.100.1.1 1551006551 installed <13>Dec 21 03:28:53 rpmi: libslang2-devel-2.3.2-alt3 sisyphus+226951.200.4.1 1554841002 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.79081 + 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.79081 + 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 --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 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] 36 | 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] 331 | 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] 447 | 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 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] 149 | 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] 102 | 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] 164 | 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 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] 211 | 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] 200 | 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] 46 | 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 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] 36 | 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] 223 | 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] 349 | 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 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] 81 | int i; | ^ myship.cpp: In member function 'virtual void MyShip::draw()': myship.cpp:357:6: warning: unused variable 'i' [-Wunused-variable] 357 | 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] 503 | Sprite *explode; | ^~~~~~~ myship.cpp:556:12: warning: enumeration value 'UNTOUCHABLE' not handled in switch [-Wswitch] 556 | 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] 750 | 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 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] 270 | static int i=0; | ^ cube.cpp:234:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] 234 | 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] 270 | 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 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 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] 491 | 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] 635 | 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 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] 220 | 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 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] 122 | 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] 232 | 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] 473 | 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] 632 | 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 variables.cpp -o variables.o -DDATADIR=\"/usr/share/games/glaxium\" variables.cpp:39:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 39 | "welcome.wav", | ^~~~~~~~~~~~~ variables.cpp:40:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 40 | "tir.wav", | ^~~~~~~~~ variables.cpp:41:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 41 | "explode1.wav", | ^~~~~~~~~~~~~~ variables.cpp:42:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 42 | "explode2.wav", | ^~~~~~~~~~~~~~ variables.cpp:43:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 43 | "tachefire.wav", | ^~~~~~~~~~~~~~~ variables.cpp:44:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 44 | "glups.wav", | ^~~~~~~~~~~ variables.cpp:45:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 45 | "powerup.wav", | ^~~~~~~~~~~~~ variables.cpp:46:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 46 | "detection.wav", | ^~~~~~~~~~~~~~~ variables.cpp:47:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 47 | "gameover.wav" | ^~~~~~~~~~~~~~ variables.cpp: In member function 'void GlaxiumVariables::initVariables()': variables.cpp:161:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 161 | space_name[0] = "textures/space1.png"; | ^~~~~~~~~~~~~~~~~~~~~ variables.cpp:162:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 162 | space_name[1] = "textures/space0.png"; | ^~~~~~~~~~~~~~~~~~~~~ variables.cpp:163:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 163 | space_name[2] = "textures/space3.png"; | ^~~~~~~~~~~~~~~~~~~~~ variables.cpp:164:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 164 | space_name[3] = "textures/space2.png"; | ^~~~~~~~~~~~~~~~~~~~~ variables.cpp: In member function 'void GlaxiumVariables::initTextures()': variables.cpp:229:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 229 | initTexture(texture_floorMap[0], "textures/floormap.png"); | ^~~~~~~~~~~~~~~~~~~~~~~ variables.cpp:232:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 232 | initTexture(texture_floorMap[1], "textures/floormap1.png"); | ^~~~~~~~~~~~~~~~~~~~~~~~ variables.cpp:235:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 235 | initTexture(texture_floorMap[2], "textures/floormap2.png"); | ^~~~~~~~~~~~~~~~~~~~~~~~ variables.cpp:238:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 238 | initTexture(texture_floorMap[3], "textures/floormap3.png"); | ^~~~~~~~~~~~~~~~~~~~~~~~ variables.cpp:241:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 241 | initTexture(texture_floorMap[4], "textures/floormap4.png"); | ^~~~~~~~~~~~~~~~~~~~~~~~ variables.cpp:245:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 245 | initTexture(texture_mark, "textures/mark.png"); | ^~~~~~~~~~~~~~~~~~~ variables.cpp:246:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 246 | initTexture(texture_building, "textures/cube.png"); | ^~~~~~~~~~~~~~~~~~~ variables.cpp:247:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 247 | initTexture(texture_tache, "textures/tache.png"); | ^~~~~~~~~~~~~~~~~~~~ variables.cpp:248:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 248 | initTexture(texture_deadtache, "textures/deadtache.png"); | ^~~~~~~~~~~~~~~~~~~~~~~~ variables.cpp:249:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 249 | initTexture(texture_camouflage, "textures/camouflage.png"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ variables.cpp:250:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 250 | initTexture(texture_thunder, "textures/thunder.png"); | ^~~~~~~~~~~~~~~~~~~~~~ variables.cpp:251:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 251 | initTexture(texture_specialeffect1, "textures/effect1.png"); | ^~~~~~~~~~~~~~~~~~~~~~ variables.cpp:253:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 253 | initTexture(texture_chaine, "textures/chain.png"); | ^~~~~~~~~~~~~~~~~~~~ variables.cpp:254:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 254 | initTexture(texture_myship, "textures/myship.png"); | ^~~~~~~~~~~~~~~~~~~~~ variables.cpp:255:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 255 | initTexture(texture_piege, "textures/piege.png"); | ^~~~~~~~~~~~~~~~~~~~ variables.cpp:256:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 256 | initTexture(texture_bandit1, "textures/bandit1.png"); | ^~~~~~~~~~~~~~~~~~~~~~ variables.cpp:257:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 257 | initTexture(texture_fire3, "textures/missile.png"); | ^~~~~~~~~~~~~~~~~~~~~~ variables.cpp:258:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 258 | initTexture(texture_fighter2, "textures/fighter2.png"); | ^~~~~~~~~~~~~~~~~~~~~~~ variables.cpp:260:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 260 | initTexture(texture_bandit2, "textures/bandit2.png"); | ^~~~~~~~~~~~~~~~~~~~~~ variables.cpp:261:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 261 | initTexture(texture_sphere, "textures/sphere.png"); | ^~~~~~~~~~~~~~~~~~~~~ variables.cpp:263:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 263 | initTexture(texture_fumee[0], "textures/fumee1.png"); | ^~~~~~~~~~~~~~~~~~~~~ variables.cpp:264:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 264 | initTexture(texture_fumee[1], "textures/fumee2.png"); | ^~~~~~~~~~~~~~~~~~~~~ variables.cpp:265:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 265 | initTexture(texture_fumee[2], "textures/fumee3.png"); | ^~~~~~~~~~~~~~~~~~~~~ variables.cpp:267:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 267 | initTexture(texture_gameover, "textures/gameover.png"); | ^~~~~~~~~~~~~~~~~~~~~~~ variables.cpp:268:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 268 | initTexture(texture_board, "textures/board.png"); | ^~~~~~~~~~~~~~~~~~~~ variables.cpp:269:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 269 | initTexture(texture_galaxy, "textures/galaxy.png"); | ^~~~~~~~~~~~~~~~~~~~~ variables.cpp:271:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 271 | initTexture(texture_capsule[Diamond::POWER], "textures/capsule_shield.png"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ variables.cpp:272:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 272 | initTexture(texture_capsule[Diamond::POWERUP], "textures/capsule_power.png"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ variables.cpp:273:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 273 | initTexture(texture_capsule[Diamond::BOMB], "textures/capsule_bomb.png"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ variables.cpp:274:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 274 | initTexture(texture_capsule[Diamond::INVUL], "textures/capsule_invul.png"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ variables.cpp:276:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 276 | initTexture(texture_floor[0], "textures/floor.png"); | ^~~~~~~~~~~~~~~~~~~~ variables.cpp:277:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 277 | initTexture(texture_letters, "textures/chars.png"); | ^~~~~~~~~~~~~~~~~~~~ variables.cpp:281:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 281 | initTexture(texture_floor[1], "textures/floor1.png"); | ^~~~~~~~~~~~~~~~~~~~~ variables.cpp:284:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 284 | initTexture(texture_floor[2], "textures/floor2.png"); | ^~~~~~~~~~~~~~~~~~~~~ variables.cpp:287:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 287 | initTexture(texture_floor[3], "textures/floor3.png"); | ^~~~~~~~~~~~~~~~~~~~~ variables.cpp:290:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 290 | initTexture(texture_floor[4], "textures/floor4.png"); | ^~~~~~~~~~~~~~~~~~~~~ variables.cpp:293:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 293 | initTexture(texture_border, "textures/border2.png"); | ^~~~~~~~~~~~~~~~~~~~~~ variables.cpp:308:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 308 | texture = new PngTex(getFullPath("textures/glax2.png")); | ^~~~~~~~~~~~~~~~~~~~ variables.cpp: In member function 'void GlaxiumVariables::initSound()': variables.cpp:364:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 364 | module2 = Mix_LoadMUS(getFullPath("samples/glax3.xm")); | ^~~~~~~~~~~~~~~~~~ In file included from variables.hpp:28, from sprite.hpp:38, from variables.cpp:19: variables.cpp: In member function 'void GlaxiumVariables::initInstallDir()': conf.h:4:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4 | #define DATADIR "/usr/share/games/glaxium" variables.cpp:398:17: note: in expansion of macro 'DATADIR' 398 | installDir = DATADIR"/"; | ^~~~~~~ variables.cpp:401:10: warning: too many arguments for format [-Wformat-extra-args] 401 | 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] 494 | 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' 497 | 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] 108 | 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] 96 | 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 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] 255 | int i,j,k; | ^ scene.cpp:255:10: warning: unused variable 'k' [-Wunused-variable] 255 | int i,j,k; | ^ scene.cpp: In member function 'void Scene::drawFloor()': scene.cpp:379:16: warning: unused variable 'dot3LightX' [-Wunused-variable] 379 | static float dot3LightX = 0; | ^~~~~~~~~~ scene.cpp:380:15: warning: unused variable 'cpt' [-Wunused-variable] 380 | static float cpt=0; | ^~~ scene.cpp:381:15: warning: unused variable 'halfMul' [-Wunused-variable] 381 | static float halfMul[] = {.5, .5 , .5,0}; | ^~~~~~~ scene.cpp:382:15: warning: unused variable 'halfAdd' [-Wunused-variable] 382 | static float halfAdd[] = {.5,.5,.5,0}; | ^~~~~~~ scene.cpp:384:6: warning: variable 'textureMap' set but not used [-Wunused-but-set-variable] 384 | int textureMap; | ^~~~~~~~~~ scene.cpp: In member function 'void Scene::drawPlayers()': scene.cpp:539:6: warning: unused variable 'i' [-Wunused-variable] 539 | int i; | ^ scene.cpp: In member function 'void Scene::drawFPS()': scene.cpp:726:6: warning: unused variable 'i' [-Wunused-variable] 726 | int i; | ^ scene.cpp:727:6: warning: variable 'diff' set but not used [-Wunused-but-set-variable] 727 | int diff; | ^~~~ scene.cpp: In member function 'void Scene::initOpenGl()': scene.cpp:1104:22: warning: unused variable 'floorShader' [-Wunused-variable] 1104 | const unsigned char floorShader[]= | ^~~~~~~~~~~ scene.cpp: In member function 'void Scene::drawFPSBench()': scene.cpp:1695:6: warning: unused variable 'i' [-Wunused-variable] 1695 | int i; | ^ scene.cpp:1696:6: warning: variable 'diff' set but not used [-Wunused-but-set-variable] 1696 | int diff; | ^~~~ scene.cpp: In member function 'void Scene::drawMenu()': scene.cpp:1732:6: warning: unused variable 'i' [-Wunused-variable] 1732 | 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] 1938 | 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] 1959 | 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] 382 | static float halfAdd[] = {.5,.5,.5,0}; | ^~~~~~~ scene.cpp:381:15: warning: 'halfMul' defined but not used [-Wunused-variable] 381 | static float halfMul[] = {.5, .5 , .5,0}; | ^~~~~~~ scene.cpp:380:15: warning: 'cpt' defined but not used [-Wunused-variable] 380 | static float cpt=0; | ^~~ scene.cpp:379:16: warning: 'dot3LightX' defined but not used [-Wunused-variable] 379 | 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 main.cpp -o main.o -DDATADIR=\"/usr/share/games/glaxium\" main.cpp: In function 'int main(int, char**)': main.cpp:232:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 232 | 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] 242 | delete scene->globalList; | ^~~~~~~~~~ main.cpp:262:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 262 | GLvar->module1 = Mix_LoadMUS(GLvar->getFullPath("samples/glax.xm")); | ^~~~~~~~~~~~~~~~~ main.cpp:74:9: warning: unused variable 'keyA' [-Wunused-variable] 74 | int keyA=0; | ^~~~ main.cpp:75:9: warning: unused variable 'keyZ' [-Wunused-variable] 75 | 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 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] 36 | 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] 208 | 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] 334 | 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] 91 | fighter2_meshes[i*24+7] = 1 - fighter2_meshes[i*24+7]; | ~~~~~~~~~~~~~~~~~~~~~~^ fighter2.cpp:90:15: note: within this loop 90 | 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] 223 | if (ringing_) | ^~ piege.cpp:232:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 232 | 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] 332 | 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' 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.41086 + 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.94981 + 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.AhF3NN 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.Gh4gkO 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), libc.so.6(GLIBC_2.7)(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.ap0zGR 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.dZeOnP find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.glHxMQ 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 19.79user 4.32system 0:18.62elapsed 129%CPU (0avgtext+0avgdata 68504maxresident)k 0inputs+0outputs (0major+792316minor)pagefaults 0swaps 32.79user 11.15system 0:39.89elapsed 110%CPU (0avgtext+0avgdata 109788maxresident)k 21264inputs+0outputs (0major+1131005minor)pagefaults 0swaps --- glaxium-0.5-alt6.1.qa4.x86_64.rpm.repo 2019-03-02 11:10:44.000000000 +0000 +++ glaxium-0.5-alt6.1.qa4.x86_64.rpm.hasher 2019-12-21 03:29:17.952648110 +0000 @@ -79,2 +79,3 @@ Requires: libc.so.6(GLIBC_2.4)(64bit) +Requires: libc.so.6(GLIBC_2.7)(64bit) Requires: libgcc_s.so.1(GCC_3.0)(64bit)