Diff of the two buildlogs: -- --- b1/build.log 2025-01-30 12:36:01.050784259 +0000 +++ b2/build.log 2025-01-30 12:39:35.597092828 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Mar 4 06:57:55 -12 2026 -I: pbuilder-time-stamp: 1772650675 +I: Current time: Fri Jan 31 02:36:04 +14 2025 +I: pbuilder-time-stamp: 1738240564 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -30,54 +30,86 @@ dpkg-source: info: applying 01-debianize.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/91078/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/39732/tmp/hooks/D01_modify_environment starting +debug: Running on ionos12-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jan 30 12:36 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/39732/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/39732/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=22 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='c079f0ffb4b1441a98c2af664d7b03fe' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='91078' - PS1='# ' - PS2='> ' + INVOCATION_ID=847c89766854493eb713571e1b8b3596 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=39732 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.5m6vMSVa/pbuilderrc_Vs2E --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.5m6vMSVa/b1 --logfile b1/build.log berusky_1.7.2-4.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.5m6vMSVa/pbuilderrc_I4TV --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.5m6vMSVa/b2 --logfile b2/build.log berusky_1.7.2-4.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos6-i386 6.1.0-30-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.124-1 (2025-01-12) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-30-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.124-1 (2025-01-12) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/91078/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/39732/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -483,7 +515,7 @@ Get: 356 http://deb.debian.org/debian unstable/main i386 opensp i386 1.5.2-15.1 [453 kB] Get: 357 http://deb.debian.org/debian unstable/main i386 po4a all 0.73-2 [2155 kB] Get: 358 http://deb.debian.org/debian unstable/main i386 sharutils i386 1:4.15.2-10 [267 kB] -Fetched 161 MB in 2s (101 MB/s) +Fetched 161 MB in 4s (40.0 MB/s) Preconfiguring packages ... Selecting previously unselected package libsystemd-shared:i386. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19828 files and directories currently installed.) @@ -1647,8 +1679,8 @@ Setting up tzdata (2025a-1) ... Current default time zone: 'Etc/UTC' -Local time is now: Wed Mar 4 18:58:30 UTC 2026. -Universal Time is now: Wed Mar 4 18:58:30 UTC 2026. +Local time is now: Thu Jan 30 12:37:55 UTC 2025. +Universal Time is now: Thu Jan 30 12:37:55 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libxcb-present0:i386 (1.17.0-2+b1) ... @@ -1966,7 +1998,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/berusky-1.7.2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../berusky_1.7.2-4_source.changes +I: user script /srv/workspace/pbuilder/39732/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/39732/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/berusky-1.7.2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../berusky_1.7.2-4_source.changes dpkg-buildpackage: info: source package berusky dpkg-buildpackage: info: source version 1.7.2-4 dpkg-buildpackage: info: source distribution unstable @@ -2234,7 +2270,7 @@ config.status: executing libtool commands make[1]: Leaving directory '/build/reproducible-path/berusky-1.7.2' dh_auto_build - make -j22 + make -j10 make[1]: Entering directory '/build/reproducible-path/berusky-1.7.2' make all-recursive make[2]: Entering directory '/build/reproducible-path/berusky-1.7.2' @@ -2254,87 +2290,6 @@ g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/reproducible-path/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o graphics.o graphics.cpp g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/reproducible-path/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o ini.o ini.cpp g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/reproducible-path/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o input.o input.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/reproducible-path/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o level.o level.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/reproducible-path/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o level_active.o level_active.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/reproducible-path/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o level_changer.o level_changer.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/reproducible-path/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o level_game.o level_game.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/reproducible-path/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o utils.o utils.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/reproducible-path/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o data_parser_tables.o data_parser_tables.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/reproducible-path/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o berusky_gui.o berusky_gui.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/reproducible-path/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o main.o main.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/reproducible-path/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o gui.o gui.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/reproducible-path/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o profile.o profile.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 "/etc/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_gui.cpp:41: -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 "/etc/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 - | ^ -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 "/etc/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 - | ^ -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 "/etc/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 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 "/etc/berusky/"INI_FILE_NAME - | ^ -In file included from berusky.h:109, - from graphics.cpp:34: -defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 450 | #define INI_FILE_GLOBAL "/etc/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: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 - | ^ -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.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 "/etc/berusky/"INI_FILE_NAME - | ^ In file included from berusky.h:109, from animation.cpp:28: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] @@ -2346,36 +2301,8 @@ 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 | ^ -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 "/etc/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 - | ^ -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 "/etc/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 - | ^ -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 data_parser_tables.cpp:28: + 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 "/etc/berusky/"INI_FILE_NAME | ^ @@ -2386,7 +2313,7 @@ 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ In file included from berusky.h:109, - from level_active.cpp:28: + 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 "/etc/berusky/"INI_FILE_NAME | ^ @@ -2397,7 +2324,7 @@ 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ In file included from berusky.h:109, - from gui.cpp:28: + 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 "/etc/berusky/"INI_FILE_NAME | ^ @@ -2419,7 +2346,7 @@ 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ In file included from berusky.h:109, - from profile.cpp:28: + 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 "/etc/berusky/"INI_FILE_NAME | ^ @@ -2430,7 +2357,7 @@ 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ In file included from berusky.h:109, - from utils.cpp:51: + 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 "/etc/berusky/"INI_FILE_NAME | ^ @@ -2441,7 +2368,7 @@ 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ In file included from berusky.h:109, - from 2d_graph.cpp:36: + 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 "/etc/berusky/"INI_FILE_NAME | ^ @@ -2451,50 +2378,6 @@ 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_gui.h:31, - from berusky_gui.cpp:42: -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 { - | ^~~~~~~~~~~~~~~ -berusky_gui.cpp: In member function 'void game_gui::menu_main(MENU_STATE, size_ptr, size_ptr)': -berusky_gui.cpp:257:22: warning: unused variable 'editor' [-Wunused-variable] - 257 | static char *editor = _("editor"); - | ^~~~~~ -graphics.cpp: In member function 'virtual bool screen_editor::draw()': -graphics.cpp:305:29: warning: narrowing conversion of '((min_x * ((screen_editor*)this)->screen_editor::screen.screen::cell_x) + ((screen_editor*)this)->screen_editor::screen.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::screen.screen::cell_y) + ((screen_editor*)this)->screen_editor::screen.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::screen.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::screen.screen::cell_y)' 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}; - | ~~^~~~~~~ -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 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 { - | ^~~~~~~~~~~~~~~ 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)); @@ -2503,14 +2386,6 @@ animation.h:164:15: note: 'class animation' declared here 164 | typedef class animation { | ^~~~~~~~~ -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 { - | ^~~~~~~~~~~~ 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)); @@ -2518,181 +2393,6 @@ animation.h:164:15: note: 'class animation' declared here 164 | typedef class animation { | ^~~~~~~~~ -In file included from gui.cpp:29: -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 { - | ^~~~~~~~~~~~~~~ -gui.cpp: In member function 'void gui_base::menu_item_draw_sprite(char*, MENU_TYPE, int, LEVEL_EVENT, LEVEL_EVENT, LEVEL_EVENT)': -gui.cpp:138:27: warning: narrowing conversion of '((gui_base*)this)->gui_base::last_x' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] - 138 | RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; - | ^~~~~~ -gui.cpp:138:35: warning: narrowing conversion of '((gui_base*)this)->gui_base::last_y' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] - 138 | RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; - | ^~~~~~ -gui.cpp:138:43: warning: narrowing conversion of '((gui_base*)this)->gui_base::menu_spr_diff_dx' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] - 138 | RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; - | ^~~~~~~~~~~~~~~~ -gui.cpp:138:61: warning: narrowing conversion of '((gui_base*)this)->gui_base::menu_spr_diff_dy' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] - 138 | RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; - | ^~~~~~~~~~~~~~~~ -In file included from berusky_gui.h:31, - from utils.cpp:52: -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_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 { - | ^~~~~~~~~~~~~~~ -gui.cpp:197:27: warning: narrowing conversion of '((gui_base*)this)->gui_base::last_x' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] - 197 | RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; - | ^~~~~~ -gui.cpp:197:35: warning: narrowing conversion of '((gui_base*)this)->gui_base::last_y' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] - 197 | RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; - | ^~~~~~ -gui.cpp:197:43: warning: narrowing conversion of '((gui_base*)this)->gui_base::menu_spr_diff_dx' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] - 197 | RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; - | ^~~~~~~~~~~~~~~~ -gui.cpp:197:61: warning: narrowing conversion of '((gui_base*)this)->gui_base::menu_spr_diff_dy' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] - 197 | RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; - | ^~~~~~~~~~~~~~~~ -gui.cpp: In member function 'void gui_base::menu_item_draw_checkbox(char*, MENU_TYPE, bool, int, int, LEVEL_EVENT, LEVEL_EVENT, LEVEL_EVENT)': -gui.cpp:402:25: warning: narrowing conversion of '((gui_base*)this)->gui_base::last_x' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] - 402 | RECT r_box = {last_x, last_y, 20, 20}; - | ^~~~~~ -gui.cpp:402:33: warning: narrowing conversion of '((gui_base*)this)->gui_base::last_y' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] - 402 | RECT r_box = {last_x, last_y, 20, 20}; - | ^~~~~~ -In file included from utils.cpp:54: -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 { - | ^~~~~~~~~~~~ -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.h: In constructor 'editor_gui::editor_gui(ITEM_REPOSITORY*, DIR_LIST*)': -editor.h:605:16: warning: 'editor_gui::p_side_event_first' will be initialized after [-Wreorder] - 605 | LLIST_ITEM * p_side_event_first; - | ^~~~~~~~~~~~~~~~~~ -editor.h:571:19: warning: 'ITEM_PANEL editor_gui::panel_items' [-Wreorder] - 571 | ITEM_PANEL panel_items; - | ^~~~~~~~~~~ -editor.cpp:464:1: warning: when initialized here [-Wreorder] - 464 | editor_gui::editor_gui(ITEM_REPOSITORY *p_repo_, DIR_LIST *p_dir_): - | ^~~~~~~~~~ -editor.cpp: In member function 'void editor_gui::selection_draw(bool)': -defines.h:101:66: warning: narrowing conversion of '(((((berusky_config::editor_screen_start_y + berusky_config::level_resolution_y) - 140) + 20) + 20) + 10)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] - 101 | #define EDIT_ITEM_PICT_START_Y (EDIT_ITEM_START_Y+EDIT_ITEM_DY+10) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ -editor.cpp:587:15: note: in expansion of macro 'EDIT_ITEM_PICT_START_Y' - 587 | EDIT_ITEM_PICT_START_Y, - | ^~~~~~~~~~~~~~~~~~~~~~ -defines.h:79:63: warning: narrowing conversion of '(berusky_config::cell_size_x * 3)' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] - 79 | #define EDITOR_ITEM_SIZE_X (berusky_config::cell_size_x*3) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ -editor.cpp:588:15: note: in expansion of macro 'EDITOR_ITEM_SIZE_X' - 588 | EDITOR_ITEM_SIZE_X, - | ^~~~~~~~~~~~~~~~~~ -defines.h:80:63: warning: narrowing conversion of '(berusky_config::cell_size_y * 3)' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] - 80 | #define EDITOR_ITEM_SIZE_Y (berusky_config::cell_size_y*3) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ -editor.cpp:589:15: note: in expansion of macro 'EDITOR_ITEM_SIZE_Y' - 589 | EDITOR_ITEM_SIZE_Y}; - | ^~~~~~~~~~~~~~~~~~ -editor.cpp:601:56: warning: narrowing conversion of '((((20 * 3) * 2) + (berusky_config::cell_size_x * 3)) + 10)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] - 601 | RECT r = {EDIT_ITEM_PICT_START_X+EDITOR_ITEM_SIZE_X+10, -defines.h:101:66: warning: narrowing conversion of '(((((berusky_config::editor_screen_start_y + berusky_config::level_resolution_y) - 140) + 20) + 20) + 10)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] - 101 | #define EDIT_ITEM_PICT_START_Y (EDIT_ITEM_START_Y+EDIT_ITEM_DY+10) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ -editor.cpp:602:15: note: in expansion of macro 'EDIT_ITEM_PICT_START_Y' - 602 | EDIT_ITEM_PICT_START_Y, - | ^~~~~~~~~~~~~~~~~~~~~~ -utils.cpp: In member function 'void dir_list::update_path(char*)': -utils.cpp:101:8: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 101 | chdir(cwd); - | ~~~~~^~~~~ -utils.cpp:102:8: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 102 | chdir(buffer); - | ~~~~~^~~~~~~~ -utils.cpp:103:9: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 103 | getcwd(p_dir,MAX_FILENAME); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~ -utils.cpp: In member function 'void dir_list::load(const char*)': -utils.cpp:125:9: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 125 | getcwd(cwd,MAX_FILENAME); - | ~~~~~~^~~~~~~~~~~~~~~~~~ -utils.cpp:131:8: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 131 | chdir(cwd); - | ~~~~~^~~~~ -editor.cpp: In member function 'void editor_gui::layer_status_create()': -defines.h:84:55: warning: narrowing conversion of '(berusky_config::editor_resolution_x - ((20 * 3) * 2))' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] - 84 | #define EDITOR_LAYER_STATUS_DX (EDITOR_RESOLUTION_X-EDITOR_LAYER_STATUS_X) - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -editor.cpp:819:13: note: in expansion of macro 'EDITOR_LAYER_STATUS_DX' - 819 | EDITOR_LAYER_STATUS_DX, - | ^~~~~~~~~~~~~~~~~~~~~~ -editor.cpp: In member function 'void editor_gui::level_config()': -defines.h:87:52: warning: narrowing conversion of 'berusky_config::editor_screen_start_x' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] - 87 | #define EDITOR_SCREEN_START_X (berusky_config::editor_screen_start_x) - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -editor.cpp:960:13: note: in expansion of macro 'EDITOR_SCREEN_START_X' - 960 | RECT r = {EDITOR_SCREEN_START_X,EDITOR_SCREEN_START_Y,LEVEL_RESOLUTION_X,LEVEL_RESOLUTION_Y}; - | ^~~~~~~~~~~~~~~~~~~~~ -defines.h:88:52: warning: narrowing conversion of 'berusky_config::editor_screen_start_y' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] - 88 | #define EDITOR_SCREEN_START_Y (berusky_config::editor_screen_start_y) - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -editor.cpp:960:35: note: in expansion of macro 'EDITOR_SCREEN_START_Y' - 960 | RECT r = {EDITOR_SCREEN_START_X,EDITOR_SCREEN_START_Y,LEVEL_RESOLUTION_X,LEVEL_RESOLUTION_Y}; - | ^~~~~~~~~~~~~~~~~~~~~ -defines.h:51:52: warning: narrowing conversion of 'berusky_config::level_resolution_x' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] - 51 | #define LEVEL_RESOLUTION_X (berusky_config::level_resolution_x) - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ -editor.cpp:960:57: note: in expansion of macro 'LEVEL_RESOLUTION_X' - 960 | RECT r = {EDITOR_SCREEN_START_X,EDITOR_SCREEN_START_Y,LEVEL_RESOLUTION_X,LEVEL_RESOLUTION_Y}; - | ^~~~~~~~~~~~~~~~~~ -defines.h:52:52: warning: narrowing conversion of 'berusky_config::level_resolution_y' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] - 52 | #define LEVEL_RESOLUTION_Y (berusky_config::level_resolution_y) - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ -editor.cpp:960:76: note: in expansion of macro 'LEVEL_RESOLUTION_Y' - 960 | RECT r = {EDITOR_SCREEN_START_X,EDITOR_SCREEN_START_Y,LEVEL_RESOLUTION_X,LEVEL_RESOLUTION_Y}; - | ^~~~~~~~~~~~~~~~~~ -profile.cpp: In member function 'void berusky_profile::save()': -profile.cpp:106:20: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 1017 [-Wformat-truncation=] - 106 | "name = %s\nl0 = %d\nl1 = %d\nl2 = %d\nl3 = %d\nl4 = %d\nl5 = %d\n", - | ^~ -In file included from /usr/include/stdio.h:970, - from berusky.h:43: -In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'void berusky_profile::save()' at profile.cpp:105:11: -/usr/include/i386-linux-gnu/bits/stdio2.h:68:35: note: '__builtin___snprintf_chk' output between 51 and 4206 bytes into a destination of size 1024 - 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 69 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 70 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ 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}; @@ -2710,9 +2410,18 @@ 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 }; | ^ +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)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 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 }; | ^ +gui.h:106:16: note: 'struct checkbox_config' declared here + 106 | typedef struct checkbox_config { + | ^~~~~~~~~~~~~~~ 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 }; | ^~ @@ -2745,6 +2454,7 @@ 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}; | ^~ +g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/reproducible-path/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o level.o level.cpp 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}; | ^~ @@ -2757,6 +2467,15 @@ 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}; | ^~ +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 { + | ^~~~~~~~~~~~~~~ 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}; @@ -2770,10 +2489,27 @@ 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}; | ^~ -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*, unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] - 62 | strncpy(p_list[0].levelname, p_level, sizeof(p_list[0].levelname)); - | ^ +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 { + | ^~~~~~~~~~~~ +graphics.cpp: In member function 'virtual bool screen_editor::draw()': +graphics.cpp:305:29: warning: narrowing conversion of '((min_x * ((screen_editor*)this)->screen_editor::screen.screen::cell_x) + ((screen_editor*)this)->screen_editor::screen.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::screen.screen::cell_y) + ((screen_editor*)this)->screen_editor::screen.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::screen.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::screen.screen::cell_y)' 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}; + | ~~^~~~~~~ 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)); @@ -2803,8 +2539,69 @@ 2d_graph.h:896:15: note: 'class font' declared here 896 | typedef class font { | ^~~~ +editor.h: In constructor 'editor_gui::editor_gui(ITEM_REPOSITORY*, DIR_LIST*)': +editor.h:605:16: warning: 'editor_gui::p_side_event_first' will be initialized after [-Wreorder] + 605 | LLIST_ITEM * p_side_event_first; + | ^~~~~~~~~~~~~~~~~~ +editor.h:571:19: warning: 'ITEM_PANEL editor_gui::panel_items' [-Wreorder] + 571 | ITEM_PANEL panel_items; + | ^~~~~~~~~~~ +editor.cpp:464:1: warning: when initialized here [-Wreorder] + 464 | editor_gui::editor_gui(ITEM_REPOSITORY *p_repo_, DIR_LIST *p_dir_): + | ^~~~~~~~~~ +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 { + | ^~~~~~~~~~~~~~~ +editor.cpp: In member function 'void editor_gui::selection_draw(bool)': +defines.h:101:66: warning: narrowing conversion of '(((((berusky_config::editor_screen_start_y + berusky_config::level_resolution_y) - 140) + 20) + 20) + 10)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] + 101 | #define EDIT_ITEM_PICT_START_Y (EDIT_ITEM_START_Y+EDIT_ITEM_DY+10) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ +editor.cpp:587:15: note: in expansion of macro 'EDIT_ITEM_PICT_START_Y' + 587 | EDIT_ITEM_PICT_START_Y, + | ^~~~~~~~~~~~~~~~~~~~~~ +defines.h:79:63: warning: narrowing conversion of '(berusky_config::cell_size_x * 3)' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] + 79 | #define EDITOR_ITEM_SIZE_X (berusky_config::cell_size_x*3) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ +editor.cpp:588:15: note: in expansion of macro 'EDITOR_ITEM_SIZE_X' + 588 | EDITOR_ITEM_SIZE_X, + | ^~~~~~~~~~~~~~~~~~ +defines.h:80:63: warning: narrowing conversion of '(berusky_config::cell_size_y * 3)' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] + 80 | #define EDITOR_ITEM_SIZE_Y (berusky_config::cell_size_y*3) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ +editor.cpp:589:15: note: in expansion of macro 'EDITOR_ITEM_SIZE_Y' + 589 | EDITOR_ITEM_SIZE_Y}; + | ^~~~~~~~~~~~~~~~~~ +editor.cpp:601:56: warning: narrowing conversion of '((((20 * 3) * 2) + (berusky_config::cell_size_x * 3)) + 10)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] + 601 | RECT r = {EDIT_ITEM_PICT_START_X+EDITOR_ITEM_SIZE_X+10, +defines.h:101:66: warning: narrowing conversion of '(((((berusky_config::editor_screen_start_y + berusky_config::level_resolution_y) - 140) + 20) + 20) + 10)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] + 101 | #define EDIT_ITEM_PICT_START_Y (EDIT_ITEM_START_Y+EDIT_ITEM_DY+10) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ +editor.cpp:602:15: note: in expansion of macro 'EDIT_ITEM_PICT_START_Y' + 602 | EDIT_ITEM_PICT_START_Y, + | ^~~~~~~~~~~~~~~~~~~~~~ +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 { + | ^~~~~~~~~~~~ +editor.cpp: In member function 'void editor_gui::layer_status_create()': +defines.h:84:55: warning: narrowing conversion of '(berusky_config::editor_resolution_x - ((20 * 3) * 2))' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] + 84 | #define EDITOR_LAYER_STATUS_DX (EDITOR_RESOLUTION_X-EDITOR_LAYER_STATUS_X) + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +editor.cpp:819:13: note: in expansion of macro 'EDITOR_LAYER_STATUS_DX' + 819 | EDITOR_LAYER_STATUS_DX, + | ^~~~~~~~~~~~~~~~~~~~~~ In file included from berusky.h:109, - from main.cpp:38: + 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 "/etc/berusky/"INI_FILE_NAME | ^ @@ -2814,16 +2611,86 @@ 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_config()': +defines.h:87:52: warning: narrowing conversion of 'berusky_config::editor_screen_start_x' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] + 87 | #define EDITOR_SCREEN_START_X (berusky_config::editor_screen_start_x) + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ +editor.cpp:960:13: note: in expansion of macro 'EDITOR_SCREEN_START_X' + 960 | RECT r = {EDITOR_SCREEN_START_X,EDITOR_SCREEN_START_Y,LEVEL_RESOLUTION_X,LEVEL_RESOLUTION_Y}; + | ^~~~~~~~~~~~~~~~~~~~~ +defines.h:88:52: warning: narrowing conversion of 'berusky_config::editor_screen_start_y' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] + 88 | #define EDITOR_SCREEN_START_Y (berusky_config::editor_screen_start_y) + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ +editor.cpp:960:35: note: in expansion of macro 'EDITOR_SCREEN_START_Y' + 960 | RECT r = {EDITOR_SCREEN_START_X,EDITOR_SCREEN_START_Y,LEVEL_RESOLUTION_X,LEVEL_RESOLUTION_Y}; + | ^~~~~~~~~~~~~~~~~~~~~ +defines.h:51:52: warning: narrowing conversion of 'berusky_config::level_resolution_x' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] + 51 | #define LEVEL_RESOLUTION_X (berusky_config::level_resolution_x) + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ +editor.cpp:960:57: note: in expansion of macro 'LEVEL_RESOLUTION_X' + 960 | RECT r = {EDITOR_SCREEN_START_X,EDITOR_SCREEN_START_Y,LEVEL_RESOLUTION_X,LEVEL_RESOLUTION_Y}; + | ^~~~~~~~~~~~~~~~~~ +defines.h:52:52: warning: narrowing conversion of 'berusky_config::level_resolution_y' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] + 52 | #define LEVEL_RESOLUTION_Y (berusky_config::level_resolution_y) + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ +editor.cpp:960:76: note: in expansion of macro 'LEVEL_RESOLUTION_Y' + 960 | RECT r = {EDITOR_SCREEN_START_X,EDITOR_SCREEN_START_Y,LEVEL_RESOLUTION_X,LEVEL_RESOLUTION_Y}; + | ^~~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/reproducible-path/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o level_active.o level_active.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/reproducible-path/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -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 "/etc/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 + | ^ +g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/reproducible-path/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o level_game.o level_game.cpp +In file included from berusky.h:109, + from level_game.cpp:34: +defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 450 | #define INI_FILE_GLOBAL "/etc/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 "/etc/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*, unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] + 62 | strncpy(p_list[0].levelname, p_level, sizeof(p_list[0].levelname)); + | ^ +In member function 'void surface::copy(surface*, RECT*)', + inlined from 'surface::surface(surface*)' at 2d_graph.cpp:272:7: +2d_graph.cpp:218:6: warning: '*this.surface::p_surf' may be used uninitialized [-Wmaybe-uninitialized] + 218 | if(p_surf) { + | ^~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/reproducible-path/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o utils.o utils.cpp +In member function 'void surface::copy(surface*, RECT*)', + inlined from 'surface::surface(surface&)' at 2d_graph.cpp:277:7: +2d_graph.cpp:218:6: warning: '*this.surface::p_surf' may be used uninitialized [-Wmaybe-uninitialized] + 218 | if(p_surf) { + | ^~~~~~ level_active.cpp: In member function 'bool level_store::levelset_load(DIR_LIST*, char*)': level_active.cpp:139:12: warning: 'char* __builtin_strncpy(char*, const char*, 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)); | ^ -main.cpp:64:32: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 64 | printf(_("Built %s, %s\n\n"),__DATE__,__TIME__); - | ^~~~~~~~ -main.cpp:64:41: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 64 | printf(_("Built %s, %s\n\n"),__DATE__,__TIME__); - | ^~~~~~~~ In file included from /usr/include/string.h:548, from berusky.h:46: In function 'char* strncat(char*, const char*, size_t)', @@ -2833,18 +2700,20 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 150 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'void surface::copy(surface*, RECT*)', - inlined from 'surface::surface(surface*)' at 2d_graph.cpp:272:7: -2d_graph.cpp:218:6: warning: '*this.surface::p_surf' may be used uninitialized [-Wmaybe-uninitialized] - 218 | if(p_surf) { - | ^~~~~~ -In member function 'void surface::copy(surface*, RECT*)', - inlined from 'surface::surface(surface&)' at 2d_graph.cpp:277:7: -2d_graph.cpp:218:6: warning: '*this.surface::p_surf' may be used uninitialized [-Wmaybe-uninitialized] - 218 | if(p_surf) { - | ^~~~~~ +In file included from berusky.h:109, + from utils.cpp:51: +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 "/etc/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 + | ^ +g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/reproducible-path/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o data_parser_tables.o data_parser_tables.cpp In file included from berusky_gui.h:31, - from main.cpp:39: + from utils.cpp:52: 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)); @@ -2852,7 +2721,7 @@ gui.h:106:16: note: 'struct checkbox_config' declared here 106 | typedef struct checkbox_config { | ^~~~~~~~~~~~~~~ -In file included from main.cpp:41: +In file included from utils.cpp:54: 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)); @@ -2860,10 +2729,160 @@ 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:101:8: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 101 | chdir(cwd); + | ~~~~~^~~~~ +utils.cpp:102:8: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 102 | chdir(buffer); + | ~~~~~^~~~~~~~ +utils.cpp:103:9: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 103 | getcwd(p_dir,MAX_FILENAME); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~ +utils.cpp: In member function 'void dir_list::load(const char*)': +utils.cpp:125:9: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 125 | getcwd(cwd,MAX_FILENAME); + | ~~~~~~^~~~~~~~~~~~~~~~~~ +utils.cpp:131:8: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 131 | chdir(cwd); + | ~~~~~^~~~~ +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 "/etc/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 + | ^ +g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/reproducible-path/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o berusky_gui.o berusky_gui.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/reproducible-path/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o main.o main.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/reproducible-path/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o gui.o gui.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/reproducible-path/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o profile.o profile.cpp +In file included from berusky.h:109, + from berusky_gui.cpp:41: +defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 450 | #define INI_FILE_GLOBAL "/etc/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 gui.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 "/etc/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*, unsigned int)' specified bound 200 equals destination size [-Wstringop-truncation] 732 | strncpy(filename, p_file, 200); | ^ +In file included from berusky.h:109, + from profile.cpp:28: +defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 450 | #define INI_FILE_GLOBAL "/etc/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_gui.h:31, + from berusky_gui.cpp:42: +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 { + | ^~~~~~~~~~~~~~~ +berusky_gui.cpp: In member function 'void game_gui::menu_main(MENU_STATE, size_ptr, size_ptr)': +berusky_gui.cpp:257:22: warning: unused variable 'editor' [-Wunused-variable] + 257 | static char *editor = _("editor"); + | ^~~~~~ +In file included from gui.cpp:29: +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 { + | ^~~~~~~~~~~~~~~ +gui.cpp: In member function 'void gui_base::menu_item_draw_sprite(char*, MENU_TYPE, int, LEVEL_EVENT, LEVEL_EVENT, LEVEL_EVENT)': +gui.cpp:138:27: warning: narrowing conversion of '((gui_base*)this)->gui_base::last_x' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] + 138 | RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; + | ^~~~~~ +gui.cpp:138:35: warning: narrowing conversion of '((gui_base*)this)->gui_base::last_y' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] + 138 | RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; + | ^~~~~~ +gui.cpp:138:43: warning: narrowing conversion of '((gui_base*)this)->gui_base::menu_spr_diff_dx' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] + 138 | RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; + | ^~~~~~~~~~~~~~~~ +gui.cpp:138:61: warning: narrowing conversion of '((gui_base*)this)->gui_base::menu_spr_diff_dy' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] + 138 | RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; + | ^~~~~~~~~~~~~~~~ +gui.cpp:197:27: warning: narrowing conversion of '((gui_base*)this)->gui_base::last_x' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] + 197 | RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; + | ^~~~~~ +gui.cpp:197:35: warning: narrowing conversion of '((gui_base*)this)->gui_base::last_y' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] + 197 | RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; + | ^~~~~~ +gui.cpp:197:43: warning: narrowing conversion of '((gui_base*)this)->gui_base::menu_spr_diff_dx' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] + 197 | RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; + | ^~~~~~~~~~~~~~~~ +gui.cpp:197:61: warning: narrowing conversion of '((gui_base*)this)->gui_base::menu_spr_diff_dy' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] + 197 | RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; + | ^~~~~~~~~~~~~~~~ +gui.cpp: In member function 'void gui_base::menu_item_draw_checkbox(char*, MENU_TYPE, bool, int, int, LEVEL_EVENT, LEVEL_EVENT, LEVEL_EVENT)': +gui.cpp:402:25: warning: narrowing conversion of '((gui_base*)this)->gui_base::last_x' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] + 402 | RECT r_box = {last_x, last_y, 20, 20}; + | ^~~~~~ +gui.cpp:402:33: warning: narrowing conversion of '((gui_base*)this)->gui_base::last_y' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] + 402 | RECT r_box = {last_x, last_y, 20, 20}; + | ^~~~~~ +profile.cpp: In member function 'void berusky_profile::save()': +profile.cpp:106:20: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 1017 [-Wformat-truncation=] + 106 | "name = %s\nl0 = %d\nl1 = %d\nl2 = %d\nl3 = %d\nl4 = %d\nl5 = %d\n", + | ^~ +In file included from /usr/include/stdio.h:970, + from berusky.h:43: +In function 'int snprintf(char*, size_t, const char*, ...)', + inlined from 'void berusky_profile::save()' at profile.cpp:105:11: +/usr/include/i386-linux-gnu/bits/stdio2.h:68:35: note: '__builtin___snprintf_chk' output between 51 and 4206 bytes into a destination of size 1024 + 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 70 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +In file included from berusky.h:109, + from main.cpp:38: +defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 450 | #define INI_FILE_GLOBAL "/etc/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 + | ^ +main.cpp:64:32: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 64 | printf(_("Built %s, %s\n\n"),__DATE__,__TIME__); + | ^~~~~~~~ +main.cpp:64:41: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 64 | printf(_("Built %s, %s\n\n"),__DATE__,__TIME__); + | ^~~~~~~~ editor.cpp: In member function 'void editor_gui::level_name_set(char*)': editor.cpp:1033:10: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 1033 | strncpy(level_name,p_name,MAX_FILENAME); @@ -2882,7 +2901,24 @@ editor.cpp:1111:12: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 1111 | strncpy(file, p_file, MAX_FILENAME); | ^ -/bin/bash ../libtool --tag=CXX --mode=link g++ -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/reproducible-path/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -Wl,-z,relro -o berusky 2d_graph.o animation.o berusky.o data_parser.o editor.o events.o game_logic.o graphics.o ini.o input.o level.o level_active.o level_changer.o level_game.o utils.o data_parser_tables.o berusky_gui.o main.o gui.o profile.o -lSDL_image -lSDL -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lSDL -lSDL_image +In file included from berusky_gui.h:31, + from main.cpp:39: +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 main.cpp:41: +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 { + | ^~~~~~~~~~~~ +/bin/sh ../libtool --tag=CXX --mode=link g++ -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/reproducible-path/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -Wl,-z,relro -o berusky 2d_graph.o animation.o berusky.o data_parser.o editor.o events.o game_logic.o graphics.o ini.o input.o level.o level_active.o level_changer.o level_game.o utils.o data_parser_tables.o berusky_gui.o main.o gui.o profile.o -lSDL_image -lSDL -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lSDL -lSDL_image libtool: link: g++ -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/reproducible-path/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -Wl,-z -Wl,relro -o berusky 2d_graph.o animation.o berusky.o data_parser.o editor.o events.o game_logic.o graphics.o ini.o input.o level.o level_active.o level_changer.o level_game.o utils.o data_parser_tables.o berusky_gui.o main.o gui.o profile.o -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lSDL -lSDL_image /usr/bin/ld: profile.o: in function `berusky_profile::create(char const*)': ./src/./src/profile.cpp:122:(.text+0x3aa): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' @@ -2907,7 +2943,7 @@ debian/manpage/berusky.de.6 is 100% translated (16 strings). make[1]: Leaving directory '/build/reproducible-path/berusky-1.7.2' dh_auto_test - make -j22 check "TESTSUITEFLAGS=-j22 --verbose" VERBOSE=1 + make -j10 check "TESTSUITEFLAGS=-j10 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/berusky-1.7.2' Making check in po make[2]: Entering directory '/build/reproducible-path/berusky-1.7.2/po' @@ -2976,7 +3012,7 @@ make[2]: Entering directory '/build/reproducible-path/berusky-1.7.2/src' make[3]: Entering directory '/build/reproducible-path/berusky-1.7.2/src' /usr/bin/mkdir -p '/build/reproducible-path/berusky-1.7.2/debian/berusky/usr/games' - /bin/bash ../libtool --mode=install /usr/bin/install -c berusky '/build/reproducible-path/berusky-1.7.2/debian/berusky/usr/games' + /bin/sh ../libtool --mode=install /usr/bin/install -c berusky '/build/reproducible-path/berusky-1.7.2/debian/berusky/usr/games' libtool: install: /usr/bin/install -c berusky /build/reproducible-path/berusky-1.7.2/debian/berusky/usr/games/berusky make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/build/reproducible-path/berusky-1.7.2/src' @@ -3024,8 +3060,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'berusky' in '../berusky_1.7.2-4_i386.deb'. dpkg-deb: building package 'berusky-dbgsym' in '../berusky-dbgsym_1.7.2-4_i386.deb'. +dpkg-deb: building package 'berusky' in '../berusky_1.7.2-4_i386.deb'. dpkg-genbuildinfo --build=binary -O../berusky_1.7.2-4_i386.buildinfo dpkg-genchanges --build=binary -O../berusky_1.7.2-4_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -3033,12 +3069,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/39732/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/39732/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/91078 and its subdirectories -I: Current time: Wed Mar 4 06:58:59 -12 2026 -I: pbuilder-time-stamp: 1772650739 +I: removing directory /srv/workspace/pbuilder/39732 and its subdirectories +I: Current time: Fri Jan 31 02:39:34 +14 2025 +I: pbuilder-time-stamp: 1738240774