<86>Jan 6 11:14:56 userdel[100156]: delete user 'rooter' <86>Jan 6 11:14:56 groupadd[100172]: group added to /etc/group: name=rooter, GID=699 <86>Jan 6 11:14:56 groupadd[100172]: group added to /etc/gshadow: name=rooter <86>Jan 6 11:14:56 groupadd[100172]: new group: name=rooter, GID=699 <86>Jan 6 11:14:56 useradd[100183]: new user: name=rooter, UID=699, GID=699, home=/root, shell=/bin/bash <86>Jan 6 11:14:56 userdel[100213]: delete user 'builder' <86>Jan 6 11:14:56 userdel[100213]: removed group 'builder' owned by 'builder' <86>Jan 6 11:14:56 userdel[100213]: removed shadow group 'builder' owned by 'builder' <86>Jan 6 11:14:56 groupadd[100289]: group added to /etc/group: name=builder, GID=700 <86>Jan 6 11:14:56 groupadd[100289]: group added to /etc/gshadow: name=builder <86>Jan 6 11:14:56 groupadd[100289]: new group: name=builder, GID=700 <86>Jan 6 11:14:56 useradd[100298]: new user: name=builder, UID=700, GID=700, home=/usr/src, shell=/bin/bash <13>Jan 6 11:15:00 rpmi: xorg-proto-devel-2019.1-alt1 sisyphus+232786.100.1.1 1561106722 installed <13>Jan 6 11:15:00 rpmi: libogg-1.3.3-alt1 sisyphus+221902.4000.4.1 1550598661 installed <13>Jan 6 11:15:00 rpmi: libglvnd-7:1.2.0-alt4 sisyphus+241659.100.1.1 1574755345 installed <13>Jan 6 11:15:00 rpmi: libflac8-1.3.2-alt2 sisyphus+220898.4400.11.1 1551973321 installed <13>Jan 6 11:15:00 rpmi: libvorbis-1.3.6-alt2 sisyphus+220072.200.2.2 1548744475 installed <13>Jan 6 11:15:00 rpmi: libICE-1.0.9-alt1 1409902721 installed <13>Jan 6 11:15:00 rpmi: libSM-1.2.3-alt1 sisyphus+226734.100.2.1 1554586158 installed <13>Jan 6 11:15:00 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Jan 6 11:15:00 rpmi: libwayland-server-1.17.0-alt1 sisyphus+225894.100.1.1 1553872805 installed <13>Jan 6 11:15:00 rpmi: libpng16-1.6.37-alt1 sisyphus+236677.100.2.1 1566917998 installed <13>Jan 6 11:15:00 rpmi: libslang2-2.3.2-alt4 sisyphus+243757.300.3.1 1577895646 installed <13>Jan 6 11:15:00 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Jan 6 11:15:00 rpmi: libXau-devel-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Jan 6 11:15:00 rpmi: libICE-devel-1.0.9-alt1 1409902721 installed <13>Jan 6 11:15:00 rpmi: libSM-devel-1.2.3-alt1 sisyphus+226734.100.2.1 1554586158 installed <13>Jan 6 11:15:00 rpmi: libaudiofile1-0.3.6-alt3 sisyphus+222710.100.1.1 1551006566 installed <13>Jan 6 11:15:00 rpmi: libOpenGL-7:1.2.0-alt4 sisyphus+241659.100.1.1 1574755345 installed <13>Jan 6 11:15:00 rpmi: libGLES-7:1.2.0-alt4 sisyphus+241659.100.1.1 1574755345 installed <13>Jan 6 11:15:00 rpmi: libogg-devel-1.3.3-alt1 sisyphus+221902.4000.4.1 1550598661 installed <13>Jan 6 11:15:00 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550601058 installed <13>Jan 6 11:15:00 rpmi: libmad-0.15.1b-alt9 sisyphus+222614.100.1.1 1550890149 installed <13>Jan 6 11:15:00 rpmi: timidity-instruments-1:1.0-alt1 1166705614 installed <13>Jan 6 11:15:00 rpmi: libgsm-1.0.17-alt1 1523356165 installed <13>Jan 6 11:15:00 rpmi: libsndfile-1.0.28-alt2 sisyphus.212728.100 1536333068 installed <13>Jan 6 11:15:00 rpmi: liblz4-1:1.9.2-alt1 sisyphus+238585.100.2.2 1570066927 installed <13>Jan 6 11:15:00 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521082 installed <13>Jan 6 11:15:00 rpmi: libgcrypt20-1.8.5-alt3 sisyphus+239622.100.1.1 1571746654 installed <13>Jan 6 11:15:00 rpmi: libsystemd-1:244.1-alt1 sisyphus+243289.100.2.3 1576850590 installed <13>Jan 6 11:15:00 rpmi: libdbus-1.12.16-alt2 sisyphus+240566.100.2.1 1573547696 installed <13>Jan 6 11:15:00 rpmi: libasyncns-0.8-alt2.qa1 1365949820 installed <13>Jan 6 11:15:00 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268571 installed <13>Jan 6 11:15:00 rpmi: libwayland-client-1.17.0-alt1 sisyphus+225894.100.1.1 1553872805 installed <13>Jan 6 11:15:00 rpmi: libpciaccess-1:0.16-alt1 sisyphus+234814.100.1.1 1563438291 installed <13>Jan 6 11:15:00 rpmi: libdrm-1:2.4.100-alt1 sisyphus+240099.100.1.1 1572599774 installed <13>Jan 6 11:15:00 rpmi: libgbm-4:19.2.8-alt1 sisyphus+243247.100.1.3 1576828020 installed <13>Jan 6 11:15:00 rpmi: gcc-c++-common-1.4.24-alt3 sisyphus+243033.100.1.1 1576462403 installed <13>Jan 6 11:15:01 rpmi: libstdc++9-devel-9.2.1-alt2 sisyphus+240563.200.2.1 1573479396 installed <13>Jan 6 11:15:01 rpmi: gcc9-c++-9.2.1-alt2 sisyphus+240563.200.2.1 1573479396 installed <13>Jan 6 11:15:01 rpmi: alsa-ucm-conf-1.2.1.2-alt1 sisyphus+242075.200.1.1 1575268256 installed <13>Jan 6 11:15:02 rpmi: alsa-topology-conf-1.2.1-alt1 sisyphus+240942.100.4.1 1574247451 installed <13>Jan 6 11:15:02 rpmi: libalsa-1:1.2.1.2-alt1 sisyphus+242075.100.1.1 1575268262 installed <13>Jan 6 11:15:02 rpmi: libX11-locales-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056781 installed <13>Jan 6 11:15:02 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949353 installed <13>Jan 6 11:15:02 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593801 installed <13>Jan 6 11:15:02 rpmi: libX11-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056801 installed <13>Jan 6 11:15:02 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Jan 6 11:15:02 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed <13>Jan 6 11:15:02 rpmi: libXi-1.7.10-alt1 sisyphus+232786.300.1.1 1561106978 installed <13>Jan 6 11:15:02 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614841 installed <13>Jan 6 11:15:02 rpmi: libXt-1.1.4-alt1 1369984722 installed <13>Jan 6 11:15:02 rpmi: libpulseaudio-13.0-alt3 sisyphus+242188.100.1.1 1575382773 installed <13>Jan 6 11:15:02 rpmi: libmikmod-3.3.11.1-alt2 1502706814 installed <13>Jan 6 11:15:02 rpmi: libXmu-1.1.3-alt1 sisyphus+225206.1200.1.2 1552949641 installed <13>Jan 6 11:15:02 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949286 installed <13>Jan 6 11:15:02 rpmi: libGLX-mesa-4:19.2.8-alt1 sisyphus+243247.100.1.3 1576828020 installed <13>Jan 6 11:15:02 rpmi: libEGL-mesa-4:19.2.8-alt1 sisyphus+243247.100.1.3 1576828020 installed <13>Jan 6 11:15:02 rpmi: libEGL-7:1.2.0-alt4 sisyphus+241659.100.1.1 1574755345 installed <13>Jan 6 11:15:02 rpmi: libGLX-7:1.2.0-alt4 sisyphus+241659.100.1.1 1574755345 installed <13>Jan 6 11:15:02 rpmi: libGL-7:1.2.0-alt4 sisyphus+241659.100.1.1 1574755345 installed <13>Jan 6 11:15:02 rpmi: libGLU-4:9.0.0-alt1 1347643784 installed <13>Jan 6 11:15:02 rpmi: libXrender-0.9.8-alt1 1371312112 installed <13>Jan 6 11:15:02 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949710 installed <13>Jan 6 11:15:02 rpmi: libSDL-1.2.14-alt8 sisyphus+232545.100.1.1 1560879163 installed <13>Jan 6 11:15:02 rpmi: libSDL_mixer-1.2.12-alt1 1421435874 installed <13>Jan 6 11:15:02 rpmi: libsmpeg-0.4.5-alt3.svn20120121 sisyphus+224764.100.1.1 1552297038 installed <13>Jan 6 11:15:02 rpmi: libfreeglut-3.2.1-alt2 sisyphus+239597.100.1.1 1571728966 installed <13>Jan 6 11:15:04 rpmi: libxcb-devel-1.13.1-alt1 sisyphus+226527.100.2.2 1554593801 installed <13>Jan 6 11:15:04 rpmi: libX11-devel-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056801 installed <13>Jan 6 11:15:04 rpmi: libglvnd-devel-7:1.2.0-alt4 sisyphus+241659.100.1.1 1574755345 installed <13>Jan 6 11:15:04 rpmi: libGL-devel-4:19.2.8-alt1 sisyphus+243247.100.1.3 1576828020 installed <13>Jan 6 11:15:04 rpmi: libGLU-devel-4:9.0.0-alt1 1347643784 installed <13>Jan 6 11:15:04 rpmi: libSDL-devel-1.2.14-alt8 sisyphus+232545.100.1.1 1560879163 installed <13>Jan 6 11:15:04 rpmi: libXext-devel-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Jan 6 11:15:04 rpmi: libXfixes-devel-5.0.3-alt1 sisyphus+226736.100.2.2 1554614841 installed <13>Jan 6 11:15:04 rpmi: libXt-devel-1.1.4-alt1 1369984722 installed <13>Jan 6 11:15:04 rpmi: libXmu-devel-1.1.3-alt1 sisyphus+225206.1200.1.2 1552949641 installed <13>Jan 6 11:15:04 rpmi: libXi-devel-1.7.10-alt1 sisyphus+232786.300.1.1 1561106978 installed <13>Jan 6 11:15:04 rpmi: libSDL_mixer-devel-1.2.12-alt1 1421435874 installed <13>Jan 6 11:15:04 rpmi: libfreeglut-devel-3.2.1-alt2 sisyphus+239597.100.1.1 1571728966 installed <13>Jan 6 11:15:04 rpmi: libsmpeg-devel-0.4.5-alt3.svn20120121 sisyphus+224764.100.1.1 1552297038 installed <13>Jan 6 11:15:04 rpmi: aalib-1.4-alt8rc5 1460743517 installed <13>Jan 6 11:15:04 rpmi: libalsa-devel-1:1.2.1.2-alt1 sisyphus+242075.100.1.1 1575268262 installed <13>Jan 6 11:15:04 rpmi: gcc-c++-9-alt1 sisyphus+239632.300.3.1 1571788297 installed <13>Jan 6 11:15:04 rpmi: libpng-devel-1.6.37-alt1 sisyphus+236677.100.2.1 1566917998 installed <13>Jan 6 11:15:04 rpmi: libvorbis-devel-1.3.6-alt2 sisyphus+220072.200.2.2 1548744475 installed <13>Jan 6 11:15:04 rpmi: libaudiofile-devel-0.3.6-alt3 sisyphus+222710.100.1.1 1551006566 installed <13>Jan 6 11:15:04 rpmi: libslang2-devel-2.3.2-alt4 sisyphus+243757.300.3.1 1577895646 installed Building target platforms: i586 Building for target i586 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: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.83186 + 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.83186 + 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 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + 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=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --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 i586-alt-linux-gcc... i586-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 i586-alt-linux-gcc accepts -g... yes checking how to run the C preprocessor... i586-alt-linux-gcc -E checking for i586-alt-linux-g++... i586-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether i586-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' i586-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' 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.70374 + 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) verify-elf: WARNING: ./usr/bin/glaxium: uses non-LFS functions: fopen Hardlinking identical .pyc and .pyo files Processing files: glaxium-0.5-alt6.1.qa4 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.57578 + 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.RkjsbQ 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.07zVqS 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, /lib/ld-linux.so.2, libGL.so.1 >= set:pjdsnIDZsNXEyzW5oIC3t0AmAeK58LToh647hQpjxZEehcAzuT8DB7Oq4TEBq9RvufkGUI3CUx4qZH7RARYLi1r88w6n1SVfaJowb86umJAebAMVIXh5RTCwyo0oqfGZ6hEdp6kTIuCCp86tXfXkf1BZFR8ZHgkSUHraX9uXbQMoAlh0, libGLU.so.1 >= set:jgWTXYExgpnd, libSDL-1.2.so.0 >= set:lg05gnZbqoH7PWKA4ctnABSz2qI1NSj2Tk8KXpgKRSV1, libSDL_mixer-1.2.so.0 >= set:kgId6X9IcqZhwrJ4OPgfAa4B93, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libgcc_s.so.1(GCC_3.0), libglut.so.3 >= set:ljDA6yfxeS1, libm.so.6(GLIBC_2.0), libm.so.6(GLIBC_2.1), libpng16.so.16 >= set:lhpnZtqi9piY3UeP5TLhzbgsbsASVC50, libpng16.so.16(PNG16_0), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.8), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), 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.pm5W9O 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.BcPC7Q find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.9JSxdR find-requires: running scripts (debuginfo) Requires: glaxium = 0.5-alt6.1.qa4, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libGL.so.1), debug(libGLU.so.1), debug(libSDL-1.2.so.0), debug(libSDL_mixer-1.2.so.0), debug(libc.so.6), debug(libgcc_s.so.1), debug(libglut.so.3), debug(libm.so.6), debug(libpng16.so.16), debug(libstdc++.so.6) Adding to glaxium-debuginfo a strict dependency on glaxium Wrote: /usr/src/RPM/RPMS/i586/glaxium-0.5-alt6.1.qa4.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/glaxium-debuginfo-0.5-alt6.1.qa4.i586.rpm 14.48user 2.55system 0:19.64elapsed 86%CPU (0avgtext+0avgdata 52084maxresident)k 0inputs+0outputs (0major+728645minor)pagefaults 0swaps 23.53user 5.90system 0:34.86elapsed 84%CPU (0avgtext+0avgdata 109496maxresident)k 272inputs+0outputs (0major+1077707minor)pagefaults 0swaps --- glaxium-0.5-alt6.1.qa4.i586.rpm.repo 2019-03-02 11:10:47.000000000 +0000 +++ glaxium-0.5-alt6.1.qa4.i586.rpm.hasher 2020-01-06 11:15:28.844982048 +0000 @@ -80,2 +80,3 @@ Requires: libc.so.6(GLIBC_2.4) +Requires: libc.so.6(GLIBC_2.7) Requires: libgcc_s.so.1(GCC_3.0)