<86>Feb 18 07:21:23 userdel[106003]: delete user 'rooter' <86>Feb 18 07:21:23 groupadd[106036]: group added to /etc/group: name=rooter, GID=633 <86>Feb 18 07:21:23 groupadd[106036]: group added to /etc/gshadow: name=rooter <86>Feb 18 07:21:23 groupadd[106036]: new group: name=rooter, GID=633 <86>Feb 18 07:21:23 useradd[106065]: new user: name=rooter, UID=633, GID=633, home=/root, shell=/bin/bash <86>Feb 18 07:21:23 userdel[106135]: delete user 'builder' <86>Feb 18 07:21:23 groupadd[106389]: group added to /etc/group: name=builder, GID=634 <86>Feb 18 07:21:23 groupadd[106389]: group added to /etc/gshadow: name=builder <86>Feb 18 07:21:23 groupadd[106389]: new group: name=builder, GID=634 <86>Feb 18 07:21:23 useradd[106439]: new user: name=builder, UID=634, GID=634, home=/usr/src, shell=/bin/bash <13>Feb 18 07:21:29 rpmi: libglvnd-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Feb 18 07:21:29 rpmi: libflac8-1.3.2-alt1 1507623955 installed <13>Feb 18 07:21:29 rpmi: libvorbis-1.3.6-alt2 sisyphus+220072.200.2.2 1548744475 installed <13>Feb 18 07:21:29 rpmi: libjpeg-2:1.5.1-alt1 1498218318 installed <13>Feb 18 07:21:29 rpmi: xorg-proto-devel-2018.4-alt3 1527685079 installed <13>Feb 18 07:21:29 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Feb 18 07:21:29 rpmi: libwayland-server-1.16.0-alt1 1535614871 installed <13>Feb 18 07:21:29 rpmi: libtiff5-4.0.3-alt1 1348347501 installed <13>Feb 18 07:21:29 rpmi: libOpenGL-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Feb 18 07:21:29 rpmi: libGLES-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Feb 18 07:21:29 rpmi: libmad-0.15.1b-alt9 sisyphus.218643.100 1545854955 installed <13>Feb 18 07:21:29 rpmi: timidity-instruments-1:1.0-alt1 1166705614 installed <13>Feb 18 07:21:29 rpmi: libpng15-1.5.28-alt2 1497966749 installed <13>Feb 18 07:21:29 rpmi: libgsm-1.0.17-alt1 1523356165 installed <13>Feb 18 07:21:29 rpmi: libsndfile-1.0.28-alt2 sisyphus.212728.100 1536333068 installed <13>Feb 18 07:21:30 rpmi: liblz4-1:1.8.3-alt2 sisyphus.217095.200 1547082375 installed <13>Feb 18 07:21:30 rpmi: libgpg-error-1.31-alt1.S1 1529015802 installed <13>Feb 18 07:21:30 rpmi: libgcrypt20-1.8.3-alt4 sisyphus.218050.200 1545223289 installed <13>Feb 18 07:21:30 rpmi: libsystemd-1:240-alt4 sisyphus.219244.100 1547241502 installed <13>Feb 18 07:21:30 rpmi: libdbus-1.12.12-alt2 sisyphus+221234.100.1.2 1549918047 installed <13>Feb 18 07:21:30 rpmi: libasyncns-0.8-alt2.qa1 1365949820 installed <13>Feb 18 07:21:30 rpmi: libalsa-1:1.1.8-alt1 sisyphus+219888.100.4.1 1548752826 installed <13>Feb 18 07:21:30 rpmi: libxshmfence-1.2-alt2 1518613552 installed <13>Feb 18 07:21:30 rpmi: libX11-locales-3:1.6.7-alt1 sisyphus.214413.200 1539171080 installed <13>Feb 18 07:21:30 rpmi: libXdmcp-1.1.1-alt1 1334617701 installed <13>Feb 18 07:21:30 rpmi: libXau-1.0.8-alt1 1369565808 installed <13>Feb 18 07:21:30 rpmi: libxcb-1.13.1-alt1 sisyphus.214413.100 1539170896 installed <13>Feb 18 07:21:30 rpmi: libX11-3:1.6.7-alt1 sisyphus.214413.200 1539171143 installed <13>Feb 18 07:21:30 rpmi: libXext-1.3.3-alt1 1409902959 installed <13>Feb 18 07:21:30 rpmi: libpulseaudio-12.2-alt1 1535623585 installed <13>Feb 18 07:21:30 rpmi: libmikmod-3.3.11.1-alt2 1502706814 installed <13>Feb 18 07:21:30 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed <13>Feb 18 07:21:30 rpmi: libXdamage-1.1.3-alt4 1297162593 installed <13>Feb 18 07:21:30 rpmi: libXfixes-5.0.3-alt1 sisyphus.216396.300 1542022162 installed <13>Feb 18 07:21:30 rpmi: libXrender-0.9.8-alt1 1371312112 installed <13>Feb 18 07:21:30 rpmi: libXrandr-1.5.0-alt1 1431936189 installed <13>Feb 18 07:21:30 rpmi: libSDL-1.2.14-alt7 1483707272 installed <13>Feb 18 07:21:30 rpmi: libSDL_image-1.2.12-alt1 1347907935 installed <13>Feb 18 07:21:30 rpmi: libSDL_mixer-1.2.12-alt1 1421435874 installed <13>Feb 18 07:21:30 rpmi: libSDL_net-1.2.8-alt1 1333963614 installed <13>Feb 18 07:21:31 rpmi: libxcb-devel-1.13.1-alt1 sisyphus.214413.100 1539170896 installed <13>Feb 18 07:21:31 rpmi: libX11-devel-3:1.6.7-alt1 sisyphus.214413.200 1539171143 installed <13>Feb 18 07:21:31 rpmi: libwayland-client-1.16.0-alt1 1535614871 installed <13>Feb 18 07:21:31 rpmi: libpciaccess-1:0.14-alt1 1528969252 installed <13>Feb 18 07:21:31 rpmi: libdrm-1:2.4.97-alt1 sisyphus+220483.100.1.1 1549270242 installed <13>Feb 18 07:21:32 rpmi: libGLX-mesa-4:18.3.3-alt1 sisyphus+220483.200.1.1 1549271174 installed <13>Feb 18 07:21:32 rpmi: libGLX-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Feb 18 07:21:32 rpmi: libGL-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Feb 18 07:21:32 rpmi: libGLU-4:9.0.0-alt1 1347643784 installed <13>Feb 18 07:21:32 rpmi: libgbm-4:18.3.3-alt1 sisyphus+220483.200.1.1 1549271174 installed <13>Feb 18 07:21:32 rpmi: libEGL-mesa-4:18.3.3-alt1 sisyphus+220483.200.1.1 1549271174 installed <13>Feb 18 07:21:32 rpmi: libEGL-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Feb 18 07:21:32 rpmi: libglvnd-devel-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Feb 18 07:21:32 rpmi: libEGL-devel-4:18.3.3-alt1 sisyphus+220483.200.1.1 1549271174 installed <13>Feb 18 07:21:32 rpmi: libGL-devel-4:18.3.3-alt1 sisyphus+220483.200.1.1 1549271174 installed <13>Feb 18 07:21:32 rpmi: libGLU-devel-4:9.0.0-alt1 1347643784 installed <13>Feb 18 07:21:32 rpmi: libSDL-devel-1.2.14-alt7 1483707272 installed <13>Feb 18 07:21:32 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus.218115.200 1545282875 installed <13>Feb 18 07:21:32 rpmi: libstdc++8-devel-8.2.1-alt5 sisyphus+219286.200.2.1 1549854113 installed <13>Feb 18 07:21:33 rpmi: gcc8-c++-8.2.1-alt5 sisyphus+219286.200.2.1 1549854113 installed <13>Feb 18 07:21:33 rpmi: gcc-c++-8-alt1 sisyphus.214000.40 1542664775 installed <13>Feb 18 07:21:33 rpmi: libSDL_image-devel-1.2.12-alt1 1347907935 installed <13>Feb 18 07:21:33 rpmi: libSDL_mixer-devel-1.2.12-alt1 1421435874 installed <13>Feb 18 07:21:33 rpmi: libSDL_net-devel-1.2.8-alt1 1333963614 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/njam-1.25-alt1.qa1.nosrc.rpm Installing njam-1.25-alt1.qa1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.7413 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf njam-1.25-src + echo 'Source #0 (njam-1.25-src.tar):' Source #0 (njam-1.25-src.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/njam-1.25-src.tar + cd njam-1.25-src + /bin/chmod -c -Rf u+rwX,go-w . + /usr/bin/subst 's|LogFile::LogFile|LogFile|g' src/njamedit.cpp + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.7413 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd njam-1.25-src + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + sort -u + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-included-gettext checking for a BSD-compatible install... /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 i586-alt-linux-gcc... i586-alt-linux-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 i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ANSI C... none needed checking how to run the C preprocessor... i586-alt-linux-gcc -E checking for i586-alt-linux-g++... i586-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether i586-alt-linux-g++ accepts -g... yes checking for a BSD-compatible install... /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 'i586-alt-linux-g++' for C++ compiler. Building with '-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT' for C++ compiler flags. Building with '-lSDL -lpthread -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 -j8 make: Circular aclocal.m4 <- aclocal.m4 dependency dropped. make all-recursive make[1]: Circular aclocal.m4 <- aclocal.m4 dependency dropped. Making all in src make[2]: Circular defaults.h <- Makefile dependency dropped. make[2]: Entering directory '/usr/src/RPM/BUILD/njam-1.25-src/src' 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 make[2]: Leaving directory '/usr/src/RPM/BUILD/njam-1.25-src/src' make[2]: Entering directory '/usr/src/RPM/BUILD/njam-1.25-src/src' cd .. \ && CONFIG_FILES=src/Makefile CONFIG_HEADERS= /bin/sh ./config.status config.status: creating src/Makefile config.status: executing default-1 commands make[2]: Leaving directory '/usr/src/RPM/BUILD/njam-1.25-src/src' make[2]: Circular defaults.h <- Makefile dependency dropped. make[2]: Entering directory '/usr/src/RPM/BUILD/njam-1.25-src/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njamutils.cpp njamutils.cpp:88: warning: ignoring #pragma warn [-Wunknown-pragmas] #pragma warn -ccc njamutils.cpp:89: warning: ignoring #pragma warn [-Wunknown-pragmas] #pragma warn -rch njamutils.cpp:94: warning: ignoring #pragma warn [-Wunknown-pragmas] #pragma warn +ccc njamutils.cpp:95: warning: ignoring #pragma warn [-Wunknown-pragmas] #pragma warn +rch njamutils.cpp:114: warning: ignoring #pragma warn [-Wunknown-pragmas] #pragma warn -ccc njamutils.cpp:115: warning: ignoring #pragma warn [-Wunknown-pragmas] #pragma warn -rch njamutils.cpp:126: warning: ignoring #pragma warn [-Wunknown-pragmas] #pragma warn +ccc njamutils.cpp:127: warning: ignoring #pragma warn [-Wunknown-pragmas] #pragma warn +rch njamutils.cpp: In function 'bool SurfaceEffect(SDL_Surface*, SDL_Rect&, tEffect)': njamutils.cpp:159:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ( SDL_MUSTLOCK(surface) ) ^~ njamutils.cpp:162:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return true; ^~~~~~ njamutils.cpp:135:9: warning: unused variable 'x' [-Wunused-variable] int x, y; ^ njamutils.cpp:135:12: warning: unused variable 'y' [-Wunused-variable] int x, y; ^ njamutils.cpp:155:12: warning: 'color' may be used uninitialized in this function [-Wmaybe-uninitialized] PutPixel(surface, x, y, color); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/njam-1.25-src/src' make[2]: Entering directory '/usr/src/RPM/BUILD/njam-1.25-src/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (dest.x > Destination->w) // outside ^~ njamfont.cpp:116:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 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 'unsigned int' [-Wsign-compare] for (int j=0; j < (sizeof(FontMap)/sizeof(char)); j++) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/njam-1.25-src/src' make[2]: Entering directory '/usr/src/RPM/BUILD/njam-1.25-src/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njamnet.cpp njamnet.cpp: In member function 'bool NjamEngine::SetupNetwork()': njamnet.cpp:163:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (m_GameType == gtHostDuel && (m_Player[0].Playing || m_Player[1].Playing) ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ njamnet.cpp:140:10: warning: enumeration value 'SDLK_UNKNOWN' not handled in switch [-Wswitch] switch (key) ^ njamnet.cpp:140:10: warning: enumeration value 'SDLK_FIRST' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_BACKSPACE' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_TAB' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_CLEAR' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_RETURN' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_PAUSE' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_EXCLAIM' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_QUOTEDBL' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_HASH' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_DOLLAR' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_AMPERSAND' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_QUOTE' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_LEFTPAREN' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_RIGHTPAREN' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_ASTERISK' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_PLUS' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_COMMA' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_MINUS' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_PERIOD' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_SLASH' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_0' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_1' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_2' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_3' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_4' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_5' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_6' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_7' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_8' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_9' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_COLON' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_SEMICOLON' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_LESS' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_EQUALS' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_GREATER' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_QUESTION' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_AT' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_LEFTBRACKET' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_BACKSLASH' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_RIGHTBRACKET' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_CARET' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_UNDERSCORE' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_BACKQUOTE' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_a' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_b' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_c' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_e' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_h' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_i' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_j' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_k' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_l' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_m' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_n' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_o' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_p' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_q' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_s' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_t' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_u' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_v' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_w' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_x' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_y' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_z' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_DELETE' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_0' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_1' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_2' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_3' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_4' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_5' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_6' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_7' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_8' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_9' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_10' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_11' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_12' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_13' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_14' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_15' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_16' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_17' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_18' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_19' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_20' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_21' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_22' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_23' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_24' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_25' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_26' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_27' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_28' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_29' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_30' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_31' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_32' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_33' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_34' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_35' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_36' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_37' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_38' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_39' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_40' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_41' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_42' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_43' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_44' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_45' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_46' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_47' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_48' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_49' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_50' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_51' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_52' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_53' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_54' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_55' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_56' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_57' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_58' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_59' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_60' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_61' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_62' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_63' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_64' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_65' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_66' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_67' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_68' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_69' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_70' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_71' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_72' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_73' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_74' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_75' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_76' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_77' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_78' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_79' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_80' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_81' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_82' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_83' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_84' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_85' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_86' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_87' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_88' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_89' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_90' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_91' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_92' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_93' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_94' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_95' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP0' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP1' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP2' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP3' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP4' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP5' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP6' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP7' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP8' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP9' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP_PERIOD' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP_DIVIDE' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP_MULTIPLY' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP_MINUS' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP_PLUS' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP_ENTER' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP_EQUALS' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_INSERT' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_HOME' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_END' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_PAGEUP' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_PAGEDOWN' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_F1' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_F2' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_F3' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_F4' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_F5' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_F6' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_F7' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_F8' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_F9' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_F10' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_F11' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_F12' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_F13' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_F14' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_F15' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_NUMLOCK' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_CAPSLOCK' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_SCROLLOCK' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_RSHIFT' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_LSHIFT' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_RCTRL' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_LCTRL' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_RALT' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_LALT' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_RMETA' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_LMETA' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_LSUPER' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_RSUPER' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_MODE' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_COMPOSE' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_HELP' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_PRINT' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_SYSREQ' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_BREAK' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_MENU' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_POWER' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_EURO' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_UNDO' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_LAST' not handled in switch [-Wswitch] njamnet.cpp: In member function 'void NjamEngine::RenderNetworkScreen(bool)': njamnet.cpp:236:3: warning: statement has no effect [-Wunused-value] m_NetLobbyImage; ^~~~~~~~~~~~~~~ njamnet.cpp: In member function 'bool NjamEngine::EnterServerIP(bool)': njamnet.cpp:330:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (key >= '0' && key <= '9' || key == '.') ~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/njam-1.25-src/src' make[2]: Entering directory '/usr/src/RPM/BUILD/njam-1.25-src/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njammap.cpp njammap.cpp: In member function 'void NjamMap::SetCurrentMap(int)': njammap.cpp:141:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (int i=0; iitem_text); ^~~~~~~~~~~~~ njamedit.cpp:521:22: warning: embedded '\0' in format [-Wformat-contains-nul] sprintf(filename, "%s\0", file_name); ^~~~~~ njamedit.cpp: In member function 'void NjamEngine::LevelEditor()': njamedit.cpp:132:19: warning: '%s' directive writing up to 249 bytes into a region of size 243 [-Wformat-overflow=] sprintf(buf, "levels/%s.%s\0", filename, types[level_type]); ^~~~~~~~~~~~~~~~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from njamedit.cpp:33: /usr/include/bits/stdio2.h:33:34: note: '__builtin___sprintf_chk' output 9 or more bytes (assuming 258) into a destination of size 250 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/njam-1.25-src/src' make[2]: Entering directory '/usr/src/RPM/BUILD/njam-1.25-src/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else // select random map for duel ^~~~ njamgame.cpp:107:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' if (m_GameType != gtJoinDuel) ^~ njamgame.cpp:124:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (Winner == etLevelWon && m_CurrentMap == m_Levels - 1) // all levels passed ^~ njamgame.cpp:127:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (Winner > -1 && (m_GameType != gtOnePlayer && m_GameType != gtTwoPlayer)) ^~ njamgame.cpp: In member function 'int NjamEngine::PlayMap(bool)': njamgame.cpp:283:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (int i=0; i 260) // map packed with cookies, add extra bonus time ^~ njamgame.cpp:321:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (m_CookiesLeft == 0) ^~ njamgame.cpp:324:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' bool FrameCounts = true; ^~~~ njamgame.cpp: In member function 'void NjamEngine::RenderGameScreen()': njamgame.cpp:530:31: warning: embedded '\0' in format [-Wformat-contains-nul] sprintf(buff, "%d\0", p->GamePoints); ^~~~~~ njamgame.cpp:584:27: warning: embedded '\0' in format [-Wformat-contains-nul] sprintf(buff, "%d\0", p->Juice / 20); ^~~~~~ njamgame.cpp:601:23: warning: embedded '\0' in format [-Wformat-contains-nul] sprintf(buff, "LEVEL: %02d\0", m_CurrentMap + 1); ^~~~~~~~~~~~~~~ njamgame.cpp:607:23: warning: embedded '\0' in format [-Wformat-contains-nul] sprintf(buff, "PTS: %4d\0", m_Player[0].GamePoints); ^~~~~~~~~~~~ njamgame.cpp:611:19: warning: embedded '\0' in format [-Wformat-contains-nul] sprintf(buff, "%2.0f FPS\0", m_fps); ^~~~~~~~~~~~~ njamgame.cpp:506:14: warning: unused variable 'src' [-Wunused-variable] SDL_Rect src, dest; // render background (use part of main menu image) ^~~ njamgame.cpp: In member function 'void NjamEngine::MoveGhosts()': njamgame.cpp:771:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (s->xo==0 && s->yo==0 && (i%3==gtSTUPID || i%3==gtSMART && s->special==0)) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ njamgame.cpp:774:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (Paths > 1 && i%3==gtSMART || Paths > 2) ~~~~~~~~~~^~~~~~~~~~~~~~~ njamgame.cpp: In member function 'void NjamEngine::MovePlayers()': njamgame.cpp:1044:20: warning: enumeration value 'ttEmpty' not handled in switch [-Wswitch] switch (t) ^ njamgame.cpp:1044:20: warning: enumeration value 'ttGHouse' not handled in switch [-Wswitch] njamgame.cpp:1044:20: warning: enumeration value 'ttDoor' not handled in switch [-Wswitch] njamgame.cpp:1044:20: warning: enumeration value 'ttTeleport' not handled in switch [-Wswitch] njamgame.cpp:1044:20: warning: enumeration value 'ttGHouseActive' not handled in switch [-Wswitch] njamgame.cpp: In member function 'void NjamEngine::DrawGameStats()': njamgame.cpp:1545:26: warning: embedded '\0' in format [-Wformat-contains-nul] sprintf(points, " (%3d)\0", m_Player[i].MapPoints); ^~~~~~~~~~~ njamgame.cpp:1547:26: warning: embedded '\0' in format [-Wformat-contains-nul] sprintf(points, "%01d (%3d)\0", m_Player[i].GamePoints, m_Player[i].MapPoints); ^~~~~~~~~~~~~~ njamgame.cpp:1552:29: warning: embedded '\0' in format [-Wformat-contains-nul] sprintf(points, "%4d\0", m_Player[i].stats.data[j]); ^~~~~~~ njamgame.cpp:1559:19: warning: embedded '\0' in format [-Wformat-contains-nul] sprintf(points, "POINTS: %d\0", m_Player[0].GamePoints); ^~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/njam-1.25-src/src' make[2]: Entering directory '/usr/src/RPM/BUILD/njam-1.25-src/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njam.cpp njam.cpp: In destructor 'NjamEngine::~NjamEngine()': njam.cpp:227:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (home) ^~ njam.cpp:229:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' FILE *fp = fopen(njamconf.c_str(), "w+"); ^~~~ njam.cpp: In member function 'void NjamEngine::DoScript()': njam.cpp:275:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (int i=0; i<80; i++) // empty buffer ^~~ njam.cpp:279:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' int Row = 175 / m_FontBlue->GetCharHeight(); ^~~ njam.cpp: In member function 'bool NjamEngine::Init(bool, bool, bool)': njam.cpp:339:28: warning: embedded '\0' in format [-Wformat-contains-nul] sprintf(linux_sdl_driver, "x11\0"); ^~~~~~~ njam.cpp:342:29: warning: embedded '\0' in format [-Wformat-contains-nul] sprintf(linux_sdl_driver, "%s\0", driver_name); ^~~~~~ njam.cpp:347:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] putenv("SDL_VIDEODRIVER=dga"); ^ njam.cpp:571:21: warning: embedded '\0' in format [-Wformat-contains-nul] sprintf(Filename, "skins/Back%03d.bmp\0", m_NumberOfSkins); ^~~~~~~~~~~~~~~~~~~~~~ njam.cpp:586:21: warning: embedded '\0' in format [-Wformat-contains-nul] sprintf(Filename, "skins/Back%03d.bmp\0", i); ^~~~~~~~~~~~~~~~~~~~~~ njam.cpp:615:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (home) ^~ njam.cpp:617:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' FILE *fp = fopen(njamconf.c_str(), "r"); ^~~~ njam.cpp:663:33: warning: embedded '\0' in format [-Wformat-contains-nul] sprintf(TopTenScores[i].name, "%s\0", DefaultNames[i]); ^~~~~~ njam.cpp:733:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!m_MainMenuMusic) ^~ njam.cpp:736:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' printf("Loading song: data/ritam.s3m...\n"); ^~~~~~ njam.cpp:738:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!m_GameMusic1) ^~ njam.cpp:741:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' printf("Loading song: data/dali.xm...\n"); ^~~~~~ njam.cpp: In member function 'void NjamEngine::Start()': njam.cpp:959:18: warning: embedded '\0' in format [-Wformat-contains-nul] 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:105:7: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] chdir(path); ~~~~~^~~~~~ njam.cpp: In member function 'void NjamEngine::DoScript()': njam.cpp:284:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(buffer, 79, script_file); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ njam.cpp: In member function 'bool NjamEngine::Init(bool, bool, bool)': njam.cpp:624:9: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(buff, 20, fp); ~~~~~^~~~~~~~~~~~~~ njam.cpp:676:9: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(buff, 40, fp); ~~~~~^~~~~~~~~~~~~~ njam.cpp:586:21: warning: '%03d' directive writing between 3 and 10 bytes into a region of size 8 [-Wformat-overflow=] sprintf(Filename, "skins/Back%03d.bmp\0", i); ^~~~~~~~~~~~~~~~~~~~~~ njam.cpp:586:21: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:862, from /usr/include/c++/8/cstdio:42, from /usr/include/c++/8/ext/string_conversions.h:43, from /usr/include/c++/8/bits/basic_string.h:6400, from /usr/include/c++/8/string:52, from njam.cpp:39: /usr/include/bits/stdio2.h:33:34: note: '__builtin___sprintf_chk' output between 18 and 25 bytes into a destination of size 18 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/njam-1.25-src/src' make[2]: Entering directory '/usr/src/RPM/BUILD/njam-1.25-src/src' i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -o njam njam.o njamgame.o njamfont.o njamedit.o njammap.o njamnet.o njamutils.o -lSDL_net -lSDL_mixer -lSDL_image -lSDL -lpthread -lSDL_image -lSDL_mixer -lSDL_net make[2]: Leaving directory '/usr/src/RPM/BUILD/njam-1.25-src/src' make[2]: Circular aclocal.m4 <- aclocal.m4 dependency dropped. + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.62534 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/njam-buildroot + : + /bin/rm -rf -- /usr/src/tmp/njam-buildroot + cd njam-1.25-src + make 'INSTALL=/bin/install -p' install DESTDIR=/usr/src/tmp/njam-buildroot make: Entering directory '/usr/src/RPM/BUILD/njam-1.25-src' make: Circular aclocal.m4 <- aclocal.m4 dependency dropped. Making install in src make[1]: Entering directory '/usr/src/RPM/BUILD/njam-1.25-src/src' make[1]: Circular defaults.h <- Makefile dependency dropped. make[2]: Entering directory '/usr/src/RPM/BUILD/njam-1.25-src/src' make[2]: Circular defaults.h <- Makefile dependency dropped. /bin/sh ../mkinstalldirs /usr/src/tmp/njam-buildroot/usr/bin mkdir /usr/src/tmp/njam-buildroot mkdir /usr/src/tmp/njam-buildroot/usr mkdir /usr/src/tmp/njam-buildroot/usr/bin /bin/install -p njam /usr/src/tmp/njam-buildroot/usr/bin/njam make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/njam-1.25-src/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/njam-1.25-src/src' make[1]: Entering directory '/usr/src/RPM/BUILD/njam-1.25-src' make[1]: Circular aclocal.m4 <- aclocal.m4 dependency dropped. make[2]: Entering directory '/usr/src/RPM/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 /usr/src/tmp/njam-buildroot/usr/share/njam; \ /bin/sh ./mkinstalldirs /usr/src/tmp/njam-buildroot/usr/share/njam/data; \ /bin/sh ./mkinstalldirs /usr/src/tmp/njam-buildroot/usr/share/njam/skins; \ /bin/sh ./mkinstalldirs /usr/src/tmp/njam-buildroot/usr/share/njam/html; \ /bin/sh ./mkinstalldirs /usr/src/tmp/njam-buildroot/usr/share/njam/levels; \ /bin/install -p -m 644 ./njam.conf /usr/src/tmp/njam-buildroot/usr/share/njam; \ /bin/install -p -m 644 ./njamicon.ico /usr/src/tmp/njam-buildroot/usr/share/njam; \ /bin/install -p -m 644 ./njam.iss /usr/src/tmp/njam-buildroot/usr/share/njam; \ /bin/install -p -m 644 ./njam.rc /usr/src/tmp/njam-buildroot/usr/share/njam; \ /bin/install -p -m 644 ./hiscore.dat /usr/src/tmp/njam-buildroot/usr/share/njam; \ chmod 660 /usr/src/tmp/njam-buildroot/usr/share/njam/hiscore.dat; \ chgrp games /usr/src/tmp/njam-buildroot/usr/share/njam/hiscore.dat; \ /bin/install -p -m 644 ./README /usr/src/tmp/njam-buildroot/usr/share/njam; \ for file in ./data/*; do \ if test -f $file; then \ /bin/install -p -m 644 "$file" /usr/src/tmp/njam-buildroot/usr/share/njam/data; \ fi \ done mkdir /usr/src/tmp/njam-buildroot/usr/share mkdir /usr/src/tmp/njam-buildroot/usr/share/njam mkdir /usr/src/tmp/njam-buildroot/usr/share/njam/data mkdir /usr/src/tmp/njam-buildroot/usr/share/njam/skins mkdir /usr/src/tmp/njam-buildroot/usr/share/njam/html mkdir /usr/src/tmp/njam-buildroot/usr/share/njam/levels chgrp: changing group of '/usr/src/tmp/njam-buildroot/usr/share/njam/hiscore.dat': Operation not permitted for file in ./skins/*; do \ if test -f $file; then \ /bin/install -p -m 644 "$file" /usr/src/tmp/njam-buildroot/usr/share/njam/skins; \ fi \ done for file in ./html/*; do \ if test -f $file; then \ /bin/install -p -m 644 "$file" /usr/src/tmp/njam-buildroot/usr/share/njam/html; \ fi \ done for file in ./levels/*; do \ if test -f "$file"; then \ /bin/install -p -m 644 "$file" /usr/src/tmp/njam-buildroot/usr/share/njam/levels; \ fi \ done make[2]: Leaving directory '/usr/src/RPM/BUILD/njam-1.25-src' make[1]: Leaving directory '/usr/src/RPM/BUILD/njam-1.25-src' make: Leaving directory '/usr/src/RPM/BUILD/njam-1.25-src' + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/njam-buildroot (auto) mode of 'usr/share/njam/hiscore.dat' changed from 0660 (rw-rw----) to 0664 (rw-rw-r--) mode of 'usr/share/njam/hiscore.dat' changed from 0664 (rw-rw-r--) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/njam-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/njam-buildroot/ (default) Compressing files in /usr/src/tmp/njam-buildroot (auto) Verifying ELF objects in /usr/src/tmp/njam-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/bin/njam: uses non-LFS functions: fopen readdir Hardlinking identical .pyc and .pyo files Processing files: njam-1.25-alt1.qa1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.lwEEph find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.gfCe43 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Requires: /lib/ld-linux.so.2, libSDL-1.2.so.0 >= set:lgUOpc4YBeCl6OI9Rbbb9uNNVkKJYZ15jBfMQxrtI3UoB3ue2fl8lgQTDRNku2, libSDL_image-1.2.so.0 >= set:jifK3, libSDL_mixer-1.2.so.0 >= set:kgaFaDZf3xZ4opQY3ktW8amebY2T8NWvkNm0p, libSDL_net-1.2.so.0 >= set:jfOufy7EqNuKKpe2wZneNcu2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libgcc_s.so.1(GCC_3.0), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.8), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.21), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.7pmg2r Creating njam-debuginfo package Processing files: njam-debuginfo-1.25-alt1.qa1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.0grsBE find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.nu3B1i find-requires: running scripts (debuginfo) Requires: njam = 1.25-alt1.qa1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libSDL-1.2.so.0), debug(libSDL_image-1.2.so.0), debug(libSDL_mixer-1.2.so.0), debug(libSDL_net-1.2.so.0), debug(libc.so.6), debug(libgcc_s.so.1), debug(libstdc++.so.6) Wrote: /usr/src/RPM/RPMS/i586/njam-1.25-alt1.qa1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/njam-debuginfo-1.25-alt1.qa1.i586.rpm 11.00user 2.01system 0:22.88elapsed 56%CPU (0avgtext+0avgdata 50788maxresident)k 0inputs+0outputs (0major+591833minor)pagefaults 0swaps 23.54user 5.76system 0:45.65elapsed 64%CPU (0avgtext+0avgdata 121836maxresident)k 0inputs+0outputs (0major+1049956minor)pagefaults 0swaps --- njam-1.25-alt1.qa1.i586.rpm.repo 2013-04-17 03:25:43.000000000 +0000 +++ njam-1.25-alt1.qa1.i586.rpm.hasher 2019-02-18 07:22:00.285119059 +0000 @@ -109,3 +109,3 @@ Requires: libSDL_image-1.2.so.0 >= set:jifK3 -Requires: libSDL_mixer-1.2.so.0 >= set:lhBkZ672oMXOnNOEOfgRF7hNOp3LMdiJZnkNC0O0 +Requires: libSDL_mixer-1.2.so.0 >= set:kgaFaDZf3xZ4opQY3ktW8amebY2T8NWvkNm0p Requires: libSDL_net-1.2.so.0 >= set:jfOufy7EqNuKKpe2wZneNcu2 @@ -116,7 +116,8 @@ Requires: libgcc_s.so.1(GCC_3.0) -Requires: libpthread.so.0(GLIBC_2.0) Requires: libstdc++.so.6(CXXABI_1.3) +Requires: libstdc++.so.6(CXXABI_1.3.8) +Requires: libstdc++.so.6(CXXABI_1.3.9) Requires: libstdc++.so.6(GLIBCXX_3.4) +Requires: libstdc++.so.6(GLIBCXX_3.4.21) Requires: rtld(GNU_HASH) -Requires: rtld(GNU_UNIQUE) Requires: rpmlib(PayloadIsLzma) --- njam-debuginfo-1.25-alt1.qa1.i586.rpm.repo 2013-04-17 03:25:43.000000000 +0000 +++ njam-debuginfo-1.25-alt1.qa1.i586.rpm.hasher 2019-02-18 07:22:00.296119088 +0000 @@ -22,3 +22,2 @@ Requires: debug(libgcc_s.so.1) -Requires: debug(libpthread.so.0) Requires: debug(libstdc++.so.6)