Diff of the two buildlogs: -- --- b1/build.log 2023-06-06 21:17:56.773642207 +0000 +++ b2/build.log 2023-06-06 21:23:51.790111294 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Jul 8 15:33:28 -12 2024 -I: pbuilder-time-stamp: 1720496008 +I: Current time: Wed Jun 7 11:18:00 +14 2023 +I: pbuilder-time-stamp: 1686086280 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./visualboyadvance_1.8.0.dfsg.orig.tar.gz] I: copying [./visualboyadvance_1.8.0.dfsg-5.1.debian.tar.xz] I: Extracting source -gpgv: Signature made Thu Aug 18 01:09:44 2022 -12 +gpgv: Signature made Fri Aug 19 03:09:44 2022 +14 gpgv: using RSA key 3AFA757FAC6EA11D2FF45DF088D24287A2D898B1 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./visualboyadvance_1.8.0.dfsg-5.1.dsc: no acceptable signature found @@ -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/19458/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/21625/tmp/hooks/D01_modify_environment starting +debug: Running on codethink10-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 7 11:18 /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/21625/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/21625/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - 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]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + 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=8 ' - DISTRIBUTION='bookworm' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - 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='19458' - PS1='# ' - PS2='> ' + 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=21625 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.LLcRj8I1/pbuilderrc_Nmyy --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.LLcRj8I1/b1 --logfile b1/build.log visualboyadvance_1.8.0.dfsg-5.1.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16: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.LLcRj8I1/pbuilderrc_dkhj --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.LLcRj8I1/b2 --logfile b2/build.log --extrapackages usrmerge visualboyadvance_1.8.0.dfsg-5.1.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink11-arm64 4.15.0-212-generic #223-Ubuntu SMP Tue May 23 13:09:17 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-212-generic #223-Ubuntu SMP Tue May 23 13:09:17 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jul 6 13:14 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/19458/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 6 00:25 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/21625/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -294,7 +326,7 @@ Get: 151 http://deb.debian.org/debian bookworm/main arm64 libsm-dev arm64 2:1.2.3-1 [37.4 kB] Get: 152 http://deb.debian.org/debian bookworm/main arm64 libxt6 arm64 1:1.2.1-1.1 [172 kB] Get: 153 http://deb.debian.org/debian bookworm/main arm64 libxt-dev arm64 1:1.2.1-1.1 [402 kB] -Fetched 78.8 MB in 2s (37.5 MB/s) +Fetched 78.8 MB in 2s (48.6 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 ... 19611 files and directories currently installed.) @@ -931,10 +963,15 @@ Reading package lists... Building dependency tree... Reading state information... +usrmerge is already the newest version (35). fakeroot is already the newest version (1.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/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/21625/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/21625/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/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 @@ -1384,13 +1421,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. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -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/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -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/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o gbSGB.o gbSGB.cpp -In file included from gbMemory.cpp:23: -GB.h:41:36: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 41 | extern void gbWriteMemory(register u16, register u8); - | ^~~ -GB.h:41:50: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 41 | extern void gbWriteMemory(register u16, register u8); - | ^~ 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/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o gbSound.o gbSound.cpp 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" }; @@ -1702,6 +1732,26 @@ GB.h:41:50: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 41 | extern void gbWriteMemory(register u16, register u8); | ^~ +gbCheats.cpp: In function 'bool gbCheatReadGSCodeFile(const char*)': +gbCheats.cpp:415:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 415 | fread(&count, 1, 2, file); + | ~~~~~^~~~~~~~~~~~~~~~~~~~ +gbCheats.cpp:422:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 422 | fread(&dummy, 1, 2, file); + | ~~~~~^~~~~~~~~~~~~~~~~~~~ +gbCheats.cpp:423:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 423 | fread(desc, 1, 12, file); + | ~~~~~^~~~~~~~~~~~~~~~~~~ +gbCheats.cpp:425:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 425 | fread(code, 1, 8, file); + | ~~~~~^~~~~~~~~~~~~~~~~~ +In file included from gbMemory.cpp:23: +GB.h:41:36: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 41 | extern void gbWriteMemory(register u16, register u8); + | ^~~ +GB.h:41:50: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 41 | extern void gbWriteMemory(register u16, register u8); + | ^~ In file included from 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); @@ -1709,6 +1759,13 @@ GB.h:41:50: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 41 | extern void gbWriteMemory(register u16, register u8); | ^~ +In file included from GB.cpp:26: +GB.h:41:36: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 41 | extern void gbWriteMemory(register u16, register u8); + | ^~~ +GB.h:41:50: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 41 | extern void gbWriteMemory(register u16, register u8); + | ^~ gbSGB.cpp: In function 'void gbSgbFillScreen(u16)': gbSGB.cpp:138:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 138 | for(register int x = 0; x < 160; x++) @@ -1719,13 +1776,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++) { | ^ -In file included from GB.cpp:26: -GB.h:41:36: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 41 | extern void gbWriteMemory(register u16, register u8); - | ^~~ -GB.h:41:50: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 41 | extern void gbWriteMemory(register u16, register u8); - | ^~ In file included from GB.cpp:31: gbSound.h:54:35: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 54 | extern void gbSoundEvent(register u16, register int); @@ -1733,28 +1783,6 @@ gbSound.h:54:49: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 54 | extern void gbSoundEvent(register u16, register int); | ^~~ -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: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) - | ^~~~~~~ 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); @@ -1768,6 +1796,15 @@ gbSound.cpp:137:54: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 137 | void gbSoundEvent(register u16 address, register int data) | ^~~~ +GB.cpp: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) + | ^~~~~~~ GB.cpp:1738:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1738 | u8 gbReadMemory(register u16 address) | ^~~~~~~ @@ -1835,50 +1872,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/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Flash.o `test -f '../Flash.cpp' || echo './'`../Flash.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/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o GBA.o `test -f '../GBA.cpp' || echo './'`../GBA.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/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Gfx.o `test -f '../Gfx.cpp' || echo './'`../Gfx.cpp -../2xSaI.cpp: In function 'u32 Q_INTERPOLATE(u32, u32, u32, u32)': -../2xSaI.cpp:161:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 161 | register u32 x = ((A & qcolorMask) >> 2) + - | ^ -../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 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; - | ^ -../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; - | ^~~~~~ -../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; - | ^ -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/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Globals.o `test -f '../Globals.cpp' || echo './'`../Globals.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", "[]" }, | ^~~ @@ -2289,13 +2282,6 @@ debugger.cpp:751:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 751 | debuggerUsage("trace"); | ^~~~~~~ -In file included from SDL.cpp:39: -../gb/GB.h:41:36: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 41 | extern void gbWriteMemory(register u16, register u8); - | ^~~ -../gb/GB.h:41:50: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 41 | extern void gbWriteMemory(register u16, register u8); - | ^~ debugger.cpp: In function 'void debuggerVerbose(int, char**)': debugger.cpp:762:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 762 | debuggerUsage("verbose"); @@ -2316,6 +2302,13 @@ debugger.cpp:1039:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1039 | debuggerUsage("ba"); | ^~~~ +../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) + + | ^ 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"); @@ -2324,6 +2317,10 @@ debugger.cpp:1232:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1232 | debuggerUsage("bpw"); | ^~~~~ +../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: In function 'void debuggerBreakChangeClear(int, char**)': debugger.cpp:1335:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1335 | debuggerUsage("bpcc"); @@ -2332,6 +2329,10 @@ debugger.cpp:1401:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1401 | debuggerUsage("bpc"); | ^~~~~ +../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: In function 'void debuggerFileDisassembleArm(int, char**)': debugger.cpp:1493:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1493 | debuggerUsage("fda"); @@ -2340,6 +2341,13 @@ debugger.cpp:1521:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1521 | debuggerUsage("fdt"); | ^~~~~ +In file included from SDL.cpp:39: +../gb/GB.h:41:36: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 41 | extern void gbWriteMemory(register u16, register u8); + | ^~~ +../gb/GB.h:41:50: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 41 | extern void gbWriteMemory(register u16, register u8); + | ^~ debugger.cpp: In function 'void debuggerFindText(int, char**)': debugger.cpp:1572:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1572 | debuggerUsage("ft"); @@ -2352,6 +2360,10 @@ debugger.cpp:1626:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1626 | debuggerUsage("fr"); | ^~~~ +../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:1636:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1636 | debuggerUsage("fr"); | ^~~~ @@ -2379,6 +2391,36 @@ debugger.cpp:1808:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1808 | command[2]="1"; | ^~~ +../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; + | ^ +../Cheats.cpp: In function 'void cheatsAddCBACode(const char*, const char*)': +../Cheats.cpp:2498:13: warning: narrowing conversion of '(address & 255)' from 'u32' {aka 'unsigned int'} to 'u8' {aka 'unsigned char'} [-Wnarrowing] + 2498 | address & 255, + | ~~~~~~~~^~~~~ +../Cheats.cpp:2499:20: warning: narrowing conversion of '((address >> 8) & 255)' from 'u32' {aka 'unsigned int'} to 'u8' {aka 'unsigned char'} [-Wnarrowing] + 2499 | (address >> 8) & 255, + | ~~~~~~~~~~~~~~~^~~~~ +../Cheats.cpp:2500:21: warning: narrowing conversion of '((address >> 16) & 255)' from 'u32' {aka 'unsigned int'} to 'u8' {aka 'unsigned char'} [-Wnarrowing] + 2500 | (address >> 16) & 255, + | ~~~~~~~~~~~~~~~~^~~~~ +../Cheats.cpp:2501:21: warning: narrowing conversion of '((address >> 24) & 255)' from 'u32' {aka 'unsigned int'} to 'u8' {aka 'unsigned char'} [-Wnarrowing] + 2501 | (address >> 24) & 255, + | ~~~~~~~~~~~~~~~~^~~~~ +../Cheats.cpp:2502:12: warning: narrowing conversion of '(value & 255)' from 'u32' {aka 'unsigned int'} to 'u8' {aka 'unsigned char'} [-Wnarrowing] + 2502 | (value & 255), + | ~~~~~~~^~~~~~ +../Cheats.cpp:2503:18: warning: narrowing conversion of '((value >> 8) & 255)' from 'u32' {aka 'unsigned int'} to 'u8' {aka 'unsigned char'} [-Wnarrowing] + 2503 | (value >> 8) & 255, + | ~~~~~~~~~~~~~^~~~~ +../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 debuggerEditByte(int, char**)': debugger.cpp:1921:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1921 | debuggerUsage("eb"); @@ -2395,10 +2437,24 @@ debugger.cpp:1971:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1971 | debuggerUsage("ew"); | ^~~~ +../2xSaI.cpp:867:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 867 | register int r = 0; + | ^ +g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Globals.o `test -f '../Globals.cpp' || echo './'`../Globals.cpp +../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 debuggerMemoryByte(int, char**)': debugger.cpp:2009:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2009 | debuggerUsage("mb"); | ^~~~ +../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 debuggerMemoryHalfWord(int, char**)': debugger.cpp:2045:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2045 | debuggerUsage("mh"); @@ -2423,25 +2479,6 @@ debugger.cpp:2189:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2189 | debuggerUsage("dsave"); | ^~~~~~~ -../Cheats.cpp: In function 'void cheatsAddCBACode(const char*, const char*)': -../Cheats.cpp:2498:13: warning: narrowing conversion of '(address & 255)' from 'u32' {aka 'unsigned int'} to 'u8' {aka 'unsigned char'} [-Wnarrowing] - 2498 | address & 255, - | ~~~~~~~~^~~~~ -../Cheats.cpp:2499:20: warning: narrowing conversion of '((address >> 8) & 255)' from 'u32' {aka 'unsigned int'} to 'u8' {aka 'unsigned char'} [-Wnarrowing] - 2499 | (address >> 8) & 255, - | ~~~~~~~~~~~~~~~^~~~~ -../Cheats.cpp:2500:21: warning: narrowing conversion of '((address >> 16) & 255)' from 'u32' {aka 'unsigned int'} to 'u8' {aka 'unsigned char'} [-Wnarrowing] - 2500 | (address >> 16) & 255, - | ~~~~~~~~~~~~~~~~^~~~~ -../Cheats.cpp:2501:21: warning: narrowing conversion of '((address >> 24) & 255)' from 'u32' {aka 'unsigned int'} to 'u8' {aka 'unsigned char'} [-Wnarrowing] - 2501 | (address >> 24) & 255, - | ~~~~~~~~~~~~~~~~^~~~~ -../Cheats.cpp:2502:12: warning: narrowing conversion of '(value & 255)' from 'u32' {aka 'unsigned int'} to 'u8' {aka 'unsigned char'} [-Wnarrowing] - 2502 | (value & 255), - | ~~~~~~~^~~~~~ -../Cheats.cpp:2503:18: warning: narrowing conversion of '((value >> 8) & 255)' from 'u32' {aka 'unsigned int'} to 'u8' {aka 'unsigned char'} [-Wnarrowing] - 2503 | (value >> 8) & 255, - | ~~~~~~~~~~~~~^~~~~ debugger.cpp: In function 'void debuggerCondBreakThumb(int, char**)': debugger.cpp:2206:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2206 | debuggerUsage("cbt"); @@ -2463,7 +2500,6 @@ debugger.cpp:2302:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2302 | taddress="$"; | ^~~ -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/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Mode0.o `test -f '../Mode0.cpp' || echo './'`../Mode0.cpp debugger.cpp:2319:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2319 | taddress="r"; | ^~~ @@ -2476,37 +2512,6 @@ 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/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Mode1.o `test -f '../Mode1.cpp' || echo './'`../Mode1.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 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); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~ -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/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Mode2.o `test -f '../Mode2.cpp' || echo './'`../Mode2.cpp ../Cheats.cpp: In function 'bool cheatsImportGSACodeFile(const char*, int, bool)': ../Cheats.cpp:2093:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2093 | fread(&games, 1, 4, f); @@ -2547,17 +2552,10 @@ ../Cheats.cpp:2136:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2136 | fread(&code[8], 1, 8, f); | ~~~~~^~~~~~~~~~~~~~~~~~~ -debugger.cpp:2091:8: warning: 'char* fgets(char*, int, FILE*)' writing 1024 bytes into a region of size 10 overflows the destination [-Wstringop-overflow=] +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:2089:8: note: destination object 'buffer' of size 10 - 2089 | char buffer[10]; - | ^~~~~~ -In file included from /usr/include/stdio.h:906, - from debugger.cpp:21: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:209:1: note: in a call to function 'char* fgets(char*, int, FILE*)' declared with attribute 'access (write_only, 1, 2)' - 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) - | ^~~~~ ../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); @@ -2583,6 +2581,45 @@ ../Cheats.cpp:2765:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2765 | fread(&cheatsList[i].codestring, 1, 20*sizeof(char),f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Mode0.o `test -f '../Mode0.cpp' || echo './'`../Mode0.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/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Mode1.o `test -f '../Mode1.cpp' || echo './'`../Mode1.cpp +debugger.cpp:2091:8: warning: 'char* fgets(char*, int, FILE*)' writing 1024 bytes into a region of size 10 overflows the destination [-Wstringop-overflow=] + 2091 | fgets(buffer, 1024, stdin); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~ +debugger.cpp:2089:8: note: destination object 'buffer' of size 10 + 2089 | char buffer[10]; + | ^~~~~~ +In file included from /usr/include/stdio.h:906, + from debugger.cpp:21: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:209:1: note: in a call to function 'char* fgets(char*, int, FILE*)' declared with attribute 'access (write_only, 1, 2)' + 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) + | ^~~~~ +g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Mode2.o `test -f '../Mode2.cpp' || echo './'`../Mode2.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"); @@ -2596,6 +2633,26 @@ /usr/include/aarch64-linux-gnu/bits/stdio2.h:215:29: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer [-Wattribute-warning] 215 | return __fgets_chk_warn (__s, sz, __n, __stream); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +../GBA.cpp: In function 'bool CPUReadGSASnapshot(const char*)': +../GBA.cpp:1166:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1166 | fread(&i, 1, 4, file); + | ~~~~~^~~~~~~~~~~~~~~~ +../GBA.cpp:1169:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1169 | fread(&i, 1, 4, file); // name length + | ~~~~~^~~~~~~~~~~~~~~~ +../GBA.cpp:1171:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1171 | fread(&i, 1, 4, file); // desc length + | ~~~~~^~~~~~~~~~~~~~~~ +../GBA.cpp:1173:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1173 | fread(&i, 1, 4, file); // notes length + | ~~~~~^~~~~~~~~~~~~~~~ +../GBA.cpp:1176:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1176 | fread(&saveSize, 1, 4, file); // read length + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +../GBA.cpp:1180:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1180 | fread(buffer, 1, 16, file); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~ +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/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Mode3.o `test -f '../Mode3.cpp' || echo './'`../Mode3.cpp SDL.cpp: In function 'void sdlWriteBattery()': SDL.cpp:1425:22: warning: '%s' directive writing up to 2047 bytes into a region of size 1048 [-Wformat-overflow=] 1425 | sprintf(buffer, "%s.sav", filename); @@ -2624,7 +2681,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/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Mode3.o `test -f '../Mode3.cpp' || echo './'`../Mode3.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); @@ -2703,27 +2759,7 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -../GBA.cpp: In function 'bool CPUReadGSASnapshot(const char*)': -../GBA.cpp:1166:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1166 | fread(&i, 1, 4, file); - | ~~~~~^~~~~~~~~~~~~~~~ -../GBA.cpp:1169:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1169 | fread(&i, 1, 4, file); // name length - | ~~~~~^~~~~~~~~~~~~~~~ -../GBA.cpp:1171:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1171 | fread(&i, 1, 4, file); // desc length - | ~~~~~^~~~~~~~~~~~~~~~ -../GBA.cpp:1173:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1173 | fread(&i, 1, 4, file); // notes length - | ~~~~~^~~~~~~~~~~~~~~~ -../GBA.cpp:1176:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1176 | fread(&saveSize, 1, 4, file); // read length - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -../GBA.cpp:1180:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1180 | fread(buffer, 1, 16, file); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Mode4.o `test -f '../Mode4.cpp' || echo './'`../Mode4.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/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Mode5.o `test -f '../Mode5.cpp' || echo './'`../Mode5.cpp SDL.cpp: In function 'void sdlWriteState(int)': SDL.cpp:1384:26: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 1 and 2048 [-Wformat-overflow=] 1384 | sprintf(stateName,"%s%d.sgm", filename, num+1); @@ -2788,6 +2824,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/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -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/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o RTC.o `test -f '../RTC.cpp' || echo './'`../RTC.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Sound.o `test -f '../Sound.cpp' || echo './'`../Sound.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/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Sram.o `test -f '../Sram.cpp' || echo './'`../Sram.cpp @@ -2797,7 +2834,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/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o agbprint.o `test -f '../agbprint.cpp' || echo './'`../agbprint.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o armdis.o `test -f '../armdis.cpp' || echo './'`../armdis.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -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/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o bios.o `test -f '../bios.cpp' || echo './'`../bios.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); @@ -2880,6 +2916,7 @@ ../armdis.cpp:105:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 105 | {0xffc0, 0x4380, "bic %r0, %r3"}, | ^~~~~~~~~~~~~~ +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/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o bios.o `test -f '../bios.cpp' || echo './'`../bios.cpp ../armdis.cpp:106:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 106 | {0xffc0, 0x43c0, "mvn %r0, %r3"}, | ^~~~~~~~~~~~~~ @@ -3114,6 +3151,33 @@ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o elf.o `test -f '../elf.cpp' || echo './'`../elf.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o expr-lex.o `test -f '../expr-lex.cpp' || echo './'`../expr-lex.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o expr.o `test -f '../expr.cpp' || echo './'`../expr.cpp +g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o exprNode.o `test -f '../exprNode.cpp' || echo './'`../exprNode.cpp +expr-lex.cpp: In function 'int yylex()': +expr-lex.cpp:546:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +expr-lex.cpp:547:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +expr-lex.cpp:547:39: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +expr-lex.cpp:548:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +expr-lex.cpp:595:42: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +expr-lex.cpp: In function 'int yy_get_next_buffer()': +expr-lex.cpp:844:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +expr-lex.cpp:845:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +expr-lex.cpp:846:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +expr-lex.cpp:846:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +expr-lex.cpp: In function 'yy_state_type yy_get_previous_state()': +expr-lex.cpp:976:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +expr-lex.cpp:977:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +expr-lex.cpp:983:34: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +expr-lex.cpp: In function 'yy_state_type yy_try_NUL_trans(yy_state_type)': +expr-lex.cpp:1015:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +expr-lex.cpp:1016:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +expr-lex.cpp:1018:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +expr-lex.cpp: At global scope: +expr-lex.cpp:1039:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +expr-lex.cpp: In function 'void yyunput(int, char*)': +expr-lex.cpp:1046:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +expr-lex.cpp:1054:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +expr-lex.cpp:1055:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +expr-lex.cpp:1057:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../elf.cpp: In function 'char* elfGetAddressSymbol(u32)': ../elf.cpp:298:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 298 | name = ""; @@ -3154,32 +3218,6 @@ ../elf.cpp:2739:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2739 | h = elfGetSectionByName(".debug_str"); | ^~~~~~~~~~~~ -expr-lex.cpp: In function 'int yylex()': -expr-lex.cpp:546:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -expr-lex.cpp:547:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -expr-lex.cpp:547:39: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -expr-lex.cpp:548:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -expr-lex.cpp:595:42: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -expr-lex.cpp: In function 'int yy_get_next_buffer()': -expr-lex.cpp:844:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -expr-lex.cpp:845:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -expr-lex.cpp:846:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -expr-lex.cpp:846:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -expr-lex.cpp: In function 'yy_state_type yy_get_previous_state()': -expr-lex.cpp:976:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -expr-lex.cpp:977:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -expr-lex.cpp:983:34: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -expr-lex.cpp: In function 'yy_state_type yy_try_NUL_trans(yy_state_type)': -expr-lex.cpp:1015:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -expr-lex.cpp:1016:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -expr-lex.cpp:1018:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -expr-lex.cpp: At global scope: -expr-lex.cpp:1039:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -expr-lex.cpp: In function 'void yyunput(int, char*)': -expr-lex.cpp:1046:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -expr-lex.cpp:1054:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -expr-lex.cpp:1055:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -expr-lex.cpp:1057:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../elf.cpp: In function 'bool elfRead(const char*, int&, FILE*)': ../elf.cpp:2803:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2803 | fread(elfFileData, 1, size, f); @@ -3191,13 +3229,12 @@ /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/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o getopt1.o `test -f '../getopt1.c' || echo './'`../getopt1.c -g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o hq2x.o `test -f '../hq2x.cpp' || echo './'`../hq2x.cpp ../exprNode.cpp:39:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 39 | Type exprNodeType = { 0, TYPE_base, "int", DW_ATE_signed, 4, 0, {0}, 0 }; | ^~~~~ +gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o getopt1.o `test -f '../getopt1.c' || echo './'`../getopt1.c +g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -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/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -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/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o motionblur.o `test -f '../motionblur.cpp' || echo './'`../motionblur.cpp @@ -3205,7 +3242,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/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o remote.o `test -f '../remote.cpp' || echo './'`../remote.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -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/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -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/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o unzip.o `test -f '../unzip.cpp' || echo './'`../unzip.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"; @@ -3268,6 +3304,7 @@ ../remote.cpp:190:7: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 190 | read(0, &dummy, 1); | ~~~~^~~~~~~~~~~~~~ +g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -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/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -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] @@ -3987,8 +4024,8 @@ ./src/gb/gbSound.o ./src/gb/gbGfx.o ./src/gb/gbCheats.o -./src/gb/gbDis.o ./src/gb/gbPrinter.o +./src/gb/gbDis.o ./src/gb/gbGlobals.o ./src/gb/Makefile ./src/gb/Makefile.in @@ -4052,42 +4089,42 @@ ./src/sdl/elf.o ./src/sdl/unzip.o ./src/sdl/TestEmu.o -./src/sdl/bios.o ./src/sdl/remote.o +./src/sdl/bios.o +./src/sdl/memgzio.o ./src/sdl/scanline.o ./src/sdl/simple2x.o -./src/sdl/memgzio.o -./src/sdl/motionblur.o -./src/sdl/armdis.o ./src/sdl/pixel.o ./src/sdl/interframe.o +./src/sdl/motionblur.o +./src/sdl/armdis.o ./src/sdl/exprNode.o ./src/sdl/expr-lex.o ./src/sdl/getopt1.o -./src/sdl/Util.o -./src/sdl/getopt.o ./src/sdl/expr.o +./src/sdl/getopt.o +./src/sdl/Util.o ./src/sdl/bilinear.o +./src/sdl/Mode3.o ./src/sdl/Mode4.o ./src/sdl/Mode5.o ./src/sdl/agbprint.o -./src/sdl/admame.o ./src/sdl/Sound.o -./src/sdl/Mode3.o +./src/sdl/admame.o +./src/sdl/SDL.o ./src/sdl/Text.o -./src/sdl/Cheats.o ./src/sdl/Sram.o -./src/sdl/SDL.o -./src/sdl/debugger.o +./src/sdl/Cheats.o ./src/sdl/RTC.o -./src/sdl/Mode1.o ./src/sdl/Mode0.o +./src/sdl/debugger.o ./src/sdl/Mode2.o +./src/sdl/Mode1.o ./src/sdl/2xSaI.o -./src/sdl/Flash.o ./src/sdl/Globals.o -./src/sdl/EEprom.o ./src/sdl/Gfx.o +./src/sdl/Flash.o +./src/sdl/EEprom.o ./src/sdl/Makefile ./src/sdl/Makefile.in ./src/sdl/debugger.cpp @@ -4610,8 +4647,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) @@ -4619,12 +4656,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/21625/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/21625/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/19458 and its subdirectories -I: Current time: Mon Jul 8 15:40:49 -12 2024 -I: pbuilder-time-stamp: 1720496449 +I: removing directory /srv/workspace/pbuilder/21625 and its subdirectories +I: Current time: Wed Jun 7 11:23:50 +14 2023 +I: pbuilder-time-stamp: 1686086630