<86>Jan 27 01:33:06 userdel[110136]: delete user 'rooter' <86>Jan 27 01:33:06 userdel[110136]: removed group 'rooter' owned by 'rooter' <86>Jan 27 01:33:06 userdel[110136]: removed shadow group 'rooter' owned by 'rooter' <86>Jan 27 01:33:06 groupadd[110161]: group added to /etc/group: name=rooter, GID=555 <86>Jan 27 01:33:06 groupadd[110161]: group added to /etc/gshadow: name=rooter <86>Jan 27 01:33:06 groupadd[110161]: new group: name=rooter, GID=555 <86>Jan 27 01:33:06 useradd[110175]: new user: name=rooter, UID=555, GID=555, home=/root, shell=/bin/bash <86>Jan 27 01:33:06 userdel[110207]: delete user 'builder' <86>Jan 27 01:33:06 userdel[110207]: removed group 'builder' owned by 'builder' <86>Jan 27 01:33:06 userdel[110207]: removed shadow group 'builder' owned by 'builder' <86>Jan 27 01:33:06 groupadd[110230]: group added to /etc/group: name=builder, GID=556 <86>Jan 27 01:33:06 groupadd[110230]: group added to /etc/gshadow: name=builder <86>Jan 27 01:33:06 groupadd[110230]: new group: name=builder, GID=556 <86>Jan 27 01:33:06 useradd[110256]: new user: name=builder, UID=556, GID=556, home=/usr/src, shell=/bin/bash <13>Jan 27 01:33:11 rpmi: xorg-xproto-devel-7.0.28-alt1 1448272470 installed <13>Jan 27 01:33:11 rpmi: libogg-1.3.2-alt1 1416015875 installed <13>Jan 27 01:33:11 rpmi: libICE-1.0.9-alt1 1409902719 installed <13>Jan 27 01:33:11 rpmi: libSM-1.2.2-alt1 1391072686 installed <13>Jan 27 01:33:11 rpmi: libflac8-1.2.1-alt11.1 1434275120 installed <13>Jan 27 01:33:11 rpmi: libvorbis-1.3.4-alt1 1395615320 installed <13>Jan 27 01:33:11 rpmi: xorg-xextproto-devel-2:7.3.0-alt1 1389258977 installed <13>Jan 27 01:33:11 rpmi: libalsa-1:1.1.0-alt1.1.1 1454429213 installed <13>Jan 27 01:33:11 rpmi: libpng15-1.5.28-alt1 1484572014 installed <13>Jan 27 01:33:11 rpmi: libslang2-2.2.4-alt2 1348618299 installed <13>Jan 27 01:33:11 rpmi: libXau-1.0.8-alt1 1369565807 installed <13>Jan 27 01:33:11 rpmi: libXau-devel-1.0.8-alt1 1369565807 installed <13>Jan 27 01:33:12 rpmi: xorg-fixesproto-devel-1:5.0-alt1 1300091058 installed <13>Jan 27 01:33:12 rpmi: libaudiofile1-0.3.6-alt1.qa1 1460399075 installed <13>Jan 27 01:33:12 rpmi: libICE-devel-1.0.9-alt1 1409902719 installed <13>Jan 27 01:33:12 rpmi: libSM-devel-1.2.2-alt1 1391072686 installed <13>Jan 27 01:33:12 rpmi: libogg-devel-1.3.2-alt1 1416015875 installed <13>Jan 27 01:33:12 rpmi: zlib-devel-1.2.8-alt1 1371079009 installed <13>Jan 27 01:33:12 rpmi: xorg-inputproto-devel-1:2.3-alt1 1362636518 installed <13>Jan 27 01:33:12 rpmi: libmad-0.15.1b-alt8 1398374528 installed <13>Jan 27 01:33:12 rpmi: timidity-instruments-1:1.0-alt1 1166705614 installed <13>Jan 27 01:33:12 rpmi: libwrap-1:7.6-alt11 1297041305 installed <13>Jan 27 01:33:12 rpmi: libgsm-1.0.13-alt8 1365910842 installed <13>Jan 27 01:33:12 rpmi: libsndfile-1.0.28-alt1.M80P.1 p8.212938.100 1536756416 installed <13>Jan 27 01:33:12 rpmi: libjson-c-0.12-alt1 1401212997 installed <13>Jan 27 01:33:12 rpmi: liblz4-1:1.7.5-alt1 1488766699 installed <13>Jan 27 01:33:12 rpmi: libgpg-error-1.31-alt1.M80P.1 1529024730 installed <13>Jan 27 01:33:12 rpmi: libgcrypt20-1.8.3-alt3 p8.214131.100 1542819006 installed <13>Jan 27 01:33:12 rpmi: libsystemd-1:237-alt2.M80P.5 p8+219569.200.8.1 1547830942 installed <13>Jan 27 01:33:12 rpmi: libdbus-1.10.24-alt4.M80P.1 1518773282 installed <13>Jan 27 01:33:12 rpmi: libasyncns-0.8-alt2.qa1 1365949819 installed <13>Jan 27 01:33:12 rpmi: xorg-kbproto-devel-1.0.6-alt1 1332531883 installed <13>Jan 27 01:33:12 rpmi: libxshmfence-1.2-alt1 1420972191 installed <13>Jan 27 01:33:12 rpmi: libexpat-2.2.4-alt0.M80P.1 1503871120 installed <13>Jan 27 01:33:12 rpmi: libpciaccess-1:0.13.4-alt1 1431681688 installed <13>Jan 27 01:33:13 rpmi: libdrm-1:2.4.89-alt1.M80P.1 1516609380 installed <13>Jan 27 01:33:13 rpmi: gcc-c++-common-1.4.20-alt1 1432315196 installed <13>Jan 27 01:33:13 rpmi: libstdc++5-devel-5.3.1-alt3 1457662528 installed <13>Jan 27 01:33:13 rpmi: libX11-locales-3:1.6.3-alt1 1431956885 installed <13>Jan 27 01:33:13 rpmi: libXdmcp-1.1.1-alt1 1334617699 installed <13>Jan 27 01:33:13 rpmi: libxcb-1.12-alt2 p8.218219.300 1545313310 installed <13>Jan 27 01:33:13 rpmi: libX11-3:1.6.3-alt1 1431956911 installed <13>Jan 27 01:33:13 rpmi: libXext-1.3.3-alt1 1409902932 installed <13>Jan 27 01:33:13 rpmi: libXxf86vm-1.1.3-alt1 1369984824 installed <13>Jan 27 01:33:13 rpmi: libXi-1.7.9-alt1.M80P.1 1515766146 installed <13>Jan 27 01:33:13 rpmi: libXfixes-5.0.1-alt1 1369809606 installed <13>Jan 27 01:33:14 rpmi: libXt-1.1.4-alt1 1369984716 installed <13>Jan 27 01:33:14 rpmi: libpulseaudio-9.0-alt2 1469793979 installed <13>Jan 27 01:33:14 rpmi: libmikmod-3.3.8-alt1.1 1449204660 installed <13>Jan 27 01:33:14 rpmi: libXmu-1.1.2-alt1 1391072528 installed <13>Jan 27 01:33:14 rpmi: libXdamage-1.1.3-alt4 1297162596 installed <13>Jan 27 01:33:14 rpmi: libGL-4:17.3.9-alt0.M80P.1 1526555825 installed <13>Jan 27 01:33:14 rpmi: libGLU-4:9.0.0-alt1 1347643776 installed <13>Jan 27 01:33:14 rpmi: libXrender-0.9.8-alt1 1371312110 installed <13>Jan 27 01:33:14 rpmi: libXrandr-1.5.0-alt1 1431936188 installed <13>Jan 27 01:33:14 rpmi: libSDL-1.2.14-alt6.M80P.1 1483818219 installed <13>Jan 27 01:33:14 rpmi: libSDL_mixer-1.2.12-alt1 1421435872 installed <13>Jan 27 01:33:14 rpmi: libsmpeg-0.4.5-alt1.svn20120121 1337590465 installed <13>Jan 27 01:33:14 rpmi: libfreeglut-3.0.0-alt1 1429173818 installed <13>Jan 27 01:33:16 rpmi: libxcb-devel-1.12-alt2 p8.218219.300 1545313310 installed <13>Jan 27 01:33:16 rpmi: libX11-devel-3:1.6.3-alt1 1431956911 installed <13>Jan 27 01:33:16 rpmi: libGL-devel-4:17.3.9-alt0.M80P.1 1526555825 installed <13>Jan 27 01:33:16 rpmi: libGLU-devel-4:9.0.0-alt1 1347643776 installed <13>Jan 27 01:33:16 rpmi: libSDL-devel-1.2.14-alt6.M80P.1 1483818219 installed <13>Jan 27 01:33:16 rpmi: libXext-devel-1.3.3-alt1 1409902932 installed <13>Jan 27 01:33:16 rpmi: libXfixes-devel-5.0.1-alt1 1369809606 installed <13>Jan 27 01:33:16 rpmi: libXt-devel-1.1.4-alt1 1369984716 installed <13>Jan 27 01:33:16 rpmi: aalib-1.4-alt8rc5 1460743513 installed <13>Jan 27 01:33:18 rpmi: gcc5-c++-5.3.1-alt3 1457662528 installed <13>Jan 27 01:33:18 rpmi: libSDL_mixer-devel-1.2.12-alt1 1421435872 installed <13>Jan 27 01:33:18 rpmi: libXi-devel-1.7.9-alt1.M80P.1 1515766146 installed <13>Jan 27 01:33:18 rpmi: libXmu-devel-1.1.2-alt1 1391072528 installed <13>Jan 27 01:33:18 rpmi: libalsa-devel-1:1.1.0-alt1.1.1 1454429213 installed <13>Jan 27 01:33:18 rpmi: libaudiofile-devel-0.3.6-alt1.qa1 1460399075 installed <13>Jan 27 01:33:18 rpmi: libfreeglut-devel-3.0.0-alt1 1429173818 installed <13>Jan 27 01:33:18 rpmi: libpng-devel-1.5.28-alt1 1484572014 installed <13>Jan 27 01:33:18 rpmi: libslang2-devel-2.2.4-alt2 1348618299 installed <13>Jan 27 01:33:18 rpmi: libsmpeg-devel-0.4.5-alt1.svn20120121 1337590465 installed <13>Jan 27 01:33:18 rpmi: libvorbis-devel-1.3.4-alt1 1395615320 installed 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.66918 + 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/tar -xf - + /bin/gzip -dc /usr/src/RPM/SOURCES/glaxium_0.5.tar.gz + 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.66918 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd glaxium_0.5 + CFLAGS='-pipe -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -Wall -g -O2' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-included-gettext checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for x86_64-alt-linux-g++... x86_64-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-alt-linux-g++ accepts -g... yes checking whether make sets ${MAKE}... yes checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.1.5... yes checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking SDL.h usability... yes checking SDL.h presence... yes checking for SDL.h... yes checking for Mix_PlayMusic in -lSDL_mixer... yes checking SDL_mixer.h usability... yes checking SDL_mixer.h presence... yes checking for SDL_mixer.h... yes checking for glVertex3f in -lGL... yes checking for gluPerspective in -lGLU... yes checking for XDestroyWindow in -lX11... yes checking for XFreeDeviceControl in -lXi... yes checking for XmuScanlineNot in -lXmu... yes checking for glutBitmapCharacter in -lglut... yes checking for png_write_rows in -lpng... yes checking GL/gl.h usability... yes checking GL/gl.h presence... yes checking for GL/gl.h... yes checking GL/glu.h usability... yes checking GL/glu.h presence... yes checking for GL/glu.h... yes checking GL/glut.h usability... yes checking GL/glut.h presence... yes checking for GL/glut.h... yes checking GL/glx.h usability... yes checking GL/glx.h presence... yes checking for GL/glx.h... yes checking png.h usability... yes checking png.h presence... yes checking for png.h... yes configure: creating ./config.status config.status: creating Makefile config.status: creating conf.h + '[' -n '' ']' + NPROCS=8 + make -j8 make: Entering directory `/usr/src/RPM/BUILD/glaxium_0.5' x86_64-alt-linux-g++ -c -pipe -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\" x86_64-alt-linux-g++ -c -pipe -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\" x86_64-alt-linux-g++ -c -pipe -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\" x86_64-alt-linux-g++ -c -pipe -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\" x86_64-alt-linux-g++ -c -pipe -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\" x86_64-alt-linux-g++ -c -pipe -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\" x86_64-alt-linux-g++ -c -pipe -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\" x86_64-alt-linux-g++ -c -pipe -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\" ship1.cpp: In constructor 'Ship1::Ship1(List*, float, float, float, int)': ship1.cpp:36:9: warning: unused variable 'nb' [-Wunused-variable] int nb=random()%5; ^ spirale.cpp: In member function 'virtual void Spirale::collision(Sprite*)': spirale.cpp:149:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] switch(contact->getType()) ^ spirale.cpp:149:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] spirale.cpp:149:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] spirale.cpp:149:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] spirale.cpp:149:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] spirale.cpp:149:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] spirale.cpp:149:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] spirale.cpp:149:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] spirale.cpp:149:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] spirale.cpp:149:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] spirale.cpp:149:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] spirale.cpp:149:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] spirale.cpp:149:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] spirale.cpp:149:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] spirale.cpp:149:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] spirale.cpp:149:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] ship1.cpp: In member function 'virtual void Ship1::collision(Sprite*)': ship1.cpp:331:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] switch(contact->getType()) ^ ship1.cpp:331:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] ship1.cpp:331:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] ship1.cpp:331:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] ship1.cpp:331:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] ship1.cpp:331:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] ship1.cpp:331:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] ship1.cpp:331:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] ship1.cpp:331:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] ship1.cpp:331:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] ship1.cpp:331:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] ship1.cpp:331:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] ship1.cpp:331:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] ship1.cpp:331:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] ship1.cpp:331:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] ship1.cpp:331:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] ship1.cpp:331:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] ship1.cpp: In member function 'virtual void Ship1Fire::collision(Sprite*)': ship1.cpp:447:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] switch(contact->getType()) ^ ship1.cpp:447:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] ship1.cpp:447:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] ship1.cpp:447:11: warning: enumeration value 'TYPE_CUBE' not handled in switch [-Wswitch] ship1.cpp:447:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] ship1.cpp:447:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] ship1.cpp:447:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] ship1.cpp:447:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] ship1.cpp:447:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] ship1.cpp:447:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] ship1.cpp:447:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] ship1.cpp:447:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] ship1.cpp:447:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] ship1.cpp:447:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] ship1.cpp:447:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] ship1.cpp:447:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] ship1.cpp:447:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] ship1.cpp:447:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] ship1.cpp:447:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] ship1.cpp:447:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] scratcher.cpp: In constructor 'Scratcher::Scratcher(List*, float, float, int)': scratcher.cpp:102:11: warning: unused variable 'dist' [-Wunused-variable] float dist = (float)sqrt(dx*dx+dz*dz); ^ scratcher.cpp: In member function 'virtual void Scratcher::collision(Sprite*)': scratcher.cpp:164:11: warning: enumeration value 'TYPE_MY_SPACE_SHIP' not handled in switch [-Wswitch] switch(contact->getType()) ^ scratcher.cpp:164:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] scratcher.cpp:164:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] scratcher.cpp:164:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] scratcher.cpp:164:11: warning: enumeration value 'TYPE_CUBE' not handled in switch [-Wswitch] scratcher.cpp:164:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] scratcher.cpp:164:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] scratcher.cpp:164:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] scratcher.cpp:164:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] scratcher.cpp:164:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] scratcher.cpp:164:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] scratcher.cpp:164:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] scratcher.cpp:164:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] scratcher.cpp:164:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] scratcher.cpp:164:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] scratcher.cpp:164:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] scratcher.cpp:164:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] scratcher.cpp:164:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] scratcher.cpp:164:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] scratcher.cpp:164:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] scratcher.cpp:164:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] explosion.cpp: In member function 'virtual void PieceOfShip::drawShadowable()': explosion.cpp:220:11: warning: unused variable 'pColor' [-Wunused-variable] float pColor[] = {1.0,1.0,1.0,1.0}; ^ x86_64-alt-linux-g++ -c -pipe -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\" x86_64-alt-linux-g++ -c -pipe -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\" scene.cpp: In member function 'void Scene::initVariables()': scene.cpp:255:8: warning: unused variable 'j' [-Wunused-variable] int i,j,k; ^ scene.cpp:255:10: warning: unused variable 'k' [-Wunused-variable] int i,j,k; ^ scene.cpp: In member function 'void Scene::drawFloor()': scene.cpp:379:16: warning: unused variable 'dot3LightX' [-Wunused-variable] static float dot3LightX = 0; ^ scene.cpp:380:15: warning: unused variable 'cpt' [-Wunused-variable] static float cpt=0; ^ scene.cpp:381:15: warning: unused variable 'halfMul' [-Wunused-variable] static float halfMul[] = {.5, .5 , .5,0}; ^ scene.cpp:382:15: warning: unused variable 'halfAdd' [-Wunused-variable] static float halfAdd[] = {.5,.5,.5,0}; ^ scene.cpp:384:6: warning: variable 'textureMap' set but not used [-Wunused-but-set-variable] int textureMap; ^ scene.cpp: In member function 'void Scene::drawPlayers()': scene.cpp:539:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ scene.cpp: In member function 'void Scene::drawFPS()': scene.cpp:726:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ scene.cpp:727:6: warning: variable 'diff' set but not used [-Wunused-but-set-variable] int diff; ^ scene.cpp: In member function 'void Scene::initOpenGl()': scene.cpp:1104:22: warning: unused variable 'floorShader' [-Wunused-variable] const unsigned char floorShader[]= ^ diamond.cpp: In member function 'virtual void Diamond::collision(Sprite*)': diamond.cpp:211:18: warning: enumeration value 'POWERUP' not handled in switch [-Wswitch] switch (type_) { ^ diamond.cpp:211:18: warning: enumeration value 'INVUL' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_MY_FIRE2' not handled in switch [-Wswitch] switch(contact->getType()) ^ diamond.cpp:200:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_CUBE' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] diamond.cpp:200:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] x86_64-alt-linux-g++ -c -pipe -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\" scene.cpp: In member function 'void Scene::drawFPSBench()': scene.cpp:1695:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ scene.cpp:1696:6: warning: variable 'diff' set but not used [-Wunused-but-set-variable] int diff; ^ scene.cpp: In member function 'void Scene::drawMenu()': scene.cpp:1732:6: warning: unused variable 'i' [-Wunused-variable] int i, j; ^ scene.cpp: In member function 'void Scene::menuIdle()': scene.cpp:1938:13: warning: variable 'benchTime' set but not used [-Wunused-but-set-variable] static int benchTime; ^ x86_64-alt-linux-g++ -c -pipe -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\" myship.cpp: In constructor 'MyShip::MyShip(List*, int)': myship.cpp:81:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ myship.cpp: In member function 'virtual void MyShip::draw()': myship.cpp:357:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ myship.cpp: In member function 'virtual void MyShip::move()': myship.cpp:503:12: warning: variable 'explode' set but not used [-Wunused-but-set-variable] Sprite *explode; ^ myship.cpp:556:12: warning: enumeration value 'UNTOUCHABLE' not handled in switch [-Wswitch] switch (state_) ^ scene.cpp:1959:86: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fOptions, "%d %d %d %d", &filterValue, &anisValue, &detailValue, &nshadows); ^ myship.cpp: In member function 'virtual void MyShip::collision(Sprite*)': myship.cpp:750:8: warning: enumeration value 'TYPE_MY_SPACE_SHIP' not handled in switch [-Wswitch] switch(contact->getType()) ^ myship.cpp:750:8: warning: enumeration value 'TYPE_MY_FIRE1' not handled in switch [-Wswitch] myship.cpp:750:8: warning: enumeration value 'TYPE_MY_FIRE2' not handled in switch [-Wswitch] myship.cpp:750:8: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] myship.cpp:750:8: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] myship.cpp:750:8: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] myship.cpp:750:8: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] myship.cpp:750:8: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] myship.cpp:750:8: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] myship.cpp:750:8: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] myship.cpp:750:8: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] myship.cpp:750:8: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] x86_64-alt-linux-g++ -c -pipe -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\" cube.cpp: In member function 'virtual void Cube::collision(Sprite*)': cube.cpp:270:24: warning: unused variable 'i' [-Wunused-variable] static int i=0; ^ cube.cpp:234:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] switch(contact->getType()) ^ cube.cpp:234:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] cube.cpp:234:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] cube.cpp:234:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] cube.cpp:234:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] cube.cpp:234:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] cube.cpp:234:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] cube.cpp:234:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] cube.cpp:234:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] cube.cpp:234:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] cube.cpp:234:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] cube.cpp:234:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] cube.cpp:234:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] cube.cpp:234:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] cube.cpp:234:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] x86_64-alt-linux-g++ -c -pipe -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\" x86_64-alt-linux-g++ -c -pipe -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\" bandit2.cpp: In constructor 'Bandit2::Bandit2(List*, float, float, float, int)': bandit2.cpp:36:9: warning: unused variable 'nb' [-Wunused-variable] int nb=random()%5; ^ bandit2.cpp: In member function 'virtual void Bandit2::collision(Sprite*)': bandit2.cpp:223:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] switch(contact->getType()) ^ bandit2.cpp:223:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] bandit2.cpp:223:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] bandit2.cpp:223:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] bandit2.cpp:223:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] bandit2.cpp:223:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] bandit2.cpp:223:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] bandit2.cpp:223:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] bandit2.cpp:223:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] bandit2.cpp:223:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] bandit2.cpp:223:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] bandit2.cpp:223:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] bandit2.cpp:223:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] bandit2.cpp:223:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] bandit2.cpp:223:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] bandit2.cpp:223:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] bandit2.cpp:223:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] bandit2.cpp: In member function 'virtual void Bandit2Fire::collision(Sprite*)': bandit2.cpp:349:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] switch(contact->getType()) ^ bandit2.cpp:349:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] bandit2.cpp:349:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] bandit2.cpp:349:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] bandit2.cpp:349:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] bandit2.cpp:349:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] bandit2.cpp:349:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] bandit2.cpp:349:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] bandit2.cpp:349:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] bandit2.cpp:349:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] bandit2.cpp:349:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] bandit2.cpp:349:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] bandit2.cpp:349:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] bandit2.cpp:349:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] bandit2.cpp:349:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] bandit2.cpp:349:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] bandit2.cpp:349:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] bandit2.cpp:349:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] bandit2.cpp:349:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] pngtex.cpp: In constructor 'PngTex::PngTex(const char*)': pngtex.cpp:46:42: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread( header, 1, sizeof(header), fp); ^ variables.cpp:48:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ variables.cpp:48:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] variables.cpp:48:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] variables.cpp:48:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] variables.cpp:48:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] variables.cpp:48:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] variables.cpp:48:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] variables.cpp:48:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] variables.cpp:48:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] variables.cpp: In member function 'void GlaxiumVariables::initVariables()': variables.cpp:161:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] space_name[0] = "textures/space1.png"; ^ variables.cpp:162:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] space_name[1] = "textures/space0.png"; ^ variables.cpp:163:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] space_name[2] = "textures/space3.png"; ^ variables.cpp:164:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] space_name[3] = "textures/space2.png"; ^ variables.cpp: In member function 'void GlaxiumVariables::initTextures()': variables.cpp:229:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] initTexture(texture_floorMap[0], "textures/floormap.png"); ^ variables.cpp:232:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] initTexture(texture_floorMap[1], "textures/floormap1.png"); ^ variables.cpp:235:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] initTexture(texture_floorMap[2], "textures/floormap2.png"); ^ variables.cpp:238:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] initTexture(texture_floorMap[3], "textures/floormap3.png"); ^ variables.cpp:241:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] initTexture(texture_floorMap[4], "textures/floormap4.png"); ^ variables.cpp:245:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] initTexture(texture_mark, "textures/mark.png"); ^ variables.cpp:246:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] initTexture(texture_building, "textures/cube.png"); ^ variables.cpp:247:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] initTexture(texture_tache, "textures/tache.png"); ^ variables.cpp:248:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] initTexture(texture_deadtache, "textures/deadtache.png"); ^ variables.cpp:249:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] initTexture(texture_camouflage, "textures/camouflage.png"); ^ variables.cpp:250:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] initTexture(texture_thunder, "textures/thunder.png"); ^ variables.cpp:251:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] initTexture(texture_specialeffect1, "textures/effect1.png"); ^ variables.cpp:253:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] initTexture(texture_chaine, "textures/chain.png"); ^ variables.cpp:254:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] initTexture(texture_myship, "textures/myship.png"); ^ variables.cpp:255:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] initTexture(texture_piege, "textures/piege.png"); ^ variables.cpp:256:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] initTexture(texture_bandit1, "textures/bandit1.png"); ^ variables.cpp:257:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] initTexture(texture_fire3, "textures/missile.png"); ^ variables.cpp:258:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] initTexture(texture_fighter2, "textures/fighter2.png"); ^ variables.cpp:260:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] initTexture(texture_bandit2, "textures/bandit2.png"); ^ variables.cpp:261:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] initTexture(texture_sphere, "textures/sphere.png"); ^ variables.cpp:263:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] initTexture(texture_fumee[0], "textures/fumee1.png"); ^ variables.cpp:264:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] initTexture(texture_fumee[1], "textures/fumee2.png"); ^ variables.cpp:265:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] initTexture(texture_fumee[2], "textures/fumee3.png"); ^ variables.cpp:267:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] initTexture(texture_gameover, "textures/gameover.png"); ^ variables.cpp:268:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] initTexture(texture_board, "textures/board.png"); ^ variables.cpp:269:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] initTexture(texture_galaxy, "textures/galaxy.png"); ^ variables.cpp:271:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] initTexture(texture_capsule[Diamond::POWER], "textures/capsule_shield.png"); ^ variables.cpp:272:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] initTexture(texture_capsule[Diamond::POWERUP], "textures/capsule_power.png"); ^ variables.cpp:273:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] initTexture(texture_capsule[Diamond::BOMB], "textures/capsule_bomb.png"); ^ variables.cpp:274:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] initTexture(texture_capsule[Diamond::INVUL], "textures/capsule_invul.png"); ^ variables.cpp:276:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] initTexture(texture_floor[0], "textures/floor.png"); ^ variables.cpp:277:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] initTexture(texture_letters, "textures/chars.png"); ^ variables.cpp:281:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] initTexture(texture_floor[1], "textures/floor1.png"); ^ variables.cpp:284:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] initTexture(texture_floor[2], "textures/floor2.png"); ^ variables.cpp:287:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] initTexture(texture_floor[3], "textures/floor3.png"); ^ variables.cpp:290:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] initTexture(texture_floor[4], "textures/floor4.png"); ^ variables.cpp:293:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] initTexture(texture_border, "textures/border2.png"); ^ variables.cpp:308:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] texture = new PngTex(getFullPath("textures/glax2.png")); ^ variables.cpp: In member function 'void GlaxiumVariables::initSound()': variables.cpp:364:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] module2 = Mix_LoadMUS(getFullPath("samples/glax3.xm")); ^ variables.cpp: In member function 'void GlaxiumVariables::initInstallDir()': variables.cpp:398:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] installDir = DATADIR"/"; ^ variables.cpp:401:43: warning: too many arguments for format [-Wformat-extra-args] printf("Found textures in ./\n", DATADIR); ^ variables.cpp: In member function 'void GlaxiumVariables::initOptionsFile(bool)': variables.cpp:108:68: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fOptions, "%d %d %d %d", &filter, &anis, &details, &nShad); ^ tank.cpp: In member function 'virtual void Tank::collision(Sprite*)': tank.cpp:491:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] switch(contact->getType()) ^ tank.cpp:491:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] tank.cpp:491:11: warning: enumeration value 'TYPE_CUBE' not handled in switch [-Wswitch] tank.cpp:491:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] tank.cpp:491:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] tank.cpp:491:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] tank.cpp:491:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] tank.cpp:491:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] tank.cpp:491:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] tank.cpp:491:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] tank.cpp:491:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] tank.cpp:491:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] tank.cpp:491:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] tank.cpp:491:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] tank.cpp:491:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] tank.cpp:491:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] tank.cpp:491:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] tank.cpp: In member function 'virtual void TankFire::collision(Sprite*)': tank.cpp:635:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] switch(contact->getType()) ^ tank.cpp:635:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] tank.cpp:635:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] tank.cpp:635:11: warning: enumeration value 'TYPE_CUBE' not handled in switch [-Wswitch] tank.cpp:635:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] tank.cpp:635:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] tank.cpp:635:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] tank.cpp:635:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] tank.cpp:635:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] tank.cpp:635:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] tank.cpp:635:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] tank.cpp:635:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] tank.cpp:635:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] tank.cpp:635:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] tank.cpp:635:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] tank.cpp:635:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] tank.cpp:635:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] tank.cpp:635:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] tank.cpp:635:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] tank.cpp:635:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] x86_64-alt-linux-g++ -c -pipe -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\" x86_64-alt-linux-g++ -c -pipe -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\" x86_64-alt-linux-g++ -c -pipe -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\" x86_64-alt-linux-g++ -c -pipe -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\" x86_64-alt-linux-g++ -c -pipe -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\" fire.cpp: In member function 'virtual void MyFire1::collision(Sprite*)': fire.cpp:122:11: warning: enumeration value 'TYPE_MY_SPACE_SHIP' not handled in switch [-Wswitch] switch(contact->getType()) ^ fire.cpp:122:11: warning: enumeration value 'TYPE_MY_FIRE1' not handled in switch [-Wswitch] fire.cpp:122:11: warning: enumeration value 'TYPE_MY_FIRE2' not handled in switch [-Wswitch] fire.cpp:122:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] fire.cpp:122:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] fire.cpp:122:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] fire.cpp:122:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] fire.cpp:122:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] fire.cpp:122:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] fire.cpp:122:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] fire.cpp:122:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] fire.cpp:122:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] fire.cpp:122:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] fire.cpp:122:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] fire.cpp: In member function 'virtual void MyFire2::move()': fire.cpp:232:11: warning: enumeration value 'NOT_STARTED' not handled in switch [-Wswitch] switch(state_) ^ fire.cpp:232:11: warning: enumeration value 'MOVING' not handled in switch [-Wswitch] fire.cpp:232:11: warning: enumeration value 'TOUCHING' not handled in switch [-Wswitch] fire.cpp:232:11: warning: enumeration value 'DEAD' not handled in switch [-Wswitch] fire.cpp: In member function 'virtual void MyFire3::collision(Sprite*)': fire.cpp:473:11: warning: enumeration value 'TYPE_MY_SPACE_SHIP' not handled in switch [-Wswitch] switch(contact->getType()) ^ fire.cpp:473:11: warning: enumeration value 'TYPE_MY_FIRE1' not handled in switch [-Wswitch] fire.cpp:473:11: warning: enumeration value 'TYPE_MY_FIRE2' not handled in switch [-Wswitch] fire.cpp:473:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] fire.cpp:473:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] fire.cpp:473:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] fire.cpp:473:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] fire.cpp:473:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] fire.cpp:473:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] fire.cpp:473:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] fire.cpp:473:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] fire.cpp:473:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] fire.cpp:473:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] fire.cpp:473:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] fire.cpp:473:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] fire.cpp: In member function 'virtual void MyFire4::collision(Sprite*)': fire.cpp:632:11: warning: enumeration value 'TYPE_MY_SPACE_SHIP' not handled in switch [-Wswitch] switch(contact->getType()) ^ fire.cpp:632:11: warning: enumeration value 'TYPE_MY_FIRE1' not handled in switch [-Wswitch] fire.cpp:632:11: warning: enumeration value 'TYPE_MY_FIRE2' not handled in switch [-Wswitch] fire.cpp:632:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] fire.cpp:632:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] fire.cpp:632:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] fire.cpp:632:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] fire.cpp:632:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] fire.cpp:632:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] fire.cpp:632:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] fire.cpp:632:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] fire.cpp:632:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] fire.cpp:632:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] fire.cpp:632:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] fire.cpp:632:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] fire.cpp:632:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] fire.cpp:632:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] fire.cpp:632:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] listsprite.cpp: In member function 'void ListSprite::move()': listsprite.cpp:96:9: warning: unused variable 'i' [-Wunused-variable] int i=0; ^ x86_64-alt-linux-g++ -c -pipe -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::collision(Sprite*)': piege.cpp:332:11: warning: enumeration value 'TYPE_MY_FIRE1' not handled in switch [-Wswitch] switch(contact->getType()) ^ piege.cpp:332:11: warning: enumeration value 'TYPE_MY_FIRE2' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_CUBE' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] piege.cpp:332:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] fighter2.cpp: In constructor 'Fighter2::Fighter2(List*, float, float, float, int)': fighter2.cpp:36:9: warning: unused variable 'nb' [-Wunused-variable] int nb=random()%5; ^ fighter2.cpp: In member function 'virtual void Fighter2::collision(Sprite*)': fighter2.cpp:208:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] switch(contact->getType()) ^ fighter2.cpp:208:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] fighter2.cpp:208:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] fighter2.cpp:208:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] fighter2.cpp:208:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] fighter2.cpp:208:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] fighter2.cpp:208:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] fighter2.cpp:208:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] fighter2.cpp:208:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] fighter2.cpp:208:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] fighter2.cpp:208:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] fighter2.cpp:208:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] fighter2.cpp:208:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] fighter2.cpp:208:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] fighter2.cpp:208:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] fighter2.cpp:208:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] fighter2.cpp:208:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] fighter2.cpp: In member function 'virtual void Fighter2Fire::collision(Sprite*)': fighter2.cpp:334:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] switch(contact->getType()) ^ fighter2.cpp:334:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] fighter2.cpp:334:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] fighter2.cpp:334:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] fighter2.cpp:334:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] fighter2.cpp:334:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] fighter2.cpp:334:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] fighter2.cpp:334:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] fighter2.cpp:334:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] fighter2.cpp:334:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] fighter2.cpp:334:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] fighter2.cpp:334:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] fighter2.cpp:334:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] fighter2.cpp:334:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] fighter2.cpp:334:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] fighter2.cpp:334:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] fighter2.cpp:334:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] fighter2.cpp:334:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] fighter2.cpp:334:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] fighter2.cpp: In static member function 'static void Fighter2::initList()': fighter2.cpp:91:61: warning: iteration 578u invokes undefined behavior [-Waggressive-loop-optimizations] fighter2_meshes[i*24+7] = 1 - fighter2_meshes[i*24+7]; ^ fighter2.cpp:90:15: note: containing loop for (i=0;i<587;i++) { ^ main.cpp: In function 'int main(int, char**)': main.cpp:232:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GLvar->module2 = Mix_LoadMUS(GLvar->getFullPath("samples/glax3.xm")); ^ main.cpp:242:35: warning: deleting object of polymorphic class type 'ListSprite' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor] delete scene->globalList; ^ main.cpp:262:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GLvar->module1 = Mix_LoadMUS(GLvar->getFullPath("samples/glax.xm")); ^ main.cpp:74:9: warning: unused variable 'keyA' [-Wunused-variable] int keyA=0; ^ main.cpp:75:9: warning: unused variable 'keyZ' [-Wunused-variable] int keyZ=0; ^ 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.75065 + 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) 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.75065 + 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.3yxGvJ find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.cS7ECc 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:oiqUKno7E97c8n5ZdGU8yQwfjNqe8wnf8Y5FPaOTEjuLhnbw9E8llMh4draY7thckRvfT36VcDTRrhEdp2GrfEt4TQcyxNOQmwHhVuEKecZA1hCAVZxt1NVNQZKRNZA6qBZBlM622EUaoDZIZlokSoH4aM5AZ4sXbQMoAlh, libGLU.so.1()(64bit) >= set:jgWTXYExgpnd, libSDL-1.2.so.0()(64bit) >= set:lg05gnZbqoH7PWKA4ctnABSz2qI1NSj2Tk8KXpgKRSV1, libSDL_mixer-1.2.so.0()(64bit) >= set:kgId6X9IcqZhwrJ4OPgfAa4B93, libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libgcc_s.so.1(GCC_3.0)(64bit), libglut.so.3()(64bit) >= set:mkWeMnWs4v21, libm.so.6(GLIBC_2.2.5)(64bit), libpng15.so.15()(64bit) >= set:lhpnZtqi9piY3UeP5TLhzbgsbsASVC50, libpng15.so.15(PNG15_0)(64bit), libstdc++.so.6(CXXABI_1.3)(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.J3Z9kL 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.Al6U4m find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.rfoiO1 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(libpng15.so.15), debug64(libstdc++.so.6) Wrote: /usr/src/RPM/RPMS/x86_64/glaxium-0.5-alt6.1.qa4.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/glaxium-debuginfo-0.5-alt6.1.qa4.x86_64.rpm 8.72user 2.09system 0:15.95elapsed 67%CPU (0avgtext+0avgdata 61716maxresident)k 0inputs+0outputs (0major+694872minor)pagefaults 0swaps 26.18user 6.80system 0:39.70elapsed 83%CPU (0avgtext+0avgdata 125268maxresident)k 432inputs+0outputs (0major+1141427minor)pagefaults 0swaps --- glaxium-0.5-alt6.1.qa4.x86_64.rpm.repo 2012-09-28 06:20:52.000000000 +0000 +++ glaxium-0.5-alt6.1.qa4.x86_64.rpm.hasher 2019-01-27 01:33:37.042569442 +0000 @@ -68,3 +68,3 @@ /usr/share/icons/hicolor/48x48/apps/glaxium.png 100644 -/usr/share/man/man6/glaxium.6.gz 100644 +/usr/share/man/man6/glaxium.6.xz 100644 Requires: /usr/bin/sound_wrapper @@ -75,3 +75,3 @@ Requires: libSDL-1.2.so.0()(64bit) >= set:lg05gnZbqoH7PWKA4ctnABSz2qI1NSj2Tk8KXpgKRSV1 -Requires: libSDL_mixer-1.2.so.0()(64bit) >= set:lhS63Cv0ub4rQtpkV7wHbdQ3F21 +Requires: libSDL_mixer-1.2.so.0()(64bit) >= set:kgId6X9IcqZhwrJ4OPgfAa4B93 Requires: libc.so.6(GLIBC_2.2.5)(64bit) @@ -80,3 +80,3 @@ Requires: libgcc_s.so.1(GCC_3.0)(64bit) -Requires: libglut.so.3()(64bit) >= set:ljDA6yfxeS1 +Requires: libglut.so.3()(64bit) >= set:mkWeMnWs4v21 Requires: libm.so.6(GLIBC_2.2.5)(64bit)