Mock Version: 3.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/njam.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667971708.259721/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.7uomy_ov:/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.7uomy_ov:/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', '461f1f4763cd4ef4a0f4bf0a98227b0b', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667971708.259721/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7uomy_ov:/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/njam.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', 'SYSTEMD_SECCOMP': '0'} and shell False warning: Macro expanded in comment on line 8: %{name}/%{name}-%{version}-src.tar.gz Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658448000 Wrote: /builddir/build/SRPMS/njam-1.25-39.fc38.src.rpm RPM build warnings: Macro expanded in comment on line 8: %{name}/%{name}-%{version}-src.tar.gz Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/njam.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667971708.259721/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.7uomy_ov:/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.7uomy_ov:/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', '69ea1c1d6cfc4cc096dd2945276f7c94', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667971708.259721/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7uomy_ov:/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/njam.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', 'SYSTEMD_SECCOMP': '0'} and shell False warning: Macro expanded in comment on line 8: %{name}/%{name}-%{version}-src.tar.gz Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658448000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3NUb3h + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf njam-1.25-src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/njam-1.25-src.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd njam-1.25-src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (njam-1.25-drop-setgid.patch):' Patch #0 (njam-1.25-drop-setgid.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .setgid --fuzz=0 patching file src/njam.cpp + echo 'Patch #1 (njam-1.25-html.patch):' Patch #1 (njam-1.25-html.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file html/doc-editor.html + echo 'Patch #2 (njam-1.25-leveledit.patch):' Patch #2 (njam-1.25-leveledit.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .leveledit --fuzz=0 patching file src/njamutils.h patching file src/njam.cpp Hunk #1 succeeded at 348 (offset -2 lines). Hunk #2 succeeded at 628 (offset -2 lines). patching file src/njam.h patching file src/njamedit.cpp patching file src/njamutils.cpp + echo 'Patch #3 (njam-1.25-gcc45.patch):' Patch #3 (njam-1.25-gcc45.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/njamedit.cpp + echo 'Patch #4 (njam-1.25-rhbz767015.patch):' Patch #4 (njam-1.25-rhbz767015.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/njam.cpp patching file src/njam.h + echo 'Patch #5 (njam-1.25-format-security.patch):' Patch #5 (njam-1.25-format-security.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/njamgame.cpp + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cSIY7m + umask 022 + cd /builddir/build/BUILD + 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 + VALAFLAGS=-g + export VALAFLAGS + 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 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd njam-1.25-src + 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 + VALAFLAGS=-g + export VALAFLAGS + 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 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + 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 + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets $(MAKE)... yes checking for working aclocal-1.4... missing checking for working autoconf... found checking for working automake-1.4... missing checking for working autoheader... found checking for working makeinfo... missing checking for x86_64-redhat-linux-gnu-gcc... gcc checking for C compiler default output file name... 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 gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for x86_64-redhat-linux-gnu-g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... 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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for strings.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for sdl-config... yes checking for SDL_Init in -lSDL... yes checking SDL/SDL.h usability... yes checking SDL/SDL.h presence... yes checking for SDL/SDL.h... yes checking for IMG_Load in -lSDL_image... yes checking for Mix_OpenAudio in -lSDL_mixer... yes checking for SDLNet_TCP_Open in -lSDL_net... yes njam version 0.1.25 configured successfully. Using '/usr' for installation. Using '/usr/share' for installation libraries. Using 'g++' for C++ compiler. Building with '-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT' for C++ compiler flags. Building with '-lSDL -lSDL_image -lSDL_mixer -lSDL_net' for linker flags. configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing default-1 commands + make -j2 make: Circular aclocal.m4 <- aclocal.m4 dependency dropped. make all-recursive make[1]: Entering directory '/builddir/build/BUILD/njam-1.25-src' make[1]: Circular aclocal.m4 <- aclocal.m4 dependency dropped. Making all in src make[2]: Entering directory '/builddir/build/BUILD/njam-1.25-src/src' make[2]: Circular defaults.h <- Makefile dependency dropped. echo '// This file is generated from makefile. Do not edit!' > defaults.h echo '#define DEFAULT_PREFIX "/usr"' >> defaults.h echo '#define DEFAULT_LIBDIR "/usr/share"' >> defaults.h echo '#define PACKAGE "njam"' >> defaults.h cd .. \ && CONFIG_FILES=src/Makefile CONFIG_HEADERS= /bin/sh ./config.status config.status: creating src/Makefile config.status: executing default-1 commands make[2]: Circular defaults.h <- Makefile dependency dropped. g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njam.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njamgame.cpp njamgame.cpp: In member function 'void NjamEngine::StartGame(GameType)': njamgame.cpp:104:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 104 | else // select random map for duel | ^~~~ njamgame.cpp:107:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 107 | if (m_GameType != gtJoinDuel) | ^~ njamgame.cpp:124:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 124 | if (Winner == etLevelWon && m_CurrentMap == m_Levels - 1) // all levels passed | ^~ njamgame.cpp:127:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 127 | if (Winner > -1 && (m_GameType != gtOnePlayer && m_GameType != gtTwoPlayer)) | ^~ njamgame.cpp: In member function 'int NjamEngine::PlayMap(bool)': njamgame.cpp:282:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 282 | for (int i=0; i 260) // map packed with cookies, add extra bonus time | ^~ njamgame.cpp:320:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 320 | if (m_CookiesLeft == 0) | ^~ njamgame.cpp:323:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 323 | bool FrameCounts = true; | ^~~~ njamgame.cpp: In member function 'void NjamEngine::RenderGameScreen()': njamgame.cpp:529:34: warning: embedded '\0' in format [-Wformat-contains-nul] 529 | sprintf(buff, "%d\0", p->GamePoints); | ^~ njamgame.cpp:583:30: warning: embedded '\0' in format [-Wformat-contains-nul] 583 | sprintf(buff, "%d\0", p->Juice / 20); | ^~ njamgame.cpp:600:35: warning: embedded '\0' in format [-Wformat-contains-nul] 600 | sprintf(buff, "LEVEL: %02d\0", m_CurrentMap + 1); | ^~ njamgame.cpp:606:32: warning: embedded '\0' in format [-Wformat-contains-nul] 606 | sprintf(buff, "PTS: %4d\0", m_Player[0].GamePoints); | ^~ njamgame.cpp:610:29: warning: embedded '\0' in format [-Wformat-contains-nul] 610 | sprintf(buff, "%2.0f FPS\0", m_fps); | ^~ njamgame.cpp:505:14: warning: unused variable 'src' [-Wunused-variable] 505 | SDL_Rect src, dest; // render background (use part of main menu image) | ^~~ njamgame.cpp: In member function 'void NjamEngine::MoveGhosts()': njamgame.cpp:770:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 770 | if (s->xo==0 && s->yo==0 && (i%3==gtSTUPID || i%3==gtSMART && s->special==0)) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ njamgame.cpp:773:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 773 | if (Paths > 1 && i%3==gtSMART || Paths > 2) | ~~~~~~~~~~^~~~~~~~~~~~~~~ njamgame.cpp: In member function 'void NjamEngine::MovePlayers()': njamgame.cpp:1043:20: warning: enumeration value 'ttEmpty' not handled in switch [-Wswitch] 1043 | switch (t) | ^ njamgame.cpp:1043:20: warning: enumeration value 'ttGHouse' not handled in switch [-Wswitch] njamgame.cpp:1043:20: warning: enumeration value 'ttDoor' not handled in switch [-Wswitch] njamgame.cpp:1043:20: warning: enumeration value 'ttTeleport' not handled in switch [-Wswitch] njamgame.cpp:1043:20: warning: enumeration value 'ttGHouseActive' not handled in switch [-Wswitch] njamgame.cpp: In member function 'void NjamEngine::DrawGameStats()': njamgame.cpp:1544:41: warning: embedded '\0' in format [-Wformat-contains-nul] 1544 | sprintf(points, " (%3d)\0", m_Player[i].MapPoints); | ^~ njamgame.cpp:1546:44: warning: embedded '\0' in format [-Wformat-contains-nul] 1546 | sprintf(points, "%01d (%3d)\0", m_Player[i].GamePoints, m_Player[i].MapPoints); | ^~ njamgame.cpp:1551:33: warning: embedded '\0' in format [-Wformat-contains-nul] 1551 | sprintf(points, "%4d\0", m_Player[i].stats.data[j]); | ^~ njamgame.cpp:1558:44: warning: embedded '\0' in format [-Wformat-contains-nul] 1558 | sprintf(points, "POINTS: %d\0", m_Player[0].GamePoints); | ^~ njam.cpp: In destructor 'NjamEngine::~NjamEngine()': njam.cpp:229:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 229 | if (home) | ^~ njam.cpp:231:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 231 | FILE *fp = fopen(njamconf.c_str(), "w+"); | ^~~~ njam.cpp: In member function 'void NjamEngine::DoScript()': njam.cpp:277:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 277 | for (int i=0; i<80; i++) // empty buffer | ^~~ njam.cpp:281:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 281 | int Row = 175 / m_FontBlue->GetCharHeight(); | ^~~ njam.cpp: In member function 'bool NjamEngine::Init(bool, bool)': njam.cpp:565:54: warning: embedded '\0' in format [-Wformat-contains-nul] 565 | sprintf(Filename, "skins/Back%03d.bmp\0", m_NumberOfSkins); | ^~ njam.cpp:580:54: warning: embedded '\0' in format [-Wformat-contains-nul] 580 | sprintf(Filename, "skins/Back%03d.bmp\0", i); | ^~ njam.cpp:611:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 611 | if (home) | ^~ njam.cpp:613:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 613 | FILE *fp = fopen(njamconf.c_str(), "r"); | ^~~~ njam.cpp:659:50: warning: embedded '\0' in format [-Wformat-contains-nul] 659 | sprintf(TopTenScores[i].name, "%s\0", DefaultNames[i]); | ^~ njam.cpp:726:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 726 | if(!m_MainMenuMusic) | ^~ njam.cpp:729:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 729 | printf("Loading song: data/ritam.s3m...\n"); | ^~~~~~ njam.cpp:731:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 731 | if(!m_GameMusic1) | ^~ njam.cpp:734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 734 | printf("Loading song: data/dali.xm...\n"); | ^~~~~~ njam.cpp: In member function 'void NjamEngine::Start()': njam.cpp:952:53: warning: embedded '\0' in format [-Wformat-contains-nul] 952 | sprintf(text, "%-11s %2d %5d\0", TopTenScores[i].name, TopTenScores[i].level, TopTenScores[i].points); | ^~ njam.cpp: In function 'int main(int, char**)': njam.cpp:113:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 113 | chdir(path); | ~~~~~^~~~~~ njam.cpp: In member function 'void NjamEngine::DoScript()': njam.cpp:286:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 286 | fgets(buffer, 79, script_file); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ njam.cpp: In member function 'bool NjamEngine::Init(bool, bool)': njam.cpp:620:30: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 620 | fgets(buff, 20, fp); | ~~~~~^~~~~~~~~~~~~~ njam.cpp:671:30: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 671 | fgets(buff, 40, highscore_fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ njam.cpp:565:46: warning: '%03d' directive writing between 3 and 11 bytes into a region of size 8 [-Wformat-overflow=] 565 | sprintf(Filename, "skins/Back%03d.bmp\0", m_NumberOfSkins); | ^~~~ njam.cpp:565:35: note: directive argument in the range [-2147483647, 2147483647] 565 | sprintf(Filename, "skins/Back%03d.bmp\0", m_NumberOfSkins); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from /usr/include/c++/12/cstdio:42, from /usr/include/c++/12/ext/string_conversions.h:43, from /usr/include/c++/12/bits/basic_string.h:3960, from /usr/include/c++/12/string:53, from njam.cpp:39: In function 'sprintf', inlined from 'NjamEngine::Init(bool, bool)' at njam.cpp:565:10: /usr/include/bits/stdio2.h:30:34: note: '__sprintf_chk' output between 18 and 26 bytes into a destination of size 18 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ njam.cpp: In member function 'NjamEngine::Init(bool, bool)': njam.cpp:580:46: warning: '%03d' directive writing between 3 and 10 bytes into a region of size 8 [-Wformat-overflow=] 580 | sprintf(Filename, "skins/Back%03d.bmp\0", i); | ^~~~ njam.cpp:580:35: note: directive argument in the range [0, 2147483646] 580 | sprintf(Filename, "skins/Back%03d.bmp\0", i); | ^~~~~~~~~~~~~~~~~~~~~~ In function 'sprintf', inlined from 'NjamEngine::Init(bool, bool)' at njam.cpp:580:10: /usr/include/bits/stdio2.h:30:34: note: '__sprintf_chk' output between 18 and 25 bytes into a destination of size 18 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ njam.cpp: In member function 'NjamEngine::Init(bool, bool)': njam.cpp:659:48: warning: '%s' directive writing up to 99 bytes into a region of size 10 [-Wformat-overflow=] 659 | sprintf(TopTenScores[i].name, "%s\0", DefaultNames[i]); | ^~ In function 'sprintf', inlined from 'NjamEngine::Init(bool, bool)' at njam.cpp:659:10: /usr/include/bits/stdio2.h:30:34: note: '__sprintf_chk' output between 1 and 100 bytes into a destination of size 10 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njamfont.cpp njamfont.cpp: In member function 'bool NjamFont::WriteTextXY(SDL_Surface*, int, int, const char*)': njamfont.cpp:113:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 113 | if (dest.x > Destination->w) // outside | ^~ njamfont.cpp:116:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 116 | if (Text[i] == ' ' || Text[i] == 10 || Text[i] == 13) // SPACE, NL, CR | ^~ njamfont.cpp:120:25: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 120 | for (int j=0; j < (sizeof(FontMap)/sizeof(char)); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njamedit.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njammap.cpp njamedit.cpp: In member function 'void NjamEngine::LevelEditor()': njamedit.cpp:67:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 67 | if (key == SDLK_ESCAPE && (!changed || Query("ARE YOU SURE YOU WISH TO EXIT? (Y/N)"))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ njamedit.cpp:153:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 153 | Message("LEVEL IS NOT MARKED AS PLAYABLE. PRESS P TO CHANGE."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ njamedit.cpp:155:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 155 | Message("THERE MUST BE EXACTLY ONE DOOR ON LEVEL!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ njamedit.cpp:157:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 157 | Message("THERE MUST BE EXACTLY ONE PENTAGRAM ON LEVEL!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ njamedit.cpp:198:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 198 | Message("LEVELS SWAPPED"); | ^~~~~~~~~~~~~~~~ njamedit.cpp: In member function 'void NjamEngine::RenderEditor(bool, int, int, int)': njamedit.cpp:274:35: warning: embedded '\0' in format [-Wformat-contains-nul] 274 | sprintf(buff, "LEVEL: %02d\0", m_CurrentMap + 1); | ^~ njamedit.cpp:306:34: warning: embedded '\0' in format [-Wformat-contains-nul] 306 | sprintf(buff, "%d\0", i); | ^~ njamedit.cpp: In member function 'bool NjamEngine::CheckForSave()': njamedit.cpp:387:85: warning: embedded '\0' in format [-Wformat-contains-nul] 387 | sprintf(message, "THERE MUST BE EXACTLY ONE DOOR ON LEVEL %d\0", i+1); | ^~ njamedit.cpp:395:90: warning: embedded '\0' in format [-Wformat-contains-nul] 395 | sprintf(message, "THERE MUST BE EXACTLY ONE PENTAGRAM ON LEVEL %d\0", i+1); | ^~ njamedit.cpp:402:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 402 | return Query("ARE YOU SURE (Y/N) ?"); | ^~~~~~~~~~~~~~~~~~~~~~ njamedit.cpp: In member function 'bool NjamEngine::EnterFileName(char*)': njamedit.cpp:463:47: warning: embedded '\0' in format [-Wformat-contains-nul] 463 | sprintf(file_name, "%s\0", filename); | ^~ njammap.cpp: In member function 'void NjamMap::SetCurrentMap(int)': njammap.cpp:141:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 141 | for (int i=0; id_name); | ^~ In file included from /usr/include/stdio.h:906, from /usr/include/SDL/SDL_stdinc.h:33, from /usr/include/SDL/SDL_main.h:29, from /usr/include/SDL/SDL.h:29, from njamedit.cpp:33: In function 'snprintf', inlined from 'NjamEngine::SelectMap(char, char*, int)' at njamedit.cpp:524:12: /usr/include/bits/stdio2.h:54:35: note: 'snprintf' output between 1 and 256 bytes into a destination of size 50 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njamnet.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njamutils.cpp njamutils.cpp:88: warning: ignoring '#pragma warn ' [-Wunknown-pragmas] 88 | #pragma warn -ccc | njamutils.cpp:89: warning: ignoring '#pragma warn ' [-Wunknown-pragmas] 89 | #pragma warn -rch | njamutils.cpp:94: warning: ignoring '#pragma warn ' [-Wunknown-pragmas] 94 | #pragma warn +ccc | njamutils.cpp:95: warning: ignoring '#pragma warn ' [-Wunknown-pragmas] 95 | #pragma warn +rch | njamutils.cpp:114: warning: ignoring '#pragma warn ' [-Wunknown-pragmas] 114 | #pragma warn -ccc | njamutils.cpp:115: warning: ignoring '#pragma warn ' [-Wunknown-pragmas] 115 | #pragma warn -rch | njamutils.cpp:126: warning: ignoring '#pragma warn ' [-Wunknown-pragmas] 126 | #pragma warn +ccc | njamutils.cpp:127: warning: ignoring '#pragma warn ' [-Wunknown-pragmas] 127 | #pragma warn +rch | njamnet.cpp: In member function 'bool NjamEngine::SetupNetwork()': njamnet.cpp:163:62: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 163 | if (m_GameType == gtHostDuel && (m_Player[0].Playing || m_Player[1].Playing) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ njamnet.cpp:140:24: warning: enumeration value 'SDLK_UNKNOWN' not handled in switch [-Wswitch] 140 | switch (key) | ^ njamnet.cpp:140:24: warning: enumeration value 'SDLK_FIRST' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_BACKSPACE' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_TAB' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_CLEAR' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_RETURN' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_PAUSE' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_EXCLAIM' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_QUOTEDBL' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_HASH' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_DOLLAR' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_AMPERSAND' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_QUOTE' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_LEFTPAREN' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_RIGHTPAREN' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_ASTERISK' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_PLUS' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_COMMA' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_MINUS' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_PERIOD' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_SLASH' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_0' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_1' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_2' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_3' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_4' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_5' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_6' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_7' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_8' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_9' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_COLON' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_SEMICOLON' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_LESS' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_EQUALS' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_GREATER' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_QUESTION' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_AT' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_LEFTBRACKET' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_BACKSLASH' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_RIGHTBRACKET' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_CARET' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_UNDERSCORE' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_BACKQUOTE' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_a' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_b' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_c' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_e' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_h' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_i' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_j' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_k' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_l' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_m' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_n' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_o' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_p' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_q' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_s' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_t' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_u' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_v' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_w' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_x' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_y' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_z' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_DELETE' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_0' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_1' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_2' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_3' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_4' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_5' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_6' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_7' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_8' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_9' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_10' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_11' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_12' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_13' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_14' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_15' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_16' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_17' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_18' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_19' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_20' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_21' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_22' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_23' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_24' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_25' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_26' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_27' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_28' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_29' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_30' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_31' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_32' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_33' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_34' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_35' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_36' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_37' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_38' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_39' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_40' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_41' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_42' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_43' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_44' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_45' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_46' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_47' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_48' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_49' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_50' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_51' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_52' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_53' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_54' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_55' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_56' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_57' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_58' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_59' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_60' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_61' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_62' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_63' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_64' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_65' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_66' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_67' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_68' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_69' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_70' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_71' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_72' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_73' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_74' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_75' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_76' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_77' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_78' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_79' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_80' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_81' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_82' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_83' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_84' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_85' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_86' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_87' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_88' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_89' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_90' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_91' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_92' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_93' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_94' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_WORLD_95' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_KP0' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_KP1' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_KP2' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_KP3' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_KP4' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_KP5' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_KP6' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_KP7' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_KP8' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_KP9' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_KP_PERIOD' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_KP_DIVIDE' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_KP_MULTIPLY' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_KP_MINUS' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_KP_PLUS' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_KP_ENTER' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_KP_EQUALS' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_INSERT' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_HOME' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_END' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_PAGEUP' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_PAGEDOWN' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_F1' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_F2' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_F3' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_F4' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_F5' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_F6' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_F7' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_F8' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_F9' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_F10' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_F11' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_F12' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_F13' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_F14' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_F15' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_NUMLOCK' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_CAPSLOCK' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_SCROLLOCK' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_RSHIFT' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_LSHIFT' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_RCTRL' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_LCTRL' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_RALT' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_LALT' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_RMETA' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_LMETA' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_LSUPER' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_RSUPER' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_MODE' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_COMPOSE' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_HELP' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_PRINT' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_SYSREQ' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_BREAK' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_MENU' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_POWER' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_EURO' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_UNDO' not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value 'SDLK_LAST' not handled in switch [-Wswitch] njamnet.cpp: In member function 'void NjamEngine::RenderNetworkScreen(bool)': njamnet.cpp:236:9: warning: statement has no effect [-Wunused-value] 236 | m_NetLobbyImage; | ^~~~~~~~~~~~~~~ njamnet.cpp: In member function 'bool NjamEngine::EnterServerIP(bool)': njamnet.cpp:330:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 330 | if (key >= '0' && key <= '9' || key == '.') | ~~~~~~~~~~~^~~~~~~~~~~~~ njamutils.cpp: In function 'bool SurfaceEffect(SDL_Surface*, SDL_Rect&, tEffect)': njamutils.cpp:159:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 159 | if ( SDL_MUSTLOCK(surface) ) | ^~ njamutils.cpp:162:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 162 | return true; | ^~~~~~ njamutils.cpp:135:9: warning: unused variable 'x' [-Wunused-variable] 135 | int x, y; | ^ njamutils.cpp:135:12: warning: unused variable 'y' [-Wunused-variable] 135 | int x, y; | ^ njamutils.cpp:155:33: warning: 'color' may be used uninitialized [-Wmaybe-uninitialized] 155 | PutPixel(surface, x, y, color); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ njamutils.cpp:149:32: note: 'color' was declared here 149 | Uint32 color; | ^~~~~ g++ -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -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 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o njam njam.o njamgame.o njamfont.o njamedit.o njammap.o njamnet.o njamutils.o -lSDL_net -lSDL_mixer -lSDL_image -lSDL -lSDL_image -lSDL_mixer -lSDL_net make[2]: Leaving directory '/builddir/build/BUILD/njam-1.25-src/src' make[2]: Entering directory '/builddir/build/BUILD/njam-1.25-src' make[2]: Circular aclocal.m4 <- aclocal.m4 dependency dropped. make[2]: Leaving directory '/builddir/build/BUILD/njam-1.25-src' make[1]: Leaving directory '/builddir/build/BUILD/njam-1.25-src' + convert -transparent black njamicon.ico njam.png + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.wojnAY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/njam-1.25-39.fc38.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 + VALAFLAGS=-g + export VALAFLAGS + 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 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd njam-1.25-src + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64 'INSTALL=/usr/bin/install -p' make: Circular aclocal.m4 <- aclocal.m4 dependency dropped. Making install in src make[1]: Entering directory '/builddir/build/BUILD/njam-1.25-src/src' make[1]: Circular defaults.h <- Makefile dependency dropped. make[2]: Entering directory '/builddir/build/BUILD/njam-1.25-src/src' make[2]: Circular defaults.h <- Makefile dependency dropped. /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/bin mkdir /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr mkdir /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/bin /usr/bin/install -p njam /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/bin/njam make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/njam-1.25-src/src' make[1]: Leaving directory '/builddir/build/BUILD/njam-1.25-src/src' make[1]: Entering directory '/builddir/build/BUILD/njam-1.25-src' make[1]: Circular aclocal.m4 <- aclocal.m4 dependency dropped. make[2]: Entering directory '/builddir/build/BUILD/njam-1.25-src' make[2]: Circular aclocal.m4 <- aclocal.m4 dependency dropped. make[2]: Nothing to be done for 'install-exec-am'. /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/njam; \ /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/njam/data; \ /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/njam/skins; \ /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/njam/html; \ /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/njam/levels; \ /usr/bin/install -p -m 644 ./njam.conf /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/njam; \ /usr/bin/install -p -m 644 ./njamicon.ico /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/njam; \ /usr/bin/install -p -m 644 ./njam.iss /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/njam; \ /usr/bin/install -p -m 644 ./njam.rc /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/njam; \ /usr/bin/install -p -m 644 ./hiscore.dat /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/njam; \ chmod 660 /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/njam/hiscore.dat; \ chgrp games /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/njam/hiscore.dat; \ /usr/bin/install -p -m 644 ./README /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/njam; \ for file in ./data/*; do \ if test -f $file; then \ /usr/bin/install -p -m 644 "$file" /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/njam/data; \ fi \ done mkdir /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share mkdir /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/njam mkdir /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/njam/data mkdir /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/njam/skins mkdir /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/njam/html mkdir /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/njam/levels chgrp: changing group of '/builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/njam/hiscore.dat': Operation not permitted for file in ./skins/*; do \ if test -f $file; then \ /usr/bin/install -p -m 644 "$file" /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/njam/skins; \ fi \ done for file in ./html/*; do \ if test -f $file; then \ /usr/bin/install -p -m 644 "$file" /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/njam/html; \ fi \ done for file in ./levels/*; do \ if test -f "$file"; then \ /usr/bin/install -p -m 644 "$file" /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/njam/levels; \ fi \ done make[2]: Leaving directory '/builddir/build/BUILD/njam-1.25-src' make[1]: Leaving directory '/builddir/build/BUILD/njam-1.25-src' + rm /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/njam/README + rm /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/njam/levels/readme.txt + rm -fr /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/njam/html + rm /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/njam/njam.conf /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/njam/njam.iss /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/njam/njam.rc + rm /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/njam/njamicon.ico + mkdir -p /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/var/lib/games + mv /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/njam/hiscore.dat /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/var/lib/games/njam.hs + mkdir -p /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/man/man6 + install -m 644 /builddir/build/SOURCES/njam.6 /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/man/man6 + mkdir -p /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/applications + desktop-file-install --dir /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/applications /builddir/build/SOURCES/njam.desktop + mkdir -p /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/icons/hicolor/32x32/apps + install -p -m 644 njam.png /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/icons/hicolor/32x32/apps + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 1.25-39.fc38 --unique-debug-suffix -1.25-39.fc38.x86_64 --unique-debug-src-base njam-1.25-39.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/njam-1.25-src extracting debug info from /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/bin/njam original debug info size: 400kB, size after compression: 344kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 282 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/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: njam-1.25-39.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8QGeRN + umask 022 + cd /builddir/build/BUILD + cd njam-1.25-src + DOCDIR=/builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/doc/njam + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/doc/njam + cp -pr COPYING /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/doc/njam + cp -pr ChangeLog /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/doc/njam + cp -pr NEWS /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/doc/njam + cp -pr README /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/doc/njam + cp -pr TODO /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/doc/njam + cp -pr levels/readme.txt /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/doc/njam + cp -pr html /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64/usr/share/doc/njam + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(njam.desktop) config(njam) = 1.25-39.fc38 njam = 1.25-39.fc38 njam(x86-64) = 1.25-39.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libSDL-1.2.so.0()(64bit) libSDL_image-1.2.so.0()(64bit) libSDL_mixer-1.2.so.0()(64bit) libSDL_net-1.2.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Processing files: njam-debugsource-1.25-39.fc38.x86_64 Provides: njam-debugsource = 1.25-39.fc38 njam-debugsource(x86-64) = 1.25-39.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: njam-debuginfo-1.25-39.fc38.x86_64 Provides: debuginfo(build-id) = 4406fdfd0fda115815243d52db1f6526fe531dcd njam-debuginfo = 1.25-39.fc38 njam-debuginfo(x86-64) = 1.25-39.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: njam-debugsource(x86-64) = 1.25-39.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64 Wrote: /builddir/build/RPMS/njam-debuginfo-1.25-39.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/njam-debugsource-1.25-39.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/njam-1.25-39.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.jw7tBd + umask 022 + cd /builddir/build/BUILD + cd njam-1.25-src + /usr/bin/rm -rf /builddir/build/BUILDROOT/njam-1.25-39.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.7agSkp + umask 022 + cd /builddir/build/BUILD + rm -rf njam-1.25-src njam-1.25-src.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: Macro expanded in comment on line 8: %{name}/%{name}-%{version}-src.tar.gz Child return code was: 0