Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/berusky.spec'], chrootPath='/var/lib/mock/f31-build-111539-34159/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=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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 BUILDSTDERR: warning: line 19: It's not recommended to have unversioned Obsoletes: Obsoletes: berusky-data Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1563926400 Wrote: /builddir/build/SRPMS/berusky-1.7.1-15.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/berusky.spec'], chrootPath='/var/lib/mock/f31-build-111539-34159/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=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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 BUILDSTDERR: warning: line 19: It's not recommended to have unversioned Obsoletes: Obsoletes: berusky-data Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1563926400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fkD60v + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf berusky-1.7.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/berusky-data-1.7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /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 . + echo 'Patch #1 (berusky-1.7.1-sdl-build.patch):' Patch #1 (berusky-1.7.1-sdl-build.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .sdl-build --fuzz=0 patching file configure.in + echo 'Patch #2 (berusky-1.7.1-data-dir.patch):' Patch #2 (berusky-1.7.1-data-dir.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .data-dir --fuzz=0 patching file src/defines.h + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1K1PMv + umask 022 + cd /builddir/build/BUILD + cd berusky-1.7.1 + autoconf + 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 -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 -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 -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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ 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=riscv64-redhat-linux-gnu --host=riscv64-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 -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 riscv64-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 riscv64-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 riscv64-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 riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl.exe... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-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... riscv64-redhat-linux-gnu checking host system type... riscv64-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 riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-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 riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-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 riscv64-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 riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-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/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -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 -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/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -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 -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/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -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 -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/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -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 -fasynchronous-unwind-tables -fstack-clash-protection -c -o data_parser.o data_parser.cpp BUILDSTDERR: In file included from berusky.h:109, BUILDSTDERR: from animation.cpp:28: BUILDSTDERR: defines.h:452:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 452 | #define INI_FILE_GLOBAL PACKAGE_DATA_DIR"/berusky/"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: defines.h:453:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 453 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: defines.h:454:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 454 | #define INI_FILE_LOCAL "./"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: In file included from berusky.h:109, BUILDSTDERR: from berusky.cpp:33: BUILDSTDERR: defines.h:452:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 452 | #define INI_FILE_GLOBAL PACKAGE_DATA_DIR"/berusky/"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: defines.h:453:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 453 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: defines.h:454:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 454 | #define INI_FILE_LOCAL "./"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: In file included from berusky.h:109, BUILDSTDERR: from 2d_graph.cpp:36: BUILDSTDERR: defines.h:452:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 452 | #define INI_FILE_GLOBAL PACKAGE_DATA_DIR"/berusky/"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: defines.h:453:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 453 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: defines.h:454:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 454 | #define INI_FILE_LOCAL "./"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: In file included from berusky_gui.h:31, BUILDSTDERR: from berusky.cpp:34: BUILDSTDERR: gui.h: In constructor 'checkbox_config::checkbox_config()': BUILDSTDERR: gui.h:159:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct checkbox_config'; use assignment or value-initialization instead [-Wclass-memaccess] BUILDSTDERR: 159 | memset(this,0,sizeof(*this)); BUILDSTDERR: | ^ BUILDSTDERR: gui.h:106:16: note: 'struct checkbox_config' declared here BUILDSTDERR: 106 | typedef struct checkbox_config { BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: animation.cpp: In constructor 'animation::animation()': BUILDSTDERR: animation.cpp:282: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] BUILDSTDERR: 282 | memset(this,0,sizeof(*this)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from berusky.h:132, BUILDSTDERR: from animation.cpp:28: BUILDSTDERR: animation.h:164:15: note: 'class animation' declared here BUILDSTDERR: 164 | typedef class animation { BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: animation.cpp: In member function 'void animation::init(anim_template_handle, tpos, tpos, tpos, int)': BUILDSTDERR: 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] BUILDSTDERR: 291 | memset(this,0,sizeof(*this)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from berusky.h:132, BUILDSTDERR: from animation.cpp:28: BUILDSTDERR: animation.h:164:15: note: 'class animation' declared here BUILDSTDERR: 164 | typedef class animation { BUILDSTDERR: | ^~~~~~~~~ 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/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -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 -fasynchronous-unwind-tables -fstack-clash-protection -c -o editor.o editor.cpp BUILDSTDERR: 2d_graph.cpp: In constructor 'surface::surface(surface*, tpos, tpos, tpos, tpos)': BUILDSTDERR: 2d_graph.cpp:289:15: warning: narrowing conversion of 'sx' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] BUILDSTDERR: 289 | RECT src = {sx,sy,width,height}; BUILDSTDERR: | ^~ BUILDSTDERR: 2d_graph.cpp:289:18: warning: narrowing conversion of 'sy' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] BUILDSTDERR: 289 | RECT src = {sx,sy,width,height}; BUILDSTDERR: | ^~ BUILDSTDERR: 2d_graph.cpp:289:21: warning: narrowing conversion of 'width' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] BUILDSTDERR: 289 | RECT src = {sx,sy,width,height}; BUILDSTDERR: | ^~~~~ BUILDSTDERR: 2d_graph.cpp:289:27: warning: narrowing conversion of 'height' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] BUILDSTDERR: 289 | RECT src = {sx,sy,width,height}; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: 2d_graph.cpp: In member function 'void surface::fill(tpos, tpos, tpos, tpos, tcolor)': BUILDSTDERR: 2d_graph.cpp:328:20: warning: narrowing conversion of 'x' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] BUILDSTDERR: 328 | SDL_Rect rec = { x, y, dx, dy }; BUILDSTDERR: | ^ BUILDSTDERR: 2d_graph.cpp:328:23: warning: narrowing conversion of 'y' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] BUILDSTDERR: 328 | SDL_Rect rec = { x, y, dx, dy }; BUILDSTDERR: | ^ BUILDSTDERR: 2d_graph.cpp:328:26: warning: narrowing conversion of 'dx' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] BUILDSTDERR: 328 | SDL_Rect rec = { x, y, dx, dy }; BUILDSTDERR: | ^~ BUILDSTDERR: 2d_graph.cpp:328:30: warning: narrowing conversion of 'dy' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] BUILDSTDERR: 328 | SDL_Rect rec = { x, y, dx, dy }; BUILDSTDERR: | ^~ BUILDSTDERR: 2d_graph.cpp: In member function 'void surface::blit(surface*, tpos, tpos)': BUILDSTDERR: 2d_graph.cpp:336:23: warning: narrowing conversion of 'tx' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] BUILDSTDERR: 336 | SDL_Rect dst_rec = {tx,ty,p_surf->w,p_surf->h}; BUILDSTDERR: | ^~ BUILDSTDERR: 2d_graph.cpp:336:26: warning: narrowing conversion of 'ty' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] BUILDSTDERR: 336 | SDL_Rect dst_rec = {tx,ty,p_surf->w,p_surf->h}; BUILDSTDERR: | ^~ BUILDSTDERR: 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'} [-Wnarrowing] BUILDSTDERR: 336 | SDL_Rect dst_rec = {tx,ty,p_surf->w,p_surf->h}; BUILDSTDERR: | ~~~~~~~~^ BUILDSTDERR: 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'} [-Wnarrowing] BUILDSTDERR: 336 | SDL_Rect dst_rec = {tx,ty,p_surf->w,p_surf->h}; BUILDSTDERR: | ~~~~~~~~^ BUILDSTDERR: 2d_graph.cpp: In member function 'void surface::blit(tpos, tpos, tpos, tpos, surface*, tpos, tpos)': BUILDSTDERR: 2d_graph.cpp:344:23: warning: narrowing conversion of 'sx' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] BUILDSTDERR: 344 | SDL_Rect src_rec = {sx,sy,dx,dy}; BUILDSTDERR: | ^~ BUILDSTDERR: 2d_graph.cpp:344:26: warning: narrowing conversion of 'sy' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] BUILDSTDERR: 344 | SDL_Rect src_rec = {sx,sy,dx,dy}; BUILDSTDERR: | ^~ BUILDSTDERR: 2d_graph.cpp:344:29: warning: narrowing conversion of 'dx' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] BUILDSTDERR: 344 | SDL_Rect src_rec = {sx,sy,dx,dy}; BUILDSTDERR: | ^~ BUILDSTDERR: 2d_graph.cpp:344:32: warning: narrowing conversion of 'dy' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] BUILDSTDERR: 344 | SDL_Rect src_rec = {sx,sy,dx,dy}; BUILDSTDERR: | ^~ BUILDSTDERR: 2d_graph.cpp:345:23: warning: narrowing conversion of 'tx' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] BUILDSTDERR: 345 | SDL_Rect dst_rec = {tx,ty,dx,dy}; BUILDSTDERR: | ^~ BUILDSTDERR: 2d_graph.cpp:345:26: warning: narrowing conversion of 'ty' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] BUILDSTDERR: 345 | SDL_Rect dst_rec = {tx,ty,dx,dy}; BUILDSTDERR: | ^~ BUILDSTDERR: 2d_graph.cpp:345:29: warning: narrowing conversion of 'dx' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] BUILDSTDERR: 345 | SDL_Rect dst_rec = {tx,ty,dx,dy}; BUILDSTDERR: | ^~ BUILDSTDERR: 2d_graph.cpp:345:32: warning: narrowing conversion of 'dy' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] BUILDSTDERR: 345 | SDL_Rect dst_rec = {tx,ty,dx,dy}; BUILDSTDERR: | ^~ BUILDSTDERR: 2d_graph.cpp: In member function 'void sprite::blit(tpos, tpos, tpos, tpos, sprite*, tpos, tpos)': BUILDSTDERR: 2d_graph.cpp:618:23: warning: narrowing conversion of 'sx' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] BUILDSTDERR: 618 | SDL_Rect src_rec = {sx, sy, dx, dy}; BUILDSTDERR: | ^~ BUILDSTDERR: 2d_graph.cpp:618:27: warning: narrowing conversion of 'sy' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] BUILDSTDERR: 618 | SDL_Rect src_rec = {sx, sy, dx, dy}; BUILDSTDERR: | ^~ BUILDSTDERR: 2d_graph.cpp:618:31: warning: narrowing conversion of 'dx' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] BUILDSTDERR: 618 | SDL_Rect src_rec = {sx, sy, dx, dy}; BUILDSTDERR: | ^~ BUILDSTDERR: 2d_graph.cpp:618:35: warning: narrowing conversion of 'dy' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] BUILDSTDERR: 618 | SDL_Rect src_rec = {sx, sy, dx, dy}; BUILDSTDERR: | ^~ BUILDSTDERR: 2d_graph.cpp: In member function 'spr_handle sprite_store::sprite_insert(surf_handle, tflag, RECT*, spr_handle)': BUILDSTDERR: 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] BUILDSTDERR: 816 | memcpy(p_sprites+shandle,&tmp, sizeof(tmp)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from berusky.h:117, BUILDSTDERR: from 2d_graph.cpp:36: BUILDSTDERR: 2d_graph.h:271:15: note: 'SPRITE' {aka 'class sprite'} declared here BUILDSTDERR: 271 | typedef class sprite BUILDSTDERR: | ^~~~~~ BUILDSTDERR: 2d_graph.cpp: In member function 'spr_handle sprite_store::sprite_insert(SURFACE*, tflag, RECT*, spr_handle)': BUILDSTDERR: 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] BUILDSTDERR: 834 | memcpy(p_sprites+shandle,&tmp, sizeof(tmp)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from berusky.h:117, BUILDSTDERR: from 2d_graph.cpp:36: BUILDSTDERR: 2d_graph.h:271:15: note: 'SPRITE' {aka 'class sprite'} declared here BUILDSTDERR: 271 | typedef class sprite BUILDSTDERR: | ^~~~~~ BUILDSTDERR: 2d_graph.cpp: In member function 'spr_handle sprite_store::sprite_insert(SPRITE*, int, spr_handle)': BUILDSTDERR: 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] BUILDSTDERR: 845 | memcpy(p_sprites+start,p_spr,sizeof(p_spr[0])*num); BUILDSTDERR: | ^ BUILDSTDERR: In file included from berusky.h:117, BUILDSTDERR: from 2d_graph.cpp:36: BUILDSTDERR: 2d_graph.h:271:15: note: 'SPRITE' {aka 'class sprite'} declared here BUILDSTDERR: 271 | typedef class sprite BUILDSTDERR: | ^~~~~~ BUILDSTDERR: 2d_graph.cpp: In constructor 'font::font(GRAPH_2D*)': BUILDSTDERR: 2d_graph.cpp:1056:30: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class font'; use assignment instead [-Wclass-memaccess] BUILDSTDERR: 1056 | memset(this,0,sizeof(*this)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from berusky.h:117, BUILDSTDERR: from 2d_graph.cpp:36: BUILDSTDERR: 2d_graph.h:896:15: note: 'class font' declared here BUILDSTDERR: 896 | typedef class font { BUILDSTDERR: | ^~~~ 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/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -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 -fasynchronous-unwind-tables -fstack-clash-protection -c -o events.o events.cpp BUILDSTDERR: In file included from berusky.h:109, BUILDSTDERR: from editor.cpp:45: BUILDSTDERR: defines.h:452:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 452 | #define INI_FILE_GLOBAL PACKAGE_DATA_DIR"/berusky/"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: defines.h:453:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 453 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: defines.h:454:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 454 | #define INI_FILE_LOCAL "./"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: In file included from berusky.h:109, BUILDSTDERR: from events.cpp:28: BUILDSTDERR: defines.h:452:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 452 | #define INI_FILE_GLOBAL PACKAGE_DATA_DIR"/berusky/"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: defines.h:453:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 453 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: defines.h:454:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 454 | #define INI_FILE_LOCAL "./"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: In file included from berusky_gui.h:31, BUILDSTDERR: from editor.cpp:46: BUILDSTDERR: gui.h: In constructor 'checkbox_config::checkbox_config()': BUILDSTDERR: gui.h:159:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct checkbox_config'; use assignment or value-initialization instead [-Wclass-memaccess] BUILDSTDERR: 159 | memset(this,0,sizeof(*this)); BUILDSTDERR: | ^ BUILDSTDERR: gui.h:106:16: note: 'struct checkbox_config' declared here BUILDSTDERR: 106 | typedef struct checkbox_config { BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from editor.cpp:48: BUILDSTDERR: editor.h: In constructor 'editor_panel::editor_panel(int, DIRECTION, tpos, tpos, int)': BUILDSTDERR: 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] BUILDSTDERR: 335 | memset(this,0,sizeof(*this)); BUILDSTDERR: | ^ BUILDSTDERR: editor.h:102:15: note: 'class editor_panel' declared here BUILDSTDERR: 102 | typedef class editor_panel { BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: In file included from berusky.h:109, BUILDSTDERR: from editor.cpp:45: BUILDSTDERR: editor.cpp: In member function 'void editor_gui::selection_draw(bool)': BUILDSTDERR: defines.h:101: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'} [-Wnarrowing] BUILDSTDERR: 101 | #define EDIT_ITEM_PICT_START_Y (EDIT_ITEM_START_Y+EDIT_ITEM_DY+10) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: editor.cpp:585:15: note: in expansion of macro 'EDIT_ITEM_PICT_START_Y' BUILDSTDERR: 585 | EDIT_ITEM_PICT_START_Y, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: defines.h:79:63: warning: narrowing conversion of '(berusky_config::cell_size_x * 3)' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] BUILDSTDERR: 79 | #define EDITOR_ITEM_SIZE_X (berusky_config::cell_size_x*3) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: editor.cpp:586:15: note: in expansion of macro 'EDITOR_ITEM_SIZE_X' BUILDSTDERR: 586 | EDITOR_ITEM_SIZE_X, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: defines.h:80:63: warning: narrowing conversion of '(berusky_config::cell_size_y * 3)' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] BUILDSTDERR: 80 | #define EDITOR_ITEM_SIZE_Y (berusky_config::cell_size_y*3) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: editor.cpp:587:15: note: in expansion of macro 'EDITOR_ITEM_SIZE_Y' BUILDSTDERR: 587 | EDITOR_ITEM_SIZE_Y}; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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'} [-Wnarrowing] BUILDSTDERR: 599 | RECT r = {EDIT_ITEM_PICT_START_X+EDITOR_ITEM_SIZE_X+10, BUILDSTDERR: In file included from berusky.h:109, BUILDSTDERR: from editor.cpp:45: BUILDSTDERR: defines.h:101: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'} [-Wnarrowing] BUILDSTDERR: 101 | #define EDIT_ITEM_PICT_START_Y (EDIT_ITEM_START_Y+EDIT_ITEM_DY+10) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: editor.cpp:600:15: note: in expansion of macro 'EDIT_ITEM_PICT_START_Y' BUILDSTDERR: 600 | EDIT_ITEM_PICT_START_Y, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: editor.cpp: In member function 'void editor_gui::layer_status_create()': BUILDSTDERR: defines.h:84:55: warning: narrowing conversion of '(berusky_config::editor_resolution_x - ((20 * 3) * 2))' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] BUILDSTDERR: 84 | #define EDITOR_LAYER_STATUS_DX (EDITOR_RESOLUTION_X-EDITOR_LAYER_STATUS_X) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: editor.cpp:817:13: note: in expansion of macro 'EDITOR_LAYER_STATUS_DX' BUILDSTDERR: 817 | EDITOR_LAYER_STATUS_DX, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: editor.cpp: In member function 'void editor_gui::level_config()': BUILDSTDERR: defines.h:87:52: warning: narrowing conversion of 'berusky_config::editor_screen_start_x' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] BUILDSTDERR: 87 | #define EDITOR_SCREEN_START_X (berusky_config::editor_screen_start_x) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: editor.cpp:958:13: note: in expansion of macro 'EDITOR_SCREEN_START_X' BUILDSTDERR: 958 | RECT r = {EDITOR_SCREEN_START_X,EDITOR_SCREEN_START_Y,LEVEL_RESOLUTION_X,LEVEL_RESOLUTION_Y}; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: defines.h:88:52: warning: narrowing conversion of 'berusky_config::editor_screen_start_y' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] BUILDSTDERR: 88 | #define EDITOR_SCREEN_START_Y (berusky_config::editor_screen_start_y) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: editor.cpp:958:35: note: in expansion of macro 'EDITOR_SCREEN_START_Y' BUILDSTDERR: 958 | RECT r = {EDITOR_SCREEN_START_X,EDITOR_SCREEN_START_Y,LEVEL_RESOLUTION_X,LEVEL_RESOLUTION_Y}; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: defines.h:51:52: warning: narrowing conversion of 'berusky_config::level_resolution_x' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] BUILDSTDERR: 51 | #define LEVEL_RESOLUTION_X (berusky_config::level_resolution_x) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: editor.cpp:958:57: note: in expansion of macro 'LEVEL_RESOLUTION_X' BUILDSTDERR: 958 | RECT r = {EDITOR_SCREEN_START_X,EDITOR_SCREEN_START_Y,LEVEL_RESOLUTION_X,LEVEL_RESOLUTION_Y}; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: defines.h:52:52: warning: narrowing conversion of 'berusky_config::level_resolution_y' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] BUILDSTDERR: 52 | #define LEVEL_RESOLUTION_Y (berusky_config::level_resolution_y) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: editor.cpp:958:76: note: in expansion of macro 'LEVEL_RESOLUTION_Y' BUILDSTDERR: 958 | RECT r = {EDITOR_SCREEN_START_X,EDITOR_SCREEN_START_Y,LEVEL_RESOLUTION_X,LEVEL_RESOLUTION_Y}; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ 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/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -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 -fasynchronous-unwind-tables -fstack-clash-protection -c -o game_logic.o game_logic.cpp BUILDSTDERR: In file included from berusky.h:109, BUILDSTDERR: from game_logic.cpp:28: BUILDSTDERR: defines.h:452:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 452 | #define INI_FILE_GLOBAL PACKAGE_DATA_DIR"/berusky/"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: defines.h:453:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 453 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: defines.h:454:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 454 | #define INI_FILE_LOCAL "./"INI_FILE_NAME BUILDSTDERR: | ^ 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/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -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 -fasynchronous-unwind-tables -fstack-clash-protection -c -o graphics.o graphics.cpp BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from /usr/include/SDL/SDL_stdinc.h:60, BUILDSTDERR: from /usr/include/SDL/SDL_main.h:26, BUILDSTDERR: from /usr/include/SDL/SDL.h:30, BUILDSTDERR: from 2d_graph.cpp:31: BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'spr_handle sprite_store::sprite_insert(const char*, spr_handle, spr_handle*)' at 2d_graph.cpp:732:10: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 200 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from berusky.h:109, BUILDSTDERR: from graphics.cpp:34: BUILDSTDERR: defines.h:452:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 452 | #define INI_FILE_GLOBAL PACKAGE_DATA_DIR"/berusky/"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: defines.h:453:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 453 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: defines.h:454:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 454 | #define INI_FILE_LOCAL "./"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: graphics.cpp: In member function 'virtual bool screen_editor::draw()': BUILDSTDERR: 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'} [-Wnarrowing] BUILDSTDERR: 305 | RECT tmp = {min_x*cell_x+start_x,min_y*cell_y+start_y,dx*cell_x,dy*cell_y}; BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~~ BUILDSTDERR: 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'} [-Wnarrowing] BUILDSTDERR: 305 | RECT tmp = {min_x*cell_x+start_x,min_y*cell_y+start_y,dx*cell_x,dy*cell_y}; BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~~ BUILDSTDERR: 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'} [-Wnarrowing] BUILDSTDERR: 305 | RECT tmp = {min_x*cell_x+start_x,min_y*cell_y+start_y,dx*cell_x,dy*cell_y}; BUILDSTDERR: | ~~^~~~~~~ BUILDSTDERR: 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'} [-Wnarrowing] BUILDSTDERR: 305 | RECT tmp = {min_x*cell_x+start_x,min_y*cell_y+start_y,dx*cell_x,dy*cell_y}; BUILDSTDERR: | ~~^~~~~~~ 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/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -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 -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/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -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 -fasynchronous-unwind-tables -fstack-clash-protection -c -o input.o input.cpp BUILDSTDERR: In file included from berusky.h:109, BUILDSTDERR: from input.cpp:30: BUILDSTDERR: defines.h:452:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 452 | #define INI_FILE_GLOBAL PACKAGE_DATA_DIR"/berusky/"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: defines.h:453:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 453 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: defines.h:454:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 454 | #define INI_FILE_LOCAL "./"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: In file included from berusky_gui.h:31, BUILDSTDERR: from input.cpp:31: BUILDSTDERR: gui.h: In constructor 'checkbox_config::checkbox_config()': BUILDSTDERR: gui.h:159:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct checkbox_config'; use assignment or value-initialization instead [-Wclass-memaccess] BUILDSTDERR: 159 | memset(this,0,sizeof(*this)); BUILDSTDERR: | ^ BUILDSTDERR: gui.h:106:16: note: 'struct checkbox_config' declared here BUILDSTDERR: 106 | typedef struct checkbox_config { BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from input.cpp:32: BUILDSTDERR: editor.h: In constructor 'editor_panel::editor_panel(int, DIRECTION, tpos, tpos, int)': BUILDSTDERR: 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] BUILDSTDERR: 335 | memset(this,0,sizeof(*this)); BUILDSTDERR: | ^ BUILDSTDERR: editor.h:102:15: note: 'class editor_panel' declared here BUILDSTDERR: 102 | typedef class editor_panel { BUILDSTDERR: | ^~~~~~~~~~~~ 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/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -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 -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/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -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 -fasynchronous-unwind-tables -fstack-clash-protection -c -o level_active.o level_active.cpp BUILDSTDERR: In file included from berusky.h:109, BUILDSTDERR: from level.cpp:28: BUILDSTDERR: defines.h:452:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 452 | #define INI_FILE_GLOBAL PACKAGE_DATA_DIR"/berusky/"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: defines.h:453:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 453 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: defines.h:454:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 454 | #define INI_FILE_LOCAL "./"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: In file included from berusky.h:109, BUILDSTDERR: from level_active.cpp:28: BUILDSTDERR: defines.h:452:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 452 | #define INI_FILE_GLOBAL PACKAGE_DATA_DIR"/berusky/"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: defines.h:453:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 453 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: defines.h:454:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 454 | #define INI_FILE_LOCAL "./"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from editor.cpp:31: BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void editor_gui::level_name_set(char*)' at editor.cpp:1023:10: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -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 -fasynchronous-unwind-tables -fstack-clash-protection -c -o level_changer.o level_changer.cpp BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from berusky.h:46, BUILDSTDERR: from level_active.cpp:28: BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'bool level_store::level_load(DIR_LIST*, char*)' at level_active.cpp:62:10: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 50 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'char* strncat(char*, const char*, size_t)', BUILDSTDERR: inlined from 'bool level_store::levelset_load(DIR_LIST*, char*)' at level_active.cpp:133:12: BUILDSTDERR: /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-truncation] BUILDSTDERR: 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void editor_gui::level_load(char*, int)' at editor.cpp:1034:14: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /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=] BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void editor_gui::level_save_as(char*, int)' at editor.cpp:1101:12: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from berusky.h:109, BUILDSTDERR: from level_changer.cpp:28: BUILDSTDERR: defines.h:452:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 452 | #define INI_FILE_GLOBAL PACKAGE_DATA_DIR"/berusky/"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: defines.h:453:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 453 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: defines.h:454:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 454 | #define INI_FILE_LOCAL "./"INI_FILE_NAME BUILDSTDERR: | ^ 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/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -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 -fasynchronous-unwind-tables -fstack-clash-protection -c -o level_game.o level_game.cpp BUILDSTDERR: In file included from berusky.h:109, BUILDSTDERR: from level_game.cpp:34: BUILDSTDERR: defines.h:452:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 452 | #define INI_FILE_GLOBAL PACKAGE_DATA_DIR"/berusky/"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: defines.h:453:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 453 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: defines.h:454:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 454 | #define INI_FILE_LOCAL "./"INI_FILE_NAME BUILDSTDERR: | ^ 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/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -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 -fasynchronous-unwind-tables -fstack-clash-protection -c -o utils.o utils.cpp BUILDSTDERR: In file included from berusky.h:109, BUILDSTDERR: from utils.cpp:49: BUILDSTDERR: defines.h:452:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 452 | #define INI_FILE_GLOBAL PACKAGE_DATA_DIR"/berusky/"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: defines.h:453:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 453 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: defines.h:454:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 454 | #define INI_FILE_LOCAL "./"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: In file included from berusky_gui.h:31, BUILDSTDERR: from utils.cpp:50: BUILDSTDERR: gui.h: In constructor 'checkbox_config::checkbox_config()': BUILDSTDERR: gui.h:159:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct checkbox_config'; use assignment or value-initialization instead [-Wclass-memaccess] BUILDSTDERR: 159 | memset(this,0,sizeof(*this)); BUILDSTDERR: | ^ BUILDSTDERR: gui.h:106:16: note: 'struct checkbox_config' declared here BUILDSTDERR: 106 | typedef struct checkbox_config { BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from utils.cpp:52: BUILDSTDERR: editor.h: In constructor 'editor_panel::editor_panel(int, DIRECTION, tpos, tpos, int)': BUILDSTDERR: 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] BUILDSTDERR: 335 | memset(this,0,sizeof(*this)); BUILDSTDERR: | ^ BUILDSTDERR: editor.h:102:15: note: 'class editor_panel' declared here BUILDSTDERR: 102 | typedef class editor_panel { BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: utils.cpp: In member function 'void dir_list::update_path(char*)': BUILDSTDERR: utils.cpp:99:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 99 | chdir(cwd); BUILDSTDERR: | ~~~~~^~~~~ BUILDSTDERR: utils.cpp:100:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 100 | chdir(buffer); BUILDSTDERR: | ~~~~~^~~~~~~~ BUILDSTDERR: utils.cpp:101:9: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 101 | getcwd(p_dir,MAX_FILENAME); BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: utils.cpp: In member function 'void dir_list::load(const char*)': BUILDSTDERR: utils.cpp:118:9: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 118 | getcwd(cwd,MAX_FILENAME); BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: utils.cpp:125:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 125 | chdir(cwd); BUILDSTDERR: | ~~~~~^~~~~ 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/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -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 -fasynchronous-unwind-tables -fstack-clash-protection -c -o data_parser_tables.o data_parser_tables.cpp BUILDSTDERR: In file included from berusky.h:109, BUILDSTDERR: from data_parser_tables.cpp:28: BUILDSTDERR: defines.h:452:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 452 | #define INI_FILE_GLOBAL PACKAGE_DATA_DIR"/berusky/"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: defines.h:453:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 453 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: defines.h:454:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 454 | #define INI_FILE_LOCAL "./"INI_FILE_NAME BUILDSTDERR: | ^ 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/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -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 -fasynchronous-unwind-tables -fstack-clash-protection -c -o berusky_gui.o berusky_gui.cpp BUILDSTDERR: In file included from berusky.h:109, BUILDSTDERR: from berusky_gui.cpp:41: BUILDSTDERR: defines.h:452:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 452 | #define INI_FILE_GLOBAL PACKAGE_DATA_DIR"/berusky/"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: defines.h:453:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 453 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: defines.h:454:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 454 | #define INI_FILE_LOCAL "./"INI_FILE_NAME BUILDSTDERR: | ^ 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/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -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 -fasynchronous-unwind-tables -fstack-clash-protection -c -o main.o main.cpp BUILDSTDERR: In file included from berusky_gui.h:31, BUILDSTDERR: from berusky_gui.cpp:42: BUILDSTDERR: gui.h: In constructor 'checkbox_config::checkbox_config()': BUILDSTDERR: gui.h:159:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct checkbox_config'; use assignment or value-initialization instead [-Wclass-memaccess] BUILDSTDERR: 159 | memset(this,0,sizeof(*this)); BUILDSTDERR: | ^ BUILDSTDERR: gui.h:106:16: note: 'struct checkbox_config' declared here BUILDSTDERR: 106 | typedef struct checkbox_config { BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from berusky.h:109, BUILDSTDERR: from main.cpp:38: BUILDSTDERR: defines.h:452:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 452 | #define INI_FILE_GLOBAL PACKAGE_DATA_DIR"/berusky/"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: defines.h:453:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 453 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: defines.h:454:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 454 | #define INI_FILE_LOCAL "./"INI_FILE_NAME BUILDSTDERR: | ^ 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/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -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 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gui.o gui.cpp BUILDSTDERR: In file included from berusky.h:109, BUILDSTDERR: from gui.cpp:28: BUILDSTDERR: defines.h:452:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 452 | #define INI_FILE_GLOBAL PACKAGE_DATA_DIR"/berusky/"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: defines.h:453:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 453 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: defines.h:454:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 454 | #define INI_FILE_LOCAL "./"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/gtk-2.0/gtk/gtk.h:89, BUILDSTDERR: from main.cpp:29: BUILDSTDERR: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] BUILDSTDERR: 59 | void (*__gtk_reserved1); BUILDSTDERR: | ^ BUILDSTDERR: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] BUILDSTDERR: 60 | void (*__gtk_reserved2); BUILDSTDERR: | ^ BUILDSTDERR: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] BUILDSTDERR: 61 | void (*__gtk_reserved3); BUILDSTDERR: | ^ BUILDSTDERR: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] BUILDSTDERR: 62 | void (*__gtk_reserved4); BUILDSTDERR: | ^ BUILDSTDERR: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] BUILDSTDERR: 63 | void (*__gtk_reserved5); BUILDSTDERR: | ^ BUILDSTDERR: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] BUILDSTDERR: 64 | void (*__gtk_reserved6); BUILDSTDERR: | ^ BUILDSTDERR: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] BUILDSTDERR: 65 | void (*__gtk_reserved7); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/gtk-2.0/gtk/gtk.h:173, BUILDSTDERR: from main.cpp:29: BUILDSTDERR: /usr/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] BUILDSTDERR: 76 | void (*__gtk_reserved1); BUILDSTDERR: | ^ BUILDSTDERR: /usr/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] BUILDSTDERR: 77 | void (*__gtk_reserved2); BUILDSTDERR: | ^ BUILDSTDERR: In file included from gui.cpp:29: BUILDSTDERR: gui.h: In constructor 'checkbox_config::checkbox_config()': BUILDSTDERR: gui.h:159:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct checkbox_config'; use assignment or value-initialization instead [-Wclass-memaccess] BUILDSTDERR: 159 | memset(this,0,sizeof(*this)); BUILDSTDERR: | ^ BUILDSTDERR: gui.h:106:16: note: 'struct checkbox_config' declared here BUILDSTDERR: 106 | typedef struct checkbox_config { BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: gui.cpp: In member function 'void gui_base::menu_item_draw_sprite(char*, MENU_TYPE, int, LEVEL_EVENT, LEVEL_EVENT, LEVEL_EVENT)': BUILDSTDERR: gui.cpp:138:27: warning: narrowing conversion of '((gui_base*)this)->gui_base::last_x' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] BUILDSTDERR: 138 | RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: gui.cpp:138:35: warning: narrowing conversion of '((gui_base*)this)->gui_base::last_y' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] BUILDSTDERR: 138 | RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: 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'} [-Wnarrowing] BUILDSTDERR: 138 | RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: 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'} [-Wnarrowing] BUILDSTDERR: 138 | RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: gui.cpp:197:27: warning: narrowing conversion of '((gui_base*)this)->gui_base::last_x' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] BUILDSTDERR: 197 | RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: gui.cpp:197:35: warning: narrowing conversion of '((gui_base*)this)->gui_base::last_y' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] BUILDSTDERR: 197 | RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: 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'} [-Wnarrowing] BUILDSTDERR: 197 | RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: 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'} [-Wnarrowing] BUILDSTDERR: 197 | RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: gui.cpp: In member function 'void gui_base::menu_item_draw_checkbox(char*, MENU_TYPE, bool, int, int, LEVEL_EVENT, LEVEL_EVENT, LEVEL_EVENT)': BUILDSTDERR: gui.cpp:402:25: warning: narrowing conversion of '((gui_base*)this)->gui_base::last_x' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] BUILDSTDERR: 402 | RECT r_box = {last_x, last_y, 20, 20}; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: gui.cpp:402:33: warning: narrowing conversion of '((gui_base*)this)->gui_base::last_y' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] BUILDSTDERR: 402 | RECT r_box = {last_x, last_y, 20, 20}; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from berusky_gui.h:31, BUILDSTDERR: from main.cpp:39: BUILDSTDERR: gui.h: In constructor 'checkbox_config::checkbox_config()': BUILDSTDERR: gui.h:159:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct checkbox_config'; use assignment or value-initialization instead [-Wclass-memaccess] BUILDSTDERR: 159 | memset(this,0,sizeof(*this)); BUILDSTDERR: | ^ BUILDSTDERR: gui.h:106:16: note: 'struct checkbox_config' declared here BUILDSTDERR: 106 | typedef struct checkbox_config { BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from main.cpp:41: BUILDSTDERR: editor.h: In constructor 'editor_panel::editor_panel(int, DIRECTION, tpos, tpos, int)': BUILDSTDERR: 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] BUILDSTDERR: 335 | memset(this,0,sizeof(*this)); BUILDSTDERR: | ^ BUILDSTDERR: editor.h:102:15: note: 'class editor_panel' declared here BUILDSTDERR: 102 | typedef class editor_panel { BUILDSTDERR: | ^~~~~~~~~~~~ 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/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -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 -fasynchronous-unwind-tables -fstack-clash-protection -c -o profile.o profile.cpp BUILDSTDERR: In file included from berusky.h:109, BUILDSTDERR: from profile.cpp:28: BUILDSTDERR: defines.h:452:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 452 | #define INI_FILE_GLOBAL PACKAGE_DATA_DIR"/berusky/"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: defines.h:453:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 453 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: defines.h:454:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 454 | #define INI_FILE_LOCAL "./"INI_FILE_NAME BUILDSTDERR: | ^ BUILDSTDERR: profile.cpp: In member function 'void berusky_profile::save()': BUILDSTDERR: profile.cpp:106:20: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 1017 [-Wformat-truncation=] BUILDSTDERR: 106 | "name = %s\nl0 = %d\nl1 = %d\nl2 = %d\nl3 = %d\nl4 = %d\nl5 = %d\n", BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from berusky.h:43, BUILDSTDERR: from profile.cpp:28: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 51 and 4206 bytes into a destination of size 1024 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -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 -lharfbuzz -lcairo -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lSDL_image -lSDL -lpthread -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -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 -lharfbuzz -lcairo -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lpthread -lSDL -lSDL_image BUILDSTDERR: /usr/bin/ld: profile.o: in function `berusky_profile::create(char const*)': BUILDSTDERR: /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]: Leaving directory '/builddir/build/BUILD/berusky-1.7.1' make[1]: Leaving directory '/builddir/build/BUILD/berusky-1.7.1' + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.qQ9HCv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/berusky-1.7.1-15.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/berusky-1.7.1-15.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/berusky-1.7.1-15.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/berusky-1.7.1-15.fc31.riscv64 + cd berusky-1.7.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/berusky-1.7.1-15.fc31.riscv64 '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-15.fc31.riscv64/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-15.fc31.riscv64$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-15.fc31.riscv64/usr/share/glib-2.0/gettext/po; \ /usr/bin/install -p -m 644 ./Makefile.in.in \ /builddir/build/BUILDROOT/berusky-1.7.1-15.fc31.riscv64/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-15.fc31.riscv64/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -p berusky '/builddir/build/BUILDROOT/berusky-1.7.1-15.fc31.riscv64/usr/bin' libtool: install: /usr/bin/install -p berusky /builddir/build/BUILDROOT/berusky-1.7.1-15.fc31.riscv64/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-15.fc31.riscv64/usr/share/berusky' /usr/bin/install -p -m 644 berusky.ini '/builddir/build/BUILDROOT/berusky-1.7.1-15.fc31.riscv64/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-15.fc31.riscv64/usr/doc/berusky' /usr/bin/install -p -m 644 README COPYING AUTHORS ChangeLog INSTALL NEWS TODO '/builddir/build/BUILDROOT/berusky-1.7.1-15.fc31.riscv64/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-15.fc31.riscv64/usr/share/doc/berusky + mv /builddir/build/BUILDROOT/berusky-1.7.1-15.fc31.riscv64/usr/doc/berusky/AUTHORS /builddir/build/BUILDROOT/berusky-1.7.1-15.fc31.riscv64/usr/doc/berusky/COPYING /builddir/build/BUILDROOT/berusky-1.7.1-15.fc31.riscv64/usr/doc/berusky/ChangeLog /builddir/build/BUILDROOT/berusky-1.7.1-15.fc31.riscv64/usr/doc/berusky/INSTALL /builddir/build/BUILDROOT/berusky-1.7.1-15.fc31.riscv64/usr/doc/berusky/NEWS /builddir/build/BUILDROOT/berusky-1.7.1-15.fc31.riscv64/usr/doc/berusky/README /builddir/build/BUILDROOT/berusky-1.7.1-15.fc31.riscv64/usr/doc/berusky/TODO /builddir/build/BUILDROOT/berusky-1.7.1-15.fc31.riscv64/usr/share/doc/berusky + rm -rf /builddir/build/BUILDROOT/berusky-1.7.1-15.fc31.riscv64//usr/share/berusky + mkdir -p /builddir/build/BUILDROOT/berusky-1.7.1-15.fc31.riscv64/usr/share/icons/hicolor/128x128/apps + cp /builddir/build/SOURCES/berusky.png /builddir/build/BUILDROOT/berusky-1.7.1-15.fc31.riscv64/usr/share/icons/hicolor/128x128/apps + desktop-file-install --dir /builddir/build/BUILDROOT/berusky-1.7.1-15.fc31.riscv64/usr/share/applications /builddir/build/SOURCES/berusky.desktop + mkdir -p /builddir/build/BUILDROOT/berusky-1.7.1-15.fc31.riscv64/usr/share/appdata/ + cp /builddir/build/SOURCES/berusky.appdata.xml /builddir/build/BUILDROOT/berusky-1.7.1-15.fc31.riscv64/usr/share/appdata/ + cd ../berusky-data-1.7 + mkdir -p /builddir/build/BUILDROOT/berusky-1.7.1-15.fc31.riscv64/usr/share/berusky + cp -r GameData /builddir/build/BUILDROOT/berusky-1.7.1-15.fc31.riscv64/usr/share/berusky + cp -r Graphics /builddir/build/BUILDROOT/berusky-1.7.1-15.fc31.riscv64/usr/share/berusky + cp -r Levels /builddir/build/BUILDROOT/berusky-1.7.1-15.fc31.riscv64/usr/share/berusky + cp README /builddir/build/BUILDROOT/berusky-1.7.1-15.fc31.riscv64/usr/share/berusky + cp COPYING /builddir/build/BUILDROOT/berusky-1.7.1-15.fc31.riscv64/usr/share/berusky + mkdir -p /builddir/build/BUILDROOT/berusky-1.7.1-15.fc31.riscv64/usr/share/berusky + /usr/bin/sed -e s,/__PREFIX__,/usr,g /builddir/build/SOURCES/berusky.ini.in + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.7.1-15.fc31 --unique-debug-suffix -1.7.1-15.fc31.riscv64 --unique-debug-src-base berusky-1.7.1-15.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/berusky-1.7.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/berusky-1.7.1-15.fc31.riscv64/usr/bin/berusky extracting debug info from /builddir/build/BUILDROOT/berusky-1.7.1-15.fc31.riscv64/usr/bin/berusky original debug info size: 2640kB, size after compression: 2220kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 1147 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: berusky-1.7.1-15.fc31.riscv64 Provides: application() application(berusky.desktop) berusky = 1.7.1-15.fc31 berusky(riscv-64) = 1.7.1-15.fc31 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: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libSDL-1.2.so.0()(64bit) libSDL_image-1.2.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgtk-x11-2.0.so.0()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(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) Conflicts: berusky-data Obsoletes: berusky-data Processing files: berusky-debugsource-1.7.1-15.fc31.riscv64 Provides: berusky-debugsource = 1.7.1-15.fc31 berusky-debugsource(riscv-64) = 1.7.1-15.fc31 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-15.fc31.riscv64 Provides: berusky-debuginfo = 1.7.1-15.fc31 berusky-debuginfo(riscv-64) = 1.7.1-15.fc31 debuginfo(build-id) = d4af427e7a939dc34d584a62e2e0da1f0b0e5000 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: berusky-debugsource(riscv-64) = 1.7.1-15.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/berusky-1.7.1-15.fc31.riscv64 Wrote: /builddir/build/RPMS/berusky-debugsource-1.7.1-15.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/berusky-debuginfo-1.7.1-15.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/berusky-1.7.1-15.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.GgTEzs + umask 022 + cd /builddir/build/BUILD + cd berusky-1.7.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/berusky-1.7.1-15.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0