<86>Feb 21 01:50:17 userdel[130980]: delete user 'rooter' <86>Feb 21 01:50:17 userdel[130980]: removed shadow group 'rooter' owned by 'rooter' <86>Feb 21 01:50:17 groupadd[130989]: group added to /etc/group: name=rooter, GID=639 <86>Feb 21 01:50:17 groupadd[130989]: group added to /etc/gshadow: name=rooter <86>Feb 21 01:50:17 groupadd[130989]: new group: name=rooter, GID=639 <86>Feb 21 01:50:17 useradd[131001]: new user: name=rooter, UID=639, GID=639, home=/root, shell=/bin/bash <86>Feb 21 01:50:17 userdel[131044]: delete user 'builder' <86>Feb 21 01:50:17 userdel[131044]: removed group 'builder' owned by 'builder' <86>Feb 21 01:50:17 userdel[131044]: removed shadow group 'builder' owned by 'builder' <86>Feb 21 01:50:17 groupadd[303]: group added to /etc/group: name=builder, GID=640 <86>Feb 21 01:50:17 groupadd[303]: group added to /etc/gshadow: name=builder <86>Feb 21 01:50:17 groupadd[303]: new group: name=builder, GID=640 <86>Feb 21 01:50:17 useradd[352]: new user: name=builder, UID=640, GID=640, home=/usr/src, shell=/bin/bash <13>Feb 21 01:50:20 rpmi: libglvnd-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed <13>Feb 21 01:50:20 rpmi: libogg-1.3.3-alt1 sisyphus+221902.4000.4.1 1550598413 installed <13>Feb 21 01:50:20 rpmi: libflac8-1.3.2-alt1 1507623526 installed <13>Feb 21 01:50:20 rpmi: libvorbis-1.3.6-alt2 sisyphus+220072.200.2.2 1548744467 installed <13>Feb 21 01:50:20 rpmi: libjpeg-2:1.5.1-alt1 1498218302 installed <13>Feb 21 01:50:20 rpmi: xorg-proto-devel-2018.4-alt3 1527685079 installed <13>Feb 21 01:50:20 rpmi: libexpat-2.2.4-alt1 1503305341 installed <13>Feb 21 01:50:20 rpmi: libwayland-server-1.16.0-alt1 1535614868 installed <13>Feb 21 01:50:20 rpmi: libtiff5-4.0.3-alt1 1348347498 installed <13>Feb 21 01:50:20 rpmi: libOpenGL-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed <13>Feb 21 01:50:20 rpmi: libGLES-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed <13>Feb 21 01:50:20 rpmi: libmad-0.15.1b-alt9 sisyphus.218643.100 1545854954 installed <13>Feb 21 01:50:20 rpmi: timidity-instruments-1:1.0-alt1 1166705614 installed <13>Feb 21 01:50:20 rpmi: libpng15-1.5.28-alt2 1497966592 installed <13>Feb 21 01:50:20 rpmi: libgsm-1.0.17-alt1 1523356157 installed <13>Feb 21 01:50:20 rpmi: libsndfile-1.0.28-alt2 sisyphus.212728.100 1536333060 installed <13>Feb 21 01:50:20 rpmi: liblz4-1:1.8.3-alt2 sisyphus+221902.4200.4.1 1550599364 installed <13>Feb 21 01:50:20 rpmi: libgpg-error-1.31-alt1.S1 1529015796 installed <13>Feb 21 01:50:20 rpmi: libgcrypt20-1.8.3-alt4 sisyphus.218050.200 1545223148 installed <13>Feb 21 01:50:20 rpmi: libsystemd-1:241-alt3 sisyphus+222052.100.2.1 1550680909 installed <13>Feb 21 01:50:20 rpmi: libdbus-1.12.12-alt2 sisyphus+221234.100.1.2 1549918037 installed <13>Feb 21 01:50:20 rpmi: libasyncns-0.8-alt2.qa1 1365949819 installed <13>Feb 21 01:50:20 rpmi: libalsa-1:1.1.8-alt2 sisyphus+221894.200.4.1 1550583282 installed <13>Feb 21 01:50:20 rpmi: libxshmfence-1.2-alt2 1518613549 installed <13>Feb 21 01:50:20 rpmi: libX11-locales-3:1.6.7-alt1 sisyphus.214413.200 1539171080 installed <13>Feb 21 01:50:20 rpmi: libXdmcp-1.1.1-alt1 1334617699 installed <13>Feb 21 01:50:20 rpmi: libXau-1.0.8-alt1 1369565807 installed <13>Feb 21 01:50:20 rpmi: libxcb-1.13.1-alt1 sisyphus.214413.100 1539170828 installed <13>Feb 21 01:50:20 rpmi: libX11-3:1.6.7-alt1 sisyphus.214413.200 1539171080 installed <13>Feb 21 01:50:20 rpmi: libXext-1.3.3-alt1 1409902932 installed <13>Feb 21 01:50:20 rpmi: libpulseaudio-12.2-alt1 1535623578 installed <13>Feb 21 01:50:20 rpmi: libmikmod-3.3.11.1-alt2 1502706813 installed <13>Feb 21 01:50:20 rpmi: libXxf86vm-1.1.4-alt2 1527672159 installed <13>Feb 21 01:50:20 rpmi: libXdamage-1.1.3-alt4 1297162596 installed <13>Feb 21 01:50:20 rpmi: libXfixes-5.0.3-alt1 sisyphus.216396.300 1542022144 installed <13>Feb 21 01:50:20 rpmi: libXrender-0.9.8-alt1 1371312110 installed <13>Feb 21 01:50:20 rpmi: libXrandr-1.5.0-alt1 1431936188 installed <13>Feb 21 01:50:20 rpmi: libSDL-1.2.14-alt7 1483707267 installed <13>Feb 21 01:50:20 rpmi: libSDL_image-1.2.12-alt1 1347907933 installed <13>Feb 21 01:50:20 rpmi: libSDL_mixer-1.2.12-alt1 1421435872 installed <13>Feb 21 01:50:20 rpmi: libSDL_net-1.2.8-alt1 1333963621 installed <13>Feb 21 01:50:22 rpmi: libxcb-devel-1.13.1-alt1 sisyphus.214413.100 1539170828 installed <13>Feb 21 01:50:22 rpmi: libX11-devel-3:1.6.7-alt1 sisyphus.214413.200 1539171080 installed <13>Feb 21 01:50:22 rpmi: libwayland-client-1.16.0-alt1 1535614868 installed <13>Feb 21 01:50:22 rpmi: libpciaccess-1:0.14-alt1 1528969624 installed <13>Feb 21 01:50:22 rpmi: libdrm-1:2.4.97-alt1 sisyphus+220483.100.1.1 1549270237 installed <13>Feb 21 01:50:22 rpmi: libGLX-mesa-4:18.3.4-alt1 sisyphus+222018.100.1.1 1550568937 installed <13>Feb 21 01:50:22 rpmi: libGLX-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed <13>Feb 21 01:50:22 rpmi: libGL-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed <13>Feb 21 01:50:22 rpmi: libGLU-4:9.0.0-alt1 1347643776 installed <13>Feb 21 01:50:22 rpmi: libgbm-4:18.3.4-alt1 sisyphus+222018.100.1.1 1550568937 installed <13>Feb 21 01:50:22 rpmi: libEGL-mesa-4:18.3.4-alt1 sisyphus+222018.100.1.1 1550568937 installed <13>Feb 21 01:50:22 rpmi: libEGL-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed <13>Feb 21 01:50:22 rpmi: libglvnd-devel-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed <13>Feb 21 01:50:22 rpmi: libEGL-devel-4:18.3.4-alt1 sisyphus+222018.100.1.1 1550568937 installed <13>Feb 21 01:50:22 rpmi: libGL-devel-4:18.3.4-alt1 sisyphus+222018.100.1.1 1550568937 installed <13>Feb 21 01:50:22 rpmi: libGLU-devel-4:9.0.0-alt1 1347643776 installed <13>Feb 21 01:50:22 rpmi: libSDL-devel-1.2.14-alt7 1483707267 installed <13>Feb 21 01:50:22 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed <13>Feb 21 01:50:22 rpmi: libstdc++8-devel-8.2.1-alt5 sisyphus+219286.200.2.1 1549853842 installed <13>Feb 21 01:50:23 rpmi: gcc8-c++-8.2.1-alt5 sisyphus+219286.200.2.1 1549853842 installed <13>Feb 21 01:50:23 rpmi: gcc-c++-8-alt1 sisyphus+222164.100.1.1 1550685957 installed <13>Feb 21 01:50:23 rpmi: libSDL_image-devel-1.2.12-alt1 1347907933 installed <13>Feb 21 01:50:23 rpmi: libSDL_mixer-devel-1.2.12-alt1 1421435872 installed <13>Feb 21 01:50:23 rpmi: libSDL_net-devel-1.2.8-alt1 1333963621 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/njam-1.25-alt1.qa1.nosrc.rpm Installing njam-1.25-alt1.qa1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.10738 + 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.10738 + 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' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-included-gettext checking for 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 x86_64-alt-linux-gcc... x86_64-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 x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ANSI C... none needed checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for x86_64-alt-linux-g++... x86_64-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-alt-linux-g++ accepts -g... yes checking 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 'x86_64-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' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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 'long 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' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njamedit.cpp njamedit.cpp: In member function 'void NjamEngine::LevelEditor()': njamedit.cpp:67:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (key == SDLK_ESCAPE && (!changed || Query("ARE YOU SURE YOU WISH TO EXIT? (Y/N)"))) ^ njamedit.cpp:132:19: warning: embedded '\0' in format [-Wformat-contains-nul] sprintf(buf, "levels/%s.%s\0", filename, types[level_type]); ^~~~~~~~~~~~~~~~ njamedit.cpp:133:24: warning: embedded '\0' in format [-Wformat-contains-nul] sprintf(filename, "%s\0", buf); ^~~~~~ njamedit.cpp:145:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Message("LEVEL IS NOT MARKED AS PLAYABLE. PRESS P TO CHANGE."); ^ njamedit.cpp:147:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Message("THERE MUST BE EXACTLY ONE DOOR ON LEVEL!"); ^ njamedit.cpp:149:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Message("THERE MUST BE EXACTLY ONE PENTAGRAM ON LEVEL!"); ^ njamedit.cpp:190:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Message("LEVELS SWAPPED"); ^ njamedit.cpp: In member function 'void NjamEngine::RenderEditor(bool, int, int, int)': njamedit.cpp:266:16: warning: embedded '\0' in format [-Wformat-contains-nul] sprintf(buff, "LEVEL: %02d\0", m_CurrentMap + 1); ^~~~~~~~~~~~~~~ njamedit.cpp:298:17: warning: embedded '\0' in format [-Wformat-contains-nul] sprintf(buff, "%d\0", i); ^~~~~~ njamedit.cpp: In member function 'bool NjamEngine::CheckForSave()': njamedit.cpp:379:21: warning: embedded '\0' in format [-Wformat-contains-nul] sprintf(message, "THERE MUST BE EXACTLY ONE DOOR ON LEVEL %d\0", i+1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ njamedit.cpp:387:21: warning: embedded '\0' in format [-Wformat-contains-nul] sprintf(message, "THERE MUST BE EXACTLY ONE PENTAGRAM ON LEVEL %d\0", i+1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ njamedit.cpp:394:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return Query("ARE YOU SURE (Y/N) ?"); ^ njamedit.cpp: In member function 'bool NjamEngine::EnterFileName(char*)': njamedit.cpp:455:23: warning: embedded '\0' in format [-Wformat-contains-nul] sprintf(file_name, "%s\0", filename); ^~~~~~ njamedit.cpp: In member function 'int NjamEngine::SelectMap(char, char*)': njamedit.cpp:518:22: warning: embedded '\0' in format [-Wformat-contains-nul] sprintf(file_name, "levels/%s\0", selected->item_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' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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; i -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' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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' x86_64-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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.7825 + 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) 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.eD5e5O 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.1mU7nC find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Requires: /lib64/ld-linux-x86-64.so.2, libSDL-1.2.so.0()(64bit) >= set:lgUOpc4YBeCl6OI9Rbbb9uNNVkKJYZ15jBfMQxrtI3UoB3ue2fl8lgQTDRNku2, libSDL_image-1.2.so.0()(64bit) >= set:jifK3, libSDL_mixer-1.2.so.0()(64bit) >= set:kgaFaDZf3xZ4opQY3ktW8amebY2T8NWvkNm0p, libSDL_net-1.2.so.0()(64bit) >= set:jfOufy7EqNuKKpe2wZneNcu2, 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.4)(64bit), libgcc_s.so.1(GCC_3.0)(64bit), libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(CXXABI_1.3.9)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), libstdc++.so.6(GLIBCXX_3.4.21)(64bit), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.wbK74s 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.pmZ21m find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.MQio8j find-requires: running scripts (debuginfo) Requires: njam = 1.25-alt1.qa1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libSDL-1.2.so.0), debug64(libSDL_image-1.2.so.0), debug64(libSDL_mixer-1.2.so.0), debug64(libSDL_net-1.2.so.0), debug64(libc.so.6), debug64(libgcc_s.so.1), debug64(libstdc++.so.6) Wrote: /usr/src/RPM/RPMS/x86_64/njam-1.25-alt1.qa1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/njam-debuginfo-1.25-alt1.qa1.x86_64.rpm 5.87user 1.56system 0:12.23elapsed 60%CPU (0avgtext+0avgdata 67568maxresident)k 0inputs+0outputs (0major+668046minor)pagefaults 0swaps 17.58user 4.70system 0:29.19elapsed 76%CPU (0avgtext+0avgdata 121860maxresident)k 16568inputs+0outputs (0major+1129344minor)pagefaults 0swaps --- njam-1.25-alt1.qa1.x86_64.rpm.repo 2013-04-17 03:25:40.000000000 +0000 +++ njam-1.25-alt1.qa1.x86_64.rpm.hasher 2019-02-21 01:50:39.631387988 +0000 @@ -109,4 +109,5 @@ Requires: libSDL_image-1.2.so.0()(64bit) >= set:jifK3 -Requires: libSDL_mixer-1.2.so.0()(64bit) >= set:lhBkZ672oMXOnNOEOfgRF7hNOp3LMdiJZnkNC0O0 +Requires: libSDL_mixer-1.2.so.0()(64bit) >= set:kgaFaDZf3xZ4opQY3ktW8amebY2T8NWvkNm0p Requires: libSDL_net-1.2.so.0()(64bit) >= set:jfOufy7EqNuKKpe2wZneNcu2 +Requires: libc.so.6(GLIBC_2.14)(64bit) Requires: libc.so.6(GLIBC_2.2.5)(64bit) @@ -115,7 +116,7 @@ Requires: libgcc_s.so.1(GCC_3.0)(64bit) -Requires: libpthread.so.0(GLIBC_2.2.5)(64bit) Requires: libstdc++.so.6(CXXABI_1.3)(64bit) +Requires: libstdc++.so.6(CXXABI_1.3.9)(64bit) Requires: libstdc++.so.6(GLIBCXX_3.4)(64bit) +Requires: libstdc++.so.6(GLIBCXX_3.4.21)(64bit) Requires: rtld(GNU_HASH) -Requires: rtld(GNU_UNIQUE) Requires: rpmlib(PayloadIsLzma) --- njam-debuginfo-1.25-alt1.qa1.x86_64.rpm.repo 2013-04-17 03:25:40.000000000 +0000 +++ njam-debuginfo-1.25-alt1.qa1.x86_64.rpm.hasher 2019-02-21 01:50:39.712388221 +0000 @@ -22,3 +22,2 @@ Requires: debug64(libgcc_s.so.1) -Requires: debug64(libpthread.so.0) Requires: debug64(libstdc++.so.6)