Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 656848 Details for
Bug 739074
games-arcade/berusky-1.7.1-r2 fails to compile: ./defines.h:450:47: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
build.log (text/plain), 61.04 KB, created by
Agostino Sarubbo
on 2020-08-26 11:17:04 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Agostino Sarubbo
Created:
2020-08-26 11:17:04 UTC
Size:
61.04 KB
patch
obsolete
> * Package: games-arcade/berusky-1.7.1-r1 > * Repository: gentoo > * Maintainer: games@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox > > >@@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ >This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; >This ebuild was merged at the following commit: >https://github.com/gentoo-mirror/gentoo/commit/0a995fdac02f14c9c7d5085ba2fef9e2e15444f3 (Wed Aug 26 07:35:29 UTC 2020) >@@@@@ END @@@@@ > > > >emerge --info: >Portage 3.0.4 (python 3.7.9-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.32, 5.4.0-1021-aws x86_64) >================================================================= >System uname: Linux-5.4.0-1021-aws-x86_64-Intel-R-_Xeon-R-_Platinum_8175M_CPU_@_2.50GHz-with-gentoo-2.7 >KiB Mem: 64359960 total, 19136460 free >KiB Swap: 0 total, 0 free >Timestamp of repository gentoo: Wed, 26 Aug 2020 07:35:28 +0000 >sh bash 5.0_p18 >ld GNU ld (Gentoo 2.34 p6) 2.34.0 >app-shells/bash: 5.0_p18::gentoo >dev-lang/perl: 5.30.3-r1::gentoo >dev-lang/python: 2.7.18-r1::gentoo, 3.7.9::gentoo, 3.8.5::gentoo, 3.9.0_rc1::gentoo >dev-util/cmake: 3.18.1::gentoo >sys-apps/baselayout: 2.7::gentoo >sys-apps/openrc: 0.42.1::gentoo >sys-apps/sandbox: 2.20::gentoo >sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo >sys-devel/automake: 1.16.2::gentoo >sys-devel/binutils: 2.34-r2::gentoo >sys-devel/gcc: 10.2.0-r1::gentoo >sys-devel/gcc-config: 2.3.1::gentoo >sys-devel/libtool: 2.4.6-r6::gentoo >sys-devel/make: 4.3::gentoo >sys-kernel/linux-headers: 5.8::gentoo (virtual/os-headers) >sys-libs/glibc: 2.32::gentoo >Repositories: > >gentoo > location: /usr/portage > sync-type: rsync > sync-uri: rsync://rsync.gentoo.org/gentoo-portage > priority: -1000 > sync-rsync-verify-metamanifest: yes > sync-rsync-extra-opts: > sync-rsync-verify-max-age: 24 > sync-rsync-verify-jobs: 1 > >ACCEPT_KEYWORDS="amd64 ~amd64" >ACCEPT_LICENSE="* GPL-2+" >CBUILD="x86_64-pc-linux-gnu" >CC="x86_64-pc-linux-gnu-clang" >CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" >CHOST="x86_64-pc-linux-gnu" >CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" >CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" >CXX="x86_64-pc-linux-gnu-clang++" >CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" >DISTDIR="/var/tmp/portage/games-arcade/berusky-1.7.1-r1/distdir" >EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -b -k" >ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" >FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" >FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" >FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" >GENTOO_MIRRORS="http://distfiles.gentoo.org" >LANG="C.UTF-8" >LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld" >MAKEOPTS="-j16 V=1" >PKGDIR="/root/.packages" >PORTAGE_CONFIGROOT="/" >PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" >PORTAGE_TMPDIR="/var/tmp" >USE="acl amd64 berkdb bzip2 cli crypt dri elogind fortran gdbm iconv ipv6 jumbo-build libglvnd libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd test unicode xattr zlib" ABI_X86="64" ELIBC="glibc" KERNEL="linux" USERLAND="GNU" >Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS > > > >>>> Unpacking source... >>>> Unpacking berusky-1.7.1.tar.gz to /var/tmp/portage/games-arcade/berusky-1.7.1-r1/work >>>> Unpacking berusky-data-1.7.tar.gz to /var/tmp/portage/games-arcade/berusky-1.7.1-r1/work >>>> Unpacking berusky.png to /var/tmp/portage/games-arcade/berusky-1.7.1-r1/work >unpack berusky.png: file format not recognized. Ignoring. >>>> Source unpacked in /var/tmp/portage/games-arcade/berusky-1.7.1-r1/work >>>> Preparing source in /var/tmp/portage/games-arcade/berusky-1.7.1-r1/work/berusky-1.7.1 ... > * Disabling deprecation warnings ... > [ ok ] > * Running elibtoolize in: berusky-1.7.1/ > * Applying portage/1.2.0 patch ... > * Applying sed/1.5.6 patch ... > * Applying as-needed/2.4.2 patch ... > * Applying target-nm/2.4.2 patch ... > * Applying ppc64le/2.4.4 patch ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/games-arcade/berusky-1.7.1-r1/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-r1 --htmldir=/usr/share/doc/berusky-1.7.1-r1/html --libdir=/usr/lib64 >checking for a BSD-compatible install... /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for a thread-safe mkdir -p... /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 x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-clang >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-clang accepts -g... yes >checking for x86_64-pc-linux-gnu-clang option to accept ISO C89... none needed >checking dependency style of x86_64-pc-linux-gnu-clang... none >checking for library containing strerror... none required >checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-clang >checking whether we are using the GNU C compiler... (cached) yes >checking whether x86_64-pc-linux-gnu-clang accepts -g... (cached) yes >checking for x86_64-pc-linux-gnu-clang option to accept ISO C89... (cached) none needed >checking dependency style of x86_64-pc-linux-gnu-clang... (cached) none >checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-clang >checking whether we are using the GNU C compiler... (cached) yes >checking whether x86_64-pc-linux-gnu-clang accepts -g... (cached) yes >checking for x86_64-pc-linux-gnu-clang option to accept ISO C89... (cached) none needed >checking dependency style of x86_64-pc-linux-gnu-clang... (cached) none >checking how to run the C preprocessor... x86_64-pc-linux-gnu-clang -E >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for ANSI C header files... yes >checking how to run the C preprocessor... x86_64-pc-linux-gnu-clang -E >checking whether we are using the GNU C++ compiler... yes >checking whether x86_64-pc-linux-gnu-clang++ accepts -g... yes >checking dependency style of x86_64-pc-linux-gnu-clang++... 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/gmsgfmt >checking for xgettext... /usr/bin/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... /bin/sed >checking for fgrep... /bin/grep -F >checking for ld used by x86_64-pc-linux-gnu-clang... ld.lld >checking if the linker (ld.lld) is GNU ld... yes >checking for BSD- or MS-compatible name lister (nm)... llvm-nm >checking the name lister (llvm-nm) 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 ld.lld option to reload object files... -r >checking for x86_64-pc-linux-gnu-objdump... llvm-objdump >checking how to recognize dependent libraries... pass_all >checking for x86_64-pc-linux-gnu-dlltool... no >checking for dlltool... no >checking how to associate runtime and link libraries... printf %s\n >checking for x86_64-pc-linux-gnu-ar... llvm-ar >checking for archiver @FILE support... @ >checking for x86_64-pc-linux-gnu-strip... llvm-strip >checking for x86_64-pc-linux-gnu-ranlib... llvm-ranlib >checking command to parse llvm-nm output from x86_64-pc-linux-gnu-clang object... ok >checking for sysroot... no >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-clang supports -fno-rtti -fno-exceptions... yes >checking for x86_64-pc-linux-gnu-clang option to produce PIC... -fPIC -DPIC >checking if x86_64-pc-linux-gnu-clang PIC flag -fPIC -DPIC works... yes >checking if x86_64-pc-linux-gnu-clang static flag -static works... yes >checking if x86_64-pc-linux-gnu-clang supports -c -o file.o... yes >checking if x86_64-pc-linux-gnu-clang supports -c -o file.o... (cached) yes >checking whether the x86_64-pc-linux-gnu-clang linker (ld.lld -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-clang++ -E >checking for ld used by x86_64-pc-linux-gnu-clang++... ld.lld -m elf_x86_64 >checking if the linker (ld.lld -m elf_x86_64) is GNU ld... yes >checking whether the x86_64-pc-linux-gnu-clang++ linker (ld.lld -m elf_x86_64) supports shared libraries... yes >checking for x86_64-pc-linux-gnu-clang++ option to produce PIC... -fPIC -DPIC >checking if x86_64-pc-linux-gnu-clang++ PIC flag -fPIC -DPIC works... yes >checking if x86_64-pc-linux-gnu-clang++ static flag -static works... yes >checking if x86_64-pc-linux-gnu-clang++ supports -c -o file.o... yes >checking if x86_64-pc-linux-gnu-clang++ supports -c -o file.o... (cached) yes >checking whether the x86_64-pc-linux-gnu-clang++ linker (ld.lld -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/bin/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-r1/work/berusky-1.7.1 ... >make -j16 V=1 >make all-recursive >make[1]: Entering directory '/var/tmp/portage/games-arcade/berusky-1.7.1-r1/work/berusky-1.7.1' >Making all in po >make[2]: Entering directory '/var/tmp/portage/games-arcade/berusky-1.7.1-r1/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-r1/work/berusky-1.7.1/po' >Making all in src >make[2]: Entering directory '/var/tmp/portage/games-arcade/berusky-1.7.1-r1/work/berusky-1.7.1/src' >x86_64-pc-linux-gnu-clang++ -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/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -c -o 2d_graph.o 2d_graph.cpp >x86_64-pc-linux-gnu-clang++ -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/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -c -o animation.o animation.cpp >x86_64-pc-linux-gnu-clang++ -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/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -c -o berusky.o berusky.cpp >x86_64-pc-linux-gnu-clang++ -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/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -c -o data_parser.o data_parser.cpp >x86_64-pc-linux-gnu-clang++ -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/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -c -o editor.o editor.cpp >x86_64-pc-linux-gnu-clang++ -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/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -c -o events.o events.cpp >x86_64-pc-linux-gnu-clang++ -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/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -c -o game_logic.o game_logic.cpp >x86_64-pc-linux-gnu-clang++ -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/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -c -o graphics.o graphics.cpp >x86_64-pc-linux-gnu-clang++ -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/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -c -o ini.o ini.cpp >x86_64-pc-linux-gnu-clang++ -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/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -c -o input.o input.cpp >x86_64-pc-linux-gnu-clang++ -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/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -c -o level.o level.cpp >x86_64-pc-linux-gnu-clang++ -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/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -c -o level_active.o level_active.cpp >x86_64-pc-linux-gnu-clang++ -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/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -c -o level_changer.o level_changer.cpp >x86_64-pc-linux-gnu-clang++ -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/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -c -o level_game.o level_game.cpp >x86_64-pc-linux-gnu-clang++ -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/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -c -o utils.o utils.cpp >x86_64-pc-linux-gnu-clang++ -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/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -c -o data_parser_tables.o data_parser_tables.cpp >In file included from In file included from animation.cpp:28events.cpp:28: >./berusky.h: >./berusky.h:35:35::17:17: warning warning: In file included from using: directive game_logic.cppusing: refersdirective 28 : >refersto ./berusky.himplicitly-defined:to35 >implicitly-defined :namespace17 >: namespace'std' In file included from 'std'warning > >: graphics.cpp:using directive34: >./berusky.h refers:using namespace std;using namespace std;35 > : ^ >17 ^to: > >implicitly-defined >warning: namespaceusing 'std'directive >refers to implicitly-defined >using namespace std; namespace > ^ 'std' > >using namespace std; > ^ >In file included from In file included from input.cpplevel.cpp::3028: >: >./berusky.h:./berusky.h:35:35:17:17 warning: : warning: using using directivedirective refersrefers to to implicitly-defined > implicitly-defined >namespace namespace'std' 'std' > >using namespace std;using namespace std; > ^ > ^ > >In file included from level_active.cpp:28: >./berusky.h:35:17: warning: using directive refers to implicitly-defined > namespace 'std' >using namespace std; > ^ >In file included from level_changer.cpp:28: >./berusky.h:35:17: warning: using directive refers to implicitly-defined > namespace 'std' >using namespace std; > ^ >In file included from data_parser_tables.cpp:28: >./berusky.h:35:17: warning: using directive refers to implicitly-defined > namespace 'std' >using namespace std; > ^ >In file included from level_game.cpp:34: >./berusky.h:35:17: warning: using directive refers to implicitly-defined > namespace 'std' >using namespace std; > ^ >In file included from events.cpp:28: >In file included from ./berusky.h:109: >./defines.h:450:49: error: invalid suffix on literal; C++11 requires a space > between literal and identifier [-Wreserved-user-defined-literal] >#define INI_FILE_GLOBAL "/var/games/berusky/"INI_FILE_NAME > ^ > >In file included from ./defines.h:451:41animation.cpp::In file included from 28 game_logic.cpp: >errorIn file included from : ./berusky.hinvalid::109 28suffix: >: > ./defines.honIn file included from ./berusky.h::literal;109 : >450C++11: 49./defines.hrequires: :a 450error : space: >49invalid: betweenerror suffixliteral : onandinvalid suffixliteral;identifier on[-Wreserved-user-defined-literal] >C++11 literal;requires C++11a #define INI_FILE_USER "~/.berusky/"INI_FILE_NAMErequiresspace > >a ^betweenIn file included from >space >graphics.cpp literal > :betweenand34 : >literalidentifier In file included from In file included from and[-Wreserved-user-defined-literal]./defines.hlevel.cpp./berusky.h >:::28109identifier452: > : >:#define INI_FILE_GLOBAL "/var/games/berusky/"INI_FILE_NAME[-Wreserved-user-defined-literal]In file included from ./defines.h > >32: ^./berusky.h:450: >:109 49 error: > >: :./defines.h#define INI_FILE_GLOBAL "/var/games/berusky/"INI_FILE_NAME: invalid >450error : ^suffix >49: :invalid >on errorliteral;suffix : onC++11 invalidliteral; requiresC++11./defines.h suffix:a 451requires : on41space : >a literal;errorbetween : C++11spaceIn file included from In file included from invalid >./defines.hlevel_active.cpp requires a :space >451 :input.cppbetween41:: :literal2830literal : >: > In file included from In file included from ./berusky.h ./berusky.hsuffixand identifier :andIn file included from :[-Wreserved-user-defined-literal] 109level_game.cppbetweenidentifier109 >: >: > [-Wreserved-user-defined-literal]:./defines.h./defines.hliteral >34:: #define INI_FILE_GLOBAL "/var/games/berusky/"INI_FILE_NAME: >450450and >In file included from :: #define INI_FILE_LOCAL "./"INI_FILE_NAME ^./berusky.h4949identifier > >::: ^ 109 [-Wreserved-user-defined-literal] > >: >errorerror > ./defines.h: : >:invalidinvalid450 :suffixsuffix49 #define INI_FILE_GLOBAL "/var/games/berusky/"INI_FILE_NAME >:onon ^ literal; >errorliteral; : > C++11invalidC++11 requiressuffixrequires aona spaceliteral;space./defines.h > >: C++11 451between betweenrequires: 41 literalliteral:a andanderrorspace : >identifieridentifierinvalid between[-Wreserved-user-defined-literal][-Wreserved-user-defined-literal]suffix./defines.h > > :literalon451 :andliteral;41 #define INI_FILE_GLOBAL "/var/games/berusky/"INI_FILE_NAME#define INI_FILE_GLOBAL "/var/games/berusky/"INI_FILE_NAME:identifierC++11 > > ^ ^error[-Wreserved-user-defined-literal]requires > >: > invalida > > suffixspace >on betweenliteral;#define INI_FILE_GLOBAL "/var/games/berusky/"INI_FILE_NAME >literalC++11 ^ >andrequires >identifiera [-Wreserved-user-defined-literal]space > > between literal and identifier#define INI_FILE_USER "~/.berusky/"INI_FILE_NAME >[-Wreserved-user-defined-literal] ^ > > ./defines.h >:451:41#define INI_FILE_USER "~/.berusky/"INI_FILE_NAME: > In file included from ^error./defines.hIn file included from level_changer.cpp >: :berusky.cpp: ./defines.hinvalid452:28 >: :33: >451suffix32: >./defines.hIn file included from : :In file included from :./defines.h./berusky.h41on ./berusky.h451::: error::452109 literal;: 10941:: >error invalid: >:32./defines.h: C++11 ./defines.h ::invalid suffix:error 450 requires 450: error:suffix on:invalid: 49 a 49 invalid:on literal;:suffix space suffixerrorliteral; >C++11erroron : : oninvalidC++11betweenrequiresinvalidliteral; literal;suffixrequiresliteralasuffixC++11 C++11onaandspaceonrequires > requiresliteral;spaceidentifier literal;a > between aC++11 [-Wreserved-user-defined-literal] C++11space between >literal >spacerequires requires > literal#define INI_FILE_USER "~/.berusky/"INI_FILE_NAMEand between a > a between and ^identifier literal space > space literal >identifier [-Wreserved-user-defined-literal] >and > > andbetween[-Wreserved-user-defined-literal]betweenidentifier #define INI_FILE_LOCAL "./"INI_FILE_NAME > ./defines.hidentifierliteral >literal[-Wreserved-user-defined-literal]: ^ >452[-Wreserved-user-defined-literal]#define INI_FILE_USER "~/.berusky/"INI_FILE_NAMEand >and: > > 32 ^#define INI_FILE_USER "~/.berusky/"INI_FILE_NAMEidentifier >identifier:#define INI_FILE_LOCAL "./"INI_FILE_NAME > > > ^ ^[-Wreserved-user-defined-literal][-Wreserved-user-defined-literal]error > > > > >: invalid > > suffix on literal; #define INI_FILE_GLOBAL "/var/games/berusky/"INI_FILE_NAMEC++11 > ^#define INI_FILE_GLOBAL "/var/games/berusky/"INI_FILE_NAME./defines.hrequires > >: ^./defines.h452a > >:: 45232space >:: >32 : betweenerrorerror : : literalinvalidinvalid suffixsuffixand ononidentifier literal;literal;[-Wreserved-user-defined-literal] > C++11C++11 ./defines.h requires:requires#define INI_FILE_LOCAL "./"INI_FILE_NAME./defines.h 451 >:a:a ^451 41 >:space:space 41 > > >: error between: betweenerror invalid : literal literalinvalid suffix and andsuffix on identifier identifieron literal; [-Wreserved-user-defined-literal] [-Wreserved-user-defined-literal]literal; >C++11 > C++11requires requiresa#define INI_FILE_LOCAL "./"INI_FILE_NAME #define INI_FILE_LOCAL "./"INI_FILE_NAME >aspace > ^ > ^ >space > >between > >betweenliteral literaland andidentifier identifier[-Wreserved-user-defined-literal] >[-Wreserved-user-defined-literal] >#define INI_FILE_USER "~/.berusky/"INI_FILE_NAME > ^#define INI_FILE_USER "~/.berusky/"INI_FILE_NAME > > ^ > > >./defines.h:452./defines.h::32452:: 32error:: invaliderror : suffixinvalid onsuffix literal;on C++11literal; requiresC++11 arequires spacea > spacebetween > literalbetween andliteral identifierand [-Wreserved-user-defined-literal]identifier > [-Wreserved-user-defined-literal] >#define INI_FILE_LOCAL "./"INI_FILE_NAME > ^ >#define INI_FILE_LOCAL "./"INI_FILE_NAME > > ^ > >error: invalid suffix on literal; In file included from data_parser_tables.cpp: 28: >In file included from on./berusky.h:109: >./defines.h:450:49: error: invalid suffix on literal; C++11 requires a space > between literal and identifier [-Wreserved-user-defined-literal] >#define INI_FILE_GLOBAL "/var/games/berusky/"INI_FILE_NAME > ^ > >./defines.h:451:41 : error: invalid suffix on literal; C++11 requires a space > between literal and identifier [-Wreserved-user-defined-literal] >#define INI_FILE_USER "~/.berusky/"INI_FILE_NAME > ^ > >./defines.h:452:32: error: invalid suffix on literal; C++11 requires a space > between literal and identifier [-Wreserved-user-defined-literal] >#define INI_FILE_LOCAL "./"INI_FILE_NAME > ^ > >C++11 requires aliteral; C++11 requires space > between a space > literal and between literal andidentifier [-Wreserved-user-defined-literal] > identifier [-Wreserved-user-defined-literal] >#define INI_FILE_USER "~/.berusky/"INI_FILE_NAME > ^ >#define INI_FILE_USER "~/.berusky/"INI_FILE_NAME > ^ > > >./defines.h:452:32./defines.h:452:32: error: invalid: error suffix on literal;: invalid suffix C++11 requires on literal; C++11 requires a space > a space >between literal and between literal identifier [-Wreserved-user-defined-literal] >and identifier [-Wreserved-user-defined-literal] >#define INI_FILE_LOCAL "./"INI_FILE_NAME > ^ > #define INI_FILE_LOCAL "./"INI_FILE_NAME > ^ > In file included from editor.cpp:45: >In file included from ./berusky.h:109: >./defines.h:450:49: error: invalid suffix on literal; C++11 requires a space > between literal and identifier [-Wreserved-user-defined-literal] >#define INI_FILE_GLOBAL "/var/games/berusky/"INI_FILE_NAME > ^ > >./defines.h:451:41: error: invalid suffix on literal; C++11 requires a space > between literal and identifier [-Wreserved-user-defined-literal] >#define INI_FILE_USER "~/.berusky/"INI_FILE_NAME > ^ > >./defines.h:452:32: error: invalid suffix on literal; C++11 requires a space > between literal and identifier [-Wreserved-user-defined-literal] >#define INI_FILE_LOCAL "./"INI_FILE_NAME > ^ > > > >In file included from utils.cpp:49: >In file included from ./berusky.h:109: >./defines.h:450:49: error: invalid suffix on literal; C++11 requires a space > between literal and identifier [-Wreserved-user-defined-literal] >#define INI_FILE_GLOBAL "/var/games/berusky/"INI_FILE_NAME > ^ > >./defines.h:451:41: error: invalid suffix on literal; C++11 requires a space > between literal and identifier [-Wreserved-user-defined-literal] >#define INI_FILE_USER "~/.berusky/"INI_FILE_NAME > ^ > >./defines.h:452:32: error: invalid suffix on literal; C++11 requires a space > between literal and identifier [-Wreserved-user-defined-literal] >#define INI_FILE_LOCAL "./"INI_FILE_NAME > ^ > >In file included from input.cpp:30: >In file included from ./berusky.h:131: >./level_game.h:95:10: warning: assigning field to itself [-Wself-assign-field] > item = item; > ^ >In file included from berusky.cpp:33: >In file included from ./berusky.h:131: >./level_game.h:95:10: warning: assigning field to itself [-Wself-assign-field] > item = item; > ^ >In file included from events.cpp:28: >In file included from ./berusky.h:131: >./level_game.h:95:10: warning: assigning field to itself [-Wself-assign-field] > item = item; > ^ >In file included from level_changer.cpp:28: >In file included from ./berusky.h:131: >./level_game.h:95:10: warning: assigning field to itself [-Wself-assign-field] > item = item; > ^ >In file included from In file included from level.cppgraphics.cpp::2834: >: >In file included from In file included from ./berusky.h./berusky.h::131131: >: >./level_game.h./level_game.h::9595::1010:: warningwarning: : assigningassigning fieldfield toto itselfitself [-Wself-assign-field][-Wself-assign-field] > > item = item; item = item; > > ^ ^ > >In file included from level_game.cpp:34: >In file included from ./berusky.h:131: >./level_game.h:95:10: warning: assigning field to itself [-Wself-assign-field] > item = item; > ^In file included from >level_active.cpp:28: >In file included from ./berusky.h:131: >./level_game.h:95:10: warning: assigning field to itself [-Wself-assign-field] > item = item; > ^ >In file included from data_parser_tables.cpp:28: >In file included from ./berusky.h:131: >./level_game.h:95:10: warning: assigning field to itself [-Wself-assign-field] > item = item; > ^ >In file included from utils.cpp:49: >In file included from ./berusky.h:131: >./level_game.h:95:10: warning: assigning fieldIn file included from toeditor.cpp :itself45 : >[-Wself-assign-field]In file included from >./berusky.h:131: > item = item;./level_game.h >: ^95 >:10: warning: assigning field to itself [-Wself-assign-field] > item = item; > ^ >In file included from game_logic.cpp:28: >In file included from ./berusky.h:131: >./level_game.h:95:10: warning: assigning field to itself [-Wself-assign-field] > item = item; > ^ >In file included from 2d_graph.cpp:36: >In file included from ./berusky.h:109: >./defines.h:450:49: error: invalid suffix on literal; C++11 requires a space > between literal and identifier [-Wreserved-user-defined-literal] >#define INI_FILE_GLOBAL "/var/games/berusky/"INI_FILE_NAME > ^ > >./defines.h:451:41: error: invalid suffix on literal; C++11 requires a space > between literal and identifier [-Wreserved-user-defined-literal] >#define INI_FILE_USER "~/.berusky/"INI_FILE_NAME > ^ > >./defines.h:452:32: error: invalid suffix on literal; C++11 requires a space > between literal and identifier [-Wreserved-user-defined-literal] >#define INI_FILE_LOCAL "./"INI_FILE_NAME > ^ > >In file included from animation.cpp:28: >In file included from 2 warnings and 3 errors generated. >./berusky.h:131: >./level_game.hIn file included from input.cpp:32: >./editor.h:335:12: warning: destination for this 'memset' call is a pointer to > dynamic class 'editor_panel'; vtable pointer will be overwritten > [-Wdynamic-class-memaccess] > memset(this,0,sizeof(*this)); > ~~~~~~ ^ >2 warnings and 3 errors generated. >./editor.h:335:12: note: explicitly cast the pointer to silence this warning > memset(this,0,sizeof(*this)); > ^ > (void*) >:95:10: warning: assigning field2 warnings and 3 errors generated. >2 warningtos and 3 errors generated. >itself [-Wself-assign-field] >graphics.cpp:305:17: error: non-constant-expression cannot be narrowed from type > 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] > RECT tmp = {min_x*cell_x+start_x,min_y*cell_y+start_y,dx*cell_x,dy*cell_y}; > ^~~~~~~~~~~~~~~~~~~~ >graphics.cpp:305:17: note: insert an explicit cast to silence this issue > RECT tmp = {min_x*cell_x+start_x,min_y*cell_y+start_y,dx*cell_x,dy*cell_y}; > ^~~~~~~~~~~~~~~~~~~~ > static_cast<Sint16>() > item = item;graphics.cpp >: ^305 >make[2]: *** [Makefile:524: level_changer.o] Error 1 >:38: error: non-constant-expression make[2]: *** Waiting for unfinished jobs.... >cannot be narrowed from type > 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] > RECT tmp = {min_x*cell_x+start_x,min_y*cell_y+start_y,dx*cell_x,dy*cell_y}; > ^~~~~~~~~~~~~~~~~~~~ >graphics.cpp:305:38: note: insert an explicit cast to silence this issue > RECT tmp = {min_x*cell_x+start_x,min_y*cell_y+start_y,dx*cell_x,dy*cell_y}; > ^~~~~~~~~~~~~~~~~~~~ > static_cast<Sint16>() >graphics.cpp:305:59: error: non-constant-expression cannot be narrowed from type > 'int' to 'Uint16' (aka 'unsigned short') in initializer list > [-Wc++11-narrowing] > RECT tmp = {min_x*cell_x+start_x,min_y*cell_y+start_y,dx*cell_x,dy*cell_y}; > ^~~~~~~~~ >graphics.cpp:305:59: note: insert an explicit cast to silence this issue > RECT tmp = {min_x*cell_x+start_x,min_y*cell_y+start_y,dx*cell_x,dy*cell_y};make[2]: *** [Makefile:524: events.o] Error 1 > > ^~~~~~~~~ > static_cast<Uint16>( ) >graphics.cpp:305:69: error: non-constant-expression cannot be narrowed from type > 'int' to 'Uint16' (aka 'unsigned short') in initializer list > [-Wc++11-narrowing] > RECT tmp = {min_x*cell_x+start_x,min_y*cell_y+start_y,dx*cell_x,dy*cell_y}; > ^~~~~~~~~ >graphics.cpp2: warning305s: and 693: error snote generated: . >insert an explicit cast to silence this issue > ...dy*cell_y}; > ^~~~~~~~~ > static_cast<Uint16>( ) >make[2]: *** [Makefile:524: level.o] Error 1 >make[2]: *** [Makefile:524: data_parser_tables.o] Error 1 >2 warnings and 7 errors generated. >1 warning and 3 errors generated. >make[2]: *** [Makefile:524: level_active.o] Error 1 >make[2]: *** [Makefile:524: graphics.o] Error 1 >2 warnings and 3 errors generated. >make[2]: *** [Makefile:524: berusky.o] Error 1 >make[2]: *** [Makefile:524: level_game.o] Error 1 >In file included from utils.cpp:52: >./editor.h:335:12: warning: destination for this 'memset' call is a pointer to > dynamic class 'editor_panel'; vtable pointer will be overwritten > [-Wdynamic-class-memaccess] > memset(this,0,sizeof(*this)); > ~~~~~~ ^ >./editor.h:335:12: note: explicitly cast the pointer to silence this warning > memset(this,0,sizeof(*this)); > ^ > (void*) >In file included from editor.cpp:48: >./editor.h:335:12: warning: destination for this 'memset' call is a pointer to > dynamic class 'editor_panel'; vtable pointer will be overwritten > [-Wdynamic-class-memaccess] > memset(this,0,sizeof(*this)); > ~~~~~~ ^ >./editor.h:335:12: note: explicitly cast the pointer to silence this warning > memset(this,0,sizeof(*this)); > ^ > (void*) >3 warnings and 3 errors generated. >2 warnings and 3 errors generated. >make[2]: *** [Makefile:524: animation.o] Error 1 >make[2]: *** [Makefile:524: input.o] Error 1 >2 warnings and 3 errors generated. >2 warnings and 3 errors generated. >make[2]: *** [Makefile:524: game_logic.o] Error 1 >make[2]: *** [Makefile:524: utils.o] Error 1 >editor.cpp:585:15: error: non-constant-expression cannot be narrowed from type > 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] > EDIT_ITEM_PICT_START_Y, > ^~~~~~~~~~~~~~~~~~~~~~ >./defines.h:99:35: note: expanded from macro 'EDIT_ITEM_PICT_START_Y' >#define EDIT_ITEM_PICT_START_Y (EDIT_ITEM_START_Y+EDIT_ITEM_DY+10) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >editor.cpp:585:15: note: insert an explicit cast to silence this issue > EDIT_ITEM_PICT_START_Y, > ^~~~~~~~~~~~~~~~~~~~~~ > static_cast<Sint16>( ) >./defines.h:99:35: note: expanded from macro 'EDIT_ITEM_PICT_START_Y' >#define EDIT_ITEM_PICT_START_Y (EDIT_ITEM_START_Y+EDIT_ITEM_DY+10) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >editor.cpp:586:15: error: non-constant-expression cannot be narrowed from type > 'int' to 'Uint16' (aka 'unsigned short') in initializer list > [-Wc++11-narrowing] > EDITOR_ITEM_SIZE_X, > ^~~~~~~~~~~~~~~~~~ >./defines.h:77:35: note: expanded from macro 'EDITOR_ITEM_SIZE_X' >#define EDITOR_ITEM_SIZE_X (berusky_config::cell_size_x*3) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >editor.cpp:586:15: note: insert an explicit cast to silence this issue > EDITOR_ITEM_SIZE_X, > ^~~~~~~~~~~~~~~~~~ > static_cast<Uint16>( ) >./defines.h:77:35: note: expanded from macro 'EDITOR_ITEM_SIZE_X' >#define EDITOR_ITEM_SIZE_X (berusky_config::cell_size_x*3) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >editor.cpp:587:15: error: non-constant-expression cannot be narrowed from type > 'int' to 'Uint16' (aka 'unsigned short') in initializer list > [-Wc++11-narrowing] > EDITOR_ITEM_SIZE_Y}; > ^~~~~~~~~~~~~~~~~~ >./defines.h:78:35: note: expanded from macro 'EDITOR_ITEM_SIZE_Y' >#define EDITOR_ITEM_SIZE_Y (berusky_config::cell_size_y*3) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >editor.cpp:587:15: note: insert an explicit cast to silence this issue > EDITOR_ITEM_SIZE_Y}; > ^~~~~~~~~~~~~~~~~~ > static_cast<Uint16>( ) >./defines.h:78:35: note: expanded from macro 'EDITOR_ITEM_SIZE_Y' >#define EDITOR_ITEM_SIZE_Y (berusky_config::cell_size_y*3) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >editor.cpp:599:15: error: non-constant-expression cannot be narrowed from type > 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] > RECT r = {EDIT_ITEM_PICT_START_X+EDITOR_ITEM_SIZE_X+10, > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./defines.h:98:35: note: expanded from macro 'EDIT_ITEM_PICT_START_X' >#define EDIT_ITEM_PICT_START_X (EDIT_ITEM_START_X) > ^ >editor.cpp:599:15: note: insert an explicit cast to silence this issue > RECT r = {EDIT_ITEM_PICT_START_X+EDITOR_ITEM_SIZE_X+10, > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > static_cast<Sint16>( ) >./defines.h:98:35: note: expanded from macro 'EDIT_ITEM_PICT_START_X' >#define EDIT_ITEM_PICT_START_X (EDIT_ITEM_START_X) > ^ >editor.cpp:600:15: error: non-constant-expression cannot be narrowed from type > 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] > EDIT_ITEM_PICT_START_Y, > ^~~~~~~~~~~~~~~~~~~~~~ >./defines.h:99:35: note: expanded from macro 'EDIT_ITEM_PICT_START_Y' >#define EDIT_ITEM_PICT_START_Y (EDIT_ITEM_START_Y+EDIT_ITEM_DY+10) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >editor.cpp:600:15: note: insert an explicit cast to silence this issue > EDIT_ITEM_PICT_START_Y, > ^~~~~~~~~~~~~~~~~~~~~~ > static_cast<Sint16>( ) >./defines.h:99:35: note: expanded from macro 'EDIT_ITEM_PICT_START_Y' >#define EDIT_ITEM_PICT_START_Y (EDIT_ITEM_START_Y+EDIT_ITEM_DY+10) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >editor.cpp:817:13: error: non-constant-expression cannot be narrowed from type > 'int' to 'Uint16' (aka 'unsigned short') in initializer list > [-Wc++11-narrowing] > EDITOR_LAYER_STATUS_DX, > ^~~~~~~~~~~~~~~~~~~~~~ >./defines.h:82:35: note: expanded from macro 'EDITOR_LAYER_STATUS_DX' >#define EDITOR_LAYER_STATUS_DX (EDITOR_RESOLUTION_X-EDITOR_LAYER_STATUS_X) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >editor.cpp:817:13: note: insert an explicit cast to silence this issue > EDITOR_LAYER_STATUS_DX, > ^~~~~~~~~~~~~~~~~~~~~~ > static_cast<Uint16>( ) >./defines.h:82:35: note: expanded from macro 'EDITOR_LAYER_STATUS_DX' >#define EDITOR_LAYER_STATUS_DX (EDITOR_RESOLUTION_X-EDITOR_LAYER_STATUS_X) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >editor.cpp:958:13: error: non-constant-expression cannot be narrowed from type > 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] > RECT r = {EDITOR_SCREEN_START_X,EDITOR_SCREEN_START_Y,LEVEL_RESOLUTION... > ^~~~~~~~~~~~~~~~~~~~~ >./defines.h:85:35: note: expanded from macro 'EDITOR_SCREEN_START_X' >#define EDITOR_SCREEN_START_X (berusky_config::editor_screen_start_x) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >editor.cpp:958:13: note: insert an explicit cast to silence this issue > RECT r = {EDITOR_SCREEN_START_X,EDITOR_SCREEN_START_Y,LEVEL_RESOLUTION... > ^~~~~~~~~~~~~~~~~~~~~ > static_cast<Sint16>( ) >./defines.h:85:35: note: expanded from macro 'EDITOR_SCREEN_START_X' >#define EDITOR_SCREEN_START_X (berusky_config::editor_screen_start_x) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >editor.cpp:958:35: error: non-constant-expression cannot be narrowed from type > 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] > RECT r = {EDITOR_SCREEN_START_X,EDITOR_SCREEN_START_Y,LEVEL_RESOLUTION... > ^~~~~~~~~~~~~~~~~~~~~ >./defines.h:86:35: note: expanded from macro 'EDITOR_SCREEN_START_Y' >#define EDITOR_SCREEN_START_Y (berusky_config::editor_screen_start_y) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >editor.cpp:958:35: note: insert an explicit cast to silence this issue > RECT r = {EDITOR_SCREEN_START_X,EDITOR_SCREEN_START_Y,LEVEL_RESOLUTION... > ^~~~~~~~~~~~~~~~~~~~~ > static_cast<Sint16>( ) >./defines.h:86:35: note: expanded from macro 'EDITOR_SCREEN_START_Y' >#define EDITOR_SCREEN_START_Y (berusky_config::editor_screen_start_y) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >editor.cpp:958:57: error: non-constant-expression cannot be narrowed from type > 'int' to 'Uint16' (aka 'unsigned short') in initializer list > [-Wc++11-narrowing] > RECT r = {EDITOR_SCREEN_START_X,EDITOR_SCREEN_START_Y,LEVEL_RESOLUTION_X,LEVE... > ^~~~~~~~~~~~~~~~~~ >./defines.h:49:35: note: expanded from macro 'LEVEL_RESOLUTION_X' >#define LEVEL_RESOLUTION_X (berusky_config::level_resolution_x) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >editor.cpp:958:57: note: insert an explicit cast to silence this issue > ...= {EDITOR_SCREEN_START_X,EDITOR_SCREEN_START_Y,LEVEL_RESOLUTION_X,LEVEL_... > ^~~~~~~~~~~~~~~~~~ > static_cast<Uint16>( ) >./defines.h:49:35: note: expanded from macro 'LEVEL_RESOLUTION_X' >#define LEVEL_RESOLUTION_X (berusky_config::level_resolution_x) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >editor.cpp:958:76: error: non-constant-expression cannot be narrowed from type > 'int' to 'Uint16' (aka 'unsigned short') in initializer list > [-Wc++11-narrowing] > ...LEVEL_RESOLUTION_Y}; > ^~~~~~~~~~~~~~~~~~ >./defines.h:50:35: note: expanded from macro 'LEVEL_RESOLUTION_Y' >#define LEVEL_RESOLUTION_Y (berusky_config::level_resolution_y) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >editor.cpp:958:76: note: insert an explicit cast to silence this issue > ...LEVEL_RESOLUTION_Y}; > ^~~~~~~~~~~~~~~~~~ > static_cast<Uint16>( ) >./defines.h:50:35: note: expanded from macro 'LEVEL_RESOLUTION_Y' >#define LEVEL_RESOLUTION_Y (berusky_config::level_resolution_y) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from 2d_graph.cpp:36: >In file included from ./berusky.h:131: >./level_game.h:95:10: warning: assigning field to itself [-Wself-assign-field] > item = item; > ^ >2 warnings and 13 errors generated. >2d_graph.cpp:289:15: error: non-constant-expression cannot be narrowed from type > 'tpos' (aka 'int') to 'Sint16' (aka 'short') in initializer list > [-Wc++11-narrowing] > RECT src = {sx,sy,width,height}; > ^~ >2d_graph.cpp:289:15: note: insert an explicit cast to silence this issue > RECT src = {sx,sy,width,height}; > ^~ > static_cast<Sint16>( ) >2d_graph.cpp:289:18: error: non-constant-expression cannot be narrowed from type > 'tpos' (aka 'int') to 'Sint16'make[2]: *** [Makefile:524: editor.o] Error 1 > (aka 'short') in initializer list > [-Wc++11-narrowing] > RECT src = {sx,sy,width,height}; > ^~ >2d_graph.cpp:289:18: note: insert an explicit cast to silence this issue > RECT src = {sx,sy,width,height}; > ^~ > static_cast<Sint16>( ) >2d_graph.cpp:289:21: error: non-constant-expression cannot be narrowed from type > 'tpos' (aka 'int') to 'Uint16' (aka 'unsigned short') in initializer list > [-Wc++11-narrowing] > RECT src = {sx,sy,width,height}; > ^~~~~ >2d_graph.cpp:289:21: note: insert an explicit cast to silence this issue > RECT src = {sx,sy,width,height}; > ^~~~~ > static_cast<Uint16>( ) >2d_graph.cpp:289:27: error: non-constant-expression cannot be narrowed from type > 'tpos' (aka 'int') to 'Uint16' (aka 'unsigned short') in initializer list > [-Wc++11-narrowing] > RECT src = {sx,sy,width,height}; > ^~~~~~ >2d_graph.cpp:289:27: note: insert an explicit cast to silence this issue > RECT src = {sx,sy,width,height}; > ^~~~~~ > static_cast<Uint16>( ) >2d_graph.cpp:328:20: error: non-constant-expression cannot be narrowed from type > 'tpos' (aka 'int') to 'Sint16' (aka 'short') in initializer list > [-Wc++11-narrowing] > SDL_Rect rec = { x, y, dx, dy }; > ^ >2d_graph.cpp:328:20: note: insert an explicit cast to silence this issue > SDL_Rect rec = { x, y, dx, dy }; > ^ > static_cast<Sint16>( ) >2d_graph.cpp:328:23: error: non-constant-expression cannot be narrowed from type > 'tpos' (aka 'int') to 'Sint16' (aka 'short') in initializer list > [-Wc++11-narrowing] > SDL_Rect rec = { x, y, dx, dy }; > ^ >2d_graph.cpp:328:23: note: insert an explicit cast to silence this issue > SDL_Rect rec = { x, y, dx, dy }; > ^ > static_cast<Sint16>( ) >2d_graph.cpp:328:26: error: non-constant-expression cannot be narrowed from type > 'tpos' (aka 'int') to 'Uint16' (aka 'unsigned short') in initializer list > [-Wc++11-narrowing] > SDL_Rect rec = { x, y, dx, dy }; > ^~ >2d_graph.cpp:328:26: note: insert an explicit cast to silence this issue > SDL_Rect rec = { x, y, dx, dy }; > ^~ > static_cast<Uint16>( ) >2d_graph.cpp:328:30: error: non-constant-expression cannot be narrowed from type > 'tpos' (aka 'int') to 'Uint16' (aka 'unsigned short') in initializer list > [-Wc++11-narrowing] > SDL_Rect rec = { x, y, dx, dy }; > ^~ >2d_graph.cpp:328:30: note: insert an explicit cast to silence this issue > SDL_Rect rec = { x, y, dx, dy }; > ^~ > static_cast<Uint16>( ) >2d_graph.cpp:336:23: error: non-constant-expression cannot be narrowed from type > 'tpos' (aka 'int') to 'Sint16' (aka 'short') in initializer list > [-Wc++11-narrowing] > SDL_Rect dst_rec = {tx,ty,p_surf->w,p_surf->h}; > ^~ >2d_graph.cpp:336:23: note: insert an explicit cast to silence this issue > SDL_Rect dst_rec = {tx,ty,p_surf->w,p_surf->h}; > ^~ > static_cast<Sint16>( ) >2d_graph.cpp:336:26: error: non-constant-expression cannot be narrowed from type > 'tpos' (aka 'int') to 'Sint16' (aka 'short') in initializer list > [-Wc++11-narrowing] > SDL_Rect dst_rec = {tx,ty,p_surf->w,p_surf->h}; > ^~ >2d_graph.cpp:336:26: note: insert an explicit cast to silence this issue > SDL_Rect dst_rec = {tx,ty,p_surf->w,p_surf->h}; > ^~ > static_cast<Sint16>( ) >2d_graph.cpp:336:29: error: non-constant-expression cannot be narrowed from type > 'int' to 'Uint16' (aka 'unsigned short') in initializer list > [-Wc++11-narrowing] > SDL_Rect dst_rec = {tx,ty,p_surf->w,p_surf->h}; > ^~~~~~~~~ >2d_graph.cpp:336:29: note: insert an explicit cast to silence this issue > SDL_Rect dst_rec = {tx,ty,p_surf->w,p_surf->h}; > ^~~~~~~~~ > static_cast<Uint16>( ) >2d_graph.cpp:336:39: error: non-constant-expression cannot be narrowed from type > 'int' to 'Uint16' (aka 'unsigned short') in initializer list > [-Wc++11-narrowing] > SDL_Rect dst_rec = {tx,ty,p_surf->w,p_surf->h}; > ^~~~~~~~~ >2d_graph.cpp:336:39: note: insert an explicit cast to silence this issue > SDL_Rect dst_rec = {tx,ty,p_surf->w,p_surf->h}; > ^~~~~~~~~ > static_cast<Uint16>( ) >2d_graph.cpp:344:23: error: non-constant-expression cannot be narrowed from type > 'tpos' (aka 'int') to 'Sint16' (aka 'short') in initializer list > [-Wc++11-narrowing] > SDL_Rect src_rec = {sx,sy,dx,dy}; > ^~ >2d_graph.cpp:344:23: note: insert an explicit cast to silence this issue > SDL_Rect src_rec = {sx,sy,dx,dy}; > ^~ > static_cast<Sint16>( ) >2d_graph.cpp:344:26: error: non-constant-expression cannot be narrowed from type > 'tpos' (aka 'int') to 'Sint16' (aka 'short') in initializer list > [-Wc++11-narrowing] > SDL_Rect src_rec = {sx,sy,dx,dy}; > ^~ >2d_graph.cpp:344:26: note: insert an explicit cast to silence this issue > SDL_Rect src_rec = {sx,sy,dx,dy}; > ^~ > static_cast<Sint16>( ) >2d_graph.cpp:344:29: error: non-constant-expression cannot be narrowed from type > 'tpos' (aka 'int') to 'Uint16' (aka 'unsigned short') in initializer list > [-Wc++11-narrowing] > SDL_Rect src_rec = {sx,sy,dx,dy}; > ^~ >2d_graph.cpp:344:29: note: insert an explicit cast to silence this issue > SDL_Rect src_rec = {sx,sy,dx,dy}; > ^~ > static_cast<Uint16>( ) >2d_graph.cpp:344:32: error: non-constant-expression cannot be narrowed from type > 'tpos' (aka 'int') to 'Uint16' (aka 'unsigned short') in initializer list > [-Wc++11-narrowing] > SDL_Rect src_rec = {sx,sy,dx,dy}; > ^~ >2d_graph.cpp:344:32: note: insert an explicit cast to silence this issue > SDL_Rect src_rec = {sx,sy,dx,dy}; > ^~ > static_cast<Uint16>( ) >fatal error: too many errors emitted, stopping now [-ferror-limit=] >1 warning and 20 errors generated. >make[2]: *** [Makefile:524: 2d_graph.o] Error 1 >make[2]: Leaving directory '/var/tmp/portage/games-arcade/berusky-1.7.1-r1/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-r1/work/berusky-1.7.1' >make: *** [Makefile:391: all] Error 2 > * ERROR: games-arcade/berusky-1.7.1-r1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=games-arcade/berusky-1.7.1-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=games-arcade/berusky-1.7.1-r1::gentoo'`. > * The complete build log is located at '/var/log/emerge-log/build/games-arcade/berusky-1.7.1-r1:20200826-085642.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-arcade/berusky-1.7.1-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/games-arcade/berusky-1.7.1-r1/temp/environment'. > * Working directory: '/var/tmp/portage/games-arcade/berusky-1.7.1-r1/work/berusky-1.7.1' > * S: '/var/tmp/portage/games-arcade/berusky-1.7.1-r1/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 739074
: 656848