Diff of the two buildlogs: -- --- b1/build.log 2022-02-09 19:11:47.837311195 +0000 +++ b2/build.log 2022-02-09 19:15:12.018975288 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Mar 14 13:31:49 -12 2023 -I: pbuilder-time-stamp: 1678843909 +I: Current time: Thu Feb 10 09:11:49 +14 2022 +I: pbuilder-time-stamp: 1644433909 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -16,8 +16,8 @@ I: copying [./visualboyadvance_1.8.0.dfsg-5.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.xB8AE50e/trustedkeys.kbx': General error -gpgv: Signature made Thu Dec 28 10:48:27 2017 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.7GoZ9x9y/trustedkeys.kbx': General error +gpgv: Signature made Fri Dec 29 12:48:27 2017 +14 gpgv: using RSA key 96729665561ED6F998884DA69866E4A9EC1663E5 gpgv: issuer "me@emillon.org" gpgv: Can't check signature: No public key @@ -46,135 +46,169 @@ 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/719713/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2934969/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-amd64. +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 +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by 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/2934969/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2934969/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=16' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=15' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='416ffc52e368455eb475cccbfda83ff5' - 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='719713' - PS1='# ' - PS2='> ' + INVOCATION_ID=7f7d75746ef946e3a1c517183527deb0 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=2934969 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/tmp.P5xRLuX9II/pbuilderrc_4gEE --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.P5xRLuX9II/b1 --logfile b1/build.log visualboyadvance_1.8.0.dfsg-5.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68: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/tmp.P5xRLuX9II/pbuilderrc_uLcH --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.P5xRLuX9II/b2 --logfile b2/build.log visualboyadvance_1.8.0.dfsg-5.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos5-amd64 5.15.0-0.bpo.2-amd64 #1 SMP Debian 5.15.5-2~bpo11+1 (2022-01-02) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-11-amd64 #1 SMP Debian 5.10.92-1 (2022-01-18) x86_64 GNU/Linux I: ls -l /bin total 5476 - -rwxr-xr-x 1 root root 1234376 Aug 4 2021 bash - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 18424 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 43936 Sep 23 2020 cat - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chgrp - -rwxr-xr-x 1 root root 64448 Sep 23 2020 chmod - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chown - -rwxr-xr-x 1 root root 151168 Sep 23 2020 cp - -rwxr-xr-x 1 root root 125560 Dec 10 2020 dash - -rwxr-xr-x 1 root root 113664 Sep 23 2020 date - -rwxr-xr-x 1 root root 80968 Sep 23 2020 dd - -rwxr-xr-x 1 root root 93936 Sep 23 2020 df - -rwxr-xr-x 1 root root 147176 Sep 23 2020 dir - -rwxr-xr-x 1 root root 84440 Jul 28 2021 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 39712 Sep 23 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 39680 Sep 23 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 69032 Jul 28 2021 findmnt - -rwsr-xr-x 1 root root 34896 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 203072 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe - -rwxr-xr-x 1 root root 98048 Mar 2 2021 gzip - -rwxr-xr-x 1 root root 22600 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 72840 Sep 23 2020 ln - -rwxr-xr-x 1 root root 56952 Feb 7 2020 login - -rwxr-xr-x 1 root root 147176 Sep 23 2020 ls - -rwxr-xr-x 1 root root 149736 Jul 28 2021 lsblk - -rwxr-xr-x 1 root root 85184 Sep 23 2020 mkdir - -rwxr-xr-x 1 root root 76896 Sep 23 2020 mknod - -rwxr-xr-x 1 root root 48064 Sep 23 2020 mktemp - -rwxr-xr-x 1 root root 59632 Jul 28 2021 more - -rwsr-xr-x 1 root root 55528 Jul 28 2021 mount - -rwxr-xr-x 1 root root 18664 Jul 28 2021 mountpoint - -rwxr-xr-x 1 root root 147080 Sep 23 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43872 Sep 23 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 2021 rbash -> bash - -rwxr-xr-x 1 root root 52032 Sep 23 2020 readlink - -rwxr-xr-x 1 root root 72704 Sep 23 2020 rm - -rwxr-xr-x 1 root root 52032 Sep 23 2020 rmdir - -rwxr-xr-x 1 root root 27472 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Mar 12 03:46 sh -> dash - -rwxr-xr-x 1 root root 43808 Sep 23 2020 sleep - -rwxr-xr-x 1 root root 84928 Sep 23 2020 stty - -rwsr-xr-x 1 root root 71912 Jul 28 2021 su - -rwxr-xr-x 1 root root 39744 Sep 23 2020 sync - -rwxr-xr-x 1 root root 531928 Feb 16 2021 tar - -rwxr-xr-x 1 root root 14456 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 101408 Sep 23 2020 touch - -rwxr-xr-x 1 root root 39680 Sep 23 2020 true - -rwxr-xr-x 1 root root 14328 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 35040 Jul 28 2021 umount - -rwxr-xr-x 1 root root 39744 Sep 23 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 147176 Sep 23 2020 vdir - -rwxr-xr-x 1 root root 63744 Jul 28 2021 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless - -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew -I: user script /srv/workspace/pbuilder/719713/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1234376 Aug 5 2021 bash + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 18424 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 43936 Sep 24 2020 cat + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chgrp + -rwxr-xr-x 1 root root 64448 Sep 24 2020 chmod + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chown + -rwxr-xr-x 1 root root 151168 Sep 24 2020 cp + -rwxr-xr-x 1 root root 125560 Dec 11 2020 dash + -rwxr-xr-x 1 root root 113664 Sep 24 2020 date + -rwxr-xr-x 1 root root 80968 Sep 24 2020 dd + -rwxr-xr-x 1 root root 93936 Sep 24 2020 df + -rwxr-xr-x 1 root root 147176 Sep 24 2020 dir + -rwxr-xr-x 1 root root 84440 Jul 29 2021 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 39712 Sep 24 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 39680 Sep 24 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 69032 Jul 29 2021 findmnt + -rwsr-xr-x 1 root root 34896 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 203072 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 98048 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 22600 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 72840 Sep 24 2020 ln + -rwxr-xr-x 1 root root 56952 Feb 8 2020 login + -rwxr-xr-x 1 root root 147176 Sep 24 2020 ls + -rwxr-xr-x 1 root root 149736 Jul 29 2021 lsblk + -rwxr-xr-x 1 root root 85184 Sep 24 2020 mkdir + -rwxr-xr-x 1 root root 76896 Sep 24 2020 mknod + -rwxr-xr-x 1 root root 48064 Sep 24 2020 mktemp + -rwxr-xr-x 1 root root 59632 Jul 29 2021 more + -rwsr-xr-x 1 root root 55528 Jul 29 2021 mount + -rwxr-xr-x 1 root root 18664 Jul 29 2021 mountpoint + -rwxr-xr-x 1 root root 147080 Sep 24 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43872 Sep 24 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 2021 rbash -> bash + -rwxr-xr-x 1 root root 52032 Sep 24 2020 readlink + -rwxr-xr-x 1 root root 72704 Sep 24 2020 rm + -rwxr-xr-x 1 root root 52032 Sep 24 2020 rmdir + -rwxr-xr-x 1 root root 27472 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Feb 10 09:11 sh -> bash + lrwxrwxrwx 1 root root 4 Feb 7 23:25 sh.distrib -> dash + -rwxr-xr-x 1 root root 43808 Sep 24 2020 sleep + -rwxr-xr-x 1 root root 84928 Sep 24 2020 stty + -rwsr-xr-x 1 root root 71912 Jul 29 2021 su + -rwxr-xr-x 1 root root 39744 Sep 24 2020 sync + -rwxr-xr-x 1 root root 531928 Feb 17 2021 tar + -rwxr-xr-x 1 root root 14456 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 101408 Sep 24 2020 touch + -rwxr-xr-x 1 root root 39680 Sep 24 2020 true + -rwxr-xr-x 1 root root 14328 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 35040 Jul 29 2021 umount + -rwxr-xr-x 1 root root 39744 Sep 24 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 147176 Sep 24 2020 vdir + -rwxr-xr-x 1 root root 63744 Jul 29 2021 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/2934969/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -397,7 +431,7 @@ Get: 169 http://deb.debian.org/debian bullseye/main amd64 libsm-dev amd64 2:1.2.3-1 [38.0 kB] Get: 170 http://deb.debian.org/debian bullseye/main amd64 libxt6 amd64 1:1.2.0-1 [189 kB] Get: 171 http://deb.debian.org/debian bullseye/main amd64 libxt-dev amd64 1:1.2.0-1 [407 kB] -Fetched 81.8 MB in 1s (80.1 MB/s) +Fetched 81.8 MB in 1s (80.6 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 19655 files and directories currently installed.) @@ -1110,7 +1144,8 @@ fakeroot is already the newest version (1.25.3-1.1). 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_source.changes +hostname: Name or service not known +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_source.changes dpkg-buildpackage: info: source package visualboyadvance dpkg-buildpackage: info: source version 1.8.0.dfsg-5 dpkg-buildpackage: info: source distribution unstable @@ -1470,7 +1505,7 @@ msgfmt -o $i.gmo $i.po; \ done dh_auto_build - make -j16 + make -j15 make[2]: Entering directory '/build/visualboyadvance-1.8.0.dfsg' Making all in m4 make[3]: Entering directory '/build/visualboyadvance-1.8.0.dfsg/m4' @@ -1489,19 +1524,6 @@ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -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_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o gbSGB.o gbSGB.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o gbSound.o gbSound.cpp -gbCheats.cpp: In function 'bool gbCheatReadGSCodeFile(const char*)': -gbCheats.cpp:415:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 415 | fread(&count, 1, 2, file); - | ~~~~~^~~~~~~~~~~~~~~~~~~~ -gbCheats.cpp:422:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 422 | fread(&dummy, 1, 2, file); - | ~~~~~^~~~~~~~~~~~~~~~~~~~ -gbCheats.cpp:423:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 423 | fread(desc, 1, 12, file); - | ~~~~~^~~~~~~~~~~~~~~~~~~ -gbCheats.cpp:425:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 425 | fread(code, 1, 8, file); - | ~~~~~^~~~~~~~~~~~~~~~~~ gbDis.cpp:34:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 34 | { "B", "C", "D", "E", "H", "L", "(HL)", "A" }; | ^~~ @@ -1805,6 +1827,19 @@ gbDis.cpp:132:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 132 | { 0x00, 0x00, "DB CBh,%B" } | ^~~~~~~~~~~ +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: In function 'bool gbWriteMemSaveState(char*, int)': GB.cpp:3564:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3564 | gzFile gzFile = utilMemGzOpen(memory, available, "w"); @@ -1853,6 +1888,10 @@ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Globals.o `test -f '../Globals.cpp' || echo './'`../Globals.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Mode0.o `test -f '../Mode0.cpp' || echo './'`../Mode0.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Mode1.o `test -f '../Mode1.cpp' || echo './'`../Mode1.cpp +g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Mode2.o `test -f '../Mode2.cpp' || echo './'`../Mode2.cpp +g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Mode3.o `test -f '../Mode3.cpp' || echo './'`../Mode3.cpp +g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -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_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Mode5.o `test -f '../Mode5.cpp' || echo './'`../Mode5.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", "[]" }, | ^~~ @@ -2246,7 +2285,6 @@ debugger.cpp:186:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 186 | { "where", debuggerWhere, "Show the call chain (if available)", NULL }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Mode2.o `test -f '../Mode2.cpp' || echo './'`../Mode2.cpp debugger.cpp: In function 'void debuggerSymbols(int, char**)': debugger.cpp:613:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 613 | char *ts = "?"; @@ -2260,6 +2298,7 @@ debugger.cpp:622:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 622 | ts = "DATA"; | ^~~~~~ +g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o RTC.o `test -f '../RTC.cpp' || echo './'`../RTC.cpp debugger.cpp: In function 'void debuggerDebug(int, char**)': debugger.cpp:751:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 751 | debuggerUsage("trace"); @@ -2296,11 +2335,11 @@ debugger.cpp:1335:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1335 | debuggerUsage("bpcc"); | ^~~~~~ -g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Mode3.o `test -f '../Mode3.cpp' || echo './'`../Mode3.cpp debugger.cpp: In function 'void debuggerBreakChange(int, char**)': debugger.cpp:1401:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1401 | debuggerUsage("bpc"); | ^~~~~ +g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Sound.o `test -f '../Sound.cpp' || echo './'`../Sound.cpp debugger.cpp: In function 'void debuggerFileDisassembleArm(int, char**)': debugger.cpp:1493:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1493 | debuggerUsage("fda"); @@ -2324,7 +2363,6 @@ debugger.cpp:1636:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1636 | debuggerUsage("fr"); | ^~~~ -g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Mode4.o `test -f '../Mode4.cpp' || echo './'`../Mode4.cpp debugger.cpp: In function 'void debuggerFileDisassemble(int, char**)': debugger.cpp:1745:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1745 | debuggerUsage("fd"); @@ -2342,7 +2380,10 @@ debugger.cpp:1808:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1808 | command[2]="1"; | ^~~ -g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Mode5.o `test -f '../Mode5.cpp' || echo './'`../Mode5.cpp +../Cheats.cpp: In function 'void cheatsAddCBACode(const char*, const char*)': +../Cheats.cpp:2498:13: warning: narrowing conversion of '(address & 255)' from 'u32' {aka 'unsigned int'} to 'u8' {aka 'unsigned char'} [-Wnarrowing] + 2498 | address & 255, + | ~~~~~~~~^~~~~ 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"); @@ -2359,31 +2400,21 @@ debugger.cpp:1971:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1971 | debuggerUsage("ew"); | ^~~~ -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"}; - | ^~~~~~~~~~~~ +../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 debuggerMemoryByte(int, char**)': debugger.cpp:2009:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2009 | debuggerUsage("mb"); @@ -2396,7 +2427,6 @@ debugger.cpp:2084:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2084 | debuggerUsage("mw"); | ^~~~ -g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o RTC.o `test -f '../RTC.cpp' || echo './'`../RTC.cpp debugger.cpp: In function 'void debuggerWriteState(int, char**)': debugger.cpp:2111:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2111 | debuggerUsage("save"); @@ -2413,6 +2443,31 @@ debugger.cpp:2189:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2189 | debuggerUsage("dsave"); | ^~~~~~~ +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 debuggerCondBreakThumb(int, char**)': debugger.cpp:2206:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2206 | debuggerUsage("cbt"); @@ -2446,32 +2501,6 @@ debugger.cpp:2419:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2419 | tvalue="0x"; | ^~~~ -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_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -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_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Sram.o `test -f '../Sram.cpp' || echo './'`../Sram.cpp -../Cheats.cpp: In function 'void cheatsAddCBACode(const char*, const char*)': -../Cheats.cpp:2498:13: warning: narrowing conversion of '(address & 255)' from 'u32' {aka 'unsigned int'} to 'u8' {aka 'unsigned char'} [-Wnarrowing] - 2498 | address & 255, - | ~~~~~~~~^~~~~ -../Cheats.cpp:2499:20: warning: narrowing conversion of '((address >> 8) & 255)' from 'u32' {aka 'unsigned int'} to 'u8' {aka 'unsigned char'} [-Wnarrowing] - 2499 | (address >> 8) & 255, - | ~~~~~~~~~~~~~~~^~~~~ -../Cheats.cpp:2500:21: warning: narrowing conversion of '((address >> 16) & 255)' from 'u32' {aka 'unsigned int'} to 'u8' {aka 'unsigned char'} [-Wnarrowing] - 2500 | (address >> 16) & 255, - | ~~~~~~~~~~~~~~~~^~~~~ -../Cheats.cpp:2501:21: warning: narrowing conversion of '((address >> 24) & 255)' from 'u32' {aka 'unsigned int'} to 'u8' {aka 'unsigned char'} [-Wnarrowing] - 2501 | (address >> 24) & 255, - | ~~~~~~~~~~~~~~~~^~~~~ -../Cheats.cpp:2502:12: warning: narrowing conversion of '(value & 255)' from 'u32' {aka 'unsigned int'} to 'u8' {aka 'unsigned char'} [-Wnarrowing] - 2502 | (value & 255), - | ~~~~~~~^~~~~~ -../Cheats.cpp:2503:18: warning: narrowing conversion of '((value >> 8) & 255)' from 'u32' {aka 'unsigned int'} to 'u8' {aka 'unsigned char'} [-Wnarrowing] - 2503 | (value >> 8) & 255, - | ~~~~~~~~~~~~~^~~~~ -g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Text.o `test -f '../Text.cpp' || echo './'`../Text.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); @@ -2537,7 +2566,12 @@ ../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_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Util.o `test -f '../Util.cpp' || echo './'`../Util.cpp +debugger.cpp: In function 'void debuggerQuit(int, char**)': +debugger.cpp:2091:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2091 | fgets(buffer, 1024, stdin); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~ +g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Sram.o `test -f '../Sram.cpp' || echo './'`../Sram.cpp +g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Text.o `test -f '../Text.cpp' || echo './'`../Text.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"); @@ -2546,22 +2580,15 @@ ../GBA.cpp:1055:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1055 | gzFile gzFile = utilMemGzOpen(memory, available, "r"); | ^~~ +g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o Util.o `test -f '../Util.cpp' || echo './'`../Util.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o admame.o `test -f '../admame.cpp' || echo './'`../admame.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -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_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o armdis.o `test -f '../armdis.cpp' || echo './'`../armdis.cpp ../agbprint.cpp: In function 'void agbPrintFlush()': ../agbprint.cpp:79:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 79 | dbgOutput("Did you forget to call AGBPrintInit?\n", 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -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_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -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_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o bios.o `test -f '../bios.cpp' || echo './'`../bios.cpp -In file included from /usr/include/stdio.h:867, - from debugger.cpp:21: -In function 'char* fgets(char*, int, FILE*)', - inlined from 'void debuggerQuit(int, char**)' at debugger.cpp:2091:8: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:263:26: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer [-Wattribute-warning] - 263 | return __fgets_chk_warn (__s, __bos (__s), __n, __stream); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../armdis.cpp:77:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 77 | {0xf800, 0x0000, "lsl %r0, %r3, %o"}, | ^~~~~~~~~~~~~~~~~~ @@ -2871,53 +2898,15 @@ ../armdis.cpp:209:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 209 | {0x00000000, 0x00000000, "[ ??? ]"} | ^~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from debugger.cpp:21: +In function 'char* fgets(char*, int, FILE*)', + inlined from 'void debuggerQuit(int, char**)' at debugger.cpp:2091:8: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:263:26: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer [-Wattribute-warning] + 263 | return __fgets_chk_warn (__s, __bos (__s), __n, __stream); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o bios.o `test -f '../bios.cpp' || echo './'`../bios.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -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_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o expr-lex.o `test -f '../expr-lex.cpp' || echo './'`../expr-lex.cpp -../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 = ""; - | ^~ -../elf.cpp:316:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 316 | name = ""; - | ^~ -../elf.cpp:332:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 332 | return ""; - | ^~ -../elf.cpp: In function 'void elfPrintCallChain(u32)': -../elf.cpp:654:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 654 | addr = "???"; - | ^~~~~ -../elf.cpp: In function 'void elfParseCFA(u8*)': -../elf.cpp:1053:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1053 | ELFSectionHeader *h = elfGetSectionByName(".debug_frame"); - | ^~~~~~~~~~~~~~ -../elf.cpp: In function 'void elfParseLineInfo(CompileUnit*, u8*)': -../elf.cpp:1163:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1163 | ELFSectionHeader *h = elfGetSectionByName(".debug_line"); - | ^~~~~~~~~~~~~ -../elf.cpp: In function 'void elfParseAranges(u8*)': -../elf.cpp:2530:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2530 | ELFSectionHeader *sh = elfGetSectionByName(".debug_aranges"); - | ^~~~~~~~~~~~~~~~ -../elf.cpp: In function 'void elfReadSymtab(u8*)': -../elf.cpp:2582:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2582 | ELFSectionHeader *sh = elfGetSectionByName(".symtab"); - | ^~~~~~~~~ -../elf.cpp: In function 'bool elfReadProgram(ELFHeader*, u8*, int&, bool)': -../elf.cpp:2724:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2724 | ELFSectionHeader *dbgHeader = elfGetSectionByName(".debug_info"); - | ^~~~~~~~~~~~~ -../elf.cpp:2730:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2730 | ELFSectionHeader *h = elfGetSectionByName(".debug_abbrev"); - | ^~~~~~~~~~~~~~~ -../elf.cpp:2739:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2739 | h = elfGetSectionByName(".debug_str"); - | ^~~~~~~~~~~~ -../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); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o expr.o `test -f '../expr.cpp' || echo './'`../expr.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); @@ -2939,7 +2928,17 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __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_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o exprNode.o `test -f '../exprNode.cpp' || echo './'`../exprNode.cpp +../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 = ""; + | ^~ +../elf.cpp:316:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 316 | name = ""; + | ^~ +../elf.cpp:332:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 332 | return ""; + | ^~ +g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o expr-lex.o `test -f '../expr-lex.cpp' || echo './'`../expr-lex.cpp SDL.cpp: In function 'void 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); @@ -2961,6 +2960,10 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../elf.cpp: In function 'void elfPrintCallChain(u32)': +../elf.cpp:654:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 654 | addr = "???"; + | ^~~~~ SDL.cpp: In function 'void systemScreenCapture(int)': SDL.cpp:2960:26: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 1 and 2048 [-Wformat-overflow=] 2960 | sprintf(buffer, "%s%02d.png", filename, a); @@ -3002,17 +3005,57 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/lib/bison.simple: In function 'int yyparse()': -/usr/lib/bison.simple:358:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] -/usr/lib/bison.simple:643:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] -../exprNode.cpp:39:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 39 | Type exprNodeType = { 0, TYPE_base, "int", DW_ATE_signed, 4, 0, {0}, 0 }; - | ^~~~~ -gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-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_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-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_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -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_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -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_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-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 +../elf.cpp: In function 'void elfParseCFA(u8*)': +../elf.cpp:1053:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1053 | ELFSectionHeader *h = elfGetSectionByName(".debug_frame"); + | ^~~~~~~~~~~~~~ +../elf.cpp: In function 'void elfParseLineInfo(CompileUnit*, u8*)': +../elf.cpp:1163:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1163 | ELFSectionHeader *h = elfGetSectionByName(".debug_line"); + | ^~~~~~~~~~~~~ +../elf.cpp: In function 'void elfParseAranges(u8*)': +../elf.cpp:2530:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2530 | ELFSectionHeader *sh = elfGetSectionByName(".debug_aranges"); + | ^~~~~~~~~~~~~~~~ +../elf.cpp: In function 'void elfReadSymtab(u8*)': +../elf.cpp:2582:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2582 | ELFSectionHeader *sh = elfGetSectionByName(".symtab"); + | ^~~~~~~~~ +../elf.cpp: In function 'bool elfReadProgram(ELFHeader*, u8*, int&, bool)': +../elf.cpp:2724:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2724 | ELFSectionHeader *dbgHeader = elfGetSectionByName(".debug_info"); + | ^~~~~~~~~~~~~ +../elf.cpp:2730:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2730 | ELFSectionHeader *h = elfGetSectionByName(".debug_abbrev"); + | ^~~~~~~~~~~~~~~ +../elf.cpp:2739:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2739 | h = elfGetSectionByName(".debug_str"); + | ^~~~~~~~~~~~ +../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); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~ +../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); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -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_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o exprNode.o `test -f '../exprNode.cpp' || echo './'`../exprNode.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); @@ -3067,29 +3110,22 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/lib/bison.simple: In function 'int yyparse()': +/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] +gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-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_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-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 +../exprNode.cpp:39:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 39 | Type exprNodeType = { 0, TYPE_base, "int", DW_ATE_signed, 4, 0, {0}, 0 }; + | ^~~~~ +g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -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_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -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_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-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_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o motionblur.o `test -f '../motionblur.cpp' || echo './'`../motionblur.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o pixel.o `test -f '../pixel.cpp' || echo './'`../pixel.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o remote.o `test -f '../remote.cpp' || echo './'`../remote.cpp -../GBA.cpp: In function 'bool CPUReadGSASnapshot(const char*)': -../GBA.cpp:1166:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1166 | fread(&i, 1, 4, file); - | ~~~~~^~~~~~~~~~~~~~~~ -../GBA.cpp:1169:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1169 | fread(&i, 1, 4, file); // name length - | ~~~~~^~~~~~~~~~~~~~~~ -../GBA.cpp:1171:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1171 | fread(&i, 1, 4, file); // desc length - | ~~~~~^~~~~~~~~~~~~~~~ -../GBA.cpp:1173:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1173 | fread(&i, 1, 4, file); // notes length - | ~~~~~^~~~~~~~~~~~~~~~ -../GBA.cpp:1176:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1176 | fread(&saveSize, 1, 4, file); // read length - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -../GBA.cpp:1180:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1180 | fread(buffer, 1, 16, file); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -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_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o simple2x.o `test -f '../simple2x.cpp' || echo './'`../simple2x.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"; @@ -3152,7 +3188,6 @@ ../remote.cpp:190:7: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 190 | read(0, &dummy, 1); | ~~~~^~~~~~~~~~~~~~ -g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -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_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -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_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -fdebug-prefix-map=/build/visualboyadvance-1.8.0.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -c -o TestEmu.o TestEmu.cpp TestEmu.cpp: In function 'void sdlWriteState(int)': @@ -3500,7 +3535,7 @@ make[2]: Leaving directory '/build/visualboyadvance-1.8.0.dfsg' make[1]: Leaving directory '/build/visualboyadvance-1.8.0.dfsg' dh_auto_test - make -j16 check VERBOSE=1 + make -j15 check VERBOSE=1 make[1]: Entering directory '/build/visualboyadvance-1.8.0.dfsg' Making check in m4 make[2]: Entering directory '/build/visualboyadvance-1.8.0.dfsg/m4' @@ -3547,7 +3582,7 @@ dh_prep dh_installdirs dh_auto_install - make -j16 install DESTDIR=/build/visualboyadvance-1.8.0.dfsg/debian/visualboyadvance AM_UPDATE_INFO_DIR=no + make -j15 install DESTDIR=/build/visualboyadvance-1.8.0.dfsg/debian/visualboyadvance AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/visualboyadvance-1.8.0.dfsg' Making install in m4 make[2]: Entering directory '/build/visualboyadvance-1.8.0.dfsg/m4' @@ -3836,12 +3871,12 @@ ./src/gb/libgb.a ./src/gb/GB.o ./src/gb/gbMemory.o -./src/gb/gbSound.o ./src/gb/gbSGB.o ./src/gb/gbGfx.o +./src/gb/gbSound.o +./src/gb/gbCheats.o ./src/gb/gbDis.o ./src/gb/gbPrinter.o -./src/gb/gbCheats.o ./src/gb/gbGlobals.o ./src/gb/Makefile ./src/gb/Makefile.in @@ -3905,30 +3940,30 @@ ./src/sdl/elf.o ./src/sdl/unzip.o ./src/sdl/Cheats.o -./src/sdl/SDL.o -./src/sdl/TestEmu.o -./src/sdl/Mode1.o -./src/sdl/remote.o ./src/sdl/debugger.o +./src/sdl/remote.o +./src/sdl/TestEmu.o +./src/sdl/SDL.o +./src/sdl/bios.o +./src/sdl/scanline.o ./src/sdl/memgzio.o ./src/sdl/simple2x.o -./src/sdl/scanline.o -./src/sdl/Mode2.o -./src/sdl/bios.o -./src/sdl/interframe.o ./src/sdl/pixel.o -./src/sdl/armdis.o -./src/sdl/motionblur.o -./src/sdl/Mode4.o +./src/sdl/interframe.o ./src/sdl/exprNode.o -./src/sdl/Mode0.o -./src/sdl/2xSaI.o -./src/sdl/getopt.o +./src/sdl/motionblur.o +./src/sdl/Mode1.o ./src/sdl/getopt1.o ./src/sdl/expr-lex.o ./src/sdl/expr.o -./src/sdl/Mode3.o +./src/sdl/getopt.o +./src/sdl/Mode2.o +./src/sdl/armdis.o +./src/sdl/Mode0.o +./src/sdl/Mode4.o +./src/sdl/2xSaI.o ./src/sdl/Mode5.o +./src/sdl/Mode3.o ./src/sdl/bilinear.o ./src/sdl/Util.o ./src/sdl/Sound.o @@ -3938,8 +3973,8 @@ ./src/sdl/RTC.o ./src/sdl/Sram.o ./src/sdl/Flash.o -./src/sdl/Globals.o ./src/sdl/EEprom.o +./src/sdl/Globals.o ./src/sdl/Gfx.o ./src/sdl/Makefile ./src/sdl/Makefile.in @@ -4463,8 +4498,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'visualboyadvance-dbgsym' in '../visualboyadvance-dbgsym_1.8.0.dfsg-5_amd64.deb'. dpkg-deb: building package 'visualboyadvance' in '../visualboyadvance_1.8.0.dfsg-5_amd64.deb'. +dpkg-deb: building package 'visualboyadvance-dbgsym' in '../visualboyadvance-dbgsym_1.8.0.dfsg-5_amd64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../visualboyadvance_1.8.0.dfsg-5_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -4472,12 +4507,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/2934969/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2934969/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/719713 and its subdirectories -I: Current time: Tue Mar 14 13:34:48 -12 2023 -I: pbuilder-time-stamp: 1678844088 +I: removing directory /srv/workspace/pbuilder/2934969 and its subdirectories +I: Current time: Thu Feb 10 09:15:11 +14 2022 +I: pbuilder-time-stamp: 1644434111