Diff of the two buildlogs: -- --- b1/build.log 2024-05-15 05:09:06.133443055 +0000 +++ b2/build.log 2024-05-15 05:12:23.185057511 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue May 14 17:06:09 -12 2024 -I: pbuilder-time-stamp: 1715749569 +I: Current time: Wed Jun 18 01:32:08 +14 2025 +I: pbuilder-time-stamp: 1750159928 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-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/1100237/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/795850/tmp/hooks/D01_modify_environment starting +debug: Running on codethink01-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 Jun 17 11:32 /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/795850/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/795850/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='unstable' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='ce2f0a63d9bc4ce3ac9c334f2b23db21' - 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='1100237' - PS1='# ' - PS2='> ' + INVOCATION_ID=09418aeeb2b04c4c907ed41a9a7ab6c9 + 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=795850 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.TyRqyZ67/pbuilderrc_BpiC --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.TyRqyZ67/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.TyRqyZ67/pbuilderrc_gQ7P --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.TyRqyZ67/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 codethink04-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 May 13 07:43 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1100237/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 15 14:05 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/795850/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 unstable/main arm64 libxxf86vm-dev arm64 1:1.1.4-1+b2 [25.1 kB] Get: 204 http://deb.debian.org/debian unstable/main arm64 libsdl2-dev arm64 2.30.2+dfsg-1 [1044 kB] Get: 205 http://deb.debian.org/debian unstable/main arm64 libsdl1.2-dev arm64 1.2.68-2 [64.4 kB] -Fetched 85.9 MB in 1s (169 MB/s) +Fetched 85.9 MB in 1s (115 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: Wed May 15 05:06:36 UTC 2024. -Universal Time is now: Wed May 15 05:06:36 UTC 2024. +Local time is now: Tue Jun 17 11:32:47 UTC 2025. +Universal Time is now: Tue Jun 17 11:32:47 UTC 2025. 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.34-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/795850/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/795850/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 @@ -1656,21 +1692,53 @@ 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 gbMemory.o gbMemory.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 gbPrinter.o gbPrinter.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o gbSGB.o gbSGB.cpp -g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o gbSound.o gbSound.cpp -In file included from gbMemory.cpp:23: +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:26: +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); + | ^~~ +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 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); | ^~ +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.cpp:1738:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1738 | u8 gbReadMemory(register u16 address) + | ^~~~~~~ gbDis.cpp:34:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 34 | { "B", "C", "D", "E", "H", "L", "(HL)", "A" }; | ^~~ @@ -1692,13 +1760,6 @@ gbDis.cpp:34:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 34 | { "B", "C", "D", "E", "H", "L", "(HL)", "A" }; | ^~~~~~ -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:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 34 | { "B", "C", "D", "E", "H", "L", "(HL)", "A" }; | ^~~ @@ -1717,10 +1778,6 @@ gbDis.cpp:38:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 38 | "BC", "DE", "HL", "AF" }; // for push/pop | ^~~~ -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); - | ^~~ gbDis.cpp:38:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 38 | "BC", "DE", "HL", "AF" }; // for push/pop | ^~~~ @@ -1733,9 +1790,6 @@ gbDis.cpp:41:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 41 | { "NZ", "Z", "NC", "C" }; | ^~~~ -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:41:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 41 | { "NZ", "Z", "NC", "C" }; | ^~~ @@ -1805,12 +1859,6 @@ gbDis.cpp:68:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 68 | { 0xe7, 0x20, "JR %c3,%d" }, | ^~~~~~~~~~~ -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) - | ^~~~ gbDis.cpp:69:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 69 | { 0xff, 0x22, "LDI (HL),A" }, | ^~~~~~~~~~~~ @@ -1850,6 +1898,10 @@ gbDis.cpp:81:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 81 | { 0xf8, 0x90, "SUB %r0" }, | ^~~~~~~~~ +GB.cpp: In function 'bool gbWriteMemSaveState(char*, int)': +GB.cpp:3564:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3564 | gzFile gzFile = utilMemGzOpen(memory, available, "w"); + | ^~~ gbDis.cpp:82:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 82 | { 0xf8, 0x98, "SBC A,%r0" }, | ^~~~~~~~~~~ @@ -1994,42 +2046,42 @@ 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 gbCheats.cpp:30: +GB.cpp: In function 'bool gbReadMemSaveState(char*, int)': +GB.cpp:3942:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3942 | gzFile gzFile = utilMemGzOpen(memory, available, "r"); + | ^~~ +GB.cpp: In function 'void gbEmulate(int)': +GB.cpp:4444:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 4444 | register int opcode = 0; + | ^~~~~~ +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) - | ^~~~~ -GB.cpp:1589:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1589 | u8 gbReadOpcode(register u16 address) - | ^~~~~~~ -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:1738:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1738 | u8 gbReadMemory(register u16 address) - | ^~~~~~~ +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.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); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~ GB.h:41:50: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 41 | extern void gbWriteMemory(register u16, register u8); | ^~ @@ -2043,22 +2095,6 @@ 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 gbWriteMemSaveState(char*, int)': -GB.cpp:3564:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3564 | gzFile gzFile = utilMemGzOpen(memory, available, "w"); - | ^~~ -GB.cpp: In function 'bool gbReadMemSaveState(char*, int)': -GB.cpp:3942:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3942 | gzFile gzFile = utilMemGzOpen(memory, available, "r"); - | ^~~ -GB.cpp: In function 'void gbEmulate(int)': -GB.cpp:4444:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 4444 | register int opcode = 0; - | ^~~~~~ -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); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~ rm -f libgb.a ar cru libgb.a gbCheats.o GB.o gbDis.o gbGfx.o gbGlobals.o gbMemory.o gbPrinter.o gbSGB.o gbSound.o ar: `u' modifier ignored since `D' is the default (see `U') @@ -2110,8 +2146,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 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 -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:137:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 137 | { "?", debuggerHelp, "Show this help information. Type ? for command help", "[]" }, | ^~~ @@ -2235,6 +2269,10 @@ debugger.cpp:151:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 151 | { "da", debuggerDisassembleArm, "Disassemble ARM instructions", "[
[]]" }, | ^~~~ +../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) + + | ^ debugger.cpp:151:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 151 | { "da", debuggerDisassembleArm, "Disassemble ARM instructions", "[
[]]" }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2301,6 +2339,9 @@ debugger.cpp:158:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 158 | { "ew", debuggerEdit, "Modify memory location (word)", "
" }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../2xSaI.cpp:164:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 164 | register u32 y = (A & qlowpixelMask) + + | ^ debugger.cpp:158:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 158 | { "ew", debuggerEdit, "Modify memory location (word)", "
" }, | ^~~~~~~~~~~~~~~~~~~~~~~ @@ -2349,6 +2390,10 @@ debugger.cpp:163:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 163 | { "fh", debuggerFindHex, "Search memory for hex-string.", " [] " }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../2xSaI.cpp: In function 'void Super2xSaI(u8*, u32, u8*, u8*, u32, int, int)': +../2xSaI.cpp:287:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 287 | register int r = 0; + | ^ debugger.cpp:164:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 164 | { "fr", debuggerFindResume, "Resume current search.", "[]" }, | ^~~~ @@ -2409,6 +2454,10 @@ debugger.cpp:171:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 171 | { "mh", debuggerMemoryHalfWord, "Show memory contents (half-words)", "
"}, | ^~~~ +../2xSaI.cpp: In function 'void Super2xSaI32(u8*, u32, u8*, u8*, u32, int, int)': +../2xSaI.cpp:419:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 419 | register int r = 0; + | ^ debugger.cpp:171:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 171 | { "mh", debuggerMemoryHalfWord, "Show memory contents (half-words)", "
"}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2472,6 +2521,10 @@ debugger.cpp:178:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 178 | { "save", debuggerWriteState, "Create a savegame", "" }, | ^~~~~~~~~~ +../2xSaI.cpp: In function 'void SuperEagle(u8*, u32, u8*, u8*, u32, int, int)': +../2xSaI.cpp:579:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 579 | register int r = 0; + | ^ debugger.cpp:179:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 179 | { "symbols", debuggerSymbols, "List symbols", "[]" }, | ^~~~~~~~~ @@ -2505,21 +2558,31 @@ 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 }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../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) + - | ^ -../2xSaI.cpp:164:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 164 | register u32 y = (A & qlowpixelMask) + - | ^ -../2xSaI.cpp: In function 'void Super2xSaI(u8*, u32, u8*, u8*, u32, int, int)': -../2xSaI.cpp:287:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 287 | register int r = 0; - | ^ -../2xSaI.cpp: In function 'void Super2xSaI32(u8*, u32, u8*, u8*, u32, int, int)': -../2xSaI.cpp:419:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 419 | register int r = 0; +../2xSaI.cpp: In function 'void SuperEagle32(u8*, u32, u8*, u8*, u32, int, int)': +../2xSaI.cpp:714:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 714 | register int r = 0; | ^ +../2xSaI.cpp: In function 'void _2xSaI(u8*, u32, u8*, u8*, u32, int, int)': +../2xSaI.cpp:794:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 794 | register u32 colorA, colorB; + | ^~~~~~ +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:794:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 794 | register u32 colorA, colorB; + | ^~~~~~ +../2xSaI.cpp:867:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 867 | register int r = 0; + | ^ +../2xSaI.cpp: In function 'void _2xSaI32(u8*, u32, u8*, u8*, u32, int, int)': +../2xSaI.cpp:954:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 954 | register u32 colorA, colorB; + | ^~~~~~ +../2xSaI.cpp:954:28: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 954 | register u32 colorA, colorB; + | ^~~~~~ +../2xSaI.cpp:1027:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1027 | register int r = 0; + | ^ 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 = "?"; @@ -2533,10 +2596,6 @@ debugger.cpp:622:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 622 | ts = "DATA"; | ^~~~~~ -../2xSaI.cpp: In function 'void SuperEagle(u8*, u32, u8*, u8*, u32, int, int)': -../2xSaI.cpp:579:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 579 | register int r = 0; - | ^ debugger.cpp: In function 'void debuggerDebug(int, char**)': debugger.cpp:751:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 751 | debuggerUsage("trace"); @@ -2545,46 +2604,29 @@ debugger.cpp:762:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 762 | debuggerUsage("verbose"); | ^~~~~~~~~ -../2xSaI.cpp: In function 'void SuperEagle32(u8*, u32, u8*, u8*, u32, int, int)': -../2xSaI.cpp:714:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 714 | register int r = 0; - | ^ -../2xSaI.cpp: In function 'void _2xSaI(u8*, u32, u8*, u8*, u32, int, int)': -../2xSaI.cpp:794:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 794 | register u32 colorA, colorB; - | ^~~~~~ -../2xSaI.cpp:794:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 794 | register u32 colorA, colorB; - | ^~~~~~ debugger.cpp: In function 'void debuggerBreakDelete(int, char**)': debugger.cpp:916:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 916 | debuggerUsage("bd"); | ^~~~ -../2xSaI.cpp:867:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 867 | register int r = 0; - | ^ -../2xSaI.cpp: In function 'void _2xSaI32(u8*, u32, u8*, u8*, u32, int, int)': -../2xSaI.cpp:954:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 954 | register u32 colorA, colorB; - | ^~~~~~ -../2xSaI.cpp:954:28: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 954 | register u32 colorA, colorB; - | ^~~~~~ 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"); | ^~~~~~~ +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); + | ^~~ debugger.cpp: In function 'void debuggerBreakThumb(int, char**)': debugger.cpp:1023:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1023 | debuggerUsage("bt"); | ^~~~ -../2xSaI.cpp:1027:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1027 | register int r = 0; - | ^ debugger.cpp: In function 'void debuggerBreakArm(int, char**)': debugger.cpp:1039:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1039 | debuggerUsage("ba"); | ^~~~ +../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 debuggerBreakWriteClear(int, char**)': debugger.cpp:1162:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1162 | debuggerUsage("bpwc"); @@ -2661,6 +2703,32 @@ debugger.cpp:2009:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2009 | debuggerUsage("mb"); | ^~~~ +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 +SDL.cpp: In function 'void sdlPollEvents()': +SDL.cpp:1833:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1833 | { "autofire A disabled", + | ^~~~~~~~~~~~~~~~~~~~~ +SDL.cpp:1834:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1834 | "autofire B disabled", + | ^~~~~~~~~~~~~~~~~~~~~ +SDL.cpp:1835:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1835 | "autofire R disabled", + | ^~~~~~~~~~~~~~~~~~~~~ +SDL.cpp:1836:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1836 | "autofire L disabled"}; + | ^~~~~~~~~~~~~~~~~~~~~ +SDL.cpp:1838:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1838 | { "autofire A", + | ^~~~~~~~~~~~ +SDL.cpp:1839:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1839 | "autofire B", + | ^~~~~~~~~~~~ +SDL.cpp:1840:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1840 | "autofire R", + | ^~~~~~~~~~~~ +SDL.cpp:1841:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1841 | "autofire L"}; + | ^~~~~~~~~~~~ debugger.cpp: In function 'void debuggerMemoryHalfWord(int, char**)': debugger.cpp:2045:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2045 | debuggerUsage("mh"); @@ -2718,21 +2786,11 @@ debugger.cpp:2419:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2419 | tvalue="0x"; | ^~~~ +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 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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~ -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) - | ^~~~~ ../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, @@ -2752,6 +2810,17 @@ ../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: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) + | ^~~~~ ../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); @@ -2792,7 +2861,6 @@ ../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); | ~~~~~^~~~~~~~~~~~~~~~~~~ -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 ../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); @@ -2818,13 +2886,8 @@ ../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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~ +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 +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"); @@ -2833,58 +2896,12 @@ ../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 Mode5.o `test -f '../Mode5.cpp' || echo './'`../Mode5.cpp -SDL.cpp: In function 'void sdlPollEvents()': -SDL.cpp:1833:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1833 | { "autofire A disabled", - | ^~~~~~~~~~~~~~~~~~~~~ -SDL.cpp:1834:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1834 | "autofire B disabled", - | ^~~~~~~~~~~~~~~~~~~~~ -SDL.cpp:1835:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1835 | "autofire R disabled", - | ^~~~~~~~~~~~~~~~~~~~~ -SDL.cpp:1836:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1836 | "autofire L disabled"}; - | ^~~~~~~~~~~~~~~~~~~~~ -SDL.cpp:1838:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1838 | { "autofire A", - | ^~~~~~~~~~~~ -SDL.cpp:1839:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1839 | "autofire B", - | ^~~~~~~~~~~~ -SDL.cpp:1840:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1840 | "autofire R", - | ^~~~~~~~~~~~ -SDL.cpp:1841:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1841 | "autofire L"}; - | ^~~~~~~~~~~~ -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 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); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Sound.o `test -f '../Sound.cpp' || echo './'`../Sound.cpp -../GBA.cpp: In function 'bool CPUReadGSASnapshot(const char*)': -../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 @@ -2916,6 +2933,7 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 admame.o `test -f '../admame.cpp' || echo './'`../admame.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); @@ -2994,9 +3012,31 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 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 +../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 armdis.o `test -f '../armdis.cpp' || echo './'`../armdis.cpp +../agbprint.cpp: In function 'void agbPrintFlush()': +../agbprint.cpp:79:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 79 | dbgOutput("Did you forget to call AGBPrintInit?\n", 0); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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,7 +3069,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 bilinear.o `test -f '../bilinear.cpp' || echo './'`../bilinear.cpp SDL.cpp: In function 'void sdlReadState(int)': SDL.cpp:1405:26: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 1 and 2048 [-Wformat-overflow=] 1405 | sprintf(stateName,"%s%d.sgm", filename, num+1); @@ -3062,10 +3101,7 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o bilinear.o `test -f '../bilinear.cpp' || echo './'`../bilinear.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o bios.o `test -f '../bios.cpp' || echo './'`../bios.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o elf.o `test -f '../elf.cpp' || echo './'`../elf.cpp ../armdis.cpp:77:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] @@ -3388,6 +3424,7 @@ ../elf.cpp:332:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 332 | return ""; | ^~ +g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o expr.o `test -f '../expr.cpp' || echo './'`../expr.cpp ../elf.cpp: In function 'void elfPrintCallChain(u32)': ../elf.cpp:654:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 654 | addr = "???"; @@ -3422,7 +3459,6 @@ ../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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -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 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] @@ -3451,7 +3487,6 @@ expr-lex.cpp:1057:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o exprNode.o `test -f '../exprNode.cpp' || echo './'`../exprNode.cpp 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 /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] @@ -3459,10 +3494,11 @@ /usr/lib/bison.simple:253:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] /usr/lib/bison.simple:358:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /usr/lib/bison.simple:643:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] -g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o hq2x.o `test -f '../hq2x.cpp' || echo './'`../hq2x.cpp +gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o getopt1.o `test -f '../getopt1.c' || echo './'`../getopt1.c ../exprNode.cpp:39:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 39 | Type exprNodeType = { 0, TYPE_base, "int", DW_ATE_signed, 4, 0, {0}, 0 }; | ^~~~~ +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 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 memgzio.o `test -f '../memgzio.c' || echo './'`../memgzio.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 motionblur.o `test -f '../motionblur.cpp' || echo './'`../motionblur.cpp @@ -3471,6 +3507,7 @@ 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"; @@ -3533,7 +3570,6 @@ ../remote.cpp:190:7: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 190 | read(0, &dummy, 1); | ~~~~^~~~~~~~~~~~~~ -g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o 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); @@ -4251,9 +4287,9 @@ ./src/gb/gbSGB.o ./src/gb/gbSound.o ./src/gb/gbGfx.o +./src/gb/gbPrinter.o ./src/gb/gbCheats.o ./src/gb/gbDis.o -./src/gb/gbPrinter.o ./src/gb/gbGlobals.o ./src/gb/Makefile ./src/gb/Makefile.in @@ -4316,38 +4352,38 @@ ./src/sdl/hq2x.o ./src/sdl/elf.o ./src/sdl/unzip.o -./src/sdl/TestEmu.o ./src/sdl/remote.o -./src/sdl/armdis.o ./src/sdl/bios.o +./src/sdl/TestEmu.o ./src/sdl/scanline.o ./src/sdl/simple2x.o -./src/sdl/memgzio.o -./src/sdl/pixel.o +./src/sdl/armdis.o ./src/sdl/interframe.o +./src/sdl/Cheats.o +./src/sdl/pixel.o ./src/sdl/motionblur.o ./src/sdl/exprNode.o -./src/sdl/SDL.o +./src/sdl/memgzio.o ./src/sdl/expr-lex.o +./src/sdl/SDL.o ./src/sdl/expr.o ./src/sdl/getopt1.o +./src/sdl/bilinear.o +./src/sdl/debugger.o ./src/sdl/getopt.o ./src/sdl/Util.o +./src/sdl/Mode5.o ./src/sdl/Mode1.o ./src/sdl/Mode2.o -./src/sdl/Cheats.o -./src/sdl/Mode4.o -./src/sdl/bilinear.o -./src/sdl/debugger.o ./src/sdl/agbprint.o -./src/sdl/Mode5.o ./src/sdl/admame.o -./src/sdl/Text.o +./src/sdl/Mode3.o ./src/sdl/2xSaI.o +./src/sdl/Text.o ./src/sdl/Sound.o ./src/sdl/Sram.o -./src/sdl/Mode3.o ./src/sdl/Mode0.o +./src/sdl/Mode4.o ./src/sdl/RTC.o ./src/sdl/Flash.o ./src/sdl/EEprom.o @@ -4875,8 +4911,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'visualboyadvance' in '../visualboyadvance_1.8.0.dfsg-5.1_arm64.deb'. dpkg-deb: building package 'visualboyadvance-dbgsym' in '../visualboyadvance-dbgsym_1.8.0.dfsg-5.1_arm64.deb'. +dpkg-deb: building package 'visualboyadvance' in '../visualboyadvance_1.8.0.dfsg-5.1_arm64.deb'. dpkg-genbuildinfo --build=binary -O../visualboyadvance_1.8.0.dfsg-5.1_arm64.buildinfo dpkg-genchanges --build=binary -O../visualboyadvance_1.8.0.dfsg-5.1_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -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/795850/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/795850/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/1100237 and its subdirectories -I: Current time: Tue May 14 17:09:04 -12 2024 -I: pbuilder-time-stamp: 1715749744 +I: removing directory /srv/workspace/pbuilder/795850 and its subdirectories +I: Current time: Wed Jun 18 01:35:21 +14 2025 +I: pbuilder-time-stamp: 1750160121