Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 848137 Details for
Bug 890361
games-arcade/berusky-1.7.1-r2 - level_game.cpp: error: signum was not declared in this scope
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
games-arcade:berusky-1.7.1-r2:20230110-191740.log
games-arcade:berusky-1.7.1-r2:20230110-191740.log (text/plain), 56.63 KB, created by
Toralf Förster
on 2023-01-10 19:46:45 UTC
(
hide
)
Description:
games-arcade:berusky-1.7.1-r2:20230110-191740.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2023-01-10 19:46:45 UTC
Size:
56.63 KB
patch
obsolete
> * Package: games-arcade/berusky-1.7.1-r2:0 > * Repository: gentoo > * Maintainer: games@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking berusky-1.7.1.tar.gz to /var/tmp/portage/games-arcade/berusky-1.7.1-r2/work >>>> Unpacking berusky-data-1.7.tar.gz to /var/tmp/portage/games-arcade/berusky-1.7.1-r2/work >>>> Unpacking berusky.png to /var/tmp/portage/games-arcade/berusky-1.7.1-r2/work >unpack berusky.png: file format not recognized. Ignoring. >>>> Source unpacked in /var/tmp/portage/games-arcade/berusky-1.7.1-r2/work >>>> Preparing source in /var/tmp/portage/games-arcade/berusky-1.7.1-r2/work/berusky-1.7.1 ... > * Applying berusky-1.7.1-r2-gentoo.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/games-arcade/berusky-1.7.1-r2/work/berusky-1.7.1 ... > * econf: updating berusky-1.7.1/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating berusky-1.7.1/config.guess with /usr/share/gnuconfig/config.guess >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/berusky-1.7.1-r2 --htmldir=/usr/share/doc/berusky-1.7.1-r2/html --with-sysroot=/ --libdir=/usr/lib64 >checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for a thread-safe mkdir -p... /usr/sbin/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 x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-gcc accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed >checking dependency style of x86_64-pc-linux-gnu-gcc... none >checking for library containing strerror... none required >checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc >checking whether we are using the GNU C compiler... (cached) yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes >checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed >checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none >checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc >checking whether we are using the GNU C compiler... (cached) yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes >checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed >checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none >checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E >checking for grep that handles long lines and -e... /usr/sbin/grep >checking for egrep... /usr/sbin/grep -E >checking for ANSI C header files... yes >checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E >checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ >checking whether we are using the GNU C++ compiler... yes >checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes >checking dependency style of x86_64-pc-linux-gnu-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/sbin/msgfmt >checking for dcgettext... yes >checking if msgfmt accepts -c... yes >checking for gmsgfmt... /usr/sbin/gmsgfmt >checking for xgettext... /usr/sbin/xgettext >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking how to print strings... printf >checking for a sed that does not truncate output... /usr/sbin/sed >checking for fgrep... /usr/sbin/grep -F >checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld >checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes >checking for BSD- or MS-compatible name lister (nm)... /usr/sbin/nm -B >checking the name lister (/usr/sbin/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 x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop >checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop >checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r >checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump >checking how to recognize dependent libraries... pass_all >checking for x86_64-pc-linux-gnu-dlltool... x86_64-pc-linux-gnu-dlltool >checking how to associate runtime and link libraries... printf %s\n >checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar >checking for archiver @FILE support... @ >checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip >checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib >checking command to parse /usr/sbin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok >checking for sysroot... / >checking for x86_64-pc-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 x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no >checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC >checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes >checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes >checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes >checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes >checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes >checking whether -lc should be explicitly linked in... no >checking dynamic linker characteristics... GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >checking if libtool supports shared libraries... yes >checking whether to build shared libraries... yes >checking whether to build static libraries... yes >checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E >checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 >checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes >checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes >checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC >checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes >checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes >checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes >checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes >checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes >checking dynamic linker characteristics... (cached) GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking for x86_64-pc-linux-gnu-pkg-config... /usr/sbin/x86_64-pc-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 >>>> Source configured. >>>> Compiling source in /var/tmp/portage/games-arcade/berusky-1.7.1-r2/work/berusky-1.7.1 ... >make -j4 >make all-recursive >make[1]: Entering directory '/var/tmp/portage/games-arcade/berusky-1.7.1-r2/work/berusky-1.7.1' >Making all in po >make[2]: Entering directory '/var/tmp/portage/games-arcade/berusky-1.7.1-r2/work/berusky-1.7.1/po' >make[2]: Nothing to be done for 'all'. >make[2]: Leaving directory '/var/tmp/portage/games-arcade/berusky-1.7.1-r2/work/berusky-1.7.1/po' >Making all in src >make[2]: Entering directory '/var/tmp/portage/games-arcade/berusky-1.7.1-r2/work/berusky-1.7.1/src' >x86_64-pc-linux-gnu-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/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -pipe -march=native -fno-diagnostics-color -O2 -std=c++14 -c -o 2d_graph.o 2d_graph.cpp >x86_64-pc-linux-gnu-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/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -pipe -march=native -fno-diagnostics-color -O2 -std=c++14 -c -o animation.o animation.cpp >x86_64-pc-linux-gnu-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/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -pipe -march=native -fno-diagnostics-color -O2 -std=c++14 -c -o berusky.o berusky.cpp >x86_64-pc-linux-gnu-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/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -pipe -march=native -fno-diagnostics-color -O2 -std=c++14 -c -o data_parser.o data_parser.cpp >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] > 450 | #define INI_FILE_GLOBAL "/var/lib/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] > 451 | #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] > 452 | #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] > 450 | #define INI_FILE_GLOBAL "/var/lib/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] > 451 | #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] > 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME > | ^ >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] > 450 | #define INI_FILE_GLOBAL "/var/lib/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] > 451 | #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] > 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME > | ^ >2d_graph.cpp: In constructor âsurface::surface(surface*, tpos, tpos, tpos, tpos)â: >2d_graph.cpp:289:15: warning: narrowing conversion of âsxâ from âtposâ {aka âintâ} to âSint16â {aka âshort intâ} [-Wnarrowing] > 289 | RECT src = {sx,sy,width,height}; > | ^~ >2d_graph.cpp:289:18: warning: narrowing conversion of âsyâ from âtposâ {aka âintâ} to âSint16â {aka âshort intâ} [-Wnarrowing] > 289 | RECT src = {sx,sy,width,height}; > | ^~ >2d_graph.cpp:289:21: warning: narrowing conversion of âwidthâ from âtposâ {aka âintâ} to âUint16â {aka âshort unsigned intâ} [-Wnarrowing] > 289 | RECT src = {sx,sy,width,height}; > | ^~~~~ >2d_graph.cpp:289:27: warning: narrowing conversion of âheightâ from âtposâ {aka âintâ} to âUint16â {aka âshort unsigned intâ} [-Wnarrowing] > 289 | RECT src = {sx,sy,width,height}; > | ^~~~~~ >2d_graph.cpp: In member function âvoid surface::fill(tpos, tpos, tpos, tpos, tcolor)â: >2d_graph.cpp:328:20: warning: narrowing conversion of âxâ from âtposâ {aka âintâ} to âSint16â {aka âshort intâ} [-Wnarrowing] > 328 | SDL_Rect rec = { x, y, dx, dy }; > | ^ >2d_graph.cpp:328:23: warning: narrowing conversion of âyâ from âtposâ {aka âintâ} to âSint16â {aka âshort intâ} [-Wnarrowing] > 328 | SDL_Rect rec = { x, y, dx, dy }; > | ^ >2d_graph.cpp:328:26: warning: narrowing conversion of âdxâ from âtposâ {aka âintâ} to âUint16â {aka âshort unsigned intâ} [-Wnarrowing] > 328 | SDL_Rect rec = { x, y, dx, dy }; > | ^~ >2d_graph.cpp:328:30: warning: narrowing conversion of âdyâ from âtposâ {aka âintâ} to âUint16â {aka âshort unsigned intâ} [-Wnarrowing] > 328 | SDL_Rect rec = { x, y, dx, dy }; > | ^~ >2d_graph.cpp: In member function âvoid surface::blit(surface*, tpos, tpos)â: >2d_graph.cpp:336:23: warning: narrowing conversion of âtxâ from âtposâ {aka âintâ} to âSint16â {aka âshort intâ} [-Wnarrowing] > 336 | SDL_Rect dst_rec = {tx,ty,p_surf->w,p_surf->h}; > | ^~ >2d_graph.cpp:336:26: warning: narrowing conversion of âtyâ from âtposâ {aka âintâ} to âSint16â {aka âshort intâ} [-Wnarrowing] > 336 | SDL_Rect dst_rec = {tx,ty,p_surf->w,p_surf->h}; > | ^~ >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] > 336 | 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â} [-Wnarrowing] > 336 | 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:23: warning: narrowing conversion of âsxâ from âtposâ {aka âintâ} to âSint16â {aka âshort intâ} [-Wnarrowing] > 344 | SDL_Rect src_rec = {sx,sy,dx,dy}; > | ^~ >2d_graph.cpp:344:26: warning: narrowing conversion of âsyâ from âtposâ {aka âintâ} to âSint16â {aka âshort intâ} [-Wnarrowing] > 344 | SDL_Rect src_rec = {sx,sy,dx,dy}; > | ^~ >2d_graph.cpp:344:29: warning: narrowing conversion of âdxâ from âtposâ {aka âintâ} to âUint16â {aka âshort unsigned intâ} [-Wnarrowing] > 344 | SDL_Rect src_rec = {sx,sy,dx,dy}; > | ^~ >2d_graph.cpp:344:32: warning: narrowing conversion of âdyâ from âtposâ {aka âintâ} to âUint16â {aka âshort unsigned intâ} [-Wnarrowing] > 344 | SDL_Rect src_rec = {sx,sy,dx,dy}; > | ^~ >2d_graph.cpp:345:23: warning: narrowing conversion of âtxâ from âtposâ {aka âintâ} to âSint16â {aka âshort intâ} [-Wnarrowing] > 345 | SDL_Rect dst_rec = {tx,ty,dx,dy}; > | ^~ >2d_graph.cpp:345:26: warning: narrowing conversion of âtyâ from âtposâ {aka âintâ} to âSint16â {aka âshort intâ} [-Wnarrowing] > 345 | SDL_Rect dst_rec = {tx,ty,dx,dy}; > | ^~ >2d_graph.cpp:345:29: warning: narrowing conversion of âdxâ from âtposâ {aka âintâ} to âUint16â {aka âshort unsigned intâ} [-Wnarrowing] > 345 | SDL_Rect dst_rec = {tx,ty,dx,dy}; > | ^~ >2d_graph.cpp:345:32: warning: narrowing conversion of âdyâ from âtposâ {aka âintâ} to âUint16â {aka âshort unsigned intâ} [-Wnarrowing] > 345 | SDL_Rect dst_rec = {tx,ty,dx,dy}; > | ^~ >animation.cpp: In constructor âanimation::animation()â: >animation.cpp:282:9: warning: âvoid* memset(void*, int, size_t)â clearing an object of non-trivial type âclass animationâ; use assignment or value-initialization instead [-Wclass-memaccess] > 282 | memset(this,0,sizeof(*this)); > | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ >In file included from berusky.h:132: >animation.h:164:15: note: âclass animationâ declared here > 164 | typedef class animation { > | ^~~~~~~~~ >animation.cpp: In member function âvoid animation::init(anim_template_handle, tpos, tpos, tpos, int)â: >animation.cpp:291:9: warning: âvoid* memset(void*, int, size_t)â clearing an object of non-trivial type âclass animationâ; use assignment or value-initialization instead [-Wclass-memaccess] > 291 | memset(this,0,sizeof(*this)); > | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ >animation.h:164:15: note: âclass animationâ declared here > 164 | typedef class animation { > | ^~~~~~~~~ >2d_graph.cpp: In member function âvoid sprite::blit(tpos, tpos, tpos, tpos, sprite*, tpos, tpos)â: >2d_graph.cpp:618:23: warning: narrowing conversion of âsxâ from âtposâ {aka âintâ} to âSint16â {aka âshort intâ} [-Wnarrowing] > 618 | SDL_Rect src_rec = {sx, sy, dx, dy}; > | ^~ >2d_graph.cpp:618:27: warning: narrowing conversion of âsyâ from âtposâ {aka âintâ} to âSint16â {aka âshort intâ} [-Wnarrowing] > 618 | SDL_Rect src_rec = {sx, sy, dx, dy}; > | ^~ >2d_graph.cpp:618:31: warning: narrowing conversion of âdxâ from âtposâ {aka âintâ} to âUint16â {aka âshort unsigned intâ} [-Wnarrowing] > 618 | SDL_Rect src_rec = {sx, sy, dx, dy}; > | ^~ >2d_graph.cpp:618:35: warning: narrowing conversion of âdyâ from âtposâ {aka âintâ} to âUint16â {aka âshort unsigned intâ} [-Wnarrowing] > 618 | SDL_Rect src_rec = {sx, sy, dx, dy}; > | ^~ >2d_graph.cpp: In member function âspr_handle sprite_store::sprite_insert(surf_handle, tflag, RECT*, spr_handle)â: >2d_graph.cpp:816:9: 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] > 816 | memcpy(p_sprites+shandle,&tmp, sizeof(tmp)); > | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from berusky.h:117: >2d_graph.h:271:15: note: âSPRITEâ {aka âclass spriteâ} declared here > 271 | typedef class sprite > | ^~~~~~ >2d_graph.cpp: In member function âspr_handle sprite_store::sprite_insert(SURFACE*, tflag, RECT*, spr_handle)â: >2d_graph.cpp:834:9: 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] > 834 | memcpy(p_sprites+shandle,&tmp, sizeof(tmp)); > | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >2d_graph.h:271:15: note: âSPRITEâ {aka âclass spriteâ} declared here > 271 | typedef class sprite > | ^~~~~~ >2d_graph.cpp: In member function âspr_handle sprite_store::sprite_insert(SPRITE*, int, spr_handle)â: >2d_graph.cpp:845:9: 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] > 845 | memcpy(p_sprites+start,p_spr,sizeof(p_spr[0])*num); > | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >2d_graph.h:271:15: note: âSPRITEâ {aka âclass spriteâ} declared here > 271 | typedef class sprite > | ^~~~~~ >2d_graph.cpp: In constructor âfont::font(GRAPH_2D*)â: >2d_graph.cpp:1056:9: warning: âvoid* memset(void*, int, size_t)â clearing an object of non-trivial type âclass fontâ; use assignment instead [-Wclass-memaccess] > 1056 | memset(this,0,sizeof(*this)); > | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ >2d_graph.h:896:15: note: âclass fontâ declared here > 896 | typedef class font { > | ^~~~ >x86_64-pc-linux-gnu-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/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -pipe -march=native -fno-diagnostics-color -O2 -std=c++14 -c -o editor.o editor.cpp >In file included from berusky_gui.h:31, > from berusky.cpp:34: >gui.h: In constructor âcheckbox_config::checkbox_config()â: >gui.h:159:11: 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] > 159 | memset(this,0,sizeof(*this)); > | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ >gui.h:106:16: note: âstruct checkbox_configâ declared here > 106 | typedef struct checkbox_config { > | ^~~~~~~~~~~~~~~ >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] > 450 | #define INI_FILE_GLOBAL "/var/lib/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] > 451 | #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] > 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME > | ^ >x86_64-pc-linux-gnu-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/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -pipe -march=native -fno-diagnostics-color -O2 -std=c++14 -c -o events.o events.cpp >In file included from berusky_gui.h:31, > from editor.cpp:46: >gui.h: In constructor âcheckbox_config::checkbox_config()â: >gui.h:159:11: 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] > 159 | memset(this,0,sizeof(*this)); > | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ >gui.h:106:16: note: âstruct checkbox_configâ declared here > 106 | typedef struct checkbox_config { > | ^~~~~~~~~~~~~~~ >In file included from editor.cpp:48: >editor.h: In constructor âeditor_panel::editor_panel(int, DIRECTION, tpos, tpos, int)â: >editor.h:335:11: 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] > 335 | memset(this,0,sizeof(*this)); > | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ >editor.h:102:15: note: âclass editor_panelâ declared here > 102 | typedef class editor_panel { > | ^~~~~~~~~~~~ >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â} [-Wnarrowing] > 99 | #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â > 585 | 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â} [-Wnarrowing] > 77 | #define EDITOR_ITEM_SIZE_X (berusky_config::cell_size_x*3) > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ >editor.cpp:586:15: note: in expansion of macro âEDITOR_ITEM_SIZE_Xâ > 586 | 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â} [-Wnarrowing] > 78 | #define EDITOR_ITEM_SIZE_Y (berusky_config::cell_size_y*3) > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ >editor.cpp:587:15: note: in expansion of macro âEDITOR_ITEM_SIZE_Yâ > 587 | 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â} [-Wnarrowing] > 599 | RECT r = {EDIT_ITEM_PICT_START_X+EDITOR_ITEM_SIZE_X+10, >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â} [-Wnarrowing] > 99 | #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â > 600 | 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â} [-Wnarrowing] > 82 | #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â > 817 | EDITOR_LAYER_STATUS_DX, > | ^~~~~~~~~~~~~~~~~~~~~~ >editor.cpp: In member function âvoid editor_gui::level_config()â: >defines.h:85:52: warning: narrowing conversion of âberusky_config::editor_screen_start_xâ from âintâ to âSint16â {aka âshort intâ} [-Wnarrowing] > 85 | #define EDITOR_SCREEN_START_X (berusky_config::editor_screen_start_x) > | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ >editor.cpp:958:13: note: in expansion of macro âEDITOR_SCREEN_START_Xâ > 958 | RECT r = {EDITOR_SCREEN_START_X,EDITOR_SCREEN_START_Y,LEVEL_RESOLUTION_X,LEVEL_RESOLUTION_Y}; > | ^~~~~~~~~~~~~~~~~~~~~ >defines.h:86:52: warning: narrowing conversion of âberusky_config::editor_screen_start_yâ from âintâ to âSint16â {aka âshort intâ} [-Wnarrowing] > 86 | #define EDITOR_SCREEN_START_Y (berusky_config::editor_screen_start_y) > | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ >editor.cpp:958:35: note: in expansion of macro âEDITOR_SCREEN_START_Yâ > 958 | RECT r = {EDITOR_SCREEN_START_X,EDITOR_SCREEN_START_Y,LEVEL_RESOLUTION_X,LEVEL_RESOLUTION_Y}; > | ^~~~~~~~~~~~~~~~~~~~~ >defines.h:49:52: warning: narrowing conversion of âberusky_config::level_resolution_xâ from âintâ to âUint16â {aka âshort unsigned intâ} [-Wnarrowing] > 49 | #define LEVEL_RESOLUTION_X (berusky_config::level_resolution_x) > | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ >editor.cpp:958:57: note: in expansion of macro âLEVEL_RESOLUTION_Xâ > 958 | RECT r = {EDITOR_SCREEN_START_X,EDITOR_SCREEN_START_Y,LEVEL_RESOLUTION_X,LEVEL_RESOLUTION_Y}; > | ^~~~~~~~~~~~~~~~~~ >defines.h:50:52: warning: narrowing conversion of âberusky_config::level_resolution_yâ from âintâ to âUint16â {aka âshort unsigned intâ} [-Wnarrowing] > 50 | #define LEVEL_RESOLUTION_Y (berusky_config::level_resolution_y) > | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ >editor.cpp:958:76: note: in expansion of macro âLEVEL_RESOLUTION_Yâ > 958 | TOR_SCREEN_START_X,EDITOR_SCREEN_START_Y,LEVEL_RESOLUTION_X,LEVEL_RESOLUTION_Y}; > | ^~~~~~~~~~~~~~~~~~ > >x86_64-pc-linux-gnu-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/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -pipe -march=native -fno-diagnostics-color -O2 -std=c++14 -c -o game_logic.o game_logic.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] > 450 | #define INI_FILE_GLOBAL "/var/lib/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] > 451 | #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] > 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME > | ^ >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] > 450 | #define INI_FILE_GLOBAL "/var/lib/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] > 451 | #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] > 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME > | ^ >2d_graph.cpp: In member function âspr_handle sprite_store::sprite_insert(const char*, spr_handle, spr_handle*)â: >2d_graph.cpp:732:10: warning: âchar* __builtin_strncpy(char*, const char*, long unsigned int)â specified bound 200 equals destination size [-Wstringop-truncation] > 732 | strncpy(filename, p_file, 200); > | ^ >x86_64-pc-linux-gnu-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/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -pipe -march=native -fno-diagnostics-color -O2 -std=c++14 -c -o graphics.o graphics.cpp >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] > 450 | #define INI_FILE_GLOBAL "/var/lib/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] > 451 | #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] > 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME > | ^ >x86_64-pc-linux-gnu-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/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -pipe -march=native -fno-diagnostics-color -O2 -std=c++14 -c -o ini.o ini.cpp >x86_64-pc-linux-gnu-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/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -pipe -march=native -fno-diagnostics-color -O2 -std=c++14 -c -o input.o input.cpp >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::<anonymous>.screen::cell_x) + ((screen_editor*)this)->screen_editor::<anonymous>.screen::start_x)â from âtposâ {aka âintâ} to âSint16â {aka âshort intâ} [-Wnarrowing] > 305 | 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::<anonymous>.screen::cell_y) + ((screen_editor*)this)->screen_editor::<anonymous>.screen::start_y)â from âtposâ {aka âintâ} to âSint16â {aka âshort intâ} [-Wnarrowing] > 305 | 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::<anonymous>.screen::cell_x)â from âtposâ {aka âintâ} to âUint16â {aka âshort unsigned intâ} [-Wnarrowing] > 305 | 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::<anonymous>.screen::cell_y)â from âtposâ {aka âintâ} to âUint16â {aka âshort unsigned intâ} [-Wnarrowing] > 305 | tmp = {min_x*cell_x+start_x,min_y*cell_y+start_y,dx*cell_x,dy*cell_y}; > | ~~^~~~~~~ > >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] > 450 | #define INI_FILE_GLOBAL "/var/lib/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] > 451 | #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] > 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME > | ^ >editor.cpp: In member function âvoid editor_gui::level_name_set(char*)â: >editor.cpp:1023:10: warning: âchar* __builtin_strncpy(char*, const char*, long unsigned int)â specified bound 4096 equals destination size [-Wstringop-truncation] > 1023 | strncpy(level_name,p_name,MAX_FILENAME); > | ^ >In file included from berusky_gui.h:31, > from input.cpp:31: >gui.h: In constructor âcheckbox_config::checkbox_config()â: >gui.h:159:11: 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] > 159 | memset(this,0,sizeof(*this)); > | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ >gui.h:106:16: note: âstruct checkbox_configâ declared here > 106 | typedef struct checkbox_config { > | ^~~~~~~~~~~~~~~ >In file included from input.cpp:32: >editor.h: In constructor âeditor_panel::editor_panel(int, DIRECTION, tpos, tpos, int)â: >editor.h:335:11: 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] > 335 | memset(this,0,sizeof(*this)); > | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ >editor.h:102:15: note: âclass editor_panelâ declared here > 102 | typedef class editor_panel { > | ^~~~~~~~~~~~ >x86_64-pc-linux-gnu-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/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -pipe -march=native -fno-diagnostics-color -O2 -std=c++14 -c -o level.o level.cpp >editor.cpp: In member function âvoid editor_gui::level_load(char*, int)â: >editor.cpp:1034:14: warning: âchar* __builtin_strncpy(char*, const char*, long unsigned int)â specified bound 4096 equals destination size [-Wstringop-truncation] > 1034 | strncpy(file,p_file,MAX_FILENAME); > | ^ >editor.cpp: In member function âvoid editor_gui::level_save_as(char*, int)â: >editor.cpp:1101:12: warning: âchar* __builtin_strncpy(char*, const char*, long unsigned int)â specified bound 4096 equals destination size [-Wstringop-truncation] > 1101 | strncpy(file, p_file, MAX_FILENAME); > | ^ >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] > 450 | #define INI_FILE_GLOBAL "/var/lib/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] > 451 | #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] > 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME > | ^ >x86_64-pc-linux-gnu-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/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -pipe -march=native -fno-diagnostics-color -O2 -std=c++14 -c -o level_active.o level_active.cpp >x86_64-pc-linux-gnu-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/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -pipe -march=native -fno-diagnostics-color -O2 -std=c++14 -c -o level_changer.o level_changer.cpp >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] > 450 | #define INI_FILE_GLOBAL "/var/lib/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] > 451 | #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] > 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME > | ^ >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] > 450 | #define INI_FILE_GLOBAL "/var/lib/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] > 451 | #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] > 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME > | ^ >level_active.cpp: In member function âbool level_store::level_load(DIR_LIST*, char*)â: >level_active.cpp:62:10: warning: âchar* __builtin_strncpy(char*, const char*, long unsigned int)â specified bound 50 equals destination size [-Wstringop-truncation] > 62 | strncpy(p_list[0].levelname, p_level, sizeof(p_list[0].levelname)); > | ^ >level_active.cpp: In member function âbool level_store::levelset_load(DIR_LIST*, char*)â: >level_active.cpp:133:12: warning: âchar* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)â output may be truncated copying 50 bytes from a string of length 4095 [-Wstringop-truncation] > 133 | strncat(p_list[i].levelname,p_start,sizeof(p_list[i].levelname)); > | ^ >level_active.cpp:139:12: warning: âchar* __builtin_strncpy(char*, const char*, long unsigned int)â output may be truncated copying 50 bytes from a string of length 4095 [-Wstringop-truncation] > 139 | strncpy(p_list[i].password,p_start,sizeof(p_list[i].password)); > | ^ >In file included from /usr/include/string.h:535, > from berusky.h:46: >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:138:34: warning: âchar* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)â specified bound 50 equals destination size [-Wstringop-overflow=] > 138 | return __builtin___strncat_chk (__dest, __src, __len, > | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ > 139 | __glibc_objsize (__dest)); > | ~~~~~~~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-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/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -pipe -march=native -fno-diagnostics-color -O2 -std=c++14 -c -o level_game.o level_game.cpp >x86_64-pc-linux-gnu-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/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -pipe -march=native -fno-diagnostics-color -O2 -std=c++14 -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] > 450 | #define INI_FILE_GLOBAL "/var/lib/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] > 451 | #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] > 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME > | ^ >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] > 450 | #define INI_FILE_GLOBAL "/var/lib/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] > 451 | #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] > 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME > | ^ >x86_64-pc-linux-gnu-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/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -pipe -march=native -fno-diagnostics-color -O2 -std=c++14 -c -o data_parser_tables.o data_parser_tables.cpp >In file included from berusky_gui.h:31, > from utils.cpp:50: >gui.h: In constructor âcheckbox_config::checkbox_config()â: >gui.h:159:11: 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] > 159 | memset(this,0,sizeof(*this)); > | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ >gui.h:106:16: note: âstruct checkbox_configâ declared here > 106 | typedef struct checkbox_config { > | ^~~~~~~~~~~~~~~ >In file included from utils.cpp:52: >editor.h: In constructor âeditor_panel::editor_panel(int, DIRECTION, tpos, tpos, int)â: >editor.h:335:11: 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] > 335 | memset(this,0,sizeof(*this)); > | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ >editor.h:102:15: note: âclass editor_panelâ declared here > 102 | 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] > 99 | chdir(cwd); > | ~~~~~^~~~~ >utils.cpp:100:8: warning: ignoring return value of âint chdir(const char*)â declared with attribute âwarn_unused_resultâ [-Wunused-result] > 100 | chdir(buffer); > | ~~~~~^~~~~~~~ >utils.cpp:101:9: warning: ignoring return value of âchar* getcwd(char*, size_t)â declared with attribute âwarn_unused_resultâ [-Wunused-result] > 101 | 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] > 118 | 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] > 125 | chdir(cwd); > | ~~~~~^~~~~ >In file included from stack.h:31, > from level_game.h:32, > from berusky.h:131: >level_game.cpp: In constructor âlevel_generic::level_generic(ITEM_REPOSITORY*)â: >level_game.cpp:107:29: error: expected primary-expression before â,â token > 107 | assert(offsetof(LEVEL_DISK, signum) == 0); > | ^ >level_game.cpp:107:31: error: âsignumâ was not declared in this scope; did you mean âsignedâ? > 107 | assert(offsetof(LEVEL_DISK, signum) == 0); > | ^~~~~~ >level_game.cpp:107:10: error: âoffsetofâ was not declared in this scope > 107 | assert(offsetof(LEVEL_DISK, signum) == 0); > | ^~~~~~~~ >level_game.cpp:35:1: note: âoffsetofâ is defined in header â<cstddef>â; did you forget to â#include <cstddef>â? > 34 | #include "berusky.h" > +++ |+#include <cstddef> > 35 | >level_game.cpp:108:29: error: expected primary-expression before â,â token > 108 | assert(offsetof(LEVEL_DISK, back) == 30); > | ^ >level_game.cpp:108:31: error: âbackâ was not declared in this scope > 108 | assert(offsetof(LEVEL_DISK, back) == 30); > | ^~~~ >level_game.cpp:109:29: error: expected primary-expression before â,â token > 109 | assert(offsetof(LEVEL_DISK, music) == 31); > | ^ >level_game.cpp:110:29: error: expected primary-expression before â,â token > 110 | assert(offsetof(LEVEL_DISK, rot) == 32); > | ^ >level_game.cpp:110:31: error: ârotâ was not declared in this scope > 110 | assert(offsetof(LEVEL_DISK, rot) == 32); > | ^~~ >level_game.cpp:111:29: error: expected primary-expression before â,â token > 111 | assert(offsetof(LEVEL_DISK, rezerved) == 37); > | ^ >level_game.cpp:111:31: error: ârezervedâ was not declared in this scope > 111 | assert(offsetof(LEVEL_DISK, rezerved) == 37); > | ^~~~~~~~ >level_game.cpp:112:29: error: expected primary-expression before â,â token > 112 | assert(offsetof(LEVEL_DISK, floor) == 137); > | ^ >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] > 450 | #define INI_FILE_GLOBAL "/var/lib/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] > 451 | #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] > 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME > | ^ >level_game.cpp:112:31: error: âfloorâ was not declared in this scope > 112 | assert(offsetof(LEVEL_DISK, floor) == 137); > | ^~~~~ >make[2]: *** [Makefile:524: level_game.o] Error 1 >make[2]: *** Waiting for unfinished jobs.... >make[2]: Leaving directory '/var/tmp/portage/games-arcade/berusky-1.7.1-r2/work/berusky-1.7.1/src' >make[1]: *** [Makefile:481: all-recursive] Error 1 >make[1]: Leaving directory '/var/tmp/portage/games-arcade/berusky-1.7.1-r2/work/berusky-1.7.1' >make: *** [Makefile:391: all] Error 2 > * ERROR: games-arcade/berusky-1.7.1-r2::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=games-arcade/berusky-1.7.1-r2::gentoo'`, > * the complete build log and the output of `emerge -pqv '=games-arcade/berusky-1.7.1-r2::gentoo'`. > * The complete build log is located at '/var/log/portage/games-arcade:berusky-1.7.1-r2:20230110-191740.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-arcade/berusky-1.7.1-r2/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/games-arcade/berusky-1.7.1-r2/temp/environment'. > * Working directory: '/var/tmp/portage/games-arcade/berusky-1.7.1-r2/work/berusky-1.7.1' > * S: '/var/tmp/portage/games-arcade/berusky-1.7.1-r2/work/berusky-1.7.1' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 890361
:
848127
|
848129
|
848131
|
848133
|
848135
| 848137 |
848139
|
848141