Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/glaxium.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1642659116.895943/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.t7b61jlv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.t7b61jlv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6c607311af9e4becb2a47fc414d951d4', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1642659116.895943/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.t7b61jlv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/glaxium.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1642636800 Wrote: /builddir/build/SRPMS/glaxium-0.5-38.fc36.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/glaxium.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1642659116.895943/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.t7b61jlv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.t7b61jlv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '587242c4e8404afd8b20337280552130', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1642659116.895943/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.t7b61jlv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/glaxium.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1642636800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AdCpRd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf glaxium_0.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/glaxium_0.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd glaxium_0.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (glaxium-0.5-fixes.patch): + echo 'Patch #0 (glaxium-0.5-fixes.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file scratcher.hpp patching file tank.hpp patching file variables.cpp patching file Makefile.in Patch #1 (glaxium_0.5-allow-running-when-dsp-busy.patch): + echo 'Patch #1 (glaxium_0.5-allow-running-when-dsp-busy.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file main.cpp patching file sprite.cpp patching file variables.cpp patching file variables.hpp Patch #2 (glaxium_0.5-glutInit.patch): + echo 'Patch #2 (glaxium_0.5-glutInit.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file main.cpp Patch #3 (glaxium_0.5-rh553067.patch): + echo 'Patch #3 (glaxium_0.5-rh553067.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file tank.cpp patching file elem.cpp Patch #4 (glaxium_0.5-64bit-crash.patch): + echo 'Patch #4 (glaxium_0.5-64bit-crash.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file scene.cpp Patch #5 (glaxium_0.5-fighter2_meshes-fix.patch): + echo 'Patch #5 (glaxium_0.5-fighter2_meshes-fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file fighter2.cpp Patch #6 (0001-Stop-mixing-glut-and-SDL-usage.patch): + echo 'Patch #6 (0001-Stop-mixing-glut-and-SDL-usage.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file bandit2.cpp patching file configure.in patching file cube.cpp patching file diamond.cpp patching file fighter2.cpp patching file fire.cpp patching file glax_glut.cpp patching file glax_glut.hpp patching file main.cpp patching file myship.cpp patching file piege.cpp patching file scene.cpp patching file scratcher.cpp patching file ship1.cpp patching file spirale.cpp patching file sprite.hpp patching file tache.cpp patching file tank.cpp + autoreconf -ivf autoreconf: export WARNINGS= autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: Entering directory '.' autoreconf: configure.in: not using Gettext autoreconf: running: aclocal --force aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' acinclude.m4:8: warning: underquoted definition of FC_EXPAND_DIR acinclude.m4:8: run info Automake 'Extending aclocal' acinclude.m4:8: or see https://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal autoreconf: configure.in: tracing autoreconf: configure.in: not using Libtool autoreconf: configure.in: not using Intltool autoreconf: configure.in: not using Gtkdoc autoreconf: running: /usr/bin/autoconf --force configure.in:3: warning: The macro `AC_CONFIG_HEADER' is obsolete. configure.in:3: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.in:3: the top level configure.in:11: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:11: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... acinclude.m4:28: AM_PATH_SDL is expanded from... configure.in:11: the top level configure.in:11: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:11: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... acinclude.m4:28: AM_PATH_SDL is expanded from... configure.in:11: the top level configure.in:45: warning: AC_OUTPUT should be used without arguments. configure.in:45: You should run autoupdate. autoreconf: running: /usr/bin/autoheader --force autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoheader: warning: WARNING: Using auxiliary files such as 'acconfig.h', 'config.h.bot' autoheader: WARNING: and 'config.h.top', to define templates for 'config.h.in' autoheader: WARNING: is deprecated and discouraged. autoheader: autoheader: WARNING: Using the third argument of 'AC_DEFINE_UNQUOTED' and autoheader: WARNING: 'AC_DEFINE' allows one to define a template without autoheader: WARNING: 'acconfig.h': autoheader: autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader: [Define if a function 'main' is needed.]) autoheader: autoheader: WARNING: More sophisticated templates can also be produced, see the autoheader: WARNING: documentation. autoreconf: configure.in: not using Automake autoreconf: Leaving directory '.' + sed -i 's|/games/glaxium|/glaxium|g' configure configure.in configure~ Makefile.in + sed -i 's/\r//g' CHANGES.txt LICENSE README.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RF0NHw + umask 022 + cd /builddir/build/BUILD + '[' -f /builddir/build/BUILD/.package_note-glaxium-0.5-38.fc36.x86_64.ld ']' + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh glaxium 0.5-38.fc36 x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/.package_note-glaxium-0.5-38.fc36.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd glaxium_0.5 + '[' -f /builddir/build/BUILD/.package_note-glaxium-0.5-38.fc36.x86_64.ld ']' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/.package_note-glaxium-0.5-38.fc36.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info configure: WARNING: unrecognized options: --disable-dependency-tracking checking for x86_64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking how to run the C preprocessor... gcc -E checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking whether make sets $(MAKE)... yes checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.1.5... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for SDL.h... yes checking for Mix_PlayMusic in -lSDL_mixer... 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... no checking for XmuScanlineNot in -lXmu... no checking for png_write_rows in -lpng... yes checking for GL/gl.h... yes checking for GL/glu.h... yes checking for GL/glx.h... yes checking for png.h... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating conf.h configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j2 g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT bandit2.cpp -o bandit2.o -DDATADIR=\"/usr/share/glaxium\" g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT cube.cpp -o cube.o -DDATADIR=\"/usr/share/glaxium\" cube.cpp: In member function 'virtual void Cube::collision(Sprite*)': cube.cpp:267:24: warning: unused variable 'i' [-Wunused-variable] 267 | static int i=0; | ^ cube.cpp:231:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] 231 | switch(contact->getType()) | ^ cube.cpp:231:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] cube.cpp:231:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] cube.cpp:231:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] cube.cpp:231:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] cube.cpp:231:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] cube.cpp:231:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] cube.cpp:231:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] cube.cpp:231:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] cube.cpp:231:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] cube.cpp:231:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] cube.cpp:231:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] cube.cpp:231:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] cube.cpp:231:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] cube.cpp:231:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] bandit2.cpp: In constructor 'Bandit2::Bandit2(List*, float, float, float, int)': bandit2.cpp:33:9: warning: unused variable 'nb' [-Wunused-variable] 33 | int nb=random()%5; | ^~ bandit2.cpp: In member function 'virtual void Bandit2::collision(Sprite*)': bandit2.cpp:220:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] 220 | switch(contact->getType()) | ^ bandit2.cpp:220:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] bandit2.cpp:220:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] bandit2.cpp:220:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] bandit2.cpp:220:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] bandit2.cpp:220:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] bandit2.cpp:220:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] bandit2.cpp:220:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] bandit2.cpp:220:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] bandit2.cpp:220:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] bandit2.cpp:220:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] bandit2.cpp:220:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] bandit2.cpp:220:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] bandit2.cpp:220:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] bandit2.cpp:220:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] bandit2.cpp:220:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] bandit2.cpp:220:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] bandit2.cpp: In member function 'virtual void Bandit2Fire::collision(Sprite*)': bandit2.cpp:346:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] 346 | switch(contact->getType()) | ^ bandit2.cpp:346:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] bandit2.cpp:346:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] bandit2.cpp:346:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] bandit2.cpp:346:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] bandit2.cpp:346:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] bandit2.cpp:346:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] bandit2.cpp:346:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] bandit2.cpp:346:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] bandit2.cpp:346:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] bandit2.cpp:346:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] bandit2.cpp:346:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] bandit2.cpp:346:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] bandit2.cpp:346:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] bandit2.cpp:346:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] bandit2.cpp:346:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] bandit2.cpp:346:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] bandit2.cpp:346:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] bandit2.cpp:346:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] cube.cpp: At global scope: cube.cpp:267:24: warning: 'i' defined but not used [-Wunused-variable] 267 | static int i=0; | ^ g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT diamond.cpp -o diamond.o -DDATADIR=\"/usr/share/glaxium\" g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT elem.cpp -o elem.o -DDATADIR=\"/usr/share/glaxium\" g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT explosion.cpp -o explosion.o -DDATADIR=\"/usr/share/glaxium\" diamond.cpp: In member function 'virtual void Diamond::collision(Sprite*)': diamond.cpp:208:18: warning: enumeration value 'POWERUP' not handled in switch [-Wswitch] 208 | switch (type_) { | ^ diamond.cpp:208:18: warning: enumeration value 'INVUL' not handled in switch [-Wswitch] diamond.cpp:197:11: warning: enumeration value 'TYPE_MY_FIRE2' not handled in switch [-Wswitch] 197 | switch(contact->getType()) | ^ diamond.cpp:197:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] diamond.cpp:197:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] diamond.cpp:197:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] diamond.cpp:197:11: warning: enumeration value 'TYPE_CUBE' not handled in switch [-Wswitch] diamond.cpp:197:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] diamond.cpp:197:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] diamond.cpp:197:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] diamond.cpp:197:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] diamond.cpp:197:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] diamond.cpp:197:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] diamond.cpp:197:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] diamond.cpp:197:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] diamond.cpp:197:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] diamond.cpp:197:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] diamond.cpp:197:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] diamond.cpp:197:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] diamond.cpp:197:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] diamond.cpp:197:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] diamond.cpp:197:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] diamond.cpp:197: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] 220 | float pColor[] = {1.0,1.0,1.0,1.0}; | ^~~~~~ g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT fighter2.cpp -o fighter2.o -DDATADIR=\"/usr/share/glaxium\" fighter2.cpp: In constructor 'Fighter2::Fighter2(List*, float, float, float, int)': fighter2.cpp:33:9: warning: unused variable 'nb' [-Wunused-variable] 33 | int nb=random()%5; | ^~ fighter2.cpp: In member function 'virtual void Fighter2::collision(Sprite*)': fighter2.cpp:205:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] 205 | switch(contact->getType()) | ^ fighter2.cpp:205:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] fighter2.cpp:205:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] fighter2.cpp:205:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] fighter2.cpp:205:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] fighter2.cpp:205:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] fighter2.cpp:205:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] fighter2.cpp:205:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] fighter2.cpp:205:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] fighter2.cpp:205:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] fighter2.cpp:205:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] fighter2.cpp:205:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] fighter2.cpp:205:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] fighter2.cpp:205:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] fighter2.cpp:205:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] fighter2.cpp:205:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] fighter2.cpp:205:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] fighter2.cpp: In member function 'virtual void Fighter2Fire::collision(Sprite*)': fighter2.cpp:331:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] 331 | switch(contact->getType()) | ^ fighter2.cpp:331:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] fighter2.cpp:331:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] fighter2.cpp:331:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] fighter2.cpp:331:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] fighter2.cpp:331:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] fighter2.cpp:331:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] fighter2.cpp:331:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] fighter2.cpp:331:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] fighter2.cpp:331:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] fighter2.cpp:331:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] fighter2.cpp:331:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] fighter2.cpp:331:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] fighter2.cpp:331:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] fighter2.cpp:331:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] fighter2.cpp:331:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] fighter2.cpp:331:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] fighter2.cpp:331:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] fighter2.cpp:331:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT fire.cpp -o fire.o -DDATADIR=\"/usr/share/glaxium\" g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT glax_glut.cpp -o glax_glut.o -DDATADIR=\"/usr/share/glaxium\" fire.cpp: In member function 'virtual void MyFire1::collision(Sprite*)': fire.cpp:123:11: warning: enumeration value 'TYPE_MY_SPACE_SHIP' not handled in switch [-Wswitch] 123 | switch(contact->getType()) | ^ fire.cpp:123:11: warning: enumeration value 'TYPE_MY_FIRE1' not handled in switch [-Wswitch] fire.cpp:123:11: warning: enumeration value 'TYPE_MY_FIRE2' not handled in switch [-Wswitch] fire.cpp:123:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] fire.cpp:123:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] fire.cpp:123:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] fire.cpp:123:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] fire.cpp:123:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] fire.cpp:123:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] fire.cpp:123:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] fire.cpp:123:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] fire.cpp:123:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] fire.cpp:123:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] fire.cpp:123:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] fire.cpp: In member function 'virtual void MyFire2::move()': fire.cpp:233:11: warning: enumeration value 'NOT_STARTED' not handled in switch [-Wswitch] 233 | switch(state_) | ^ fire.cpp:233:11: warning: enumeration value 'MOVING' not handled in switch [-Wswitch] fire.cpp:233:11: warning: enumeration value 'TOUCHING' not handled in switch [-Wswitch] fire.cpp:233:11: warning: enumeration value 'DEAD' not handled in switch [-Wswitch] fire.cpp: In member function 'virtual void MyFire3::collision(Sprite*)': fire.cpp:474:11: warning: enumeration value 'TYPE_MY_SPACE_SHIP' not handled in switch [-Wswitch] 474 | switch(contact->getType()) | ^ fire.cpp:474:11: warning: enumeration value 'TYPE_MY_FIRE1' not handled in switch [-Wswitch] fire.cpp:474:11: warning: enumeration value 'TYPE_MY_FIRE2' not handled in switch [-Wswitch] fire.cpp:474:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] fire.cpp:474:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] fire.cpp:474:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] fire.cpp:474:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] fire.cpp:474:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] fire.cpp:474:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] fire.cpp:474:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] fire.cpp:474:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] fire.cpp:474:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] fire.cpp:474:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] fire.cpp:474:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] fire.cpp:474:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] fire.cpp: In member function 'virtual void MyFire4::collision(Sprite*)': fire.cpp:633:11: warning: enumeration value 'TYPE_MY_SPACE_SHIP' not handled in switch [-Wswitch] 633 | switch(contact->getType()) | ^ fire.cpp:633:11: warning: enumeration value 'TYPE_MY_FIRE1' not handled in switch [-Wswitch] fire.cpp:633:11: warning: enumeration value 'TYPE_MY_FIRE2' not handled in switch [-Wswitch] fire.cpp:633:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] fire.cpp:633:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] fire.cpp:633:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] fire.cpp:633:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] fire.cpp:633:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] fire.cpp:633:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] fire.cpp:633:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] fire.cpp:633:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] fire.cpp:633:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] fire.cpp:633:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] fire.cpp:633:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] fire.cpp:633:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] fire.cpp:633:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] fire.cpp:633:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] fire.cpp:633:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT list.cpp -o list.o -DDATADIR=\"/usr/share/glaxium\" g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT listsprite.cpp -o listsprite.o -DDATADIR=\"/usr/share/glaxium\" g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT main.cpp -o main.o -DDATADIR=\"/usr/share/glaxium\" listsprite.cpp: In member function 'void ListSprite::move()': listsprite.cpp:96:9: warning: unused variable 'i' [-Wunused-variable] 96 | int i=0; | ^ g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT myship.cpp -o myship.o -DDATADIR=\"/usr/share/glaxium\" main.cpp: In function 'int main(int, char**)': main.cpp:233:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 233 | GLvar->module2 = Mix_LoadMUS(GLvar->getFullPath("samples/glax3.xm")); | ^~~~~~~~~~~~~~~~~~ main.cpp:244:21: warning: deleting object of polymorphic class type 'ListSprite' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 244 | delete scene->globalList; | ^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:265:93: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 265 | 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; | ^~~~ g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT piege.cpp -o piege.o -DDATADIR=\"/usr/share/glaxium\" myship.cpp: In constructor 'MyShip::MyShip(List*, int)': myship.cpp:79:13: warning: unused variable 'i' [-Wunused-variable] 79 | int i; | ^ myship.cpp: In member function 'virtual void MyShip::draw()': myship.cpp:412:13: warning: unused variable 'i' [-Wunused-variable] 412 | int i; | ^ myship.cpp: In member function 'virtual void MyShip::move()': myship.cpp:558:33: warning: variable 'explode' set but not used [-Wunused-but-set-variable] 558 | Sprite *explode; | ^~~~~~~ myship.cpp:611:12: warning: enumeration value 'UNTOUCHABLE' not handled in switch [-Wswitch] 611 | switch (state_) | ^ myship.cpp: In member function 'virtual void MyShip::collision(Sprite*)': myship.cpp:805:15: warning: enumeration value 'TYPE_MY_SPACE_SHIP' not handled in switch [-Wswitch] 805 | switch(contact->getType()) | ^ myship.cpp:805:15: warning: enumeration value 'TYPE_MY_FIRE1' not handled in switch [-Wswitch] myship.cpp:805:15: warning: enumeration value 'TYPE_MY_FIRE2' not handled in switch [-Wswitch] myship.cpp:805:15: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] myship.cpp:805:15: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] myship.cpp:805:15: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] myship.cpp:805:15: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] myship.cpp:805:15: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] myship.cpp:805:15: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] myship.cpp:805:15: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] myship.cpp:805:15: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] myship.cpp:805:15: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] piege.cpp: In member function 'virtual void Piege::move()': piege.cpp:220:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 220 | if (ringing_) | ^~ piege.cpp:229:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 229 | switch(state_) | ^~~~~~ piege.cpp: In member function 'virtual void Piege::collision(Sprite*)': piege.cpp:329:11: warning: enumeration value 'TYPE_MY_FIRE1' not handled in switch [-Wswitch] 329 | switch(contact->getType()) | ^ piege.cpp:329:11: warning: enumeration value 'TYPE_MY_FIRE2' not handled in switch [-Wswitch] piege.cpp:329:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] piege.cpp:329:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] piege.cpp:329:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] piege.cpp:329:11: warning: enumeration value 'TYPE_CUBE' not handled in switch [-Wswitch] piege.cpp:329:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] piege.cpp:329:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] piege.cpp:329:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] piege.cpp:329:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] piege.cpp:329:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] piege.cpp:329:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] piege.cpp:329:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] piege.cpp:329:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] piege.cpp:329:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] piege.cpp:329:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] piege.cpp:329:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] piege.cpp:329:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] piege.cpp:329:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] piege.cpp:329:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] piege.cpp:329:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] piege.cpp:329:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT pngtex.cpp -o pngtex.o -DDATADIR=\"/usr/share/glaxium\" g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT scene.cpp -o scene.o -DDATADIR=\"/usr/share/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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT scratcher.cpp -o scratcher.o -DDATADIR=\"/usr/share/glaxium\" scene.cpp: In member function 'void Scene::initVariables()': scene.cpp:256:15: warning: unused variable 'j' [-Wunused-variable] 256 | int i,j,k; | ^ scene.cpp:256:17: warning: unused variable 'k' [-Wunused-variable] 256 | int i,j,k; | ^ scene.cpp: In member function 'void Scene::drawFloor()': scene.cpp:607:72: warning: comparison of integer expressions of different signedness: 'GLuint' {aka 'unsigned int'} and 'int' [-Wsign-compare] 607 | if (GLvar->texture_floorMap[textureMap]!=oldFloorMap) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ scene.cpp:613:69: warning: comparison of integer expressions of different signedness: 'GLuint' {aka 'unsigned int'} and 'int' [-Wsign-compare] 613 | if (GLvar->texture_floorMap[texture]!=oldFloor) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ scene.cpp:378:16: warning: unused variable 'dot3LightX' [-Wunused-variable] 378 | static float dot3LightX = 0; | ^~~~~~~~~~ scene.cpp:379:22: warning: unused variable 'cpt' [-Wunused-variable] 379 | static float cpt=0; | ^~~ scene.cpp: In member function 'void Scene::drawPlayers()': scene.cpp:869:13: warning: unused variable 'i' [-Wunused-variable] 869 | int i; | ^ scene.cpp: In member function 'void Scene::drawFPS()': scene.cpp:1056:13: warning: unused variable 'i' [-Wunused-variable] 1056 | int i; | ^ scene.cpp:1057:13: warning: variable 'diff' set but not used [-Wunused-but-set-variable] 1057 | int diff; | ^~~~ scene.cpp: In member function 'void Scene::drawFPSBench()': scene.cpp:2078:13: warning: unused variable 'i' [-Wunused-variable] 2078 | int i; | ^ scene.cpp:2079:13: warning: variable 'diff' set but not used [-Wunused-but-set-variable] 2079 | int diff; | ^~~~ scene.cpp: In member function 'void Scene::drawMenu()': scene.cpp:2115:13: warning: unused variable 'i' [-Wunused-variable] 2115 | int i, j; | ^ scene.cpp: In member function 'void Scene::menuIdle()': scene.cpp:2321:20: warning: variable 'benchTime' set but not used [-Wunused-but-set-variable] 2321 | static int benchTime; | ^~~~~~~~~ scene.cpp:2342:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 2342 | fscanf(fOptions, "%d %d %d %d", &filterValue, &anisValue, &detailValue, &nshadows); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scene.cpp: At global scope: scene.cpp:379:22: warning: 'cpt' defined but not used [-Wunused-variable] 379 | static float cpt=0; | ^~~ scene.cpp:378:16: warning: 'dot3LightX' defined but not used [-Wunused-variable] 378 | static float dot3LightX = 0; | ^~~~~~~~~~ scratcher.cpp: In constructor 'Scratcher::Scratcher(List*, float, float, int)': scratcher.cpp:99:11: warning: unused variable 'dist' [-Wunused-variable] 99 | float dist = (float)sqrt(dx*dx+dz*dz); | ^~~~ scratcher.cpp: In member function 'virtual void Scratcher::collision(Sprite*)': scratcher.cpp:161:11: warning: enumeration value 'TYPE_MY_SPACE_SHIP' not handled in switch [-Wswitch] 161 | switch(contact->getType()) | ^ scratcher.cpp:161:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] scratcher.cpp:161:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] scratcher.cpp:161:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] scratcher.cpp:161:11: warning: enumeration value 'TYPE_CUBE' not handled in switch [-Wswitch] scratcher.cpp:161:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] scratcher.cpp:161:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] scratcher.cpp:161:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] scratcher.cpp:161:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] scratcher.cpp:161:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] scratcher.cpp:161:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] scratcher.cpp:161:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] scratcher.cpp:161:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] scratcher.cpp:161:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] scratcher.cpp:161:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] scratcher.cpp:161:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] scratcher.cpp:161:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] scratcher.cpp:161:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] scratcher.cpp:161:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] scratcher.cpp:161:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] scratcher.cpp:161:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT ship1.cpp -o ship1.o -DDATADIR=\"/usr/share/glaxium\" ship1.cpp: In constructor 'Ship1::Ship1(List*, float, float, float, int)': ship1.cpp:35:9: warning: unused variable 'nb' [-Wunused-variable] 35 | int nb=random()%5; | ^~ ship1.cpp: In member function 'virtual void Ship1::collision(Sprite*)': ship1.cpp:330:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] 330 | switch(contact->getType()) | ^ ship1.cpp:330:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] ship1.cpp:330:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] ship1.cpp:330:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] ship1.cpp:330:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] ship1.cpp:330:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] ship1.cpp:330:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] ship1.cpp:330:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] ship1.cpp:330:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] ship1.cpp:330:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] ship1.cpp:330:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] ship1.cpp:330:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] ship1.cpp:330:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] ship1.cpp:330:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] ship1.cpp:330:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] ship1.cpp:330:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] ship1.cpp:330:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] ship1.cpp: In member function 'virtual void Ship1Fire::collision(Sprite*)': ship1.cpp:446:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] 446 | switch(contact->getType()) | ^ ship1.cpp:446:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] ship1.cpp:446:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] ship1.cpp:446:11: warning: enumeration value 'TYPE_CUBE' not handled in switch [-Wswitch] ship1.cpp:446:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] ship1.cpp:446:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] ship1.cpp:446:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] ship1.cpp:446:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] ship1.cpp:446:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] ship1.cpp:446:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] ship1.cpp:446:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] ship1.cpp:446:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] ship1.cpp:446:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] ship1.cpp:446:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] ship1.cpp:446:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] ship1.cpp:446:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] ship1.cpp:446:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] ship1.cpp:446:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] ship1.cpp:446:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] ship1.cpp:446:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT spirale.cpp -o spirale.o -DDATADIR=\"/usr/share/glaxium\" g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT sprite.cpp -o sprite.o -DDATADIR=\"/usr/share/glaxium\" spirale.cpp: In member function 'virtual void Spirale::collision(Sprite*)': spirale.cpp:147:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] 147 | switch(contact->getType()) | ^ spirale.cpp:147:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] spirale.cpp:147:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] spirale.cpp:147:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] spirale.cpp:147:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] spirale.cpp:147:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] spirale.cpp:147:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] spirale.cpp:147:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] spirale.cpp:147:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] spirale.cpp:147:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] spirale.cpp:147:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] spirale.cpp:147:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] spirale.cpp:147:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] spirale.cpp:147:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] spirale.cpp:147:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] spirale.cpp:147:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT tache.cpp -o tache.o -DDATADIR=\"/usr/share/glaxium\" g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT tank.cpp -o tank.o -DDATADIR=\"/usr/share/glaxium\" tank.cpp: In member function 'virtual void Tank::collision(Sprite*)': tank.cpp:489:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] 489 | switch(contact->getType()) | ^ tank.cpp:489:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] tank.cpp:489:11: warning: enumeration value 'TYPE_CUBE' not handled in switch [-Wswitch] tank.cpp:489:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] tank.cpp:489:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] tank.cpp:489:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] tank.cpp:489:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] tank.cpp:489:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] tank.cpp:489:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] tank.cpp:489:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] tank.cpp:489:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] tank.cpp:489:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] tank.cpp:489:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] tank.cpp:489:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] tank.cpp:489:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] tank.cpp:489:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] tank.cpp:489:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] tank.cpp: In member function 'virtual void TankFire::collision(Sprite*)': tank.cpp:633:11: warning: enumeration value 'TYPE_MY_FIRE4' not handled in switch [-Wswitch] 633 | switch(contact->getType()) | ^ tank.cpp:633:11: warning: enumeration value 'TYPE_WALL' not handled in switch [-Wswitch] tank.cpp:633:11: warning: enumeration value 'TYPE_ENEMY1' not handled in switch [-Wswitch] tank.cpp:633:11: warning: enumeration value 'TYPE_CUBE' not handled in switch [-Wswitch] tank.cpp:633:11: warning: enumeration value 'TYPE_EXPLOSION' not handled in switch [-Wswitch] tank.cpp:633:11: warning: enumeration value 'TYPE_PIECEOFSHIP' not handled in switch [-Wswitch] tank.cpp:633:11: warning: enumeration value 'TYPE_SHIP1' not handled in switch [-Wswitch] tank.cpp:633:11: warning: enumeration value 'TYPE_FIRE_SHIP1' not handled in switch [-Wswitch] tank.cpp:633:11: warning: enumeration value 'TYPE_SPIRALE' not handled in switch [-Wswitch] tank.cpp:633:11: warning: enumeration value 'TYPE_PIEGE' not handled in switch [-Wswitch] tank.cpp:633:11: warning: enumeration value 'TYPE_POTO' not handled in switch [-Wswitch] tank.cpp:633:11: warning: enumeration value 'TYPE_TANK' not handled in switch [-Wswitch] tank.cpp:633:11: warning: enumeration value 'TYPE_FIRE_TANK' not handled in switch [-Wswitch] tank.cpp:633:11: warning: enumeration value 'TYPE_SCRATCHER' not handled in switch [-Wswitch] tank.cpp:633:11: warning: enumeration value 'TYPE_TACHE' not handled in switch [-Wswitch] tank.cpp:633:11: warning: enumeration value 'TYPE_BANDIT2' not handled in switch [-Wswitch] tank.cpp:633:11: warning: enumeration value 'TYPE_FIRE_BANDIT2' not handled in switch [-Wswitch] tank.cpp:633:11: warning: enumeration value 'TYPE_DIAMOND' not handled in switch [-Wswitch] tank.cpp:633:11: warning: enumeration value 'TYPE_SMOKE' not handled in switch [-Wswitch] tank.cpp:633:11: warning: enumeration value 'TYPE_UNDEF' not handled in switch [-Wswitch] g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/X11R6/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT variables.cpp -o variables.o -DDATADIR=\"/usr/share/glaxium\" variables.cpp:39:9: 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:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 250 | initTexture(texture_thunder, "textures/thunder.png"); | ^~~~~~~~~~~~~~~~~~~~~~ variables.cpp:251:55: 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:367:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 367 | module2 = Mix_LoadMUS(getFullPath("samples/glax3.xm")); | ^~~~~~~~~~~~~~~~~~ In file included from variables.hpp:28, from sprite.hpp:37, 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/glaxium" variables.cpp:401:38: note: in expansion of macro 'DATADIR' 401 | installDir = DATADIR"/"; | ^~~~~~~ variables.cpp:404:24: warning: too many arguments for format [-Wformat-extra-args] 404 | printf("Found textures in ./\n", DATADIR); | ^~~~~~~~~~~~~~~~~~~~~~~~ variables.cpp: In static member function 'static bool GlaxiumVariables::isExtensionSupported(const char*)': variables.cpp:498:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 498 | if (where == start || *(where - 1) == ' ') | ^~ variables.cpp:501:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 501 | start = terminator; | ^~~~~ variables.cpp: In member function 'void GlaxiumVariables::initOptionsFile(bool)': variables.cpp:108:23: 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); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -g -o glaxium bandit2.o cube.o diamond.o elem.o explosion.o fighter2.o fire.o glax_glut.o list.o listsprite.o main.o myship.o piege.o pngtex.o scene.o scratcher.o ship1.o spirale.o sprite.o tache.o tank.o variables.o -lpng -lX11 -lGLU -lGL -lSDL_mixer -L/usr/X11R6/lib -lSDL -lm /usr/bin/ld: warning: type of symbol `glCombinerParameteriNV' changed from 2 to 1 in /tmp/cc2dY5nd.ltrans1.ltrans.o /usr/bin/ld: warning: type of symbol `glCombinerInputNV' changed from 2 to 1 in /tmp/cc2dY5nd.ltrans1.ltrans.o /usr/bin/ld: warning: type of symbol `glCombinerOutputNV' changed from 2 to 1 in /tmp/cc2dY5nd.ltrans1.ltrans.o /usr/bin/ld: warning: type of symbol `glFinalCombinerInputNV' changed from 2 to 1 in /tmp/cc2dY5nd.ltrans1.ltrans.o /usr/bin/ld: warning: type of symbol `glCombinerParameterfvNV' changed from 2 to 1 in /tmp/cc2dY5nd.ltrans1.ltrans.o /usr/bin/ld: warning: type of symbol `glBindProgramNV' changed from 2 to 1 in /tmp/cc2dY5nd.ltrans1.ltrans.o /usr/bin/ld: warning: type of symbol `glLoadProgramNV' changed from 2 to 1 in /tmp/cc2dY5nd.ltrans1.ltrans.o /usr/bin/ld: warning: type of symbol `glTrackMatrixNV' changed from 2 to 1 in /tmp/cc2dY5nd.ltrans1.ltrans.o /usr/bin/ld: warning: type of symbol `glProgramParameter4fNV' changed from 2 to 1 in /tmp/cc2dY5nd.ltrans1.ltrans.o + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.iR54u7 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/glaxium-0.5-38.fc36.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/glaxium-0.5-38.fc36.x86_64 ++ dirname /builddir/build/BUILDROOT/glaxium-0.5-38.fc36.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/glaxium-0.5-38.fc36.x86_64 + '[' -f /builddir/build/BUILD/.package_note-glaxium-0.5-38.fc36.x86_64.ld ']' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/.package_note-glaxium-0.5-38.fc36.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd glaxium_0.5 + mkdir -p /builddir/build/BUILDROOT/glaxium-0.5-38.fc36.x86_64/usr/bin + echo 'warning: %makeinstall is deprecated, try %make_install instead' warning: %makeinstall is deprecated, try %make_install instead + /usr/bin/make prefix=/builddir/build/BUILDROOT/glaxium-0.5-38.fc36.x86_64/usr exec_prefix=/builddir/build/BUILDROOT/glaxium-0.5-38.fc36.x86_64/usr bindir=/builddir/build/BUILDROOT/glaxium-0.5-38.fc36.x86_64/usr/bin sbindir=/builddir/build/BUILDROOT/glaxium-0.5-38.fc36.x86_64/usr/sbin sysconfdir=/builddir/build/BUILDROOT/glaxium-0.5-38.fc36.x86_64/etc datadir=/builddir/build/BUILDROOT/glaxium-0.5-38.fc36.x86_64/usr/share includedir=/builddir/build/BUILDROOT/glaxium-0.5-38.fc36.x86_64/usr/include libdir=/builddir/build/BUILDROOT/glaxium-0.5-38.fc36.x86_64/usr/lib64 libexecdir=/builddir/build/BUILDROOT/glaxium-0.5-38.fc36.x86_64/usr/libexec localstatedir=/builddir/build/BUILDROOT/glaxium-0.5-38.fc36.x86_64/var sharedstatedir=/builddir/build/BUILDROOT/glaxium-0.5-38.fc36.x86_64/var/lib mandir=/builddir/build/BUILDROOT/glaxium-0.5-38.fc36.x86_64/usr/share/man infodir=/builddir/build/BUILDROOT/glaxium-0.5-38.fc36.x86_64/usr/share/info install Instaling glaxium in /builddir/build/BUILDROOT/glaxium-0.5-38.fc36.x86_64/usr/bin and its data in /builddir/build/BUILDROOT/glaxium-0.5-38.fc36.x86_64/usr/share/glaxium + ln -s opengl-game-wrapper.sh /builddir/build/BUILDROOT/glaxium-0.5-38.fc36.x86_64/usr/bin/glaxium-wrapper + mkdir -p /builddir/build/BUILDROOT/glaxium-0.5-38.fc36.x86_64/usr/share/applications + desktop-file-install --dir /builddir/build/BUILDROOT/glaxium-0.5-38.fc36.x86_64/usr/share/applications /builddir/build/SOURCES/glaxium.desktop + mkdir -p /builddir/build/BUILDROOT/glaxium-0.5-38.fc36.x86_64/usr/share/icons/hicolor/128x128/apps + install -p -m 644 /builddir/build/SOURCES/glaxium.png /builddir/build/BUILDROOT/glaxium-0.5-38.fc36.x86_64/usr/share/icons/hicolor/128x128/apps + mkdir -p /builddir/build/BUILDROOT/glaxium-0.5-38.fc36.x86_64/usr/share/appdata + install -p -m 644 /builddir/build/SOURCES/glaxium.appdata.xml /builddir/build/BUILDROOT/glaxium-0.5-38.fc36.x86_64/usr/share/appdata + appstream-util validate-relax --nonet /builddir/build/BUILDROOT/glaxium-0.5-38.fc36.x86_64/usr/share/appdata/glaxium.appdata.xml /builddir/build/BUILDROOT/glaxium-0.5-38.fc36.x86_64/usr/share/appdata/glaxium.appdata.xml: OK + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.5-38.fc36 --unique-debug-suffix -0.5-38.fc36.x86_64 --unique-debug-src-base glaxium-0.5-38.fc36.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/glaxium_0.5 extracting debug info from /builddir/build/BUILDROOT/glaxium-0.5-38.fc36.x86_64/usr/bin/glaxium original debug info size: 756kB, size after compression: 540kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 1432 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: glaxium-0.5-38.fc36.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.JmkrIV + umask 022 + cd /builddir/build/BUILD + cd glaxium_0.5 + DOCDIR=/builddir/build/BUILDROOT/glaxium-0.5-38.fc36.x86_64/usr/share/doc/glaxium + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/glaxium-0.5-38.fc36.x86_64/usr/share/doc/glaxium + cp -pr CHANGES.txt /builddir/build/BUILDROOT/glaxium-0.5-38.fc36.x86_64/usr/share/doc/glaxium + cp -pr LICENSE /builddir/build/BUILDROOT/glaxium-0.5-38.fc36.x86_64/usr/share/doc/glaxium + cp -pr README.txt /builddir/build/BUILDROOT/glaxium-0.5-38.fc36.x86_64/usr/share/doc/glaxium + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(glaxium.desktop) glaxium = 0.5-38.fc36 glaxium(x86-64) = 0.5-38.fc36 metainfo() metainfo(glaxium.appdata.xml) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libGL.so.1()(64bit) libGLU.so.1()(64bit) libSDL-1.2.so.0()(64bit) libSDL_mixer-1.2.so.0()(64bit) libX11.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Processing files: glaxium-debugsource-0.5-38.fc36.x86_64 Provides: glaxium-debugsource = 0.5-38.fc36 glaxium-debugsource(x86-64) = 0.5-38.fc36 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: glaxium-debuginfo-0.5-38.fc36.x86_64 Provides: debuginfo(build-id) = 0612139e574b27d4ed8b1de5ef27fc20c84906e3 glaxium-debuginfo = 0.5-38.fc36 glaxium-debuginfo(x86-64) = 0.5-38.fc36 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: glaxium-debugsource(x86-64) = 0.5-38.fc36 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/glaxium-0.5-38.fc36.x86_64 Wrote: /builddir/build/RPMS/glaxium-debugsource-0.5-38.fc36.x86_64.rpm Wrote: /builddir/build/RPMS/glaxium-debuginfo-0.5-38.fc36.x86_64.rpm Wrote: /builddir/build/RPMS/glaxium-0.5-38.fc36.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.8lHFmp + umask 022 + cd /builddir/build/BUILD + cd glaxium_0.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/glaxium-0.5-38.fc36.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0