Mock Version: 1.1.28 Mock Version: 1.1.28 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/berusky.spec'], False, '/var/lib/mock/f19-build-1569416-270362/root/', None, 86400, True, False, 500, 425, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/berusky.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} warning: bogus date in %changelog: Sat Dec 9 2012 Martin Stransky 1.6-1 warning: bogus date in %changelog: Thu Jun 26 2007 Martin Stransky 1.1-5 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/berusky-1.6-2.fc19.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/berusky.spec'], False, '/var/lib/mock/f19-build-1569416-270362/root/', None, 86400, True, False, 500, 425, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/berusky.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} warning: bogus date in %changelog: Sat Dec 9 2012 Martin Stransky 1.6-1 warning: bogus date in %changelog: Thu Jun 26 2007 Martin Stransky 1.1-5 Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.WQlwk3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf berusky-1.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/berusky-1.6.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd berusky-1.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.dDjmcV + umask 022 + cd /builddir/build/BUILD + cd berusky-1.6 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for x86_64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... none checking for library containing strerror... none required checking for x86_64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) none checking for x86_64-redhat-linux-gnu-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking how to run the C preprocessor... gcc -E checking for x86_64-redhat-linux-gnu-g++... no checking for x86_64-redhat-linux-gnu-c++... no checking for x86_64-redhat-linux-gnu-gpp... no checking for x86_64-redhat-linux-gnu-aCC... no checking for x86_64-redhat-linux-gnu-CC... no checking for x86_64-redhat-linux-gnu-cxx... no checking for x86_64-redhat-linux-gnu-cc++... no checking for x86_64-redhat-linux-gnu-cl.exe... no checking for x86_64-redhat-linux-gnu-FCC... no checking for x86_64-redhat-linux-gnu-KCC... no checking for x86_64-redhat-linux-gnu-RCC... no checking for x86_64-redhat-linux-gnu-xlC_r... no checking for x86_64-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 dependency style of g++... none 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 locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for ngettext in libc... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... no checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1966080 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-redhat-linux-gnu-strip... no checking for strip... strip checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for x86_64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for x86_64-redhat-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for PACKAGE... yes configure: creating ./config.status config.status: creating Makefile config.status: creating po/Makefile.in config.status: creating src/Makefile config.status: creating data/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing default-1 commands config.status: executing libtool commands + make -j5 make all-recursive make[1]: Entering directory `/builddir/build/BUILD/berusky-1.6' Making all in po make[2]: Entering directory `/builddir/build/BUILD/berusky-1.6/po' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/builddir/build/BUILD/berusky-1.6/po' Making all in src make[2]: Entering directory `/builddir/build/BUILD/berusky-1.6/src' g++ -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -Wint-to-pointer-cast -Wall -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o 2d_graph.o 2d_graph.cpp g++ -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -Wint-to-pointer-cast -Wall -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o animation.o animation.cpp g++ -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -Wint-to-pointer-cast -Wall -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o berusky.o berusky.cpp g++ -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -Wint-to-pointer-cast -Wall -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o data_parser.o data_parser.cpp g++ -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -Wint-to-pointer-cast -Wall -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o editor.o editor.cpp In file included from berusky.h:115:0, from animation.cpp:28: 2d_graph.h: In member function 'RECT surface::rect_get()': 2d_graph.h:250:38: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] RECT r = {0,0,p_surf->w,p_surf->h}; ^ 2d_graph.h:250:38: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] In file included from berusky.h:115:0, from berusky.cpp:33: 2d_graph.h: In member function 'RECT surface::rect_get()': 2d_graph.h:250:38: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] RECT r = {0,0,p_surf->w,p_surf->h}; ^ 2d_graph.h:250:38: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] In file included from berusky.h:115:0, from editor.cpp:45: 2d_graph.h: In member function 'RECT surface::rect_get()': 2d_graph.h:250:38: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] RECT r = {0,0,p_surf->w,p_surf->h}; ^ 2d_graph.h:250:38: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] In file included from berusky.h:115:0, from 2d_graph.cpp:36: 2d_graph.h: In member function 'RECT surface::rect_get()': 2d_graph.h:250:38: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] RECT r = {0,0,p_surf->w,p_surf->h}; ^ 2d_graph.h:250:38: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] In file included from berusky.h:107:0, from editor.cpp:45: editor.cpp: In member function 'void editor_gui::selection_draw(bool)': defines.h:98:66: warning: narrowing conversion of '((berusky_config::editor_screen_start_y + berusky_config::level_resolution_y) + -90)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] #define EDIT_ITEM_PICT_START_Y (EDIT_ITEM_START_Y+EDIT_ITEM_DY+10) ^ editor.cpp:585:15: note: in expansion of macro 'EDIT_ITEM_PICT_START_Y' EDIT_ITEM_PICT_START_Y, ^ defines.h:76:63: warning: narrowing conversion of '(berusky_config::cell_size_x * 3)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] #define EDITOR_ITEM_SIZE_X (berusky_config::cell_size_x*3) ^ editor.cpp:586:15: note: in expansion of macro 'EDITOR_ITEM_SIZE_X' EDITOR_ITEM_SIZE_X, ^ defines.h:77:63: warning: narrowing conversion of '(berusky_config::cell_size_y * 3)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] #define EDITOR_ITEM_SIZE_Y (berusky_config::cell_size_y*3) ^ editor.cpp:587:15: note: in expansion of macro 'EDITOR_ITEM_SIZE_Y' EDITOR_ITEM_SIZE_Y}; ^ editor.cpp:599:56: warning: narrowing conversion of '((berusky_config::cell_size_x * 3) + 130)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] RECT r = {EDIT_ITEM_PICT_START_X+EDITOR_ITEM_SIZE_X+10, ^ g++ -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -Wint-to-pointer-cast -Wall -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o events.o events.cpp In file included from berusky.h:107:0, from editor.cpp:45: defines.h:98:66: warning: narrowing conversion of '((berusky_config::editor_screen_start_y + berusky_config::level_resolution_y) + -90)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] #define EDIT_ITEM_PICT_START_Y (EDIT_ITEM_START_Y+EDIT_ITEM_DY+10) ^ editor.cpp:600:15: note: in expansion of macro 'EDIT_ITEM_PICT_START_Y' EDIT_ITEM_PICT_START_Y, ^ editor.cpp: In member function 'void editor_gui::layer_status_create()': defines.h:81:55: warning: narrowing conversion of '(berusky_config::editor_resolution_x + -120)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] #define EDITOR_LAYER_STATUS_DX (EDITOR_RESOLUTION_X-EDITOR_LAYER_STATUS_X) ^ editor.cpp:817:13: note: in expansion of macro 'EDITOR_LAYER_STATUS_DX' EDITOR_LAYER_STATUS_DX, ^ 2d_graph.cpp: In constructor 'surface::surface(surface*, tpos, tpos, tpos, tpos)': 2d_graph.cpp:289:33: warning: narrowing conversion of 'sx' from 'tpos {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] RECT src = {sx,sy,width,height}; ^ 2d_graph.cpp:289:33: warning: narrowing conversion of 'sy' from 'tpos {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] 2d_graph.cpp:289:33: warning: narrowing conversion of 'width' from 'tpos {aka int}' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] 2d_graph.cpp:289:33: warning: narrowing conversion of 'height' from 'tpos {aka int}' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] 2d_graph.cpp: In member function 'void surface::fill(tpos, tpos, tpos, tpos, tcolor)': 2d_graph.cpp:328:33: warning: narrowing conversion of 'x' from 'tpos {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect rec = { x, y, dx, dy }; ^ 2d_graph.cpp:328:33: warning: narrowing conversion of 'y' from 'tpos {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] 2d_graph.cpp:328:33: warning: narrowing conversion of 'dx' from 'tpos {aka int}' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] 2d_graph.cpp:328:33: warning: narrowing conversion of 'dy' from 'tpos {aka int}' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] 2d_graph.cpp: In member function 'void surface::blit(surface*, tpos, tpos)': 2d_graph.cpp:336:48: warning: narrowing conversion of 'tx' from 'tpos {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dst_rec = {tx,ty,p_surf->w,p_surf->h}; ^ 2d_graph.cpp:336:48: warning: narrowing conversion of 'ty' from 'tpos {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] 2d_graph.cpp:336:48: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] 2d_graph.cpp:336:48: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] 2d_graph.cpp: In member function 'void surface::blit(tpos, tpos, tpos, tpos, surface*, tpos, tpos)': 2d_graph.cpp:344:34: warning: narrowing conversion of 'sx' from 'tpos {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect src_rec = {sx,sy,dx,dy}; ^ 2d_graph.cpp:344:34: warning: narrowing conversion of 'sy' from 'tpos {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] 2d_graph.cpp:344:34: warning: narrowing conversion of 'dx' from 'tpos {aka int}' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] 2d_graph.cpp:344:34: warning: narrowing conversion of 'dy' from 'tpos {aka int}' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] 2d_graph.cpp:345:34: warning: narrowing conversion of 'tx' from 'tpos {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dst_rec = {tx,ty,dx,dy}; ^ 2d_graph.cpp:345:34: warning: narrowing conversion of 'ty' from 'tpos {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] 2d_graph.cpp:345:34: warning: narrowing conversion of 'dx' from 'tpos {aka int}' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] 2d_graph.cpp:345:34: warning: narrowing conversion of 'dy' from 'tpos {aka int}' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] editor.cpp: In member function 'void editor_gui::level_config()': editor.cpp:958:94: warning: narrowing conversion of 'berusky_config::editor_screen_start_x' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] RECT r = {EDITOR_SCREEN_START_X,EDITOR_SCREEN_START_Y,LEVEL_RESOLUTION_X,LEVEL_RESOLUTION_Y}; ^ editor.cpp:958:94: warning: narrowing conversion of 'berusky_config::editor_screen_start_y' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] editor.cpp:958:94: warning: narrowing conversion of 'berusky_config::level_resolution_x' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] editor.cpp:958:94: warning: narrowing conversion of 'berusky_config::level_resolution_y' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] 2d_graph.cpp: In member function 'void sprite::blit(tpos, tpos, tpos, tpos, sprite*, tpos, tpos)': 2d_graph.cpp:618:37: warning: narrowing conversion of 'sx' from 'tpos {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect src_rec = {sx, sy, dx, dy}; ^ 2d_graph.cpp:618:37: warning: narrowing conversion of 'sy' from 'tpos {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] 2d_graph.cpp:618:37: warning: narrowing conversion of 'dx' from 'tpos {aka int}' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] 2d_graph.cpp:618:37: warning: narrowing conversion of 'dy' from 'tpos {aka int}' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] g++ -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -Wint-to-pointer-cast -Wall -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o game_logic.o game_logic.cpp In file included from berusky.h:115:0, from events.cpp:28: 2d_graph.h: In member function 'RECT surface::rect_get()': 2d_graph.h:250:38: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] RECT r = {0,0,p_surf->w,p_surf->h}; ^ 2d_graph.h:250:38: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] g++ -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -Wint-to-pointer-cast -Wall -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o graphics.o graphics.cpp In file included from berusky.h:115:0, from game_logic.cpp:28: 2d_graph.h: In member function 'RECT surface::rect_get()': 2d_graph.h:250:38: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] RECT r = {0,0,p_surf->w,p_surf->h}; ^ 2d_graph.h:250:38: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] In file included from berusky.h:115:0, from graphics.cpp:34: 2d_graph.h: In member function 'RECT surface::rect_get()': 2d_graph.h:250:38: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] RECT r = {0,0,p_surf->w,p_surf->h}; ^ 2d_graph.h:250:38: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] graphics.cpp: In member function 'virtual bool screen_editor::draw()': graphics.cpp:305:29: warning: narrowing conversion of '((((screen_editor*)this)->screen_editor::.screen::cell_x * min_x) + ((screen_editor*)this)->screen_editor::.screen::start_x)' from 'tpos {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] RECT tmp = {min_x*cell_x+start_x,min_y*cell_y+start_y,dx*cell_x,dy*cell_y}; ^ graphics.cpp:305:50: warning: narrowing conversion of '((((screen_editor*)this)->screen_editor::.screen::cell_y * min_y) + ((screen_editor*)this)->screen_editor::.screen::start_y)' from 'tpos {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] RECT tmp = {min_x*cell_x+start_x,min_y*cell_y+start_y,dx*cell_x,dy*cell_y}; ^ graphics.cpp:305:61: warning: narrowing conversion of '(((screen_editor*)this)->screen_editor::.screen::cell_x * dx)' from 'tpos {aka int}' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] RECT tmp = {min_x*cell_x+start_x,min_y*cell_y+start_y,dx*cell_x,dy*cell_y}; ^ graphics.cpp:305:71: warning: narrowing conversion of '(((screen_editor*)this)->screen_editor::.screen::cell_y * dy)' from 'tpos {aka int}' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] RECT tmp = {min_x*cell_x+start_x,min_y*cell_y+start_y,dx*cell_x,dy*cell_y}; ^ g++ -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -Wint-to-pointer-cast -Wall -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o ini.o ini.cpp g++ -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -Wint-to-pointer-cast -Wall -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o input.o input.cpp In file included from berusky.h:115:0, from input.cpp:30: 2d_graph.h: In member function 'RECT surface::rect_get()': 2d_graph.h:250:38: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] RECT r = {0,0,p_surf->w,p_surf->h}; ^ 2d_graph.h:250:38: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] g++ -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -Wint-to-pointer-cast -Wall -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o level.o level.cpp In file included from berusky.h:115:0, from level.cpp:28: 2d_graph.h: In member function 'RECT surface::rect_get()': 2d_graph.h:250:38: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] RECT r = {0,0,p_surf->w,p_surf->h}; ^ 2d_graph.h:250:38: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] g++ -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -Wint-to-pointer-cast -Wall -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o level_active.o level_active.cpp g++ -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -Wint-to-pointer-cast -Wall -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o level_changer.o level_changer.cpp In file included from berusky.h:115:0, from level_active.cpp:28: 2d_graph.h: In member function 'RECT surface::rect_get()': 2d_graph.h:250:38: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] RECT r = {0,0,p_surf->w,p_surf->h}; ^ 2d_graph.h:250:38: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] In file included from berusky.h:115:0, from level_changer.cpp:28: 2d_graph.h: In member function 'RECT surface::rect_get()': 2d_graph.h:250:38: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] RECT r = {0,0,p_surf->w,p_surf->h}; ^ 2d_graph.h:250:38: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] g++ -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -Wint-to-pointer-cast -Wall -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o level_game.o level_game.cpp In file included from berusky.h:115:0, from level_game.cpp:34: 2d_graph.h: In member function 'RECT surface::rect_get()': 2d_graph.h:250:38: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] RECT r = {0,0,p_surf->w,p_surf->h}; ^ 2d_graph.h:250:38: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] g++ -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -Wint-to-pointer-cast -Wall -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o utils.o utils.cpp utils.cpp: In member function 'void dir_list::update_path(char*)': utils.cpp:93:13: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] chdir(cwd); ^ utils.cpp:94:16: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] chdir(buffer); ^ utils.cpp:95:29: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] getcwd(p_dir,MAX_FILENAME); ^ utils.cpp: In member function 'void dir_list::load(const char*)': utils.cpp:112:27: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] getcwd(cwd,MAX_FILENAME); ^ utils.cpp:119:13: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] chdir(cwd); ^ g++ -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -Wint-to-pointer-cast -Wall -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o data_parser_tables.o data_parser_tables.cpp g++ -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -Wint-to-pointer-cast -Wall -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o berusky_gui.o berusky_gui.cpp g++ -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -Wint-to-pointer-cast -Wall -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o main.o main.cpp In file included from berusky.h:115:0, from data_parser_tables.cpp:28: 2d_graph.h: In member function 'RECT surface::rect_get()': 2d_graph.h:250:38: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] RECT r = {0,0,p_surf->w,p_surf->h}; ^ 2d_graph.h:250:38: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] In file included from berusky.h:115:0, from berusky_gui.cpp:41: 2d_graph.h: In member function 'RECT surface::rect_get()': 2d_graph.h:250:38: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] RECT r = {0,0,p_surf->w,p_surf->h}; ^ 2d_graph.h:250:38: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] g++ -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -Wint-to-pointer-cast -Wall -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o gui.o gui.cpp In file included from berusky.h:115:0, from gui.cpp:28: 2d_graph.h: In member function 'RECT surface::rect_get()': 2d_graph.h:250:38: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] RECT r = {0,0,p_surf->w,p_surf->h}; ^ 2d_graph.h:250:38: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] gui.cpp: In member function 'void gui_base::menu_item_draw_sprite(char*, MENU_TYPE, int, LEVEL_EVENT, LEVEL_EVENT, LEVEL_EVENT)': gui.cpp:138:77: warning: narrowing conversion of '((gui_base*)this)->gui_base::last_x' from 'tpos {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; ^ gui.cpp:138:77: warning: narrowing conversion of '((gui_base*)this)->gui_base::last_y' from 'tpos {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] gui.cpp:138:77: warning: narrowing conversion of '((gui_base*)this)->gui_base::menu_spr_diff_dx' from 'tpos {aka int}' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] gui.cpp:138:77: warning: narrowing conversion of '((gui_base*)this)->gui_base::menu_spr_diff_dy' from 'tpos {aka int}' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] gui.cpp:197:77: warning: narrowing conversion of '((gui_base*)this)->gui_base::last_x' from 'tpos {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; ^ gui.cpp:197:77: warning: narrowing conversion of '((gui_base*)this)->gui_base::last_y' from 'tpos {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] gui.cpp:197:77: warning: narrowing conversion of '((gui_base*)this)->gui_base::menu_spr_diff_dx' from 'tpos {aka int}' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] gui.cpp:197:77: warning: narrowing conversion of '((gui_base*)this)->gui_base::menu_spr_diff_dy' from 'tpos {aka int}' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] gui.cpp: In member function 'void gui_base::menu_item_draw_checkbox(char*, MENU_TYPE, bool, int, int, LEVEL_EVENT, LEVEL_EVENT, LEVEL_EVENT)': gui.cpp:402:47: warning: narrowing conversion of '((gui_base*)this)->gui_base::last_x' from 'tpos {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] RECT r_box = {last_x, last_y, 20, 20}; ^ gui.cpp:402:47: warning: narrowing conversion of '((gui_base*)this)->gui_base::last_y' from 'tpos {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] In file included from berusky.h:115:0, from main.cpp:38: 2d_graph.h: In member function 'RECT surface::rect_get()': 2d_graph.h:250:38: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] RECT r = {0,0,p_surf->w,p_surf->h}; ^ 2d_graph.h:250:38: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] g++ -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -Wint-to-pointer-cast -Wall -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o profile.o profile.cpp In file included from berusky.h:115:0, from profile.cpp:28: 2d_graph.h: In member function 'RECT surface::rect_get()': 2d_graph.h:250:38: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] RECT r = {0,0,p_surf->w,p_surf->h}; ^ 2d_graph.h:250:38: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] /bin/sh ../libtool --tag=CXX --mode=link g++ -Wint-to-pointer-cast -Wall -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wl,-z,relro -o berusky 2d_graph.o animation.o berusky.o data_parser.o editor.o events.o game_logic.o graphics.o ini.o input.o level.o level_active.o level_changer.o level_game.o utils.o data_parser_tables.o berusky_gui.o main.o gui.o profile.o -lgtk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lfreetype -lfontconfig -lgdk-x11-2.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0 -lSDL -lSDL_image libtool: link: g++ -Wint-to-pointer-cast -Wall -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wl,-z -Wl,relro -o berusky 2d_graph.o animation.o berusky.o data_parser.o editor.o events.o game_logic.o graphics.o ini.o input.o level.o level_active.o level_changer.o level_game.o utils.o data_parser_tables.o berusky_gui.o main.o gui.o profile.o -lgtk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lfreetype -lfontconfig -lgdk-x11-2.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0 -lSDL -lSDL_image make[2]: Leaving directory `/builddir/build/BUILD/berusky-1.6/src' Making all in data make[2]: Entering directory `/builddir/build/BUILD/berusky-1.6/data' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/builddir/build/BUILD/berusky-1.6/data' make[2]: Entering directory `/builddir/build/BUILD/berusky-1.6' make[2]: Leaving directory `/builddir/build/BUILD/berusky-1.6' make[1]: Leaving directory `/builddir/build/BUILD/berusky-1.6' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.CowRWi + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/berusky-1.6-2.fc19.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/berusky-1.6-2.fc19.x86_64 ++ dirname /builddir/build/BUILDROOT/berusky-1.6-2.fc19.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/berusky-1.6-2.fc19.x86_64 + cd berusky-1.6 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/berusky-1.6-2.fc19.x86_64 Making install in po make[1]: Entering directory `/builddir/build/BUILD/berusky-1.6/po' if test -r ".././mkinstalldirs"; then \ .././mkinstalldirs /builddir/build/BUILDROOT/berusky-1.6-2.fc19.x86_64/usr/share; \ else \ /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/berusky-1.6-2.fc19.x86_64/usr/share; \ fi mkdir -p -- /builddir/build/BUILDROOT/berusky-1.6-2.fc19.x86_64/usr/share if test "berusky" = "glib"; then \ if test -r ".././mkinstalldirs"; then \ .././mkinstalldirs /builddir/build/BUILDROOT/berusky-1.6-2.fc19.x86_64/usr/share/glib-2.0/gettext/po; \ else \ /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/berusky-1.6-2.fc19.x86_64/usr/share/glib-2.0/gettext/po; \ fi; \ /usr/bin/install -c -m 644 ./Makefile.in.in \ /builddir/build/BUILDROOT/berusky-1.6-2.fc19.x86_64/usr/share/glib-2.0/gettext/po/Makefile.in.in; \ else \ : ; \ fi make[1]: Leaving directory `/builddir/build/BUILD/berusky-1.6/po' Making install in src make[1]: Entering directory `/builddir/build/BUILD/berusky-1.6/src' make[2]: Entering directory `/builddir/build/BUILD/berusky-1.6/src' test -z "/usr/bin" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/berusky-1.6-2.fc19.x86_64/usr/bin" /bin/sh ../libtool --mode=install /usr/bin/install -c berusky '/builddir/build/BUILDROOT/berusky-1.6-2.fc19.x86_64/usr/bin' libtool: install: /usr/bin/install -c berusky /builddir/build/BUILDROOT/berusky-1.6-2.fc19.x86_64/usr/bin/berusky make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/berusky-1.6/src' make[1]: Leaving directory `/builddir/build/BUILD/berusky-1.6/src' Making install in data make[1]: Entering directory `/builddir/build/BUILD/berusky-1.6/data' make[2]: Entering directory `/builddir/build/BUILD/berusky-1.6/data' make[2]: Nothing to be done for `install-exec-am'. test -z "/usr/share/berusky" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/berusky-1.6-2.fc19.x86_64/usr/share/berusky" /usr/bin/install -c -m 644 berusky.ini '/builddir/build/BUILDROOT/berusky-1.6-2.fc19.x86_64/usr/share/berusky' make[2]: Leaving directory `/builddir/build/BUILD/berusky-1.6/data' make[1]: Leaving directory `/builddir/build/BUILD/berusky-1.6/data' make[1]: Entering directory `/builddir/build/BUILD/berusky-1.6' make[2]: Entering directory `/builddir/build/BUILD/berusky-1.6' make[2]: Nothing to be done for `install-exec-am'. test -z "/usr/doc/berusky" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/berusky-1.6-2.fc19.x86_64/usr/doc/berusky" /usr/bin/install -c -m 644 README COPYING AUTHORS ChangeLog INSTALL NEWS TODO '/builddir/build/BUILDROOT/berusky-1.6-2.fc19.x86_64/usr/doc/berusky' make[2]: Leaving directory `/builddir/build/BUILD/berusky-1.6' make[1]: Leaving directory `/builddir/build/BUILD/berusky-1.6' + mkdir -p /builddir/build/BUILDROOT/berusky-1.6-2.fc19.x86_64//usr/share/doc/berusky-1.6 ~/build/BUILDROOT/berusky-1.6-2.fc19.x86_64/usr/doc/berusky ~/build/BUILD/berusky-1.6 + pushd /builddir/build/BUILDROOT/berusky-1.6-2.fc19.x86_64/usr/doc/berusky + mv AUTHORS COPYING ChangeLog INSTALL NEWS README TODO /builddir/build/BUILDROOT/berusky-1.6-2.fc19.x86_64/usr/share/doc/berusky-1.6 ~/build/BUILD/berusky-1.6 + popd + rm -rf /builddir/build/BUILDROOT/berusky-1.6-2.fc19.x86_64//usr/share/berusky + mkdir -p /builddir/build/BUILDROOT/berusky-1.6-2.fc19.x86_64/usr/share/icons/hicolor/32x32/apps + cp /builddir/build/SOURCES/berusky.png /builddir/build/BUILDROOT/berusky-1.6-2.fc19.x86_64/usr/share/icons/hicolor/32x32/apps + desktop-file-install --dir /builddir/build/BUILDROOT/berusky-1.6-2.fc19.x86_64/usr/share/applications /builddir/build/SOURCES/berusky.desktop + rm /builddir/build/BUILDROOT/berusky-1.6-2.fc19.x86_64/usr/share/doc/berusky-1.6/INSTALL + rm /builddir/build/BUILDROOT/berusky-1.6-2.fc19.x86_64/usr/share/doc/berusky-1.6/NEWS + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/berusky-1.6 extracting debug info from /builddir/build/BUILDROOT/berusky-1.6-2.fc19.x86_64/usr/bin/berusky dwz: Too few files for multifile optimization 1126 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: berusky-1.6-2.fc19.x86_64 Provides: berusky = 1.6-2.fc19 berusky(x86-64) = 1.6-2.fc19 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(postun): /bin/sh Requires: libSDL-1.2.so.0()(64bit) libSDL_image-1.2.so.0()(64bit) libatk-1.0.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libcairo.so.2()(64bit) libfontconfig.so.1()(64bit) libfreetype.so.6()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgdk-x11-2.0.so.0()(64bit) libgdk_pixbuf-2.0.so.0()(64bit) libgio-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgtk-x11-2.0.so.0()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libpango-1.0.so.0()(64bit) libpangocairo-1.0.so.0()(64bit) libpangoft2-1.0.so.0()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Processing files: berusky-debuginfo-1.6-2.fc19.x86_64 Provides: berusky-debuginfo = 1.6-2.fc19 berusky-debuginfo(x86-64) = 1.6-2.fc19 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/berusky-1.6-2.fc19.x86_64 Wrote: /builddir/build/RPMS/berusky-1.6-2.fc19.x86_64.rpm Wrote: /builddir/build/RPMS/berusky-debuginfo-1.6-2.fc19.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.C6ZzbM + umask 022 + cd /builddir/build/BUILD + cd berusky-1.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/berusky-1.6-2.fc19.x86_64 + exit 0 Child return code was: 0 LEAVE do -->