Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/berusky.spec'], chrootPath='/var/lib/mock/f29-build-13181671-960302/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=172800uid=1000gid=425user='mockbuild'nspawn_args=[]printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/berusky.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/berusky-1.7.1-10.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/berusky.spec'], chrootPath='/var/lib/mock/f29-build-13181671-960302/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=172800uid=1000gid=425user='mockbuild'nspawn_args=[]printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/berusky.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: ppc64le Building for target ppc64le Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.r6ZkAv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf berusky-1.7.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/berusky-1.7.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd berusky-1.7.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Mt0tAi + umask 022 + cd /builddir/build/BUILD + cd berusky-1.7.1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.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 $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=ppc64le-redhat-linux-gnu --host=ppc64le-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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' 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 make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for ppc64le-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 ppc64le-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 ppc64le-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 ppc64le-redhat-linux-gnu-g++... no checking for ppc64le-redhat-linux-gnu-c++... no checking for ppc64le-redhat-linux-gnu-gpp... no checking for ppc64le-redhat-linux-gnu-aCC... no checking for ppc64le-redhat-linux-gnu-CC... no checking for ppc64le-redhat-linux-gnu-cxx... no checking for ppc64le-redhat-linux-gnu-cc++... no checking for ppc64le-redhat-linux-gnu-cl.exe... no checking for ppc64le-redhat-linux-gnu-FCC... no checking for ppc64le-redhat-linux-gnu-KCC... no checking for ppc64le-redhat-linux-gnu-RCC... no checking for ppc64le-redhat-linux-gnu-xlC_r... no checking for ppc64le-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... /usr/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking build system type... powerpc64le-redhat-linux-gnu checking host system type... powerpc64le-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... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert powerpc64le-redhat-linux-gnu file names to powerpc64le-redhat-linux-gnu format... func_convert_file_noop checking how to convert powerpc64le-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 ppc64le-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ppc64le-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ppc64le-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for ppc64le-redhat-linux-gnu-strip... no checking for strip... strip checking for ppc64le-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 ppc64le-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) 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 checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) 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) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for ppc64le-redhat-linux-gnu-pkg-config... /usr/bin/ppc64le-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for PACKAGE... yes checking that generated files are newer than configure... done 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 -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/berusky-1.7.1' Making all in po make[2]: Entering directory '/builddir/build/BUILD/berusky-1.7.1/po' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/berusky-1.7.1/po' Making all in src make[2]: Entering directory '/builddir/build/BUILD/berusky-1.7.1/src' g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o 2d_graph.o 2d_graph.cpp g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o animation.o animation.cpp g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o berusky.o berusky.cpp g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o data_parser.o data_parser.cpp In file included from berusky.h:109, from berusky.cpp:33: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_GLOBAL "/var/games/berusky/"INI_FILE_NAME ^ defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME ^ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_LOCAL "./"INI_FILE_NAME ^ In file included from berusky.h:109, from animation.cpp:28: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_GLOBAL "/var/games/berusky/"INI_FILE_NAME ^ defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME ^ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_LOCAL "./"INI_FILE_NAME ^ In file included from berusky.h:109, from 2d_graph.cpp:36: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_GLOBAL "/var/games/berusky/"INI_FILE_NAME ^ defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME ^ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_LOCAL "./"INI_FILE_NAME ^ animation.cpp: In member function 'void animation::init(anim_template_handle, tpos, tpos, tpos, int)': animation.cpp:291:30: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class animation'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this,0,sizeof(*this)); ^ In file included from berusky.h:132, from animation.cpp:28: animation.h:164:15: note: 'class animation' declared here typedef class animation { ^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o editor.o editor.cpp 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 { } [-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 { } [-Wnarrowing] 2d_graph.cpp:289:33: warning: narrowing conversion of 'width' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} inside { } [-Wnarrowing] 2d_graph.cpp:289:33: warning: narrowing conversion of 'height' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} inside { } [-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 { } [-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 { } [-Wnarrowing] 2d_graph.cpp:328:33: warning: narrowing conversion of 'dx' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} inside { } [-Wnarrowing] 2d_graph.cpp:328:33: warning: narrowing conversion of 'dy' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} inside { } [-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 { } [-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 { } [-Wnarrowing] 2d_graph.cpp:336:37: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::w' from 'int' to 'Uint16' {aka 'short unsigned int'} inside { } [-Wnarrowing] SDL_Rect dst_rec = {tx,ty,p_surf->w,p_surf->h}; ~~~~~~~~^ 2d_graph.cpp:336:47: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::h' from 'int' to 'Uint16' {aka 'short unsigned int'} inside { } [-Wnarrowing] SDL_Rect dst_rec = {tx,ty,p_surf->w,p_surf->h}; ~~~~~~~~^ 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 { } [-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 { } [-Wnarrowing] 2d_graph.cpp:344:34: warning: narrowing conversion of 'dx' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} inside { } [-Wnarrowing] 2d_graph.cpp:344:34: warning: narrowing conversion of 'dy' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} inside { } [-Wnarrowing] 2d_graph.cpp:345:34: warning: narrowing conversion of 'tx' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} inside { } [-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 { } [-Wnarrowing] 2d_graph.cpp:345:34: warning: narrowing conversion of 'dx' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} inside { } [-Wnarrowing] 2d_graph.cpp:345:34: warning: narrowing conversion of 'dy' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} inside { } [-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 { } [-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 { } [-Wnarrowing] 2d_graph.cpp:618:37: warning: narrowing conversion of 'dx' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} inside { } [-Wnarrowing] 2d_graph.cpp:618:37: warning: narrowing conversion of 'dy' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} inside { } [-Wnarrowing] 2d_graph.cpp: In member function 'spr_handle sprite_store::sprite_insert(surf_handle, tflag, RECT*, spr_handle)': 2d_graph.cpp:816:45: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'SPRITE' {aka 'class sprite'}; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(p_sprites+shandle,&tmp, sizeof(tmp)); ^ In file included from berusky.h:117, from 2d_graph.cpp:36: 2d_graph.h:271:15: note: 'SPRITE' {aka 'class sprite'} declared here typedef class sprite ^~~~~~ 2d_graph.cpp: In member function 'spr_handle sprite_store::sprite_insert(SURFACE*, tflag, RECT*, spr_handle)': 2d_graph.cpp:834:45: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'SPRITE' {aka 'class sprite'}; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(p_sprites+shandle,&tmp, sizeof(tmp)); ^ In file included from berusky.h:117, from 2d_graph.cpp:36: 2d_graph.h:271:15: note: 'SPRITE' {aka 'class sprite'} declared here typedef class sprite ^~~~~~ 2d_graph.cpp: In member function 'spr_handle sprite_store::sprite_insert(SPRITE*, int, spr_handle)': 2d_graph.cpp:845:52: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'SPRITE' {aka 'class sprite'}; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(p_sprites+start,p_spr,sizeof(p_spr[0])*num); ^ In file included from berusky.h:117, from 2d_graph.cpp:36: 2d_graph.h:271:15: note: 'SPRITE' {aka 'class sprite'} declared here typedef class sprite ^~~~~~ In file included from berusky.h:109, from editor.cpp:45: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_GLOBAL "/var/games/berusky/"INI_FILE_NAME ^ defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME ^ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_LOCAL "./"INI_FILE_NAME ^ g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o events.o events.cpp In file included from berusky.h:109, from events.cpp:28: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_GLOBAL "/var/games/berusky/"INI_FILE_NAME ^ defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME ^ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_LOCAL "./"INI_FILE_NAME ^ In file included from editor.cpp:48: editor.h: In constructor 'editor_panel::editor_panel(int, DIRECTION, tpos, tpos, int)': editor.h:335:32: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class editor_panel' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(this,0,sizeof(*this)); ^ editor.h:102:15: note: 'class editor_panel' declared here typedef class editor_panel { ^~~~~~~~~~~~ In file included from berusky.h:109, from editor.cpp:45: editor.cpp: In member function 'void editor_gui::selection_draw(bool)': defines.h:99:66: warning: narrowing conversion of '(((((berusky_config::editor_screen_start_y + berusky_config::level_resolution_y) - 140) + 20) + 20) + 10)' from 'int' to 'Sint16' {aka 'short int'} inside { } [-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:77:63: warning: narrowing conversion of '(berusky_config::cell_size_x * 3)' from 'int' to 'Uint16' {aka 'short unsigned int'} inside { } [-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:78:63: warning: narrowing conversion of '(berusky_config::cell_size_y * 3)' from 'int' to 'Uint16' {aka 'short unsigned int'} inside { } [-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 '((((20 * 3) * 2) + (berusky_config::cell_size_x * 3)) + 10)' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] RECT r = {EDIT_ITEM_PICT_START_X+EDITOR_ITEM_SIZE_X+10, In file included from berusky.h:109, from editor.cpp:45: defines.h:99:66: warning: narrowing conversion of '(((((berusky_config::editor_screen_start_y + berusky_config::level_resolution_y) - 140) + 20) + 20) + 10)' from 'int' to 'Sint16' {aka 'short int'} inside { } [-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:82:55: warning: narrowing conversion of '(berusky_config::editor_resolution_x - ((20 * 3) * 2))' from 'int' to 'Uint16' {aka 'short unsigned int'} inside { } [-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, ^~~~~~~~~~~~~~~~~~~~~~ editor.cpp: In member function 'void editor_gui::level_config()': defines.h:85:36: warning: narrowing conversion of 'berusky_config::editor_screen_start_x' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] #define EDITOR_SCREEN_START_X (berusky_config::editor_screen_start_x) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ editor.cpp:958:13: note: in expansion of macro 'EDITOR_SCREEN_START_X' RECT r = {EDITOR_SCREEN_START_X,EDITOR_SCREEN_START_Y,LEVEL_RESOLUTION_X,LEVEL_RESOLUTION_Y}; ^~~~~~~~~~~~~~~~~~~~~ defines.h:86:36: warning: narrowing conversion of 'berusky_config::editor_screen_start_y' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] #define EDITOR_SCREEN_START_Y (berusky_config::editor_screen_start_y) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ editor.cpp:958:35: note: in expansion of macro 'EDITOR_SCREEN_START_Y' RECT r = {EDITOR_SCREEN_START_X,EDITOR_SCREEN_START_Y,LEVEL_RESOLUTION_X,LEVEL_RESOLUTION_Y}; ^~~~~~~~~~~~~~~~~~~~~ defines.h:49:36: warning: narrowing conversion of 'berusky_config::level_resolution_x' from 'int' to 'Uint16' {aka 'short unsigned int'} inside { } [-Wnarrowing] #define LEVEL_RESOLUTION_X (berusky_config::level_resolution_x) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ editor.cpp:958:57: note: in expansion of macro 'LEVEL_RESOLUTION_X' RECT r = {EDITOR_SCREEN_START_X,EDITOR_SCREEN_START_Y,LEVEL_RESOLUTION_X,LEVEL_RESOLUTION_Y}; ^~~~~~~~~~~~~~~~~~ defines.h:50:36: warning: narrowing conversion of 'berusky_config::level_resolution_y' from 'int' to 'Uint16' {aka 'short unsigned int'} inside { } [-Wnarrowing] #define LEVEL_RESOLUTION_Y (berusky_config::level_resolution_y) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ editor.cpp:958:76: note: in expansion of macro 'LEVEL_RESOLUTION_Y' RECT r = {EDITOR_SCREEN_START_X,EDITOR_SCREEN_START_Y,LEVEL_RESOLUTION_X,LEVEL_RESOLUTION_Y}; ^~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o game_logic.o game_logic.cpp g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o graphics.o graphics.cpp In file included from berusky.h:109, from game_logic.cpp:28: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_GLOBAL "/var/games/berusky/"INI_FILE_NAME ^ defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME ^ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_LOCAL "./"INI_FILE_NAME ^ In file included from berusky.h:109, from graphics.cpp:34: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_GLOBAL "/var/games/berusky/"INI_FILE_NAME ^ defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME ^ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_LOCAL "./"INI_FILE_NAME ^ graphics.cpp: In member function 'virtual bool screen_editor::draw()': graphics.cpp:305:29: warning: narrowing conversion of '((min_x * ((screen_editor*)this)->screen_editor::.screen::cell_x) + ((screen_editor*)this)->screen_editor::.screen::start_x)' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} inside { } [-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 '((min_y * ((screen_editor*)this)->screen_editor::.screen::cell_y) + ((screen_editor*)this)->screen_editor::.screen::start_y)' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} inside { } [-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 '(dx * ((screen_editor*)this)->screen_editor::.screen::cell_x)' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} inside { } [-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 '(dy * ((screen_editor*)this)->screen_editor::.screen::cell_y)' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} inside { } [-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.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ini.o ini.cpp g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o input.o input.cpp g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o level.o level.cpp g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o level_active.o level_active.cpp In file included from berusky.h:109, from input.cpp:30: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_GLOBAL "/var/games/berusky/"INI_FILE_NAME ^ defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME ^ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_LOCAL "./"INI_FILE_NAME ^ In file included from berusky.h:109, from level.cpp:28: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_GLOBAL "/var/games/berusky/"INI_FILE_NAME ^ defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME ^ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_LOCAL "./"INI_FILE_NAME ^ In file included from berusky.h:109, from level_active.cpp:28: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_GLOBAL "/var/games/berusky/"INI_FILE_NAME ^ defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME ^ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_LOCAL "./"INI_FILE_NAME ^ In file included from input.cpp:32: editor.h: In constructor 'editor_panel::editor_panel(int, DIRECTION, tpos, tpos, int)': editor.h:335:32: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class editor_panel' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(this,0,sizeof(*this)); ^ editor.h:102:15: note: 'class editor_panel' declared here typedef class editor_panel { ^~~~~~~~~~~~ In file included from /usr/include/string.h:494, from berusky.h:46, from level_active.cpp:28: In function 'char* strncat(char*, const char*, size_t)', inlined from 'bool level_store::levelset_load(DIR_LIST*, char*)' at level_active.cpp:133:12: /usr/include/bits/string_fortified.h:136:34: warning: 'char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)' specified bound 50 equals destination size [-Wstringop-overflow=] return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o level_changer.o level_changer.cpp In file included from berusky.h:109, from level_changer.cpp:28: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_GLOBAL "/var/games/berusky/"INI_FILE_NAME ^ defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME ^ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_LOCAL "./"INI_FILE_NAME ^ g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o level_game.o level_game.cpp In file included from berusky.h:109, from level_game.cpp:34: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_GLOBAL "/var/games/berusky/"INI_FILE_NAME ^ defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME ^ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_LOCAL "./"INI_FILE_NAME ^ g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o utils.o utils.cpp In file included from berusky.h:109, from utils.cpp:49: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_GLOBAL "/var/games/berusky/"INI_FILE_NAME ^ defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME ^ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_LOCAL "./"INI_FILE_NAME ^ In file included from utils.cpp:52: editor.h: In constructor 'editor_panel::editor_panel(int, DIRECTION, tpos, tpos, int)': editor.h:335:32: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class editor_panel' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(this,0,sizeof(*this)); ^ editor.h:102:15: note: 'class editor_panel' declared here typedef class editor_panel { ^~~~~~~~~~~~ utils.cpp: In member function 'void dir_list::update_path(char*)': utils.cpp:99:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] chdir(cwd); ~~~~~^~~~~ utils.cpp:100:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] chdir(buffer); ~~~~~^~~~~~~~ utils.cpp:101:9: 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:118:9: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] getcwd(cwd,MAX_FILENAME); ~~~~~~^~~~~~~~~~~~~~~~~~ utils.cpp:125:8: 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.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o data_parser_tables.o data_parser_tables.cpp In file included from berusky.h:109, from data_parser_tables.cpp:28: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_GLOBAL "/var/games/berusky/"INI_FILE_NAME ^ defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME ^ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_LOCAL "./"INI_FILE_NAME ^ g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o berusky_gui.o berusky_gui.cpp g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o main.o main.cpp In file included from berusky.h:109, from berusky_gui.cpp:41: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_GLOBAL "/var/games/berusky/"INI_FILE_NAME ^ defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME ^ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_LOCAL "./"INI_FILE_NAME ^ g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gui.o gui.cpp In file included from berusky.h:109, from gui.cpp:28: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_GLOBAL "/var/games/berusky/"INI_FILE_NAME ^ defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME ^ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_LOCAL "./"INI_FILE_NAME ^ 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:27: warning: narrowing conversion of '((gui_base*)this)->gui_base::last_x' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; ^~~~~~ gui.cpp:138:35: warning: narrowing conversion of '((gui_base*)this)->gui_base::last_y' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; ^~~~~~ gui.cpp:138:43: warning: narrowing conversion of '((gui_base*)this)->gui_base::menu_spr_diff_dx' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} inside { } [-Wnarrowing] RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; ^~~~~~~~~~~~~~~~ gui.cpp:138:61: warning: narrowing conversion of '((gui_base*)this)->gui_base::menu_spr_diff_dy' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} inside { } [-Wnarrowing] RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; ^~~~~~~~~~~~~~~~ gui.cpp:197:27: warning: narrowing conversion of '((gui_base*)this)->gui_base::last_x' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; ^~~~~~ gui.cpp:197:35: warning: narrowing conversion of '((gui_base*)this)->gui_base::last_y' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; ^~~~~~ gui.cpp:197:43: warning: narrowing conversion of '((gui_base*)this)->gui_base::menu_spr_diff_dx' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} inside { } [-Wnarrowing] RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; ^~~~~~~~~~~~~~~~ gui.cpp:197:61: warning: narrowing conversion of '((gui_base*)this)->gui_base::menu_spr_diff_dy' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} inside { } [-Wnarrowing] RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; ^~~~~~~~~~~~~~~~ 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:25: warning: narrowing conversion of '((gui_base*)this)->gui_base::last_x' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] RECT r_box = {last_x, last_y, 20, 20}; ^~~~~~ gui.cpp:402:33: warning: narrowing conversion of '((gui_base*)this)->gui_base::last_y' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] RECT r_box = {last_x, last_y, 20, 20}; ^~~~~~ In file included from berusky.h:109, from main.cpp:38: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_GLOBAL "/var/games/berusky/"INI_FILE_NAME ^ defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME ^ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_LOCAL "./"INI_FILE_NAME ^ In file included from /usr/include/gtk-2.0/gtk/gtk.h:89, from main.cpp:29: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] void (*__gtk_reserved3); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] void (*__gtk_reserved4); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] void (*__gtk_reserved5); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] void (*__gtk_reserved6); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] void (*__gtk_reserved7); ^ In file included from /usr/include/gtk-2.0/gtk/gtk.h:173, from main.cpp:29: /usr/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ In file included from main.cpp:41: editor.h: In constructor 'editor_panel::editor_panel(int, DIRECTION, tpos, tpos, int)': editor.h:335:32: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class editor_panel' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(this,0,sizeof(*this)); ^ editor.h:102:15: note: 'class editor_panel' declared here typedef class editor_panel { ^~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o profile.o profile.cpp In file included from berusky.h:109, from profile.cpp:28: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_GLOBAL "/var/games/berusky/"INI_FILE_NAME ^ defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME ^ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INI_FILE_LOCAL "./"INI_FILE_NAME ^ profile.cpp: In member function 'void berusky_profile::save()': profile.cpp:106:12: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 1017 [-Wformat-truncation=] "name = %s\nl0 = %d\nl1 = %d\nl2 = %d\nl3 = %d\nl4 = %d\nl5 = %d\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from berusky.h:43, from profile.cpp:28: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 51 and 4206 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=link g++ -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 -lfontconfig -lfreetype -lgdk-x11-2.0 -lpangocairo-1.0 -lpango-1.0 -lfribidi -lcairo -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lSDL -lSDL_image libtool: link: g++ -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 -lfontconfig -lfreetype -lgdk-x11-2.0 -lpangocairo-1.0 -lpango-1.0 -lfribidi -lcairo -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lSDL -lSDL_image /usr/bin/ld: profile.o: in function `berusky_profile::create(char const*)': /builddir/build/BUILD/berusky-1.7.1/src/profile.cpp:122: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' make[2]: Leaving directory '/builddir/build/BUILD/berusky-1.7.1/src' Making all in data make[2]: Entering directory '/builddir/build/BUILD/berusky-1.7.1/data' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/berusky-1.7.1/data' make[2]: Entering directory '/builddir/build/BUILD/berusky-1.7.1' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/builddir/build/BUILD/berusky-1.7.1' make[1]: Leaving directory '/builddir/build/BUILD/berusky-1.7.1' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Tgd27d + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/berusky-1.7.1-10.fc29.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/berusky-1.7.1-10.fc29.ppc64le ++ dirname /builddir/build/BUILDROOT/berusky-1.7.1-10.fc29.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/berusky-1.7.1-10.fc29.ppc64le + cd berusky-1.7.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/berusky-1.7.1-10.fc29.ppc64le 'INSTALL=/usr/bin/install -p' Making install in po make[1]: Entering directory '/builddir/build/BUILD/berusky-1.7.1/po' mkdir -p /builddir/build/BUILDROOT/berusky-1.7.1-10.fc29.ppc64le/usr/share; \ catalogs=''; \ for cat in $catalogs; do \ cat=`basename $cat`; \ case "$cat" in \ *.gmo) destdir=/usr/share/locale;; \ *) destdir=/usr/lib64/locale;; \ esac; \ lang=`echo $cat | sed 's/\.gmo$//'`; \ dir=/builddir/build/BUILDROOT/berusky-1.7.1-10.fc29.ppc64le$destdir/$lang/LC_MESSAGES; \ mkdir -p $dir; \ if test -r $cat; then \ /usr/bin/install -p -m 644 $cat $dir/berusky.mo; \ echo "installing $cat as $dir/berusky.mo"; \ else \ /usr/bin/install -p -m 644 ./$cat $dir/berusky.mo; \ echo "installing ./$cat as" \ "$dir/berusky.mo"; \ fi; \ if test -r $cat.m; then \ /usr/bin/install -p -m 644 $cat.m $dir/berusky.mo.m; \ echo "installing $cat.m as $dir/berusky.mo.m"; \ else \ if test -r ./$cat.m ; then \ /usr/bin/install -p -m 644 ./$cat.m \ $dir/berusky.mo.m; \ echo "installing ./$cat as" \ "$dir/berusky.mo.m"; \ else \ true; \ fi; \ fi; \ done if test "berusky" = "glib"; then \ mkdir -p /builddir/build/BUILDROOT/berusky-1.7.1-10.fc29.ppc64le/usr/share/glib-2.0/gettext/po; \ /usr/bin/install -p -m 644 ./Makefile.in.in \ /builddir/build/BUILDROOT/berusky-1.7.1-10.fc29.ppc64le/usr/share/glib-2.0/gettext/po/Makefile.in.in; \ else \ : ; \ fi make[1]: Leaving directory '/builddir/build/BUILD/berusky-1.7.1/po' Making install in src make[1]: Entering directory '/builddir/build/BUILD/berusky-1.7.1/src' make[2]: Entering directory '/builddir/build/BUILD/berusky-1.7.1/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/berusky-1.7.1-10.fc29.ppc64le/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -p berusky '/builddir/build/BUILDROOT/berusky-1.7.1-10.fc29.ppc64le/usr/bin' libtool: install: /usr/bin/install -p berusky /builddir/build/BUILDROOT/berusky-1.7.1-10.fc29.ppc64le/usr/bin/berusky make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/berusky-1.7.1/src' make[1]: Leaving directory '/builddir/build/BUILD/berusky-1.7.1/src' Making install in data make[1]: Entering directory '/builddir/build/BUILD/berusky-1.7.1/data' make[2]: Entering directory '/builddir/build/BUILD/berusky-1.7.1/data' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/berusky-1.7.1-10.fc29.ppc64le/usr/share/berusky' /usr/bin/install -p -m 644 berusky.ini '/builddir/build/BUILDROOT/berusky-1.7.1-10.fc29.ppc64le/usr/share/berusky' make[2]: Leaving directory '/builddir/build/BUILD/berusky-1.7.1/data' make[1]: Leaving directory '/builddir/build/BUILD/berusky-1.7.1/data' make[1]: Entering directory '/builddir/build/BUILD/berusky-1.7.1' make[2]: Entering directory '/builddir/build/BUILD/berusky-1.7.1' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/berusky-1.7.1-10.fc29.ppc64le/usr/doc/berusky' /usr/bin/install -p -m 644 README COPYING AUTHORS ChangeLog INSTALL NEWS TODO '/builddir/build/BUILDROOT/berusky-1.7.1-10.fc29.ppc64le/usr/doc/berusky' make[2]: Leaving directory '/builddir/build/BUILD/berusky-1.7.1' make[1]: Leaving directory '/builddir/build/BUILD/berusky-1.7.1' + mkdir -p /builddir/build/BUILDROOT/berusky-1.7.1-10.fc29.ppc64le/usr/share/doc/berusky + mv /builddir/build/BUILDROOT/berusky-1.7.1-10.fc29.ppc64le/usr/doc/berusky/AUTHORS /builddir/build/BUILDROOT/berusky-1.7.1-10.fc29.ppc64le/usr/doc/berusky/COPYING /builddir/build/BUILDROOT/berusky-1.7.1-10.fc29.ppc64le/usr/doc/berusky/ChangeLog /builddir/build/BUILDROOT/berusky-1.7.1-10.fc29.ppc64le/usr/doc/berusky/INSTALL /builddir/build/BUILDROOT/berusky-1.7.1-10.fc29.ppc64le/usr/doc/berusky/NEWS /builddir/build/BUILDROOT/berusky-1.7.1-10.fc29.ppc64le/usr/doc/berusky/README /builddir/build/BUILDROOT/berusky-1.7.1-10.fc29.ppc64le/usr/doc/berusky/TODO /builddir/build/BUILDROOT/berusky-1.7.1-10.fc29.ppc64le/usr/share/doc/berusky + rm -rf /builddir/build/BUILDROOT/berusky-1.7.1-10.fc29.ppc64le//usr/share/berusky + mkdir -p /builddir/build/BUILDROOT/berusky-1.7.1-10.fc29.ppc64le/usr/share/icons/hicolor/128x128/apps + cp /builddir/build/SOURCES/berusky.png /builddir/build/BUILDROOT/berusky-1.7.1-10.fc29.ppc64le/usr/share/icons/hicolor/128x128/apps + desktop-file-install --dir /builddir/build/BUILDROOT/berusky-1.7.1-10.fc29.ppc64le/usr/share/applications /builddir/build/SOURCES/berusky.desktop + mkdir -p /builddir/build/BUILDROOT/berusky-1.7.1-10.fc29.ppc64le/usr/share/appdata/ + cp /builddir/build/SOURCES/berusky.appdata.xml /builddir/build/BUILDROOT/berusky-1.7.1-10.fc29.ppc64le/usr/share/appdata/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.7.1-10.fc29 --unique-debug-suffix -1.7.1-10.fc29.ppc64le --unique-debug-src-base berusky-1.7.1-10.fc29.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/berusky-1.7.1 extracting debug info from /builddir/build/BUILDROOT/berusky-1.7.1-10.fc29.ppc64le/usr/bin/berusky /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 1147 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: berusky-1.7.1-10.fc29.ppc64le Provides: application() application(berusky.desktop) berusky = 1.7.1-10.fc29 berusky(ppc-64) = 1.7.1-10.fc29 metainfo() metainfo(berusky.appdata.xml) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libSDL-1.2.so.0()(64bit) libSDL_image-1.2.so.0()(64bit) libatk-1.0.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libcairo.so.2()(64bit) libfontconfig.so.1()(64bit) libfreetype.so.6()(64bit) libfribidi.so.0()(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) 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(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Processing files: berusky-debugsource-1.7.1-10.fc29.ppc64le Provides: berusky-debugsource = 1.7.1-10.fc29 berusky-debugsource(ppc-64) = 1.7.1-10.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: berusky-debuginfo-1.7.1-10.fc29.ppc64le Provides: berusky-debuginfo = 1.7.1-10.fc29 berusky-debuginfo(ppc-64) = 1.7.1-10.fc29 debuginfo(build-id) = 0921f67355aad2048d442aec2fe7cc39bf64f509 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: berusky-debugsource(ppc-64) = 1.7.1-10.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/berusky-1.7.1-10.fc29.ppc64le Wrote: /builddir/build/RPMS/berusky-1.7.1-10.fc29.ppc64le.rpm Wrote: /builddir/build/RPMS/berusky-debugsource-1.7.1-10.fc29.ppc64le.rpm Wrote: /builddir/build/RPMS/berusky-debuginfo-1.7.1-10.fc29.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3Ud3lb + umask 022 + cd /builddir/build/BUILD + cd berusky-1.7.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/berusky-1.7.1-10.fc29.ppc64le + exit 0 Child return code was: 0