Diff of the two buildlogs: -- --- b1/build.log 2024-12-18 00:14:54.541163908 +0000 +++ b2/build.log 2024-12-18 00:20:34.201772201 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Dec 17 12:07:23 -12 2024 -I: pbuilder-time-stamp: 1734480443 +I: Current time: Tue Jan 20 20:37:58 +14 2026 +I: pbuilder-time-stamp: 1768891078 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -45,52 +45,84 @@ dpkg-source: info: applying 19_i18n-is-independent-from-gtk.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2448695/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2667534/tmp/hooks/D01_modify_environment starting +debug: Running on codethink03-arm64. +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 20 06:38 /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/2667534/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2667534/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='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="aarch64-unknown-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=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='d36c6597eb3d43e6994d0398cb569c06' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - 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='2448695' - PS1='# ' - PS2='> ' + INVOCATION_ID=0678a6597596411088afb3f6b3d60260 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=2667534 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.xengdcJI/pbuilderrc_PgTn --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.xengdcJI/b1 --logfile b1/build.log visualboyadvance_1.8.0.dfsg-6.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4: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.xengdcJI/pbuilderrc_oJgD --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.xengdcJI/b2 --logfile b2/build.log visualboyadvance_1.8.0.dfsg-6.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink02-arm64 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2448695/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2667534/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -359,7 +391,7 @@ Get: 215 http://deb.debian.org/debian unstable/main arm64 libxxf86vm-dev arm64 1:1.1.4-1+b3 [24.1 kB] Get: 216 http://deb.debian.org/debian unstable/main arm64 libsdl2-dev arm64 2.30.10+dfsg-1 [1057 kB] Get: 217 http://deb.debian.org/debian unstable/main arm64 libsdl1.2-dev arm64 1.2.68-2+b1 [64.6 kB] -Fetched 95.8 MB in 1s (109 MB/s) +Fetched 95.8 MB in 1s (175 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package liblocale-gettext-perl. (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 ... 20085 files and directories currently installed.) @@ -1067,8 +1099,8 @@ Setting up tzdata (2024b-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Wed Dec 18 00:08:29 UTC 2024. -Universal Time is now: Wed Dec 18 00:08:29 UTC 2024. +Local time is now: Tue Jan 20 06:38:24 UTC 2026. +Universal Time is now: Tue Jan 20 06:38:24 UTC 2026. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libxcb-present0:arm64 (1.17.0-2+b1) ... @@ -1262,7 +1294,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/visualboyadvance-1.8.0.dfsg/ && 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 > ../visualboyadvance_1.8.0.dfsg-6_source.changes +I: user script /srv/workspace/pbuilder/2667534/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/2667534/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/visualboyadvance-1.8.0.dfsg/ && 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 > ../visualboyadvance_1.8.0.dfsg-6_source.changes dpkg-buildpackage: info: source package visualboyadvance dpkg-buildpackage: info: source version 1.8.0.dfsg-6 dpkg-buildpackage: info: source distribution unstable @@ -1713,6 +1749,40 @@ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o gbPrinter.o gbPrinter.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o gbSGB.o gbSGB.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o gbSound.o gbSound.cpp +In file included from gbMemory.cpp:23: +GB.h:41:36: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 41 | extern void gbWriteMemory(register u16, register u8); + | ^~~ +GB.h:41:50: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 41 | extern void gbWriteMemory(register u16, register u8); + | ^~ +In file included from GB.cpp:26: +GB.h:41:36: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 41 | extern void gbWriteMemory(register u16, register u8); + | ^~~ +GB.h:41:50: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 41 | extern void gbWriteMemory(register u16, register u8); + | ^~ +In file included from GB.cpp:31: +gbSound.h:54:35: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 54 | extern void gbSoundEvent(register u16, register int); + | ^~~ +gbSound.h:54:49: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 54 | extern void gbSoundEvent(register u16, register int); + | ^~~ +GB.cpp:716:34: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 716 | void gbWriteMemory(register u16 address, register u8 value) + | ^~~~~~~ +GB.cpp:716:55: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 716 | void gbWriteMemory(register u16 address, register u8 value) + | ^~~~~ +In file included from gbSGB.cpp:25: +GB.h:41:36: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 41 | extern void gbWriteMemory(register u16, register u8); + | ^~~ +GB.h:41:50: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 41 | extern void gbWriteMemory(register u16, register u8); + | ^~ In file included from gbCheats.cpp:30: GB.h:41:36: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 41 | extern void gbWriteMemory(register u16, register u8); @@ -1720,13 +1790,22 @@ GB.h:41:50: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 41 | extern void gbWriteMemory(register u16, register u8); | ^~ +gbSGB.cpp: In function 'void gbSgbFillScreen(u16)': +gbSGB.cpp:138:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 138 | for(register int x = 0; x < 160; x++) + | ^ +gbSGB.cpp:148:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 148 | for(register int x = 0; x < 160; x++) { + | ^ +gbSGB.cpp:160:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 160 | for(register int x = 0; x < 160; x++) { + | ^ +GB.cpp:1589:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1589 | u8 gbReadOpcode(register u16 address) + | ^~~~~~~ gbDis.cpp:34:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 34 | { "B", "C", "D", "E", "H", "L", "(HL)", "A" }; | ^~~ -gbCheats.cpp: In function 'bool gbCheatReadGSCodeFile(const char*)': -gbCheats.cpp:415:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 415 | fread(&count, 1, 2, file); - | ~~~~~^~~~~~~~~~~~~~~~~~~~ gbDis.cpp:34:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 34 | { "B", "C", "D", "E", "H", "L", "(HL)", "A" }; | ^~~ @@ -1796,9 +1875,6 @@ gbDis.cpp:52:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 52 | { 0xcf, 0x03, "INC %R4" }, | ^~~~~~~~~ -gbCheats.cpp:422:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 422 | fread(&dummy, 1, 2, file); - | ~~~~~^~~~~~~~~~~~~~~~~~~~ gbDis.cpp:53:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 53 | { 0xc7, 0x04, "INC %r3" }, | ^~~~~~~~~ @@ -1865,6 +1941,9 @@ gbDis.cpp:74:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 74 | { 0xff, 0x37, "SCF" }, | ^~~~~ +GB.cpp:1738:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1738 | u8 gbReadMemory(register u16 address) + | ^~~~~~~ gbDis.cpp:75:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 75 | { 0xff, 0x3a, "LDD A,(HL)" }, | ^~~~~~~~~~~~ @@ -1898,6 +1977,19 @@ gbDis.cpp:85:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 85 | { 0xf8, 0xb0, "OR %r0" }, | ^~~~~~~~ +gbCheats.cpp: In function 'bool gbCheatReadGSCodeFile(const char*)': +gbCheats.cpp:415:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 415 | fread(&count, 1, 2, file); + | ~~~~~^~~~~~~~~~~~~~~~~~~~ +gbCheats.cpp:422:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 422 | fread(&dummy, 1, 2, file); + | ~~~~~^~~~~~~~~~~~~~~~~~~~ +gbCheats.cpp:423:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 423 | fread(desc, 1, 12, file); + | ~~~~~^~~~~~~~~~~~~~~~~~~ +gbCheats.cpp:425:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 425 | fread(code, 1, 8, file); + | ~~~~~^~~~~~~~~~~~~~~~~~ gbDis.cpp:86:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 86 | { 0xf8, 0xb8, "CP %r0" }, | ^~~~~~~~ @@ -1994,12 +2086,6 @@ gbDis.cpp:117:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 117 | { 0x00, 0x00, "DB %B" } | ^~~~~~~ -gbCheats.cpp:423:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 423 | fread(desc, 1, 12, file); - | ~~~~~^~~~~~~~~~~~~~~~~~~ -gbCheats.cpp:425:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 425 | fread(code, 1, 8, file); - | ~~~~~^~~~~~~~~~~~~~~~~~ gbDis.cpp:121:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 121 | { 0xf8, 0x00, "RLC %r0" }, | ^~~~~~~~~ @@ -2036,39 +2122,19 @@ gbDis.cpp:132:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 132 | { 0x00, 0x00, "DB CBh,%B" } | ^~~~~~~~~~~ -In file included from GB.cpp:26: -GB.h:41:36: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 41 | extern void gbWriteMemory(register u16, register u8); - | ^~~ -GB.h:41:50: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 41 | extern void gbWriteMemory(register u16, register u8); - | ^~ -In file included from GB.cpp:31: +In file included from gbSound.cpp:24: gbSound.h:54:35: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 54 | extern void gbSoundEvent(register u16, register int); | ^~~ gbSound.h:54:49: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 54 | extern void gbSoundEvent(register u16, register int); | ^~~ -GB.cpp:716:34: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 716 | void gbWriteMemory(register u16 address, register u8 value) - | ^~~~~~~ -In file included from gbMemory.cpp:23: -GB.h:41:36: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 41 | extern void gbWriteMemory(register u16, register u8); - | ^~~ -GB.h:41:50: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 41 | extern void gbWriteMemory(register u16, register u8); - | ^~ -GB.cpp:716:55: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 716 | void gbWriteMemory(register u16 address, register u8 value) - | ^~~~~ -GB.cpp:1589:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1589 | u8 gbReadOpcode(register u16 address) - | ^~~~~~~ -GB.cpp:1738:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1738 | u8 gbReadMemory(register u16 address) - | ^~~~~~~ +gbSound.cpp:137:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 137 | void gbSoundEvent(register u16 address, register int data) + | ^~~~~~~ +gbSound.cpp:137:54: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 137 | void gbSoundEvent(register u16 address, register int data) + | ^~~~ GB.cpp: In function 'bool gbWriteMemSaveState(char*, int)': GB.cpp:3564:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3564 | gzFile gzFile = utilMemGzOpen(memory, available, "w"); @@ -2077,40 +2143,10 @@ GB.cpp:3942:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3942 | gzFile gzFile = utilMemGzOpen(memory, available, "r"); | ^~~ -In file included from gbSound.cpp:24: -gbSound.h:54:35: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 54 | extern void gbSoundEvent(register u16, register int); - | ^~~ -In file included from gbSGB.cpp:25: -GB.h:41:36: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 41 | extern void gbWriteMemory(register u16, register u8); - | ^~~ -GB.h:41:50: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 41 | extern void gbWriteMemory(register u16, register u8); - | ^~ -gbSound.h:54:49: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 54 | extern void gbSoundEvent(register u16, register int); - | ^~~ -gbSGB.cpp: In function 'void gbSgbFillScreen(u16)': -gbSGB.cpp:138:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 138 | for(register int x = 0; x < 160; x++) - | ^ -gbSound.cpp:137:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 137 | void gbSoundEvent(register u16 address, register int data) - | ^~~~~~~ -gbSound.cpp:137:54: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 137 | void gbSoundEvent(register u16 address, register int data) - | ^~~~ GB.cpp: In function 'void gbEmulate(int)': GB.cpp:4444:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 4444 | register int opcode = 0; | ^~~~~~ -gbSGB.cpp:148:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 148 | for(register int x = 0; x < 160; x++) { - | ^ -gbSGB.cpp:160:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 160 | for(register int x = 0; x < 160; x++) { - | ^ GB.cpp: In function 'bool gbReadGSASnapshot(const char*)': GB.cpp:3375:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 3375 | fread(buffer, 1, 15, file); @@ -2165,6 +2201,8 @@ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Gfx.o `test -f '../Gfx.cpp' || echo './'`../Gfx.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Globals.o `test -f '../Globals.cpp' || echo './'`../Globals.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Mode0.o `test -f '../Mode0.cpp' || echo './'`../Mode0.cpp +g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Mode1.o `test -f '../Mode1.cpp' || echo './'`../Mode1.cpp +g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Mode2.o `test -f '../Mode2.cpp' || echo './'`../Mode2.cpp ../2xSaI.cpp: In function 'u32 Q_INTERPOLATE(u32, u32, u32, u32)': ../2xSaI.cpp:161:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 161 | register u32 x = ((A & qcolorMask) >> 2) + @@ -2176,7 +2214,6 @@ ../2xSaI.cpp:287:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 287 | register int r = 0; | ^ -g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Mode1.o `test -f '../Mode1.cpp' || echo './'`../Mode1.cpp ../2xSaI.cpp: In function 'void Super2xSaI32(u8*, u32, u8*, u8*, u32, int, int)': ../2xSaI.cpp:419:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 419 | register int r = 0; @@ -2216,7 +2253,6 @@ ../gb/GB.h:41:50: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 41 | extern void gbWriteMemory(register u16, register u8); | ^~ -g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Mode2.o `test -f '../Mode2.cpp' || echo './'`../Mode2.cpp debugger.cpp:137:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 137 | { "?", debuggerHelp, "Show this help information. Type ? for command help", "[]" }, | ^~~ @@ -2409,6 +2445,31 @@ debugger.cpp:158:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 158 | { "ew", debuggerEdit, "Modify memory location (word)", "
" }, | ^~~~~~~~~~~~~~~~~~~~~~~ +SDL.cpp: In function 'void sdlPollEvents()': +SDL.cpp:1833:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1833 | { "autofire A disabled", + | ^~~~~~~~~~~~~~~~~~~~~ +SDL.cpp:1834:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1834 | "autofire B disabled", + | ^~~~~~~~~~~~~~~~~~~~~ +SDL.cpp:1835:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1835 | "autofire R disabled", + | ^~~~~~~~~~~~~~~~~~~~~ +SDL.cpp:1836:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1836 | "autofire L disabled"}; + | ^~~~~~~~~~~~~~~~~~~~~ +SDL.cpp:1838:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1838 | { "autofire A", + | ^~~~~~~~~~~~ +SDL.cpp:1839:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1839 | "autofire B", + | ^~~~~~~~~~~~ +SDL.cpp:1840:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1840 | "autofire R", + | ^~~~~~~~~~~~ +SDL.cpp:1841:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1841 | "autofire L"}; + | ^~~~~~~~~~~~ debugger.cpp:159:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 159 | { "fd", debuggerFileDisassemble, "Disassemble instructions to file", " [
[]]" }, | ^~~~ @@ -2487,10 +2548,6 @@ debugger.cpp:167:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 167 | { "last", debuggerLast, "Trigger the display of the last registers states", NULL }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -SDL.cpp: In function 'void sdlPollEvents()': -SDL.cpp:1833:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1833 | { "autofire A disabled", - | ^~~~~~~~~~~~~~~~~~~~~ debugger.cpp:168:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 168 | { "load", debuggerReadState, "Load a savegame", "" }, | ^~~~~~ @@ -2614,27 +2671,25 @@ debugger.cpp:186:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 186 | { "where", debuggerWhere, "Show the call chain (if available)", NULL }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -SDL.cpp:1834:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1834 | "autofire B disabled", - | ^~~~~~~~~~~~~~~~~~~~~ -SDL.cpp:1835:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1835 | "autofire R disabled", - | ^~~~~~~~~~~~~~~~~~~~~ -SDL.cpp:1836:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1836 | "autofire L disabled"}; - | ^~~~~~~~~~~~~~~~~~~~~ -SDL.cpp:1838:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1838 | { "autofire A", - | ^~~~~~~~~~~~ -SDL.cpp:1839:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1839 | "autofire B", - | ^~~~~~~~~~~~ -SDL.cpp:1840:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1840 | "autofire R", - | ^~~~~~~~~~~~ -SDL.cpp:1841:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1841 | "autofire L"}; - | ^~~~~~~~~~~~ +../Cheats.cpp: In function 'void cheatsAddCBACode(const char*, const char*)': +../Cheats.cpp:2498:13: warning: narrowing conversion of '(address & 255)' from 'u32' {aka 'unsigned int'} to 'u8' {aka 'unsigned char'} [-Wnarrowing] + 2498 | address & 255, + | ~~~~~~~~^~~~~ +../Cheats.cpp:2499:20: warning: narrowing conversion of '((address >> 8) & 255)' from 'u32' {aka 'unsigned int'} to 'u8' {aka 'unsigned char'} [-Wnarrowing] + 2499 | (address >> 8) & 255, + | ~~~~~~~~~~~~~~~^~~~~ +../Cheats.cpp:2500:21: warning: narrowing conversion of '((address >> 16) & 255)' from 'u32' {aka 'unsigned int'} to 'u8' {aka 'unsigned char'} [-Wnarrowing] + 2500 | (address >> 16) & 255, + | ~~~~~~~~~~~~~~~~^~~~~ +../Cheats.cpp:2501:21: warning: narrowing conversion of '((address >> 24) & 255)' from 'u32' {aka 'unsigned int'} to 'u8' {aka 'unsigned char'} [-Wnarrowing] + 2501 | (address >> 24) & 255, + | ~~~~~~~~~~~~~~~~^~~~~ +../Cheats.cpp:2502:12: warning: narrowing conversion of '(value & 255)' from 'u32' {aka 'unsigned int'} to 'u8' {aka 'unsigned char'} [-Wnarrowing] + 2502 | (value & 255), + | ~~~~~~~^~~~~~ +../Cheats.cpp:2503:18: warning: narrowing conversion of '((value >> 8) & 255)' from 'u32' {aka 'unsigned int'} to 'u8' {aka 'unsigned char'} [-Wnarrowing] + 2503 | (value >> 8) & 255, + | ~~~~~~~~~~~~~^~~~~ debugger.cpp: In function 'void debuggerSymbols(int, char**)': debugger.cpp:613:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 613 | char *ts = "?"; @@ -2656,6 +2711,7 @@ debugger.cpp:762:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 762 | debuggerUsage("verbose"); | ^~~~~~~~~ +g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Mode3.o `test -f '../Mode3.cpp' || echo './'`../Mode3.cpp debugger.cpp: In function 'void debuggerBreakDelete(int, char**)': debugger.cpp:916:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 916 | debuggerUsage("bd"); @@ -2676,11 +2732,75 @@ debugger.cpp:1162:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1162 | debuggerUsage("bpwc"); | ^~~~~~ -g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Mode3.o `test -f '../Mode3.cpp' || echo './'`../Mode3.cpp +../Cheats.cpp: In function 'bool cheatsImportGSACodeFile(const char*, int, bool)': +../Cheats.cpp:2093:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2093 | fread(&games, 1, 4, f); + | ~~~~~^~~~~~~~~~~~~~~~~ +../Cheats.cpp:2101:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2101 | fread(&len, 1, 4, f); + | ~~~~~^~~~~~~~~~~~~~~ +../Cheats.cpp:2104:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2104 | fread(&codes, 1, 4, f); + | ~~~~~^~~~~~~~~~~~~~~~~ +../Cheats.cpp:2106:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2106 | fread(&len, 1, 4, f); + | ~~~~~^~~~~~~~~~~~~~~ +../Cheats.cpp:2109:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2109 | fread(&len, 1, 4, f); + | ~~~~~^~~~~~~~~~~~~~~ +../Cheats.cpp:2119:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2119 | fread(&len, 1, 4, f); + | ~~~~~^~~~~~~~~~~~~~~ +../Cheats.cpp:2122:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2122 | fread(&codes, 1, 4, f); + | ~~~~~^~~~~~~~~~~~~~~~~ +../Cheats.cpp:2124:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2124 | fread(&len, 1, 4, f); + | ~~~~~^~~~~~~~~~~~~~~ +../Cheats.cpp:2125:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2125 | fread(desc, 1, len, f); + | ~~~~~^~~~~~~~~~~~~~~~~ +../Cheats.cpp:2128:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2128 | fread(&len, 1, 4, f); + | ~~~~~^~~~~~~~~~~~~~~ +../Cheats.cpp:2131:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2131 | fread(&len, 1, 4, f); + | ~~~~~^~~~~~~~~~~~~~~ +../Cheats.cpp:2134:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2134 | fread(code, 1, 8, f); + | ~~~~~^~~~~~~~~~~~~~~ +../Cheats.cpp:2136:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2136 | fread(&code[8], 1, 8, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~ debugger.cpp: In function 'void debuggerBreakWrite(int, char**)': debugger.cpp:1232:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1232 | debuggerUsage("bpw"); | ^~~~~ +../Cheats.cpp: In function 'bool cheatsLoadCheatList(const char*)': +../Cheats.cpp:2756:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2756 | fread(&cheatsList[i].code, 1, sizeof(int),f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../Cheats.cpp:2757:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2757 | fread(&cheatsList[i].size, 1, sizeof(int),f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../Cheats.cpp:2758:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2758 | fread(&cheatsList[i].status, 1, sizeof(int),f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../Cheats.cpp:2759:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2759 | fread(&cheatsList[i].enabled, 1, sizeof(int),f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../Cheats.cpp:2761:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2761 | fread(&cheatsList[i].address, 1, sizeof(u32),f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../Cheats.cpp:2763:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2763 | fread(&cheatsList[i].value, 1, sizeof(u32),f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../Cheats.cpp:2764:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2764 | fread(&cheatsList[i].oldValue, 1, sizeof(u32),f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../Cheats.cpp:2765:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2765 | fread(&cheatsList[i].codestring, 1, 20*sizeof(char),f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ debugger.cpp: In function 'void debuggerBreakChangeClear(int, char**)': debugger.cpp:1335:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1335 | debuggerUsage("bpcc"); @@ -2726,7 +2846,6 @@ debugger.cpp:1806:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1806 | command[0]="m"; | ^~~ -g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Mode4.o `test -f '../Mode4.cpp' || echo './'`../Mode4.cpp debugger.cpp:1808:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1808 | command[2]="1"; | ^~~ @@ -2754,6 +2873,7 @@ debugger.cpp:2045:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2045 | debuggerUsage("mh"); | ^~~~ +g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Mode4.o `test -f '../Mode4.cpp' || echo './'`../Mode4.cpp debugger.cpp: In function 'void debuggerMemory(int, char**)': debugger.cpp:2084:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2084 | debuggerUsage("mw"); @@ -2766,10 +2886,6 @@ debugger.cpp:2126:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2126 | debuggerUsage("load"); | ^~~~~~ -../Cheats.cpp: In function 'void cheatsAddCBACode(const char*, const char*)': -../Cheats.cpp:2498:13: warning: narrowing conversion of '(address & 255)' from 'u32' {aka 'unsigned int'} to 'u8' {aka 'unsigned char'} [-Wnarrowing] - 2498 | address & 255, - | ~~~~~~~~^~~~~ debugger.cpp: In function 'void debuggerDumpLoad(int, char**)': debugger.cpp:2161:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2161 | debuggerUsage("dload"); @@ -2805,21 +2921,6 @@ debugger.cpp:2380:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2380 | tvalue="$"; | ^~~ -../Cheats.cpp:2499:20: warning: narrowing conversion of '((address >> 8) & 255)' from 'u32' {aka 'unsigned int'} to 'u8' {aka 'unsigned char'} [-Wnarrowing] - 2499 | (address >> 8) & 255, - | ~~~~~~~~~~~~~~~^~~~~ -../Cheats.cpp:2500:21: warning: narrowing conversion of '((address >> 16) & 255)' from 'u32' {aka 'unsigned int'} to 'u8' {aka 'unsigned char'} [-Wnarrowing] - 2500 | (address >> 16) & 255, - | ~~~~~~~~~~~~~~~~^~~~~ -../Cheats.cpp:2501:21: warning: narrowing conversion of '((address >> 24) & 255)' from 'u32' {aka 'unsigned int'} to 'u8' {aka 'unsigned char'} [-Wnarrowing] - 2501 | (address >> 24) & 255, - | ~~~~~~~~~~~~~~~~^~~~~ -../Cheats.cpp:2502:12: warning: narrowing conversion of '(value & 255)' from 'u32' {aka 'unsigned int'} to 'u8' {aka 'unsigned char'} [-Wnarrowing] - 2502 | (value & 255), - | ~~~~~~~^~~~~~ -../Cheats.cpp:2503:18: warning: narrowing conversion of '((value >> 8) & 255)' from 'u32' {aka 'unsigned int'} to 'u8' {aka 'unsigned char'} [-Wnarrowing] - 2503 | (value >> 8) & 255, - | ~~~~~~~~~~~~~^~~~~ debugger.cpp:2414:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2414 | tvalue="r"; | ^~~ @@ -2830,71 +2931,14 @@ debugger.cpp:2091:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2091 | fgets(buffer, 1024, stdin); | ~~~~~^~~~~~~~~~~~~~~~~~~~~ -../Cheats.cpp: In function 'bool cheatsImportGSACodeFile(const char*, int, bool)': -../Cheats.cpp:2093:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2093 | fread(&games, 1, 4, f); - | ~~~~~^~~~~~~~~~~~~~~~~ -../Cheats.cpp:2101:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2101 | fread(&len, 1, 4, f); - | ~~~~~^~~~~~~~~~~~~~~ -../Cheats.cpp:2104:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2104 | fread(&codes, 1, 4, f); - | ~~~~~^~~~~~~~~~~~~~~~~ -../Cheats.cpp:2106:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2106 | fread(&len, 1, 4, f); - | ~~~~~^~~~~~~~~~~~~~~ -../Cheats.cpp:2109:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2109 | fread(&len, 1, 4, f); - | ~~~~~^~~~~~~~~~~~~~~ -../Cheats.cpp:2119:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2119 | fread(&len, 1, 4, f); - | ~~~~~^~~~~~~~~~~~~~~ -../Cheats.cpp:2122:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2122 | fread(&codes, 1, 4, f); - | ~~~~~^~~~~~~~~~~~~~~~~ -../Cheats.cpp:2124:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2124 | fread(&len, 1, 4, f); - | ~~~~~^~~~~~~~~~~~~~~ -../Cheats.cpp:2125:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2125 | fread(desc, 1, len, f); - | ~~~~~^~~~~~~~~~~~~~~~~ -../Cheats.cpp:2128:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2128 | fread(&len, 1, 4, f); - | ~~~~~^~~~~~~~~~~~~~~ -../Cheats.cpp:2131:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2131 | fread(&len, 1, 4, f); - | ~~~~~^~~~~~~~~~~~~~~ -../Cheats.cpp:2134:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2134 | fread(code, 1, 8, f); - | ~~~~~^~~~~~~~~~~~~~~ -../Cheats.cpp:2136:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2136 | fread(&code[8], 1, 8, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~ -../Cheats.cpp: In function 'bool cheatsLoadCheatList(const char*)': -../Cheats.cpp:2756:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2756 | fread(&cheatsList[i].code, 1, sizeof(int),f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../Cheats.cpp:2757:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2757 | fread(&cheatsList[i].size, 1, sizeof(int),f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../Cheats.cpp:2758:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2758 | fread(&cheatsList[i].status, 1, sizeof(int),f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../Cheats.cpp:2759:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2759 | fread(&cheatsList[i].enabled, 1, sizeof(int),f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../Cheats.cpp:2761:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2761 | fread(&cheatsList[i].address, 1, sizeof(u32),f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../Cheats.cpp:2763:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2763 | fread(&cheatsList[i].value, 1, sizeof(u32),f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../Cheats.cpp:2764:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2764 | fread(&cheatsList[i].oldValue, 1, sizeof(u32),f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../Cheats.cpp:2765:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2765 | fread(&cheatsList[i].codestring, 1, 20*sizeof(char),f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../GBA.cpp: In function 'bool CPUWriteMemState(char*, int)': +../GBA.cpp:876:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 876 | gzFile gzFile = utilMemGzOpen(memory, available, "w"); + | ^~~ +../GBA.cpp: In function 'bool CPUReadMemState(char*, int)': +../GBA.cpp:1055:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1055 | gzFile gzFile = utilMemGzOpen(memory, available, "r"); + | ^~~ debugger.cpp:2091:8: warning: 'char* fgets(char*, int, FILE*)' writing 1024 bytes into a region of size 10 overflows the destination [-Wstringop-overflow=] 2091 | fgets(buffer, 1024, stdin); | ~~~~~^~~~~~~~~~~~~~~~~~~~~ @@ -2907,14 +2951,6 @@ 305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n, | ^~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Mode5.o `test -f '../Mode5.cpp' || echo './'`../Mode5.cpp -../GBA.cpp: In function 'bool CPUWriteMemState(char*, int)': -../GBA.cpp:876:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 876 | gzFile gzFile = utilMemGzOpen(memory, available, "w"); - | ^~~ -../GBA.cpp: In function 'bool CPUReadMemState(char*, int)': -../GBA.cpp:1055:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1055 | gzFile gzFile = utilMemGzOpen(memory, available, "r"); - | ^~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o RTC.o `test -f '../RTC.cpp' || echo './'`../RTC.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Sound.o `test -f '../Sound.cpp' || echo './'`../Sound.cpp ../GBA.cpp: In function 'bool CPUReadGSASnapshot(const char*)': @@ -2936,13 +2972,6 @@ ../GBA.cpp:1180:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1180 | fread(buffer, 1, 16, file); | ~~~~~^~~~~~~~~~~~~~~~~~~~~ -g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Sram.o `test -f '../Sram.cpp' || echo './'`../Sram.cpp -In function 'char* fgets(char*, int, FILE*)', - inlined from 'void debuggerQuit(int, char**)' at debugger.cpp:2091:8: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:316:29: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer [-Wattribute-warning] - 316 | return __fgets_chk_warn (__s, __sz, __n, __stream); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Text.o `test -f '../Text.cpp' || echo './'`../Text.cpp SDL.cpp: In function 'void sdlWriteBattery()': SDL.cpp:1425:22: warning: '%s' directive writing up to 2047 bytes into a region of size 1048 [-Wformat-overflow=] 1425 | sprintf(buffer, "%s.sav", filename); @@ -3049,16 +3078,88 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +In function 'char* fgets(char*, int, FILE*)', + inlined from 'void debuggerQuit(int, char**)' at debugger.cpp:2091:8: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:316:29: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer [-Wattribute-warning] + 316 | return __fgets_chk_warn (__s, __sz, __n, __stream); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Sram.o `test -f '../Sram.cpp' || echo './'`../Sram.cpp +g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Text.o `test -f '../Text.cpp' || echo './'`../Text.cpp +SDL.cpp: In function 'void sdlWriteState(int)': +SDL.cpp:1384:26: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 1 and 2048 [-Wformat-overflow=] + 1384 | sprintf(stateName,"%s%d.sgm", filename, num+1); + | ^~ +SDL.cpp:1384:23: note: directive argument in the range [-2147483647, 2147483647] + 1384 | sprintf(stateName,"%s%d.sgm", filename, num+1); + | ^~~~~~~~~~ +In function 'int sprintf(char*, const char*, ...)', + inlined from 'void sdlWriteState(int)' at SDL.cpp:1384:12: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 6 and 2063 bytes into a destination of size 2048 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +SDL.cpp: In function 'void sdlWriteState(int)': +SDL.cpp:1379:30: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 2047 [-Wformat-overflow=] + 1379 | sprintf(stateName, "%s/%s%d.sgm", saveDir, sdlGetFilename(filename), + | ^~ +SDL.cpp:1379:24: note: directive argument in the range [-2147483647, 2147483647] + 1379 | sprintf(stateName, "%s/%s%d.sgm", saveDir, sdlGetFilename(filename), + | ^~~~~~~~~~~~~ +In function 'int sprintf(char*, const char*, ...)', + inlined from 'void sdlWriteState(int)' at SDL.cpp:1379:12: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output 7 or more bytes (assuming 2064) into a destination of size 2048 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +SDL.cpp: In function 'void sdlReadState(int)': +SDL.cpp:1405:26: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 1 and 2048 [-Wformat-overflow=] + 1405 | sprintf(stateName,"%s%d.sgm", filename, num+1); + | ^~ +SDL.cpp:1405:23: note: directive argument in the range [-2147483647, 2147483647] + 1405 | sprintf(stateName,"%s%d.sgm", filename, num+1); + | ^~~~~~~~~~ +In function 'int sprintf(char*, const char*, ...)', + inlined from 'void sdlReadState(int)' at SDL.cpp:1405:12: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 6 and 2063 bytes into a destination of size 2048 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +SDL.cpp: In function 'void sdlReadState(int)': +SDL.cpp:1400:30: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 2047 [-Wformat-overflow=] + 1400 | sprintf(stateName, "%s/%s%d.sgm", saveDir, sdlGetFilename(filename), + | ^~ +SDL.cpp:1400:24: note: directive argument in the range [-2147483647, 2147483647] + 1400 | sprintf(stateName, "%s/%s%d.sgm", saveDir, sdlGetFilename(filename), + | ^~~~~~~~~~~~~ +In function 'int sprintf(char*, const char*, ...)', + inlined from 'void sdlReadState(int)' at SDL.cpp:1400:12: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output 7 or more bytes (assuming 2064) into a destination of size 2048 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Util.o `test -f '../Util.cpp' || echo './'`../Util.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o admame.o `test -f '../admame.cpp' || echo './'`../admame.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o agbprint.o `test -f '../agbprint.cpp' || echo './'`../agbprint.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o armdis.o `test -f '../armdis.cpp' || echo './'`../armdis.cpp -g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o bilinear.o `test -f '../bilinear.cpp' || echo './'`../bilinear.cpp ../agbprint.cpp: In function 'void agbPrintFlush()': ../agbprint.cpp:79:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 79 | dbgOutput("Did you forget to call AGBPrintInit?\n", 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o bilinear.o `test -f '../bilinear.cpp' || echo './'`../bilinear.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o bios.o `test -f '../bios.cpp' || echo './'`../bios.cpp +g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o elf.o `test -f '../elf.cpp' || echo './'`../elf.cpp ../armdis.cpp:77:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 77 | {0xf800, 0x0000, "lsl %r0, %r3, %o"}, | ^~~~~~~~~~~~~~~~~~ @@ -3368,72 +3469,7 @@ ../armdis.cpp:209:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 209 | {0x00000000, 0x00000000, "[ ??? ]"} | ^~~~~~~~~ -SDL.cpp: In function 'void sdlWriteState(int)': -SDL.cpp:1384:26: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 1 and 2048 [-Wformat-overflow=] - 1384 | sprintf(stateName,"%s%d.sgm", filename, num+1); - | ^~ -SDL.cpp:1384:23: note: directive argument in the range [-2147483647, 2147483647] - 1384 | sprintf(stateName,"%s%d.sgm", filename, num+1); - | ^~~~~~~~~~ -g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o elf.o `test -f '../elf.cpp' || echo './'`../elf.cpp -In function 'int sprintf(char*, const char*, ...)', - inlined from 'void sdlWriteState(int)' at SDL.cpp:1384:12: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 6 and 2063 bytes into a destination of size 2048 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -SDL.cpp: In function 'void sdlWriteState(int)': -SDL.cpp:1379:30: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 2047 [-Wformat-overflow=] - 1379 | sprintf(stateName, "%s/%s%d.sgm", saveDir, sdlGetFilename(filename), - | ^~ -SDL.cpp:1379:24: note: directive argument in the range [-2147483647, 2147483647] - 1379 | sprintf(stateName, "%s/%s%d.sgm", saveDir, sdlGetFilename(filename), - | ^~~~~~~~~~~~~ -In function 'int sprintf(char*, const char*, ...)', - inlined from 'void sdlWriteState(int)' at SDL.cpp:1379:12: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output 7 or more bytes (assuming 2064) into a destination of size 2048 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o expr-lex.o `test -f '../expr-lex.cpp' || echo './'`../expr-lex.cpp -SDL.cpp: In function 'void sdlReadState(int)': -SDL.cpp:1405:26: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 1 and 2048 [-Wformat-overflow=] - 1405 | sprintf(stateName,"%s%d.sgm", filename, num+1); - | ^~ -SDL.cpp:1405:23: note: directive argument in the range [-2147483647, 2147483647] - 1405 | sprintf(stateName,"%s%d.sgm", filename, num+1); - | ^~~~~~~~~~ -In function 'int sprintf(char*, const char*, ...)', - inlined from 'void sdlReadState(int)' at SDL.cpp:1405:12: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 6 and 2063 bytes into a destination of size 2048 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -SDL.cpp: In function 'void sdlReadState(int)': -SDL.cpp:1400:30: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 2047 [-Wformat-overflow=] - 1400 | sprintf(stateName, "%s/%s%d.sgm", saveDir, sdlGetFilename(filename), - | ^~ -SDL.cpp:1400:24: note: directive argument in the range [-2147483647, 2147483647] - 1400 | sprintf(stateName, "%s/%s%d.sgm", saveDir, sdlGetFilename(filename), - | ^~~~~~~~~~~~~ -In function 'int sprintf(char*, const char*, ...)', - inlined from 'void sdlReadState(int)' at SDL.cpp:1400:12: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output 7 or more bytes (assuming 2064) into a destination of size 2048 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ ../elf.cpp: In function 'char* elfGetAddressSymbol(u32)': ../elf.cpp:298:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 298 | name = ""; @@ -3456,7 +3492,6 @@ ../elf.cpp:1163:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1163 | ELFSectionHeader *h = elfGetSectionByName(".debug_line"); | ^~~~~~~~~~~~~ -g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o expr.o `test -f '../expr.cpp' || echo './'`../expr.cpp ../elf.cpp: In function 'void elfParseAranges(u8*)': ../elf.cpp:2530:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2530 | ELFSectionHeader *sh = elfGetSectionByName(".debug_aranges"); @@ -3475,6 +3510,7 @@ ../elf.cpp:2739:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2739 | h = elfGetSectionByName(".debug_str"); | ^~~~~~~~~~~~ +g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o expr.o `test -f '../expr.cpp' || echo './'`../expr.cpp ../elf.cpp: In function 'bool elfRead(const char*, int&, FILE*)': ../elf.cpp:2803:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2803 | fread(elfFileData, 1, size, f); @@ -3505,7 +3541,6 @@ expr-lex.cpp:1054:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] expr-lex.cpp:1055:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] expr-lex.cpp:1057:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o exprNode.o `test -f '../exprNode.cpp' || echo './'`../exprNode.cpp /usr/lib/bison.simple: In function 'int yyparse()': /usr/lib/bison.simple:250:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] /usr/lib/bison.simple:251:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] @@ -3513,10 +3548,11 @@ /usr/lib/bison.simple:253:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] /usr/lib/bison.simple:358:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /usr/lib/bison.simple:643:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] +g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o exprNode.o `test -f '../exprNode.cpp' || echo './'`../exprNode.cpp +gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o getopt.o `test -f '../getopt.c' || echo './'`../getopt.c ../exprNode.cpp:39:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 39 | Type exprNodeType = { 0, TYPE_base, "int", DW_ATE_signed, 4, 0, {0}, 0 }; | ^~~~~ -gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o getopt.o `test -f '../getopt.c' || echo './'`../getopt.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o getopt1.o `test -f '../getopt1.c' || echo './'`../getopt1.c g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o hq2x.o `test -f '../hq2x.cpp' || echo './'`../hq2x.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o interframe.o `test -f '../interframe.cpp' || echo './'`../interframe.cpp @@ -3526,6 +3562,8 @@ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o remote.o `test -f '../remote.cpp' || echo './'`../remote.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o scanline.o `test -f '../scanline.cpp' || echo './'`../scanline.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o simple2x.o `test -f '../simple2x.cpp' || echo './'`../simple2x.cpp +g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o unzip.o `test -f '../unzip.cpp' || echo './'`../unzip.cpp +g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o TestEmu.o TestEmu.cpp ../remote.cpp: In function 'void remotePutPacket(char*)': ../remote.cpp:231:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 231 | char *hex = "0123456789abcdef"; @@ -3588,8 +3626,6 @@ ../remote.cpp:190:7: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 190 | read(0, &dummy, 1); | ~~~~^~~~~~~~~~~~~~ -g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o unzip.o `test -f '../unzip.cpp' || echo './'`../unzip.cpp -g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o TestEmu.o TestEmu.cpp In file included from TestEmu.cpp:33: ../gb/GB.h:41:36: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 41 | extern void gbWriteMemory(register u16, register u8); @@ -4369,39 +4405,39 @@ ./src/sdl/GBA.o ./src/sdl/hq2x.o ./src/sdl/elf.o -./src/sdl/unzip.o ./src/sdl/bios.o +./src/sdl/unzip.o +./src/sdl/TestEmu.o +./src/sdl/memgzio.o ./src/sdl/armdis.o ./src/sdl/remote.o -./src/sdl/TestEmu.o -./src/sdl/SDL.o -./src/sdl/Cheats.o -./src/sdl/simple2x.o ./src/sdl/scanline.o -./src/sdl/memgzio.o +./src/sdl/simple2x.o ./src/sdl/pixel.o ./src/sdl/interframe.o +./src/sdl/Mode0.o ./src/sdl/motionblur.o +./src/sdl/Mode3.o ./src/sdl/exprNode.o -./src/sdl/Util.o -./src/sdl/getopt1.o +./src/sdl/Mode4.o ./src/sdl/expr-lex.o +./src/sdl/getopt1.o ./src/sdl/getopt.o +./src/sdl/Util.o +./src/sdl/SDL.o ./src/sdl/expr.o ./src/sdl/bilinear.o -./src/sdl/Mode0.o -./src/sdl/debugger.o +./src/sdl/Mode5.o +./src/sdl/Cheats.o ./src/sdl/agbprint.o -./src/sdl/Mode1.o ./src/sdl/admame.o -./src/sdl/Mode3.o -./src/sdl/Mode5.o -./src/sdl/2xSaI.o ./src/sdl/Text.o -./src/sdl/Mode4.o -./src/sdl/Mode2.o -./src/sdl/Sram.o +./src/sdl/debugger.o ./src/sdl/Sound.o +./src/sdl/2xSaI.o +./src/sdl/Mode1.o +./src/sdl/Sram.o +./src/sdl/Mode2.o ./src/sdl/RTC.o ./src/sdl/Flash.o ./src/sdl/EEprom.o @@ -4916,9 +4952,9 @@ dh_perl dh_link dh_strip_nondeterminism - Normalized debian/visualboyadvance/usr/share/locale/fr/LC_MESSAGES/vba.mo - Normalized debian/visualboyadvance/usr/share/locale/pt_BR/LC_MESSAGES/vba.mo Normalized debian/visualboyadvance/usr/share/locale/sv/LC_MESSAGES/vba.mo + Normalized debian/visualboyadvance/usr/share/locale/pt_BR/LC_MESSAGES/vba.mo + Normalized debian/visualboyadvance/usr/share/locale/fr/LC_MESSAGES/vba.mo dh_compress dh_fixperms dh_missing @@ -4934,8 +4970,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'visualboyadvance-dbgsym' in '../visualboyadvance-dbgsym_1.8.0.dfsg-6_arm64.deb'. dpkg-deb: building package 'visualboyadvance' in '../visualboyadvance_1.8.0.dfsg-6_arm64.deb'. +dpkg-deb: building package 'visualboyadvance-dbgsym' in '../visualboyadvance-dbgsym_1.8.0.dfsg-6_arm64.deb'. dpkg-genbuildinfo --build=binary -O../visualboyadvance_1.8.0.dfsg-6_arm64.buildinfo dpkg-genchanges --build=binary -O../visualboyadvance_1.8.0.dfsg-6_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -4943,12 +4979,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/2667534/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2667534/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/2448695 and its subdirectories -I: Current time: Tue Dec 17 12:14:53 -12 2024 -I: pbuilder-time-stamp: 1734480893 +I: removing directory /srv/workspace/pbuilder/2667534 and its subdirectories +I: Current time: Tue Jan 20 20:43:32 +14 2026 +I: pbuilder-time-stamp: 1768891412