Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 904474 Details for
Bug 1106305
njam: FTBFS in rawhide
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
build.log
<fdopen> (text/plain), 44.28 KB, created by
Dennis Gilmore
on 2014-06-09 04:37:02 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Dennis Gilmore
Created:
2014-06-09 04:37:02 UTC
Size:
44.28 KB
patch
obsolete
>Mock Version: 1.1.39 >Mock Version: 1.1.39 >ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target i686 --nodeps builddir/build/SPECS/njam.spec'], False, '/var/lib/mock/f21-build-2129789-392883/root/', None, 86400, True, False, 1000, 425, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n "<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=<mockbuild.trace_decorator.getLog object at 0x120eb90>) >Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target i686 --nodeps builddir/build/SPECS/njam.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n "<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} >warning: bogus date in %changelog: Tue Dec 11 2011 Hans de Goede <hdegoede@redhat.com> - 1.25-14 >warning: Could not canonicalize hostname: buildhw-05.phx2.fedoraproject.org >Building target platforms: i686 >Building for target i686 >Wrote: /builddir/build/SRPMS/njam-1.25-20.fc21.src.rpm >Child return code was: 0 >LEAVE do --> > >ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/njam.spec'], False, '/var/lib/mock/f21-build-2129789-392883/root/', None, 86400, True, False, 1000, 425, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n "<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=<mockbuild.trace_decorator.getLog object at 0x120eb90>) >Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/njam.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n "<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} >warning: bogus date in %changelog: Tue Dec 11 2011 Hans de Goede <hdegoede@redhat.com> - 1.25-14 >Building target platforms: i686 >Building for target i686 >Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4VduyB >+ umask 022 >+ cd /builddir/build/BUILD >+ cd /builddir/build/BUILD >+ rm -rf njam-1.25-src >+ /usr/bin/gzip -dc /builddir/build/SOURCES/njam-1.25-src.tar.gz >+ /usr/bin/tar -xf - >+ STATUS=0 >+ '[' 0 -ne 0 ']' >+ cd njam-1.25-src >+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . >Patch #0 (njam-1.25-drop-setgid.patch): >+ echo 'Patch #0 (njam-1.25-drop-setgid.patch):' >+ /usr/bin/cat /builddir/build/SOURCES/njam-1.25-drop-setgid.patch >+ /usr/bin/patch -p1 -b --suffix .setgid --fuzz=0 >patching file src/njam.cpp >Patch #1 (njam-1.25-html.patch): >+ echo 'Patch #1 (njam-1.25-html.patch):' >+ /usr/bin/cat /builddir/build/SOURCES/njam-1.25-html.patch >+ /usr/bin/patch -p1 --fuzz=0 >patching file html/doc-editor.html >Patch #2 (njam-1.25-leveledit.patch): >+ echo 'Patch #2 (njam-1.25-leveledit.patch):' >+ /usr/bin/cat /builddir/build/SOURCES/njam-1.25-leveledit.patch >+ /usr/bin/patch -p1 -b --suffix .leveledit --fuzz=0 >patching file src/njamutils.h >patching file src/njam.cpp >Hunk #1 succeeded at 348 (offset -2 lines). >Hunk #2 succeeded at 628 (offset -2 lines). >patching file src/njam.h >patching file src/njamedit.cpp >patching file src/njamutils.cpp >Patch #3 (njam-1.25-gcc45.patch): >+ echo 'Patch #3 (njam-1.25-gcc45.patch):' >+ /usr/bin/cat /builddir/build/SOURCES/njam-1.25-gcc45.patch >+ /usr/bin/patch -p1 --fuzz=0 >patching file src/njamedit.cpp >Patch #4 (njam-1.25-rhbz767015.patch): >+ echo 'Patch #4 (njam-1.25-rhbz767015.patch):' >+ /usr/bin/cat /builddir/build/SOURCES/njam-1.25-rhbz767015.patch >+ /usr/bin/patch -p1 --fuzz=0 >patching file src/njam.cpp >patching file src/njam.h >+ exit 0 >Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2Q9eOC >+ umask 022 >+ cd /builddir/build/BUILD >+ cd njam-1.25-src >+ CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables' >+ export CFLAGS >+ CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables' >+ export CXXFLAGS >+ FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -I/usr/lib/gfortran/modules' >+ export FFLAGS >+ FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -I/usr/lib/gfortran/modules' >+ export FCFLAGS >+ LDFLAGS='-Wl,-z,relro ' >+ export LDFLAGS >+ '[' 1 = 1 ']' >++ find . -name config.guess -o -name config.sub >+ for i in '$(find . -name config.guess -o -name config.sub)' >++ basename ./config.sub >+ '[' -f /usr/lib/rpm/redhat/config.sub ']' >+ /usr/bin/rm -f ./config.sub >++ basename ./config.sub >+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub >'/usr/lib/rpm/redhat/config.sub' -> './config.sub' >+ for i in '$(find . -name config.guess -o -name config.sub)' >++ basename ./config.guess >+ '[' -f /usr/lib/rpm/redhat/config.guess ']' >+ /usr/bin/rm -f ./config.guess >++ basename ./config.guess >+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess >'/usr/lib/rpm/redhat/config.guess' -> './config.guess' >+ '[' 1 = 1 ']' >+ '[' x '!=' x ']' >+ ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info >checking for a BSD-compatible install... /usr/bin/install -c >checking whether build environment is sane... yes >checking whether make sets $(MAKE)... yes >checking for working aclocal-1.4... missing >checking for working autoconf... found >checking for working automake-1.4... missing >checking for working autoheader... found >checking for working makeinfo... missing >checking for i686-redhat-linux-gnu-gcc... no >checking for gcc... gcc >checking for C compiler default output file name... a.out >checking whether the C compiler works... yes >checking whether we are cross compiling... no >checking for suffix of executables... >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether gcc accepts -g... yes >checking for gcc option to accept ANSI C... none needed >checking how to run the C preprocessor... gcc -E >checking for i686-redhat-linux-gnu-g++... no >checking for i686-redhat-linux-gnu-c++... no >checking for i686-redhat-linux-gnu-gpp... no >checking for i686-redhat-linux-gnu-aCC... no >checking for i686-redhat-linux-gnu-CC... no >checking for i686-redhat-linux-gnu-cxx... no >checking for i686-redhat-linux-gnu-cc++... no >checking for i686-redhat-linux-gnu-cl... no >checking for i686-redhat-linux-gnu-FCC... no >checking for i686-redhat-linux-gnu-KCC... no >checking for i686-redhat-linux-gnu-RCC... no >checking for i686-redhat-linux-gnu-xlC_r... no >checking for i686-redhat-linux-gnu-xlC... no >checking for g++... g++ >checking whether we are using the GNU C++ compiler... yes >checking whether g++ accepts -g... yes >checking for a BSD-compatible install... /usr/bin/install -c >checking whether make sets $(MAKE)... (cached) yes >checking for dirent.h that defines DIR... yes >checking for library containing opendir... none required >checking for egrep... grep -E >checking for ANSI C header files... yes >checking for sys/wait.h that is POSIX.1 compatible... yes >checking for sys/types.h... yes >checking for sys/stat.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for memory.h... yes >checking for strings.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for unistd.h... yes >checking fcntl.h usability... yes >checking fcntl.h presence... yes >checking for fcntl.h... yes >checking limits.h usability... yes >checking limits.h presence... yes >checking for limits.h... yes >checking malloc.h usability... yes >checking malloc.h presence... yes >checking for malloc.h... yes >checking for strings.h... (cached) yes >checking sys/ioctl.h usability... yes >checking sys/ioctl.h presence... yes >checking for sys/ioctl.h... yes >checking sys/time.h usability... yes >checking sys/time.h presence... yes >checking for sys/time.h... yes >checking for unistd.h... (cached) yes >checking for sdl-config... yes >checking for SDL_Init in -lSDL... yes >checking SDL/SDL.h usability... yes >checking SDL/SDL.h presence... yes >checking for SDL/SDL.h... yes >checking for IMG_Load in -lSDL_image... yes >checking for Mix_OpenAudio in -lSDL_mixer... yes >checking for SDLNet_TCP_Open in -lSDL_net... yes > njam version 0.1.25 configured successfully. >Using '/usr' for installation. >Using '/usr/share' for installation libraries. >Using 'g++' for C++ compiler. >Building with '-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT' for C++ compiler flags. >Building with '-lSDL -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 -j16 >make: Circular aclocal.m4 <- aclocal.m4 dependency dropped. >make all-recursive >make[1]: Entering directory `/builddir/build/BUILD/njam-1.25-src' >make[1]: Circular aclocal.m4 <- aclocal.m4 dependency dropped. >Making all in src >make[2]: Entering directory `/builddir/build/BUILD/njam-1.25-src/src' >echo '// This file is generated from makefile. Do not edit!' > defaults.h >make[2]: Circular defaults.h <- Makefile dependency dropped. >echo '#define DEFAULT_PREFIX "/usr"' >> defaults.h >echo '#define DEFAULT_LIBDIR "/usr/share"' >> defaults.h >echo '#define PACKAGE "njam"' >> defaults.h >cd .. \ > && CONFIG_FILES=src/Makefile CONFIG_HEADERS= /bin/sh ./config.status >config.status: creating src/Makefile >config.status: executing default-1 commands >make[2]: Leaving directory `/builddir/build/BUILD/njam-1.25-src/src' >make[2]: Entering directory `/builddir/build/BUILD/njam-1.25-src/src' >make[2]: Circular defaults.h <- Makefile dependency dropped. >g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njam.cpp >g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njamgame.cpp >g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njamfont.cpp >g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njamedit.cpp >g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njammap.cpp >g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njamnet.cpp >g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njamutils.cpp >njamutils.cpp:88:0: warning: ignoring #pragma warn [-Wunknown-pragmas] > #pragma warn -ccc > ^ >njamutils.cpp:89:0: warning: ignoring #pragma warn [-Wunknown-pragmas] > #pragma warn -rch > ^ >njamutils.cpp:94:0: warning: ignoring #pragma warn [-Wunknown-pragmas] > #pragma warn +ccc > ^ >njamutils.cpp:95:0: warning: ignoring #pragma warn [-Wunknown-pragmas] > #pragma warn +rch > ^ >njamutils.cpp:114:0: warning: ignoring #pragma warn [-Wunknown-pragmas] > #pragma warn -ccc > ^ >njamutils.cpp:115:0: warning: ignoring #pragma warn [-Wunknown-pragmas] > #pragma warn -rch > ^ >njamutils.cpp:126:0: warning: ignoring #pragma warn [-Wunknown-pragmas] > #pragma warn +ccc > ^ >njamutils.cpp:127:0: warning: ignoring #pragma warn [-Wunknown-pragmas] > #pragma warn +rch > ^ >njamfont.cpp: In member function 'bool NjamFont::WriteTextXY(SDL_Surface*, int, int, const char*)': >njamfont.cpp:120:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > for (int j=0; j < (sizeof(FontMap)/sizeof(char)); j++) > ^ >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:18: 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 == '.') > ^ >njamutils.cpp: In function 'bool SurfaceEffect(SDL_Surface*, SDL_Rect&, tEffect)': >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; > ^ >njamedit.cpp: In member function 'void NjamEngine::LevelEditor()': >njamedit.cpp:67:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] > if (key == SDLK_ESCAPE && (!changed || Query("ARE YOU SURE YOU WISH TO EXIT? (Y/N)"))) > ^ >njamedit.cpp:153:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] > Message("LEVEL IS NOT MARKED AS PLAYABLE. PRESS P TO CHANGE."); > ^ >njamedit.cpp:155:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] > Message("THERE MUST BE EXACTLY ONE DOOR ON LEVEL!"); > ^ >njamedit.cpp:157:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] > Message("THERE MUST BE EXACTLY ONE PENTAGRAM ON LEVEL!"); > ^ >njamedit.cpp:198:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] > Message("LEVELS SWAPPED"); > ^ >njamedit.cpp: In member function 'void NjamEngine::RenderEditor(bool, int, int, int)': >njamedit.cpp:274:49: warning: embedded '\0' in format [-Wformat-contains-nul] > sprintf(buff, "LEVEL: %02d\0", m_CurrentMap + 1); > ^ >njamedit.cpp:306:26: warning: embedded '\0' in format [-Wformat-contains-nul] > sprintf(buff, "%d\0", i); > ^ >njamedit.cpp: In member function 'bool NjamEngine::CheckForSave()': >njamedit.cpp:387:72: warning: embedded '\0' in format [-Wformat-contains-nul] > sprintf(message, "THERE MUST BE EXACTLY ONE DOOR ON LEVEL %d\0", i+1); > ^ >njamedit.cpp:395:77: warning: embedded '\0' in format [-Wformat-contains-nul] > sprintf(message, "THERE MUST BE EXACTLY ONE PENTAGRAM ON LEVEL %d\0", i+1); > ^ >njamedit.cpp:402:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] > return Query("ARE YOU SURE (Y/N) ?"); > ^ >njamedit.cpp: In member function 'bool NjamEngine::EnterFileName(char*)': >njamedit.cpp:463:39: warning: embedded '\0' in format [-Wformat-contains-nul] > sprintf(file_name, "%s\0", filename); > ^ >njamgame.cpp: In member function 'void NjamEngine::StartGame(GameType)': >njamgame.cpp:231:25: error: format not a string literal and no format arguments [-Werror=format-security] > printf(SDL_GetError()); > ^ >njamgame.cpp: In member function 'void NjamEngine::RenderGameScreen()': >njamgame.cpp:530:52: warning: embedded '\0' in format [-Wformat-contains-nul] > sprintf(buff, "%d\0", p->GamePoints); > ^ >njamgame.cpp:584:48: warning: embedded '\0' in format [-Wformat-contains-nul] > sprintf(buff, "%d\0", p->Juice / 20); > ^ >njamgame.cpp:601:56: warning: embedded '\0' in format [-Wformat-contains-nul] > sprintf(buff, "LEVEL: %02d\0", m_CurrentMap + 1); > ^ >njamgame.cpp:607:59: warning: embedded '\0' in format [-Wformat-contains-nul] > sprintf(buff, "PTS: %4d\0", m_Player[0].GamePoints); > ^ >njamgame.cpp:611:39: 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:60: warning: embedded '\0' in format [-Wformat-contains-nul] > sprintf(points, " (%3d)\0", m_Player[i].MapPoints); > ^ >njamgame.cpp:1547:87: warning: embedded '\0' in format [-Wformat-contains-nul] > sprintf(points, "%01d (%3d)\0", m_Player[i].GamePoints, m_Player[i].MapPoints); > ^ >njamgame.cpp:1552:63: warning: embedded '\0' in format [-Wformat-contains-nul] > sprintf(points, "%4d\0", m_Player[i].stats.data[j]); > ^ >njamgame.cpp:1559:57: warning: embedded '\0' in format [-Wformat-contains-nul] > sprintf(points, "POINTS: %d\0", m_Player[0].GamePoints); > ^ >njamutils.cpp:155:34: warning: 'color' may be used uninitialized in this function [-Wmaybe-uninitialized] > PutPixel(surface, x, y, color); > ^ >njam.cpp: In member function 'bool NjamEngine::Init(bool, bool)': >njam.cpp:565:60: warning: embedded '\0' in format [-Wformat-contains-nul] > sprintf(Filename, "skins/Back%03d.bmp\0", m_NumberOfSkins); > ^ >njam.cpp:580:46: warning: embedded '\0' in format [-Wformat-contains-nul] > sprintf(Filename, "skins/Back%03d.bmp\0", i); > ^ >njam.cpp:659:56: warning: embedded '\0' in format [-Wformat-contains-nul] > sprintf(TopTenScores[i].name, "%s\0", DefaultNames[i]); > ^ >njam.cpp: In member function 'void NjamEngine::Start()': >njam.cpp:952:104: 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:113:13: 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:286:39: 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)': >njam.cpp:620:23: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fgets(buff, 20, fp); > ^ >njam.cpp:671:33: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fgets(buff, 40, highscore_fp); > ^ >njamgame.cpp: In member function 'void NjamEngine::RenderGameScreen()': >njamgame.cpp:539:13: warning: 'd' may be used uninitialized in this function [-Wmaybe-uninitialized] > int d; > ^ >cc1plus: some warnings being treated as errors >make[2]: *** [njamgame.o] Error 1 >make[2]: Leaving directory `/builddir/build/BUILD/njam-1.25-src/src' >make[1]: *** [all-recursive] Error 1 >make[1]: Leaving directory `/builddir/build/BUILD/njam-1.25-src' >make: *** [all-recursive-am] Error 2 >error: Bad exit status from /var/tmp/rpm-tmp.2Q9eOC (%build) >RPM build errors: > bogus date in %changelog: Tue Dec 11 2011 Hans de Goede <hdegoede@redhat.com> - 1.25-14 > Bad exit status from /var/tmp/rpm-tmp.2Q9eOC (%build) >Child return code was: 1 >EXCEPTION: Command failed. See logs for output. > # ['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/njam.spec'] >Traceback (most recent call last): > File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 70, in trace > result = func(*args, **kw) > File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 376, in do > raise mockbuild.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode) >Error: Command failed. See logs for output. > # ['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/njam.spec'] >LEAVE do --> EXCEPTION RAISED >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1106305
: 904474 |
904475
|
904476