Diff of the two buildlogs: -- --- b1/build.log 2024-05-14 08:31:07.485586517 +0000 +++ b2/build.log 2024-05-14 08:34:15.245609996 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Jun 16 02:51:02 -12 2025 -I: pbuilder-time-stamp: 1750085462 +I: Current time: Tue May 14 22:31:10 +14 2024 +I: pbuilder-time-stamp: 1715675470 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -44,52 +44,84 @@ dpkg-source: info: applying 19_i18n-is-independent-from-gtk.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1456506/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/436715/tmp/hooks/D01_modify_environment starting +debug: Running on codethink02-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 May 14 08:31 /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/436715/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/436715/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]="21" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.21(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='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='de487de7313747dab601ba58ca35d502' - 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='1456506' - PS1='# ' - PS2='> ' + INVOCATION_ID=cf637eff0274448f97859c50d8605dc7 + 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=436715 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.dsmEN7J8/pbuilderrc_BpW0 --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.dsmEN7J8/b1 --logfile b1/build.log visualboyadvance_1.8.0.dfsg-5.1.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.dsmEN7J8/pbuilderrc_Z86g --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.dsmEN7J8/b2 --logfile b2/build.log visualboyadvance_1.8.0.dfsg-5.1.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 codethink03-arm64 6.1.0-21-cloud-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-cloud-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jun 15 17:48 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1456506/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 12 11:38 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/436715/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -346,7 +378,7 @@ Get: 203 http://deb.debian.org/debian trixie/main arm64 libxxf86vm-dev arm64 1:1.1.4-1+b2 [25.1 kB] Get: 204 http://deb.debian.org/debian trixie/main arm64 libsdl2-dev arm64 2.30.2+dfsg-1 [1044 kB] Get: 205 http://deb.debian.org/debian trixie/main arm64 libsdl1.2-dev arm64 1.2.68-2 [64.4 kB] -Fetched 85.9 MB in 0s (215 MB/s) +Fetched 85.9 MB in 0s (188 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 ... 19744 files and directories currently installed.) @@ -1006,8 +1038,8 @@ Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Mon Jun 16 14:51:30 UTC 2025. -Universal Time is now: Mon Jun 16 14:51:30 UTC 2025. +Local time is now: Tue May 14 08:31:36 UTC 2024. +Universal Time is now: Tue May 14 08:31:36 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libsysprof-capture-4-dev:arm64 (46.0-1) ... @@ -1204,7 +1236,11 @@ fakeroot is already the newest version (1.33-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 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-5.1_source.changes +I: user script /srv/workspace/pbuilder/436715/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/436715/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-5.1_source.changes dpkg-buildpackage: info: source package visualboyadvance dpkg-buildpackage: info: source version 1.8.0.dfsg-5.1 dpkg-buildpackage: info: source distribution unstable @@ -1657,33 +1693,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 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); - | ^~~ -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) - | ^~~~ -In file included from gbMemory.cpp:23: +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); | ^~~ 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 gbSGB.cpp:25: +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); + | ~~~~~^~~~~~~~~~~~~~~~~~ +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); + | ^~~ 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" }; | ^~~ @@ -1711,6 +1754,12 @@ gbDis.cpp:37:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 37 | { "BC", "DE", "HL", "SP", // for some operations | ^~~~ +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) + | ^~~~~ gbDis.cpp:37:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 37 | { "BC", "DE", "HL", "SP", // for some operations | ^~~~ @@ -1744,16 +1793,6 @@ gbDis.cpp:41:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 41 | { "NZ", "Z", "NC", "C" }; | ^~~ -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++) { - | ^ gbDis.cpp:49:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 49 | { 0xff, 0x00, "NOP" }, | ^~~~~ @@ -1997,49 +2036,16 @@ 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: -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); - | ^~~ -In file included from gbCheats.cpp:30: +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: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) - | ^~~~~ -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); - | ~~~~~^~~~~~~~~~~~~~~~~~ GB.cpp:1589:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1589 | u8 gbReadOpcode(register u16 address) | ^~~~~~~ +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:1738:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1738 | u8 gbReadMemory(register u16 address) | ^~~~~~~ @@ -2055,6 +2061,36 @@ GB.cpp:4444:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 4444 | register int opcode = 0; | ^~~~~~ +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); + | ^~~ +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) + | ^~~~ +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); + | ^~ +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: 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); @@ -2109,12 +2145,11 @@ 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) + | ^ +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:164:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 164 | register u32 y = (A & qlowpixelMask) + | ^ @@ -2154,6 +2189,7 @@ ../2xSaI.cpp:1027:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1027 | 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 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", "[]" }, | ^~~ @@ -2547,7 +2583,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 }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 '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 = "?"; @@ -2573,6 +2627,46 @@ debugger.cpp:916:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 916 | debuggerUsage("bd"); | ^~~~ +../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 debuggerBreak(int, char**)': debugger.cpp:1007:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1007 | debuggerUsage("break"); @@ -2585,22 +2679,40 @@ debugger.cpp:1039:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1039 | debuggerUsage("ba"); | ^~~~ -../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"); - | ^~~ debugger.cpp: In function 'void debuggerBreakWriteClear(int, char**)': debugger.cpp:1162:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1162 | debuggerUsage("bpwc"); | ^~~~~~ +../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); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 debuggerBreakWrite(int, char**)': debugger.cpp:1232:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1232 | debuggerUsage("bpw"); | ^~~~~ -../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: 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"); @@ -2609,7 +2721,6 @@ debugger.cpp:1401:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1401 | debuggerUsage("bpc"); | ^~~~~ -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 debuggerFileDisassembleArm(int, char**)': debugger.cpp:1493:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1493 | debuggerUsage("fda"); @@ -2633,25 +2744,6 @@ debugger.cpp:1636:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1636 | debuggerUsage("fr"); | ^~~~ -../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 debuggerFileDisassemble(int, char**)': debugger.cpp:1745:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1745 | debuggerUsage("fd"); @@ -2673,6 +2765,13 @@ debugger.cpp:1921:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1921 | debuggerUsage("eb"); | ^~~~ +In file included from SDL.cpp:39: +../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); + | ^~~ +../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); + | ^~ debugger.cpp: In function 'void debuggerEditHalfWord(int, char**)': debugger.cpp:1937:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1937 | debuggerUsage("eh"); @@ -2693,13 +2792,6 @@ debugger.cpp:2045:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2045 | debuggerUsage("mh"); | ^~~~ -In file included from SDL.cpp:39: -../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); - | ^~~ -../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); - | ^~ 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"); @@ -2708,6 +2800,7 @@ debugger.cpp:2111:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2111 | debuggerUsage("save"); | ^~~~~~ +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 debuggerReadState(int, char**)': debugger.cpp:2126:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2126 | debuggerUsage("load"); @@ -2753,87 +2846,10 @@ debugger.cpp:2419:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2419 | tvalue="0x"; | ^~~~ -../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 debuggerQuit(int, char**)': 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 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); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 -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); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~ -debugger.cpp:2089:8: note: destination object 'buffer' of size 10 - 2089 | char buffer[10]; - | ^~~~~~ -In file included from /usr/include/stdio.h:964, - from debugger.cpp:21: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:195:1: note: in a call to function 'char* fgets(char*, int, FILE*)' declared with attribute 'access (write_only, 1, 2)' - 195 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) - | ^~~~~ 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", @@ -2859,32 +2875,33 @@ SDL.cpp:1841:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1841 | "autofire L"}; | ^~~~~~~~~~~~ +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); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~ +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 +debugger.cpp:2089:8: note: destination object 'buffer' of size 10 + 2089 | char buffer[10]; + | ^~~~~~ +In file included from /usr/include/stdio.h:964, + from debugger.cpp:21: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:195:1: note: in a call to function 'char* fgets(char*, int, FILE*)' declared with attribute 'access (write_only, 1, 2)' + 195 | fgets (char *__restrict __s, int __n, FILE *__restrict __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 RTC.o `test -f '../RTC.cpp' || echo './'`../RTC.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 Sound.o `test -f '../Sound.cpp' || echo './'`../Sound.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:201:29: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer [-Wattribute-warning] 201 | return __fgets_chk_warn (__s, sz, __n, __stream); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -../GBA.cpp: In function 'bool CPUReadGSASnapshot(const char*)': -../GBA.cpp:1166:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1166 | fread(&i, 1, 4, file); - | ~~~~~^~~~~~~~~~~~~~~~ -../GBA.cpp:1169:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1169 | fread(&i, 1, 4, file); // name length - | ~~~~~^~~~~~~~~~~~~~~~ -../GBA.cpp:1171:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1171 | fread(&i, 1, 4, file); // desc length - | ~~~~~^~~~~~~~~~~~~~~~ -../GBA.cpp:1173:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1173 | fread(&i, 1, 4, file); // notes length - | ~~~~~^~~~~~~~~~~~~~~~ -../GBA.cpp:1176:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1176 | fread(&saveSize, 1, 4, file); // read length - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -../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); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~ 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); @@ -2913,8 +2930,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 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 sdlReadBattery()': SDL.cpp:1441:22: warning: '%s' directive writing up to 2047 bytes into a region of size 1048 [-Wformat-overflow=] 1441 | sprintf(buffer, "%s.sav", filename); @@ -2993,10 +3008,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 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); @@ -3029,10 +3040,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -../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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); @@ -3065,11 +3072,40 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +../GBA.cpp: In function 'bool CPUReadGSASnapshot(const char*)': +../GBA.cpp:1166:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1166 | fread(&i, 1, 4, file); + | ~~~~~^~~~~~~~~~~~~~~~ +../GBA.cpp:1169:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1169 | fread(&i, 1, 4, file); // name length + | ~~~~~^~~~~~~~~~~~~~~~ +../GBA.cpp:1171:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1171 | fread(&i, 1, 4, file); // desc length + | ~~~~~^~~~~~~~~~~~~~~~ +../GBA.cpp:1173:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1173 | fread(&i, 1, 4, file); // notes length + | ~~~~~^~~~~~~~~~~~~~~~ +../GBA.cpp:1176:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1176 | fread(&saveSize, 1, 4, file); // read length + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +../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 +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 +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 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 ../armdis.cpp:77:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 77 | {0xf800, 0x0000, "lsl %r0, %r3, %o"}, | ^~~~~~~~~~~~~~~~~~ +../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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../armdis.cpp:78:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 78 | {0xf800, 0x0800, "lsr %r0, %r3, %o"}, | ^~~~~~~~~~~~~~~~~~ @@ -3379,6 +3415,33 @@ 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 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 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 +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 +expr-lex.cpp: In function 'int yylex()': +expr-lex.cpp:546:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +expr-lex.cpp:547:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +expr-lex.cpp:547:39: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +expr-lex.cpp:548:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +expr-lex.cpp:595:42: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +expr-lex.cpp: In function 'int yy_get_next_buffer()': +expr-lex.cpp:844:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +expr-lex.cpp:845:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +expr-lex.cpp:846:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +expr-lex.cpp:846:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +expr-lex.cpp: In function 'yy_state_type yy_get_previous_state()': +expr-lex.cpp:976:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +expr-lex.cpp:977:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +expr-lex.cpp:983:34: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +expr-lex.cpp: In function 'yy_state_type yy_try_NUL_trans(yy_state_type)': +expr-lex.cpp:1015:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +expr-lex.cpp:1016:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +expr-lex.cpp:1018:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +expr-lex.cpp: At global scope: +expr-lex.cpp:1039:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +expr-lex.cpp: In function 'void yyunput(int, char*)': +expr-lex.cpp:1046:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +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] ../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 = ""; @@ -3401,6 +3464,7 @@ ../elf.cpp:1163:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1163 | ELFSectionHeader *h = elfGetSectionByName(".debug_line"); | ^~~~~~~~~~~~~ +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 ../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"); @@ -3409,6 +3473,13 @@ ../elf.cpp:2582:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2582 | ELFSectionHeader *sh = elfGetSectionByName(".symtab"); | ^~~~~~~~~ +/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] +/usr/lib/bison.simple:252:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +/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] ../elf.cpp: In function 'bool elfReadProgram(ELFHeader*, u8*, int&, bool)': ../elf.cpp:2724:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2724 | ELFSectionHeader *dbgHeader = elfGetSectionByName(".debug_info"); @@ -3419,48 +3490,13 @@ ../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 exprNode.o `test -f '../exprNode.cpp' || echo './'`../exprNode.cpp -expr-lex.cpp: In function 'int yylex()': -expr-lex.cpp:546:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -expr-lex.cpp:547:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -expr-lex.cpp:547:39: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -expr-lex.cpp:548:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -expr-lex.cpp:595:42: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -expr-lex.cpp: In function 'int yy_get_next_buffer()': -expr-lex.cpp:844:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -expr-lex.cpp:845:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -expr-lex.cpp:846:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -expr-lex.cpp:846:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -expr-lex.cpp: In function 'yy_state_type yy_get_previous_state()': -expr-lex.cpp:976:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -expr-lex.cpp:977:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -expr-lex.cpp:983:34: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -expr-lex.cpp: In function 'yy_state_type yy_try_NUL_trans(yy_state_type)': -expr-lex.cpp:1015:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -expr-lex.cpp:1016:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -expr-lex.cpp:1018:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -expr-lex.cpp: At global scope: -expr-lex.cpp:1039:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -expr-lex.cpp: In function 'void yyunput(int, char*)': -expr-lex.cpp:1046:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -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] ../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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -/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] -/usr/lib/bison.simple:252:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -/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] ../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 @@ -3471,7 +3507,6 @@ 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"; @@ -3534,6 +3569,7 @@ ../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 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); @@ -4247,13 +4283,13 @@ ./src/gb ./src/gb/libgb.a ./src/gb/GB.o -./src/gb/gbMemory.o ./src/gb/gbSGB.o +./src/gb/gbMemory.o ./src/gb/gbSound.o ./src/gb/gbGfx.o -./src/gb/gbCheats.o -./src/gb/gbDis.o ./src/gb/gbPrinter.o +./src/gb/gbDis.o +./src/gb/gbCheats.o ./src/gb/gbGlobals.o ./src/gb/Makefile ./src/gb/Makefile.in @@ -4310,49 +4346,49 @@ ./src/exprNode.cpp ./src/gp ./src/sdl -./src/sdl/VisualBoyAdvance ./src/sdl/TestEmu +./src/sdl/VisualBoyAdvance ./src/sdl/GBA.o ./src/sdl/hq2x.o ./src/sdl/elf.o ./src/sdl/unzip.o +./src/sdl/TestEmu.o +./src/sdl/armdis.o ./src/sdl/bios.o +./src/sdl/memgzio.o ./src/sdl/remote.o -./src/sdl/TestEmu.o -./src/sdl/Cheats.o ./src/sdl/scanline.o -./src/sdl/memgzio.o ./src/sdl/simple2x.o -./src/sdl/armdis.o -./src/sdl/interframe.o ./src/sdl/pixel.o -./src/sdl/motionblur.o -./src/sdl/SDL.o +./src/sdl/interframe.o ./src/sdl/exprNode.o +./src/sdl/motionblur.o ./src/sdl/expr-lex.o ./src/sdl/debugger.o -./src/sdl/getopt.o +./src/sdl/Cheats.o ./src/sdl/Util.o -./src/sdl/getopt1.o ./src/sdl/expr.o +./src/sdl/getopt1.o ./src/sdl/bilinear.o -./src/sdl/Mode4.o -./src/sdl/Mode0.o -./src/sdl/Mode3.o +./src/sdl/getopt.o +./src/sdl/Mode1.o ./src/sdl/agbprint.o +./src/sdl/Mode5.o +./src/sdl/SDL.o +./src/sdl/Mode3.o ./src/sdl/admame.o -./src/sdl/Mode1.o ./src/sdl/Text.o +./src/sdl/Mode0.o ./src/sdl/Sram.o +./src/sdl/Mode4.o ./src/sdl/Mode2.o -./src/sdl/Mode5.o ./src/sdl/Sound.o ./src/sdl/2xSaI.o ./src/sdl/RTC.o ./src/sdl/Flash.o ./src/sdl/EEprom.o -./src/sdl/Gfx.o ./src/sdl/Globals.o +./src/sdl/Gfx.o ./src/sdl/Makefile ./src/sdl/Makefile.in ./src/sdl/debugger.cpp @@ -4884,12 +4920,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/436715/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/436715/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/1456506 and its subdirectories -I: Current time: Mon Jun 16 02:54:05 -12 2025 -I: pbuilder-time-stamp: 1750085645 +I: removing directory /srv/workspace/pbuilder/436715 and its subdirectories +I: Current time: Tue May 14 22:34:13 +14 2024 +I: pbuilder-time-stamp: 1715675653