Diff of the two buildlogs: -- --- b1/build.log 2023-04-17 13:47:25.485107231 +0000 +++ b2/build.log 2023-04-17 13:49:20.855991964 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Apr 17 01:45:07 -12 2023 -I: pbuilder-time-stamp: 1681739107 +I: Current time: Mon May 20 10:10:29 +14 2024 +I: pbuilder-time-stamp: 1716149429 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./ht_2.1.0+repack1.orig.tar.xz] I: copying [./ht_2.1.0+repack1-5.debian.tar.xz] I: Extracting source -gpgv: Signature made Sun May 3 05:26:41 2020 -12 +gpgv: Signature made Mon May 4 07:26:41 2020 +14 gpgv: using RSA key BBBD45EA818AB86FF67E7285D3E17383CFA7FF06 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./ht_2.1.0+repack1-5.dsc: no acceptable signature found @@ -31,135 +31,167 @@ dpkg-source: info: applying 60_fix_GCC-10.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1667647/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1892566/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-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 +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 20 10:10 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/1892566/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1892566/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 parallel=15' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='c24c8d717ec34a8188d5997dee72afe1' - 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='1667647' - PS1='# ' - PS2='> ' + INVOCATION_ID=94b5213bd2cd45d9b327a5f2a92b4206 + 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=1892566 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.Jdejtnid/pbuilderrc_0yG3 --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.Jdejtnid/b1 --logfile b1/build.log ht_2.1.0+repack1-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://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.Jdejtnid/pbuilderrc_pxZS --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.Jdejtnid/b2 --logfile b2/build.log --extrapackages usrmerge ht_2.1.0+repack1-5.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos1-amd64 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-0.deb11.5-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.12-1~bpo11+1 (2023-03-05) x86_64 GNU/Linux I: ls -l /bin total 5632 - -rwxr-xr-x 1 root root 1265648 Feb 12 08:05 bash - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 14568 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 44016 Sep 20 2022 cat - -rwxr-xr-x 1 root root 68656 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 64496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 72752 Sep 20 2022 chown - -rwxr-xr-x 1 root root 151152 Sep 20 2022 cp - -rwxr-xr-x 1 root root 125640 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 121904 Sep 20 2022 date - -rwxr-xr-x 1 root root 89240 Sep 20 2022 dd - -rwxr-xr-x 1 root root 102200 Sep 20 2022 df - -rwxr-xr-x 1 root root 151344 Sep 20 2022 dir - -rwxr-xr-x 1 root root 88656 Mar 22 22:02 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 43856 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 35664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 85600 Mar 22 22:02 findmnt - -rwsr-xr-x 1 root root 35128 Mar 22 20:35 fusermount - -rwxr-xr-x 1 root root 203152 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 98136 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22680 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln - -rwxr-xr-x 1 root root 53024 Mar 23 00:40 login - -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls - -rwxr-xr-x 1 root root 207168 Mar 22 22:02 lsblk - -rwxr-xr-x 1 root root 97552 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 72912 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 43952 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 59712 Mar 22 22:02 more - -rwsr-xr-x 1 root root 59704 Mar 22 22:02 mount - -rwxr-xr-x 1 root root 18744 Mar 22 22:02 mountpoint - -rwxr-xr-x 1 root root 142968 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43952 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Feb 12 08:05 rbash -> bash - -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm - -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 27560 Nov 2 04:31 run-parts - -rwxr-xr-x 1 root root 126424 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty - -rwsr-xr-x 1 root root 72000 Mar 22 22:02 su - -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync - -rwxr-xr-x 1 root root 531984 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 14520 Nov 2 04:31 tempfile - -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch - -rwxr-xr-x 1 root root 35664 Sep 20 2022 true - -rwxr-xr-x 1 root root 14568 Mar 22 20:35 ulockmgr_server - -rwsr-xr-x 1 root root 35128 Mar 22 22:02 umount - -rwxr-xr-x 1 root root 43888 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 151344 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 72024 Mar 22 22:02 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/1667647/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1265648 Feb 13 2023 bash + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 14568 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 44016 Sep 21 2022 cat + -rwxr-xr-x 1 root root 68656 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 64496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 72752 Sep 21 2022 chown + -rwxr-xr-x 1 root root 151152 Sep 21 2022 cp + -rwxr-xr-x 1 root root 125640 Jan 6 2023 dash + -rwxr-xr-x 1 root root 121904 Sep 21 2022 date + -rwxr-xr-x 1 root root 89240 Sep 21 2022 dd + -rwxr-xr-x 1 root root 102200 Sep 21 2022 df + -rwxr-xr-x 1 root root 151344 Sep 21 2022 dir + -rwxr-xr-x 1 root root 88656 Mar 24 2023 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 43856 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 35664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 85600 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 35128 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 203152 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 98136 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22680 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 72824 Sep 21 2022 ln + -rwxr-xr-x 1 root root 53024 Mar 24 2023 login + -rwxr-xr-x 1 root root 151344 Sep 21 2022 ls + -rwxr-xr-x 1 root root 207168 Mar 24 2023 lsblk + -rwxr-xr-x 1 root root 97552 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 72912 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 43952 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 59712 Mar 24 2023 more + -rwsr-xr-x 1 root root 59704 Mar 24 2023 mount + -rwxr-xr-x 1 root root 18744 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 142968 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43952 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Feb 13 2023 rbash -> bash + -rwxr-xr-x 1 root root 52112 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 72752 Sep 21 2022 rm + -rwxr-xr-x 1 root root 56240 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 27560 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 126424 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 May 20 10:10 sh -> /bin/bash + -rwxr-xr-x 1 root root 43888 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 85008 Sep 21 2022 stty + -rwsr-xr-x 1 root root 72000 Mar 24 2023 su + -rwxr-xr-x 1 root root 39824 Sep 21 2022 sync + -rwxr-xr-x 1 root root 531984 Apr 7 2023 tar + -rwxr-xr-x 1 root root 14520 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 109616 Sep 21 2022 touch + -rwxr-xr-x 1 root root 35664 Sep 21 2022 true + -rwxr-xr-x 1 root root 14568 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 35128 Mar 24 2023 umount + -rwxr-xr-x 1 root root 43888 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 151344 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 72024 Mar 24 2023 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/1892566/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -268,7 +300,7 @@ Get: 57 http://deb.debian.org/debian bookworm/main amd64 libxml-libxml-perl amd64 2.0207+dfsg+really+2.0134-1+b1 [322 kB] Get: 58 http://deb.debian.org/debian bookworm/main amd64 tex-common all 6.18 [32.5 kB] Get: 59 http://deb.debian.org/debian bookworm/main amd64 texinfo amd64 6.8-6+b1 [1816 kB] -Fetched 25.5 MB in 0s (58.7 MB/s) +Fetched 25.5 MB in 0s (65.6 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package m4. (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 ... 19596 files and directories currently installed.) @@ -528,8 +560,19 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/ht-2.1.0+repack1/ && 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 > ../ht_2.1.0+repack1-5_source.changes +I: user script /srv/workspace/pbuilder/1892566/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/1892566/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/ht-2.1.0+repack1/ && 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 > ../ht_2.1.0+repack1-5_source.changes dpkg-buildpackage: info: source package ht dpkg-buildpackage: info: source version 2.1.0+repack1-5 dpkg-buildpackage: info: source distribution unstable @@ -565,7 +608,7 @@ checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes -checking for a race-free mkdir -p... /bin/mkdir -p +checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes @@ -605,8 +648,8 @@ checking for lzo1x_1_compress in -llzo2... yes checking for lzo/lzo1x.h... yes checking for XOpenDisplay in -lX11... yes -checking for grep that handles long lines and -e... /bin/grep -checking for egrep... /bin/grep -E +checking for grep that handles long lines and -e... /usr/bin/grep +checking for egrep... /usr/bin/grep -E checking for stdlib.h... yes checking for string.h... yes checking for stdint.h... yes @@ -647,7 +690,7 @@ make a release build: yes using included minilzo: no dh_auto_build - make -j15 + make -j16 make[1]: Entering directory '/build/ht-2.1.0+repack1' /usr/bin/gmake all-recursive gmake[2]: Entering directory '/build/ht-2.1.0+repack1' @@ -683,6 +726,18 @@ g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../asm -I../io/posix -I../io -I../output -I../eval -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_DECL_BASENAME=1 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o analy_arm.o analy_arm.cc g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../asm -I../io/posix -I../io -I../output -I../eval -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_DECL_BASENAME=1 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o xex_analy.o xex_analy.cc g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../asm -I../io/posix -I../io -I../output -I../eval -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_DECL_BASENAME=1 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o analy_avr.o analy_avr.cc +pef_analy.cc: In member function 'virtual const char* PEFAnalyser::getSegmentNameByAddress(Address*)': +pef_analy.cc:448:57: warning: comparison of integer expressions of different signedness: 'sint32' {aka 'int'} and 'unsigned int' [-Wsign-compare] + 448 | if (pef_shared->sheaders.sheaders[i].nameOffset == 0xffffffff) { + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ +xex_analy.cc: In member function 'virtual void XEXAnalyser::beginAnalysis()': +xex_analy.cc:73:17: warning: unused variable 'buffer' [-Wunused-variable] + 73 | char buffer[1024]; + | ^~~~~~ +xex_analy.cc: In member function 'virtual bool XEXAnalyser::validAddress(Address*, tsectype)': +xex_analy.cc:294:13: warning: unused variable 'sec' [-Wunused-variable] + 294 | int sec; + | ^~~ xbe_analy.cc: In member function 'virtual void XBEAnalyser::beginAnalysis()': xbe_analy.cc:178:13: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 178 | free(tls); @@ -737,18 +792,6 @@ xbe_analy.cc:240:41: note: returned from 'void* operator new(long unsigned int)' 240 | return new AddressX86Flat32(addr); | ^ -pef_analy.cc: In member function 'virtual const char* PEFAnalyser::getSegmentNameByAddress(Address*)': -pef_analy.cc:448:57: warning: comparison of integer expressions of different signedness: 'sint32' {aka 'int'} and 'unsigned int' [-Wsign-compare] - 448 | if (pef_shared->sheaders.sheaders[i].nameOffset == 0xffffffff) { - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ -xex_analy.cc: In member function 'virtual void XEXAnalyser::beginAnalysis()': -xex_analy.cc:73:17: warning: unused variable 'buffer' [-Wunused-variable] - 73 | char buffer[1024]; - | ^~~~~~ -xex_analy.cc: In member function 'virtual bool XEXAnalyser::validAddress(Address*, tsectype)': -xex_analy.cc:294:13: warning: unused variable 'sec' [-Wunused-variable] - 294 | int sec; - | ^~~ rm -f libanalyser.a /usr/bin/ar cru libanalyser.a analy.o analy_alpha.o analy_names.o analy_x86.o code_analy.o data_analy.o language.o pe_analy.o stddata.o elf_analy.o analy_register.o coff_analy.o analy_java.o class_analy.o ne_analy.o analy_il.o le_analy.o analy_ppc.o macho_analy.o flt_analy.o xbe_analy.o pef_analy.o analy_arm.o xex_analy.o analy_avr.o /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U') @@ -772,6 +815,10 @@ g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../io/posix -I../io -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o arm-dis.o arm-dis.cc g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../io/posix -I../io -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o avrdis.o avrdis.cc g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../io/posix -I../io -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o avropc.o avropc.cc +javadis.cc: In member function 'virtual void javadis::str_op(char*, int*, javadis_insn*, java_insn_op*)': +javadis.cc:288:26: warning: variable 'a' set but not used [-Wunused-but-set-variable] + 288 | CPU_ADDR a; + | ^ ppcdis.cc: In member function 'virtual dis_insn* PPCDisassembler::decode(byte*, int, CPU_ADDR)': ppcdis.cc:65:24: warning: variable 'table_op' set but not used [-Wunused-but-set-variable] 65 | uint32 table_op; @@ -779,10 +826,6 @@ ppcdis.cc:44:16: warning: variable 'op' set but not used [-Wunused-but-set-variable] 44 | uint32 op; | ^~ -javadis.cc: In member function 'virtual void javadis::str_op(char*, int*, javadis_insn*, java_insn_op*)': -javadis.cc:288:26: warning: variable 'a' set but not used [-Wunused-but-set-variable] - 288 | CPU_ADDR a; - | ^ avrdis.cc: In member function 'virtual dis_insn* AVRDisassembler::decode(byte*, int, CPU_ADDR)': avrdis.cc:35:16: warning: variable 'op' set but not used [-Wunused-but-set-variable] 35 | uint32 op; @@ -818,14 +861,14 @@ g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../io -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o syskeyb.o syskeyb.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../io -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o sysinit.o sysinit.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../io -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o sysclipboard.o sysclipboard.cc -sysfile.cc: In function 'void sys_suspend()': -sysfile.cc:187:19: warning: passing argument 2 to 'restrict'-qualified parameter aliases with arguments 3, 4 [-Wrestrict] - 187 | select(0, &zerofds, &zerofds, &zerofds, &tm); - | ^~~~~~~~ ~~~~~~~~ ~~~~~~~~ sysinit.cc: In function 'bool init_system()': sysinit.cc:42:15: warning: ignoring return value of 'int setuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 42 | setuid(getuid()); | ~~~~~~^~~~~~~~~~ +sysfile.cc: In function 'void sys_suspend()': +sysfile.cc:187:19: warning: passing argument 2 to 'restrict'-qualified parameter aliases with arguments 3, 4 [-Wrestrict] + 187 | select(0, &zerofds, &zerofds, &zerofds, &tm); + | ^~~~~~~~ ~~~~~~~~ ~~~~~~~~ syskeyb.cc: In function 'int get_modifier(int)': syskeyb.cc:69:22: warning: variable 'b' set but not used [-Wunused-but-set-variable] 69 | Bool b; @@ -871,15 +914,6 @@ ../htinfo.h:34:49: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 34 | #define ht_copyright2 "(c) 1999-2014 "ht_author2" <"ht_mail2">" | ^ -out_html.cc:217:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 217 | swrite(stream, "
generated by "ht_name" version "ht_version".\n
\n
\n");
-      |                        ^
-out_html.cc:217:63: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
-  217 |         swrite(stream, "
generated by "ht_name" version "ht_version".\n
\n
\n");
-      |                                                               ^
-out_html.cc:217:75: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
-  217 |         swrite(stream, "
generated by "ht_name" version "ht_version".\n
\n
\n");
-      |                                                                           ^
 In file included from out_sym.cc:24:
 ../htinfo.h:30:23: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
    30 | #define ht_copyright1 "(c) 1999-2004 "ht_author1
@@ -890,6 +924,15 @@
 ../htinfo.h:34:49: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
    34 | #define ht_copyright2 "(c) 1999-2014 "ht_author2" <"ht_mail2">"
       |                                                 ^
+out_html.cc:217:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
+  217 |         swrite(stream, "
generated by "ht_name" version "ht_version".\n
\n
\n");
+      |                        ^
+out_html.cc:217:63: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
+  217 |         swrite(stream, "
generated by "ht_name" version "ht_version".\n
\n
\n");
+      |                                                               ^
+out_html.cc:217:75: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
+  217 |         swrite(stream, "
generated by "ht_name" version "ht_version".\n
\n
\n");
+      |                                                                           ^
 In file included from out_txt.cc:23:
 ../htinfo.h:30:23: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
    30 | #define ht_copyright1 "(c) 1999-2004 "ht_author1
@@ -970,45 +1013,20 @@
 g++ -DHAVE_CONFIG_H -I.   -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2  -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htclipboard.o htclipboard.cc
 g++ -DHAVE_CONFIG_H -I.   -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2  -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htcoff.o htcoff.cc
 g++ -DHAVE_CONFIG_H -I.   -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2  -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htcoffhd.o htcoffhd.cc
+g++ -DHAVE_CONFIG_H -I.   -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2  -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htctrl.o htctrl.cc
 htcfg.cc:293:25: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
   293 |         const char *b = "/"SYSTEM_CONFIG_FILE_NAME;
       |                         ^
-g++ -DHAVE_CONFIG_H -I.   -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2  -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htctrl.o htctrl.cc
-g++ -DHAVE_CONFIG_H -I.   -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2  -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htdebug.o htdebug.cc
-htcoffhd.cc:135:75: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
-  135 |         {"machine",                     STATICTAG_EDIT_WORD_VE("00000000")" "STATICTAG_DESC_WORD_VE("00000000", ATOM_COFF_MACHINES_STR)},
-      |                                                                           ^
-htcoffhd.cc:140:75: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
-  140 |         {"size of optional header",     STATICTAG_EDIT_WORD_VE("00000010")" "STATICTAG_DESC_WORD_VE("00000010", ATOM_COFF_OPTIONAL_SIZES_STR)},
-      |                                                                           ^
-htcoffhd.cc:141:75: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
-  141 |         {"characteristics",             STATICTAG_EDIT_WORD_VE("00000012")" "STATICTAG_FLAGS("00000012", ATOM_COFF_CHARACTERISTICS_STR)},
-      |                                                                           ^
-htcoffhd.cc:146:75: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
-  146 |         {"optional magic",              STATICTAG_EDIT_WORD_VE("00000014")" "STATICTAG_DESC_WORD_VE("00000014", ATOM_COFF_OPTIONAL_MAGICS_STR)},
-      |                                                                           ^
-htcoffhd.cc:159:75: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
-  159 |         {"optional magic",              STATICTAG_EDIT_WORD_VE("00000014")" "STATICTAG_DESC_WORD_VE("00000014", ATOM_COFF_OPTIONAL_MAGICS_STR)},
-      |                                                                           ^
 In file included from htapp.cc:34:
 htinfo.h:30:23: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
    30 | #define ht_copyright1 "(c) 1999-2004 "ht_author1
       |                       ^
-htcoffhd.cc:198:76: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
-  198 |         {"characteristics",             STATICTAG_EDIT_DWORD_VE("00000024")" "STATICTAG_FLAGS("00000024", ATOM_COFF_SECTION_CHARACTERISTICS_STR)},
-      |                                                                            ^
 htinfo.h:34:23: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
    34 | #define ht_copyright2 "(c) 1999-2014 "ht_author2" <"ht_mail2">"
       |                       ^
 htinfo.h:34:49: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
    34 | #define ht_copyright2 "(c) 1999-2014 "ht_author2" <"ht_mail2">"
       |                                                 ^
-htcoffhd.cc:243:51: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
-  243 |                                 m->add_staticmask("optional magic                                   "STATICTAG_EDIT_WORD_VE("00000018")" "STATICTAG_DESC_WORD_VE("00000018", ATOM_COFF_OPTIONAL_MAGICS_STR), h+20, coff_bigendian);
-      |                                                   ^
-htcoffhd.cc:243:136: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
-  243 |                                 m->add_staticmask("optional magic                                   "STATICTAG_EDIT_WORD_VE("00000018")" "STATICTAG_DESC_WORD_VE("00000018", ATOM_COFF_OPTIONAL_MAGICS_STR), h+20, coff_bigendian);
-      |                                                                                                                                        ^
 htapp.cc:1506:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  1506 |         help->insert_entry("~About "ht_name, "", cmd_about, 0, 1);
       |                            ^
@@ -1030,40 +1048,36 @@
 htapp.cc:3350:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  3350 |         screen = allocSystemDisplay(ht_name" "ht_version);
       |                                            ^
+g++ -DHAVE_CONFIG_H -I.   -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2  -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htdebug.o htdebug.cc
+htcoffhd.cc:135:75: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
+  135 |         {"machine",                     STATICTAG_EDIT_WORD_VE("00000000")" "STATICTAG_DESC_WORD_VE("00000000", ATOM_COFF_MACHINES_STR)},
+      |                                                                           ^
+htcoffhd.cc:140:75: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
+  140 |         {"size of optional header",     STATICTAG_EDIT_WORD_VE("00000010")" "STATICTAG_DESC_WORD_VE("00000010", ATOM_COFF_OPTIONAL_SIZES_STR)},
+      |                                                                           ^
+htcoffhd.cc:141:75: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
+  141 |         {"characteristics",             STATICTAG_EDIT_WORD_VE("00000012")" "STATICTAG_FLAGS("00000012", ATOM_COFF_CHARACTERISTICS_STR)},
+      |                                                                           ^
+htcoffhd.cc:146:75: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
+  146 |         {"optional magic",              STATICTAG_EDIT_WORD_VE("00000014")" "STATICTAG_DESC_WORD_VE("00000014", ATOM_COFF_OPTIONAL_MAGICS_STR)},
+      |                                                                           ^
+htcoffhd.cc:159:75: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
+  159 |         {"optional magic",              STATICTAG_EDIT_WORD_VE("00000014")" "STATICTAG_DESC_WORD_VE("00000014", ATOM_COFF_OPTIONAL_MAGICS_STR)},
+      |                                                                           ^
+htcoffhd.cc:198:76: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
+  198 |         {"characteristics",             STATICTAG_EDIT_DWORD_VE("00000024")" "STATICTAG_FLAGS("00000024", ATOM_COFF_SECTION_CHARACTERISTICS_STR)},
+      |                                                                            ^
+htcoffhd.cc:243:51: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
+  243 |                                 m->add_staticmask("optional magic                                   "STATICTAG_EDIT_WORD_VE("00000018")" "STATICTAG_DESC_WORD_VE("00000018", ATOM_COFF_OPTIONAL_MAGICS_STR), h+20, coff_bigendian);
+      |                                                   ^
+htcoffhd.cc:243:136: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
+  243 |                                 m->add_staticmask("optional magic                                   "STATICTAG_EDIT_WORD_VE("00000018")" "STATICTAG_DESC_WORD_VE("00000018", ATOM_COFF_OPTIONAL_MAGICS_STR), h+20, coff_bigendian);
+      |                                                                                                                                        ^
 g++ -DHAVE_CONFIG_H -I.   -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2  -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htdialog.o htdialog.cc
 g++ -DHAVE_CONFIG_H -I.   -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2  -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htelf.o htelf.cc
 g++ -DHAVE_CONFIG_H -I.   -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2  -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htelfhd.o htelfhd.cc
 g++ -DHAVE_CONFIG_H -I.   -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2  -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htelfimg.o htelfimg.cc
-htcfg.cc: In function 'loadstore_result save_systemconfig(String&)':
-htcfg.cc:105:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
-  105 |                 std::auto_ptr d(create_object_stream(f, system_ostream_type));
-      |                      ^~~~~~~~
-In file included from /usr/include/c++/12/memory:76,
-                 from htcfg.cc:25:
-/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here
-   64 |   template class auto_ptr;
-      |                            ^~~~~~~~
-htcfg.cc: In function 'bool load_systemconfig(loadstore_result*, int*)':
-htcfg.cc:126:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
-  126 |         std::auto_ptr d(NULL);
-      |              ^~~~~~~~
-/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here
-   64 |   template class auto_ptr;
-      |                            ^~~~~~~~
-htcfg.cc: In function 'loadstore_result save_fileconfig(const char*, const char*, uint, store_fcfg_func, void*, String&)':
-htcfg.cc:207:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
-  207 |                 std::auto_ptr d(create_object_stream(f, file_ostream_type));
-      |                      ^~~~~~~~
-/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here
-   64 |   template class auto_ptr;
-      |                            ^~~~~~~~
-htcfg.cc: In function 'loadstore_result load_fileconfig(const char*, const char*, uint, load_fcfg_func, void*, String&)':
-htcfg.cc:229:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
-  229 |         std::auto_ptr d(NULL);
-      |              ^~~~~~~~
-/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here
-   64 |   template class auto_ptr;
-      |                            ^~~~~~~~
+g++ -DHAVE_CONFIG_H -I.   -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2  -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htelfphs.o htelfphs.cc
 htelfhd.cc:32:64: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
    32 |         {"    magic",           STATICTAG_EDIT_BYTE("00000000")" "STATICTAG_EDIT_BYTE("00000001")" "STATICTAG_EDIT_BYTE("00000002")" "STATICTAG_EDIT_BYTE("00000003")" = "STATICTAG_EDIT_CHAR("00000000") STATICTAG_EDIT_CHAR("00000001") STATICTAG_EDIT_CHAR("00000002") STATICTAG_EDIT_CHAR("00000003")},
       |                                                                ^
@@ -1115,24 +1129,10 @@
 htelfhd.cc:63:75: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
    63 |         {"machine",                     STATICTAG_EDIT_WORD_VE("00000012")" ("STATICTAG_DESC_WORD_VE("00000012", ATOM_ELF_MACHINE_STR)")"},
       |                                                                           ^
-g++ -DHAVE_CONFIG_H -I.   -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2  -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htelfphs.o htelfphs.cc
-g++ -DHAVE_CONFIG_H -I.   -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2  -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htelfshs.o htelfshs.cc
-htapp.cc: In member function 'virtual bool FileBrowser::extract_url(char*)':
-htapp.cc:282:21: warning: unused variable 'buflen' [-Wunused-variable]
-  282 |                 int buflen = ht_snprintf(buf, VFS_URL_MAX, "%s:%y", listbox->getCurProto(), &res);
-      |                     ^~~~~~
-htapp.cc: In member function 'virtual void* ht_project_listbox::getLast()':
-htapp.cc:769:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
-  769 |                 return (void*)(project->count());
+htdialog.cc: In member function 'virtual void* ht_history_listbox::getLast()':
+htdialog.cc:462:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
+  462 |                 return (void*)(history->count());
       |                        ^~~~~~~~~~~~~~~~~~~~~~~~~
-g++ -DHAVE_CONFIG_H -I.   -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2  -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htelfsym.o htelfsym.cc
-htelf.cc: In member function 'void ht_elf::init(Bounds*, File*, format_viewer_if**, ht_format_group*, FileOfs)':
-htelf.cc:165:54: warning: variable 'a' set but not used [-Wunused-but-set-variable]
-  165 |                                 ELF_SECTION_HEADER32 a = elf_shared->sheaders.sheaders32[i];
-      |                                                      ^
-htelf.cc:212:46: warning: variable 'a' set but not used [-Wunused-but-set-variable]
-  212 |                         ELF_SECTION_HEADER64 a = elf_shared->sheaders.sheaders64[i];
-      |                                              ^
 htelfphs.cc:31:68: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
    31 |         {"type",                STATICTAG_EDIT_DWORD_VE("00000000")" ("STATICTAG_DESC_DWORD_VE("00000000", ATOM_ELF_PH_TYPE_STR)")"},
       |                                                                    ^
@@ -1145,6 +1145,45 @@
 htelfphs.cc:45:68: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
    45 |         {"flags",               STATICTAG_EDIT_DWORD_VE("00000004")" "STATICTAG_FLAGS("00000004", ATOM_ELF_PH_FLAGS_STR)},
       |                                                                    ^
+htapp.cc: In member function 'virtual bool FileBrowser::extract_url(char*)':
+htapp.cc:282:21: warning: unused variable 'buflen' [-Wunused-variable]
+  282 |                 int buflen = ht_snprintf(buf, VFS_URL_MAX, "%s:%y", listbox->getCurProto(), &res);
+      |                     ^~~~~~
+htapp.cc: In member function 'virtual void* ht_project_listbox::getLast()':
+htapp.cc:769:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
+  769 |                 return (void*)(project->count());
+      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~
+htcfg.cc: In function 'loadstore_result save_systemconfig(String&)':
+htcfg.cc:105:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
+  105 |                 std::auto_ptr d(create_object_stream(f, system_ostream_type));
+      |                      ^~~~~~~~
+In file included from /usr/include/c++/12/memory:76,
+                 from htcfg.cc:25:
+/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here
+   64 |   template class auto_ptr;
+      |                            ^~~~~~~~
+htcfg.cc: In function 'bool load_systemconfig(loadstore_result*, int*)':
+htcfg.cc:126:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
+  126 |         std::auto_ptr d(NULL);
+      |              ^~~~~~~~
+/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here
+   64 |   template class auto_ptr;
+      |                            ^~~~~~~~
+htcfg.cc: In function 'loadstore_result save_fileconfig(const char*, const char*, uint, store_fcfg_func, void*, String&)':
+htcfg.cc:207:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
+  207 |                 std::auto_ptr d(create_object_stream(f, file_ostream_type));
+      |                      ^~~~~~~~
+/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here
+   64 |   template class auto_ptr;
+      |                            ^~~~~~~~
+htcfg.cc: In function 'loadstore_result load_fileconfig(const char*, const char*, uint, load_fcfg_func, void*, String&)':
+htcfg.cc:229:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
+  229 |         std::auto_ptr d(NULL);
+      |              ^~~~~~~~
+/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here
+   64 |   template class auto_ptr;
+      |                            ^~~~~~~~
+g++ -DHAVE_CONFIG_H -I.   -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2  -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htelfshs.o htelfshs.cc
 htapp.cc: In member function 'ht_view* ht_app::popup_view_list(const char*)':
 htapp.cc:2850:36: warning: variable 'so' set but not used [-Wunused-but-set-variable]
  2850 |         ht_text_listbox_sort_order so[1];
@@ -1152,7 +1191,7 @@
 htapp.cc: In member function 'virtual void ht_file_window::handlemsg(htmsg*)':
 htapp.cc:3244:51: warning: comparison of integer expressions of different signedness: 'uint' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  3244 |                                 if ((uint)msg.msg != cmd_file_save) break;
-g++ -DHAVE_CONFIG_H -I.   -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2  -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htelfrel.o htelfrel.cc
+g++ -DHAVE_CONFIG_H -I.   -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2  -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htelfsym.o htelfsym.cc
 htelfshs.cc:33:84: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
    33 |         {"type",                                STATICTAG_EDIT_DWORD_VE("00000004")" ("STATICTAG_DESC_DWORD_VE("00000004", ATOM_ELF_SH_TYPE_STR)")"},
       |                                                                                    ^
@@ -1165,35 +1204,18 @@
 htelfshs.cc:49:84: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
    49 |         {"flags",                               STATICTAG_EDIT_QWORD_VE("00000008")" "STATICTAG_FLAGS("00000008", ATOM_ELF_SH_FLAGS_STR)},
       |                                                                                    ^
+htelf.cc: In member function 'void ht_elf::init(Bounds*, File*, format_viewer_if**, ht_format_group*, FileOfs)':
+htelf.cc:165:54: warning: variable 'a' set but not used [-Wunused-but-set-variable]
+  165 |                                 ELF_SECTION_HEADER32 a = elf_shared->sheaders.sheaders32[i];
+      |                                                      ^
+htelf.cc:212:46: warning: variable 'a' set but not used [-Wunused-but-set-variable]
+  212 |                         ELF_SECTION_HEADER64 a = elf_shared->sheaders.sheaders64[i];
+      |                                              ^
+g++ -DHAVE_CONFIG_H -I.   -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2  -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htelfrel.o htelfrel.cc
 g++ -DHAVE_CONFIG_H -I.   -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2  -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htfinfo.o htfinfo.cc
 g++ -DHAVE_CONFIG_H -I.   -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2  -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htformat.o htformat.cc
-htfinfo.cc:65:40: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
-   65 |         return ht_snprintf(f, max_len, "%-"FINFO_IDENTIFIER_WIDTH_STR"s%s", prefix, asctime(&tt));
-      |                                        ^
-htfinfo.cc:79:71: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
-   79 |         if (s.caps & pstat_uid) t += ht_snprintf(t, max_len-(t-text), "%-"FINFO_IDENTIFIER_WIDTH_STR"s%d\n", "user id", s.uid);
-      |                                                                       ^
-htfinfo.cc:80:71: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
-   80 |         if (s.caps & pstat_gid) t += ht_snprintf(t, max_len-(t-text), "%-"FINFO_IDENTIFIER_WIDTH_STR"s%d\n", "group id", s.gid);
-      |                                                                       ^
-htfinfo.cc:83:55: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
-   83 |                 t += ht_snprintf(t, max_len-(t-text), "%-"FINFO_IDENTIFIER_WIDTH_STR"s%qd (%.2f KiB, %.2f MiB)"
-      |                                                       ^
-htfinfo.cc:88:73: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
-   88 |         if (s.caps & pstat_inode) t += ht_snprintf(t, max_len-(t-text), "%-"FINFO_IDENTIFIER_WIDTH_STR"s%d\n", "inode", s.fsid);
-      |                                                                         ^
-htfinfo.cc:89:80: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
-   89 |         else if (s.caps & pstat_cluster) t += ht_snprintf(t, max_len-(t-text), "%-"FINFO_IDENTIFIER_WIDTH_STR"s%d\n", "cluster (?)", s.fsid);
-      |                                                                                ^
-htfinfo.cc:90:77: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
-   90 |         else if (s.caps & pstat_fsid) t += ht_snprintf(t, max_len-(t-text), "%-"FINFO_IDENTIFIER_WIDTH_STR"s%d\n", "fsid", s.fsid);
-      |                                                                             ^
-htfinfo.cc:108:55: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
-  108 |                 t += ht_snprintf(t, max_len-(t-text), "%-"FINFO_IDENTIFIER_WIDTH_STR"s", "");
-      |                                                       ^
-htfinfo.cc:124:71: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
-  124 |                                 t += ht_snprintf(t, max_len-(t-text), "%-"FINFO_IDENTIFIER_WIDTH_STR"s", als[a]);
-      |                                                                       ^
+g++ -DHAVE_CONFIG_H -I.   -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2  -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o hthex.o hthex.cc
+g++ -DHAVE_CONFIG_H -I.   -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2  -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o hthist.o hthist.cc
 htanaly.cc: In function 'int aviewer_func_fileofs(eval_scalar*, eval_int*)':
 htanaly.cc:657:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
   657 |                 std::auto_ptr
blub(a); @@ -1210,10 +1232,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -htdialog.cc: In member function 'virtual void* ht_history_listbox::getLast()': -htdialog.cc:462:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 462 | return (void*)(history->count()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ htanaly.cc: In member function 'virtual int ht_aviewer::get_pindicator_str(char*, int)': htanaly.cc:1048:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1048 | std::auto_ptr
blub(addr); @@ -1234,32 +1252,46 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o hthex.o hthex.cc -htelfshs.cc: In function 'ht_view* htelfsectionheaders_init(Bounds*, File*, ht_format_group*)': -htelfshs.cc:135:40: warning: comparison of integer expressions of different signedness: 'FileOfs' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 135 | if (so != -1) { - | ~~~^~~~~ -g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o hthist.o hthist.cc +htfinfo.cc:65:40: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 65 | return ht_snprintf(f, max_len, "%-"FINFO_IDENTIFIER_WIDTH_STR"s%s", prefix, asctime(&tt)); + | ^ +htfinfo.cc:79:71: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 79 | if (s.caps & pstat_uid) t += ht_snprintf(t, max_len-(t-text), "%-"FINFO_IDENTIFIER_WIDTH_STR"s%d\n", "user id", s.uid); + | ^ +htfinfo.cc:80:71: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 80 | if (s.caps & pstat_gid) t += ht_snprintf(t, max_len-(t-text), "%-"FINFO_IDENTIFIER_WIDTH_STR"s%d\n", "group id", s.gid); + | ^ +htfinfo.cc:83:55: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 83 | t += ht_snprintf(t, max_len-(t-text), "%-"FINFO_IDENTIFIER_WIDTH_STR"s%qd (%.2f KiB, %.2f MiB)" + | ^ +htfinfo.cc:88:73: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 88 | if (s.caps & pstat_inode) t += ht_snprintf(t, max_len-(t-text), "%-"FINFO_IDENTIFIER_WIDTH_STR"s%d\n", "inode", s.fsid); + | ^ +htfinfo.cc:89:80: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 89 | else if (s.caps & pstat_cluster) t += ht_snprintf(t, max_len-(t-text), "%-"FINFO_IDENTIFIER_WIDTH_STR"s%d\n", "cluster (?)", s.fsid); + | ^ +htfinfo.cc:90:77: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 90 | else if (s.caps & pstat_fsid) t += ht_snprintf(t, max_len-(t-text), "%-"FINFO_IDENTIFIER_WIDTH_STR"s%d\n", "fsid", s.fsid); + | ^ +htfinfo.cc:108:55: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 108 | t += ht_snprintf(t, max_len-(t-text), "%-"FINFO_IDENTIFIER_WIDTH_STR"s", ""); + | ^ +htfinfo.cc:124:71: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 124 | t += ht_snprintf(t, max_len-(t-text), "%-"FINFO_IDENTIFIER_WIDTH_STR"s", als[a]); + | ^ g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htidle.o htidle.cc g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htiobox.o htiobox.cc -g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htle.o htle.cc htanaly.cc: At global scope: htanaly.cc:611:12: warning: 'int aviewer_func_addr(eval_scalar*, eval_str*)' defined but not used [-Wunused-function] 611 | static int aviewer_func_addr(eval_scalar *result, eval_str *str) | ^~~~~~~~~~~~~~~~~ +htelfshs.cc: In function 'ht_view* htelfsectionheaders_init(Bounds*, File*, ht_format_group*)': +htelfshs.cc:135:40: warning: comparison of integer expressions of different signedness: 'FileOfs' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 135 | if (so != -1) { + | ~~~^~~~~ +g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htle.o htle.cc g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htleent.o htleent.cc g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htlehead.o htlehead.cc -g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htleimg.o htleimg.cc -g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htleobj.o htleobj.cc -htformat.cc: In member function 'virtual bool ht_format_viewer::show_search_result(ht_search_result*)': -htformat.cc:793:33: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] - 793 | if (!goto_offset(s->offset, this)) return false; - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -htformat.cc:799:32: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] - 799 | return goto_pos(s->pos, this); - | ~~~~~~~~^~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htlepage.o htlepage.cc -g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htmenu.o htmenu.cc htlehead.cc:82:99: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 82 | {"cpu type", STATICTAG_EDIT_WORD_LE("00000008")" "STATICTAG_DESC_WORD_LE("00000008", ATOM_LE_MACHINE_STR)}, | ^ @@ -1296,10 +1328,7 @@ htlehead.cc:126:172: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 126 | {0, STATICTAG_EDIT_BYTE("000000b4")" "STATICTAG_EDIT_BYTE("000000b5")" "STATICTAG_EDIT_BYTE("000000b6")" "STATICTAG_EDIT_BYTE("000000b7")}, | ^ -htformat.cc: In member function 'virtual void ht_uformat_viewer::handlemsg(htmsg*)': -htformat.cc:2737:85: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] - 2737 | if (string_to_pos(addrstr, &pos) && goto_pos(pos, this)) { - | ~~~~~~~~^~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htleimg.o htleimg.cc htleent.cc:44:72: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 44 | {"bundle flags", STATICTAG_EDIT_BYTE("00000001")" "STATICTAG_FLAGS("00000001", ATOM_LE_ENTRY_BUNDLE_FLAGS_STR)}, | ^ @@ -1309,7 +1338,8 @@ htleent.cc:68:64: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 68 | {"flags", STATICTAG_EDIT_BYTE("00000000")" "STATICTAG_FLAGS("00000000", ATOM_LE_ENTRY_FLAGS_STR)}, | ^ -g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htmz.o htmz.cc +g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htleobj.o htleobj.cc +g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htlepage.o htlepage.cc htleobj.cc:39:92: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 39 | {"flags", STATICTAG_EDIT_DWORD_LE("00000008")" "STATICTAG_FLAGS("00000008", ATOM_LE_OBJFLAGS_STR)}, | ^ @@ -1322,6 +1352,8 @@ htleobj.cc:42:154: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 42 | {"name", STATICTAG_EDIT_CHAR("00000014")""STATICTAG_EDIT_CHAR("00000015")""STATICTAG_EDIT_CHAR("00000016")""STATICTAG_EDIT_CHAR("00000017")}, | ^ +g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htmenu.o htmenu.cc +g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htmz.o htmz.cc hthex.cc: In member function 'virtual void ht_hex_viewer::handlemsg(htmsg*)': hthex.cc:133:87: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 133 | if (ofs != -1ULL && offset_to_pos(ofs, &p) && goto_pos(p, this)) { @@ -1331,7 +1363,6 @@ | ~~~~~~~~^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htmzhead.o htmzhead.cc g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htmzimg.o htmzimg.cc -g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htmzrel.o htmzrel.cc htmzhead.cc:43:80: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 43 | {"reserved", STATICTAG_EDIT_BYTE("0000001c")" "STATICTAG_EDIT_BYTE("0000001d")" "STATICTAG_EDIT_BYTE("0000001e")" "STATICTAG_EDIT_BYTE("0000001f")" "STATICTAG_EDIT_BYTE("00000020")" "STATICTAG_EDIT_BYTE("00000021")" "STATICTAG_EDIT_BYTE("00000022")" "STATICTAG_EDIT_BYTE("00000023")}, | ^ @@ -1416,19 +1447,23 @@ htmzhead.cc:46:284: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 46 | {"reserved", STATICTAG_EDIT_BYTE("00000034")" "STATICTAG_EDIT_BYTE("00000035")" "STATICTAG_EDIT_BYTE("00000036")" "STATICTAG_EDIT_BYTE("00000037")" "STATICTAG_EDIT_BYTE("00000038")" "STATICTAG_EDIT_BYTE("00000039")" "STATICTAG_EDIT_BYTE("0000003a")" "STATICTAG_EDIT_BYTE("0000003b")}, | ^ +htformat.cc: In member function 'virtual bool ht_format_viewer::show_search_result(ht_search_result*)': +htformat.cc:793:33: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] + 793 | if (!goto_offset(s->offset, this)) return false; + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +htformat.cc:799:32: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] + 799 | return goto_pos(s->pos, this); + | ~~~~~~~~^~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htmzrel.o htmzrel.cc g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htne.o htne.cc -htle.cc: In member function 'void ht_le::do_fixups()': -htle.cc:249:120: warning: 'src_ofs' may be used uninitialized [-Wmaybe-uninitialized] - 249 | rfile->insert_reloc(obj_ofs + src_ofs, new ht_le_reloc_entry(obj_ofs + src_ofs, target_seg, LE_MAKE_ADDR(le_shared, target_seg, target_ofs), f.address_type, f.reloc_type)); - | ^~~~~~~ -htle.cc:199:32: note: 'src_ofs' was declared here - 199 | uint16 src_ofs; - | ^~~~~~~ +htformat.cc: In member function 'virtual void ht_uformat_viewer::handlemsg(htmsg*)': +htformat.cc:2737:85: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] + 2737 | if (string_to_pos(addrstr, &pos) && goto_pos(pos, this)) { + | ~~~~~~~~^~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htneent.o htneent.cc g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htnehead.o htnehead.cc g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htnenms.o htnenms.cc g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htneobj.o htneobj.cc -g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htnewexe.o htnewexe.cc htnehead.cc:35:107: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 35 | {"flags", STATICTAG_EDIT_WORD_LE("0000000c")" "STATICTAG_FLAGS("0000000c", ATOM_NE_FLAGS_STR)}, | ^ @@ -1441,28 +1476,47 @@ htnehead.cc:53:96: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 53 | {"target os", STATICTAG_EDIT_BYTE("00000036")" "STATICTAG_DESC_BYTE("00000036", ATOM_NE_OS_STR)}, | ^ +g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htnewexe.o htnewexe.cc +htle.cc: In member function 'void ht_le::do_fixups()': +htle.cc:249:120: warning: 'src_ofs' may be used uninitialized [-Wmaybe-uninitialized] + 249 | rfile->insert_reloc(obj_ofs + src_ofs, new ht_le_reloc_entry(obj_ofs + src_ofs, target_seg, LE_MAKE_ADDR(le_shared, target_seg, target_ofs), f.address_type, f.reloc_type)); + | ^~~~~~~ g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htobj.o htobj.cc -htmzrel.cc:36:17: warning: 'ht_view* htmzrel_init(Bounds*, File*, ht_format_group*)' defined but not used [-Wunused-function] - 36 | static ht_view *htmzrel_init(Bounds *b, File *file, ht_format_group *group) - | ^~~~~~~~~~~~ -htmzrel.cc:28:12: warning: 'int htmzrel_detect(File*)' defined but not used [-Wunused-function] - 28 | static int htmzrel_detect(File *file) - | ^~~~~~~~~~~~~~ +htle.cc:199:32: note: 'src_ofs' was declared here + 199 | uint16 src_ofs; + | ^~~~~~~ htneobj.cc:40:59: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 40 | {"flags", STATICTAG_EDIT_WORD_LE("00000004")" "STATICTAG_FLAGS("00000004", ATOM_NE_SEGFLAGS_STR)}, | ^ g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htpal.o htpal.cc g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htpe.o htpe.cc g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htpedimp.o htpedimp.cc +htmzrel.cc:36:17: warning: 'ht_view* htmzrel_init(Bounds*, File*, ht_format_group*)' defined but not used [-Wunused-function] + 36 | static ht_view *htmzrel_init(Bounds *b, File *file, ht_format_group *group) + | ^~~~~~~~~~~~ +htmzrel.cc:28:12: warning: 'int htmzrel_detect(File*)' defined but not used [-Wunused-function] + 28 | static int htmzrel_detect(File *file) + | ^~~~~~~~~~~~~~ +htdialog.cc: In member function 'virtual void ht_strinputfield::handlemsg(htmsg*)': +htdialog.cc:986:40: warning: 'void operator delete(void*, long unsigned int)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] + 986 | delete buf; + | ^~~ +In file included from stream.h:27, + from htclipboard.h:25, + from htdialog.cc:26: +In member function 'HTMallocRes::operator T*() const [with T = unsigned char]', + inlined from 'virtual void ht_strinputfield::handlemsg(htmsg*)' at htdialog.cc:977:26: +data.h:70:48: note: returned from 'void* malloc(size_t)' + 70 | return static_cast(::malloc(mSize)); + | ~~~~~~~~^~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htpeexp.o htpeexp.cc htne.cc: In member function 'bool ht_ne::relocate(ht_reloc_file*)': htne.cc:331:127: warning: conversion from 'unsigned int' to 'uint16' {aka 'short unsigned int'} changes value from '3405691582' to '47806' [-Woverflow] 331 | if (!relocate_single(rf, i, seg_ofs + reloc.src_ofs, reloc.type, reloc.flags, 0xdead, 0xcafebabe)) return false; | ^~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htpeexp.o htpeexp.cc g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htpehead.o htpehead.cc g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htpeimg.o htpeimg.cc g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htpeimp.o htpeimp.cc -g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htperes.o htperes.cc htpehead.cc:71:83: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 71 | {"optional magic", STATICTAG_EDIT_WORD_LE("00000014")" "STATICTAG_DESC_WORD_LE("00000014", ATOM_PE_OPTIONAL_MAGICS_STR)}, | ^ @@ -1487,6 +1541,7 @@ htpehead.cc:147:126: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 147 | {"export directory (rva/size)", STATICTAG_EDIT_DWORD_LE("00000000")" "STATICTAG_EDIT_DWORD_LE("00000004")" "STATICTAG_REF("0000000000000000", "03", "raw")" "STATICTAG_REF("0000000100000000", "04", "cook")}, | ^ +g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htperes.o htperes.cc htpehead.cc:147:175: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 147 | {"export directory (rva/size)", STATICTAG_EDIT_DWORD_LE("00000000")" "STATICTAG_EDIT_DWORD_LE("00000004")" "STATICTAG_REF("0000000000000000", "03", "raw")" "STATICTAG_REF("0000000100000000", "04", "cook")}, | ^ @@ -1599,24 +1654,15 @@ g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htreg.o htreg.cc g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htsearch.o htsearch.cc g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o httag.o httag.cc -g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o httree.o httree.cc -g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o main.o main.cc -htdialog.cc: In member function 'virtual void ht_strinputfield::handlemsg(htmsg*)': -htdialog.cc:986:40: warning: 'void operator delete(void*, long unsigned int)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] - 986 | delete buf; - | ^~~ -In file included from stream.h:27, - from htclipboard.h:25, - from htdialog.cc:26: -In member function 'HTMallocRes::operator T*() const [with T = unsigned char]', - inlined from 'virtual void ht_strinputfield::handlemsg(htmsg*)' at htdialog.cc:977:26: -data.h:70:48: note: returned from 'void* malloc(size_t)' - 70 | return static_cast(::malloc(mSize)); - | ~~~~~~~~^~~~~~~ htpereloc.cc: In member function 'virtual bool ht_pe_reloc_viewer::select_entry(void*)': htpereloc.cc:317:41: warning: comparison of integer expressions of different signedness: 'uint32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 317 | if (fixupque_lit->idCol == i->id) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o httree.o httree.cc +g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o main.o main.cc +g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o store.o store.cc +g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o stream.o stream.cc +g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o tools.o tools.cc In file included from main.cc:40: htinfo.h:30:23: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 30 | #define ht_copyright1 "(c) 1999-2004 "ht_author1 @@ -1645,9 +1691,6 @@ main.cc:372:68: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 372 | if (confirmbox_modal("%s %s %s...\noverwrite it?", "current configuration file ("SYSTEM_CONFIG_FILE_NAME") has", "NEWER", "version")!=button_ok) { | ^ -g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o store.o store.cc -g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o stream.o stream.cc -g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o tools.o tools.cc g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vxd.o vxd.cc g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vxdserv.o vxdserv.cc gcc -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o regex.o regex.c @@ -1669,6 +1712,7 @@ 4532 | unsigned char *pdummy; | ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o classread.o classread.cc +g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o classview.o classview.cc textfile.cc: In member function 'virtual int ht_ltextfile::vcntl(uint, __va_list_tag*)': textfile.cc:843:25: warning: variable 'o' set but not used [-Wunused-but-set-variable] 843 | FileOfs o = va_arg(vargs, FileOfs); @@ -1679,11 +1723,7 @@ textfile.cc:852:25: warning: variable 'o' set but not used [-Wunused-but-set-variable] 852 | FileOfs o = va_arg(vargs, FileOfs); | ^ -main.cc: In function 'void load_file(char*, uint)': -main.cc:116:15: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 116 | getcwd(cwd, sizeof cwd); - | ~~~~~~^~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o classview.o classview.cc +g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o httext.o httext.cc classview.cc:79:40: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 79 | " "STATICTAG_FLAGS("00000000", ATOM_CLS_ACCESS_STR)}, | ^ @@ -1696,30 +1736,33 @@ classview.cc:177:40: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 177 | " "STATICTAG_FLAGS("00000006", ATOM_CLS_ACCESS_STR)}, | ^ -g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o httext.o httext.cc g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o hteval.o hteval.cc +main.cc: In function 'void load_file(char*, uint)': +main.cc:116:15: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 116 | getcwd(cwd, sizeof cwd); + | ~~~~~~^~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o relfile.o relfile.cc -g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htprocess.o htprocess.cc -g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o mfile.o mfile.cc -g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o elfstruc.o elfstruc.cc classread.cc: In function 'ht_class_shared_data* class_read(File*)': classread.cc:233:12: warning: variable 'cpcount' set but not used [-Wunused-but-set-variable] 233 | u2 cpcount, index; | ^~~~~~~ -elfstruc.cc:110:13: warning: 'ELF_NHEADER32_struct' defined but not used [-Wunused-variable] - 110 | static byte ELF_NHEADER32_struct[] = { - | ^~~~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o pestruct.o pestruct.cc +g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htprocess.o htprocess.cc +g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o mfile.o mfile.cc +g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o elfstruc.o elfstruc.cc mfile.cc: In member function 'void FileModificator::checkSanity()': mfile.cc:134:19: warning: variable 'prevx' set but not used [-Wunused-but-set-variable] 134 | FileArea *prevx = NULL; | ^~~~~ -g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o coff_s.o coff_s.cc -g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o mzstruct.o mzstruct.cc +elfstruc.cc:110:13: warning: 'ELF_NHEADER32_struct' defined but not used [-Wunused-variable] + 110 | static byte ELF_NHEADER32_struct[] = { + | ^~~~~~~~~~~~~~~~~~~~ mfile.cc: In member function 'virtual uint FileModificator::read(void*, uint)': mfile.cc:622:21: warning: unused variable 'a' [-Wunused-variable] 622 | int a = 1; | ^ +g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o pestruct.o pestruct.cc +g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o coff_s.o coff_s.cc +g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o mzstruct.o mzstruct.cc gcc -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o defreg.o defreg.c g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htdisasm.o htdisasm.cc g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htcoffimg.o htcoffimg.cc @@ -1734,6 +1777,7 @@ g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o classimg.o classimg.cc g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vfs.o vfs.cc g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vfsview.o vfsview.cc +g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htlevxd.o htlevxd.cc In file included from cmds.h:24, from htdisasm.cc:23: htdisasm.cc: In member function 'virtual bool ht_disasm_viewer::get_vscrollbar_pos(int*, int*)': @@ -1743,28 +1787,23 @@ htdisasm.cc:209:25: note: in expansion of macro 'MIN' 209 | int z = MIN(size.h*16, s-(int)top.line_id.id1); | ^~~ -g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htlevxd.o htlevxd.cc g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o lestruct.o lestruct.cc g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htmacho.o htmacho.cc g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htmachohd.o htmachohd.cc g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o machostruc.o machostruc.cc g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htmachoimg.o htmachoimg.cc -g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o fltstruc.o fltstruc.cc -g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htflt.o htflt.cc -g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htflthd.o htflthd.cc htpeil.cc:65:23: warning: 'metadata_section' defined but not used [-Wunused-variable] 65 | static ht_mask_ptable metadata_section[] = { | ^~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o fltstruc.o fltstruc.cc +g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htflt.o htflt.cc +g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htflthd.o htflthd.cc g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htfltimg.o htfltimg.cc g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o xbestruct.o xbestruct.cc g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htxbehead.o htxbehead.cc g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htxbe.o htxbe.cc g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htxbeimg.o htxbeimg.cc g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htxbeimp.o htxbeimp.cc -g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o pefstruc.o pefstruc.cc -htmachohd.cc:215:23: warning: 'macho_i386_thread_state' defined but not used [-Wunused-variable] - 215 | static ht_mask_ptable macho_i386_thread_state[]= - | ^~~~~~~~~~~~~~~~~~~~~~~ htxbehead.cc:64:92: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 64 | {"initialisation flags", STATICTAG_EDIT_DWORD_LE("00000124")" "STATICTAG_FLAGS("00000124", ATOM_XBE_INIT_FLAGS_STR)}, | ^ @@ -1780,8 +1819,18 @@ htxbehead.cc:192:83: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 192 | {"library flags", STATICTAG_EDIT_WORD_LE("0000000e")" "STATICTAG_FLAGS("0000000a", ATOM_XBE_LIBRARY_FLAGS_STR)}, | ^ +g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o pefstruc.o pefstruc.cc g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htpef.o htpef.cc g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htpefhd.o htpefhd.cc +htmachohd.cc:215:23: warning: 'macho_i386_thread_state' defined but not used [-Wunused-variable] + 215 | static ht_mask_ptable macho_i386_thread_state[]= + | ^~~~~~~~~~~~~~~~~~~~~~~ +htpefhd.cc:72:64: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 72 | {"section kind", STATICTAG_EDIT_BYTE("00000018")" "STATICTAG_DESC_BYTE("00000018", ATOM_PEF_SECTION_KIND_STR)}, + | ^ +htpefhd.cc:73:64: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 73 | {"share kind", STATICTAG_EDIT_BYTE("00000019")" "STATICTAG_DESC_BYTE("00000019", ATOM_PEF_SHARE_KIND_STR)}, + | ^ htmachohd.cc: In function 'ht_view* htmachoheader_init(Bounds*, File*, ht_format_group*)': htmachohd.cc:254:33: warning: 'isbigendian' may be used uninitialized [-Wmaybe-uninitialized] 254 | m->add_staticmask_ptable(machoheader, macho_shared->header_ofs, isbigendian); @@ -1790,13 +1839,6 @@ 247 | bool isbigendian; | ^~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htpefimg.o htpefimg.cc -g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htpefimp.o htpefimp.cc -htpefhd.cc:72:64: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 72 | {"section kind", STATICTAG_EDIT_BYTE("00000018")" "STATICTAG_DESC_BYTE("00000018", ATOM_PEF_SECTION_KIND_STR)}, - | ^ -htpefhd.cc:73:64: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 73 | {"share kind", STATICTAG_EDIT_BYTE("00000019")" "STATICTAG_DESC_BYTE("00000019", ATOM_PEF_SHARE_KIND_STR)}, - | ^ regex.c: In function 'regex_compile': regex.c:1467:40: warning: pointer may be used after 'realloc' [-Wuse-after-free] 1467 | laststart = (laststart - old_buffer) + bufp->buffer; \ @@ -1939,7 +1981,6 @@ regex.c:1763:25: note: in expansion of macro 'BUF_PUSH' 1763 | BUF_PUSH (endline); | ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htxex.o htxex.cc regex.c:1469:48: warning: pointer may be used after 'realloc' [-Wuse-after-free] 1469 | pending_exact = (pending_exact - old_buffer) + bufp->buffer; \ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ @@ -2021,6 +2062,7 @@ regex.c:1763:25: note: in expansion of macro 'BUF_PUSH' 1763 | BUF_PUSH (endline); | ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htpefimp.o htpefimp.cc regex.c:1456:38: note: call to 'realloc' here 1456 | bufp->buffer = (unsigned char *) realloc (bufp->buffer, bufp->allocated);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2312,6 +2354,10 @@ regex.c:1905:17: note: in expansion of macro 'BUF_PUSH' 1905 | BUF_PUSH (anychar); | ^~~~~~~~ +htxbe.cc: In function 'bool xbe_section_name_to_section(xbe_section_headers*, const char*, int*)': +htxbe.cc:300:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 300 | if (ht_strncmp(name, (char *)s->section_name_address, slen) == 0) { + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regex.c:1456:38: note: call to 'realloc' here 1456 | bufp->buffer = (unsigned char *) realloc (bufp->buffer, bufp->allocated);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2333,6 +2379,10 @@ regex.c:1905:17: note: in expansion of macro 'BUF_PUSH' 1905 | BUF_PUSH (anychar); | ^~~~~~~~ +htxbehead.cc: In function 'ht_view* htxbeheader_init(Bounds*, File*, ht_format_group*)': +htxbehead.cc:270:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 270 | name = (char *)xbe_shared->sections.sections[i].section_name_address; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regex.c:1456:38: note: call to 'realloc' here 1456 | bufp->buffer = (unsigned char *) realloc (bufp->buffer, bufp->allocated);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2474,6 +2524,7 @@ regex.c:1923:19: note: in expansion of macro 'BUF_PUSH' 1923 | BUF_PUSH (*p == '^' ? charset_not : charset); | ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htxex.o htxex.cc regex.c:1456:38: note: call to 'realloc' here 1456 | bufp->buffer = (unsigned char *) realloc (bufp->buffer, bufp->allocated);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2486,6 +2537,7 @@ regex.c:1923:19: note: in expansion of macro 'BUF_PUSH' 1923 | BUF_PUSH (*p == '^' ? charset_not : charset); | ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htxexhead.o htxexhead.cc regex.c:1469:48: warning: pointer may be used after 'realloc' [-Wuse-after-free] 1469 | pending_exact = (pending_exact - old_buffer) + bufp->buffer; \ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ @@ -2567,7 +2619,6 @@ regex.c:1923:19: note: in expansion of macro 'BUF_PUSH' 1923 | BUF_PUSH (*p == '^' ? charset_not : charset); | ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htxexhead.o htxexhead.cc regex.c:1456:38: note: call to 'realloc' here 1456 | bufp->buffer = (unsigned char *) realloc (bufp->buffer, bufp->allocated);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2697,10 +2748,6 @@ regex.c:1931:19: note: in expansion of macro 'BUF_PUSH' 1931 | BUF_PUSH ((1 << BYTEWIDTH) / BYTEWIDTH); | ^~~~~~~~ -htxbe.cc: In function 'bool xbe_section_name_to_section(xbe_section_headers*, const char*, int*)': -htxbe.cc:300:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 300 | if (ht_strncmp(name, (char *)s->section_name_address, slen) == 0) { - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regex.c:1390:14: warning: pointer may be used after 'realloc' [-Wuse-after-free] 1390 | while (b - bufp->buffer + (n) > bufp->allocated) \ | ~~^~~~~~~~~~~~~~ @@ -2815,10 +2862,6 @@ regex.c:2202:28: note: in expansion of macro 'BUF_PUSH' 2202 | BUF_PUSH (push_dummy_failure); | ^~~~~~~~ -htpefimp.cc: In function 'ht_view* htpefimports_init(Bounds*, File*, ht_format_group*)': -htpefimp.cc:139:1: warning: label 'pef_read_error' defined but not used [-Wunused-label] - 139 | pef_read_error: - | ^~~~~~~~~~~~~~ regex.c:1465:50: warning: pointer may be used after 'realloc' [-Wuse-after-free] 1465 | fixup_alt_jump = (fixup_alt_jump - old_buffer) + bufp->buffer;\ | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ @@ -2900,6 +2943,7 @@ regex.c:2246:33: note: in expansion of macro 'BUF_PUSH_3' 2246 | BUF_PUSH_3 (stop_memory, this_group_regnum, | ^~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o xexstruct.o xexstruct.cc regex.c:1456:38: note: call to 'realloc' here 1456 | bufp->buffer = (unsigned char *) realloc (bufp->buffer, bufp->allocated);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3071,6 +3115,72 @@ regex.c:2290:21: note: in expansion of macro 'GET_BUFFER_SPACE' 2290 | GET_BUFFER_SPACE (3); | ^~~~~~~~~~~~~~~~ +htxexhead.cc:55:76: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 55 | {"offset of file header", STATICTAG_EDIT_DWORD_BE("00000010")" "STATICTAG_REF("0000000100000000", "03", "raw")}, + | ^ +htxexhead.cc:140:17: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 140 | "type "STATICTAG_EDIT_BYTE("00000000")STATICTAG_EDIT_BYTE("00000001")STATICTAG_EDIT_BYTE("00000002")STATICTAG_EDIT_BYTE("00000003") + | ^ +htxexhead.cc:144:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 144 | s->add_staticmask("value "STATICTAG_EDIT_DWORD_BE("00000004")" ", ofs, true); + | ^ +htxexhead.cc:158:35: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 158 | s->add_staticmask("crypted? "STATICTAG_EDIT_WORD_BE("00000000"), ofs, true); + | ^ +htxexhead.cc:159:35: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 159 | s->add_staticmask("type of loader "STATICTAG_EDIT_WORD_BE("00000002"), ofs, true); + | ^ +htxexhead.cc:166:51: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 166 | s->add_staticmask("raw bytes "STATICTAG_EDIT_DWORD_BE("00000000"), ofs, true); + | ^ +htxexhead.cc:167:51: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 167 | s->add_staticmask("pad "STATICTAG_EDIT_DWORD_BE("00000004"), ofs, true); + | ^ +htxexhead.cc:173:43: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 173 | s->add_staticmask("compression window "STATICTAG_EDIT_DWORD_BE("00000004"), ofs, true); + | ^ +htxexhead.cc:174:43: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 174 | s->add_staticmask("size of loader "STATICTAG_EDIT_DWORD_BE("00000008"), ofs, true); + | ^ +htxexhead.cc:213:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 213 | s->add_staticmask("image checksum "STATICTAG_EDIT_DWORD_BE("00000000"), ofs, true); + | ^ +htxexhead.cc:214:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 214 | s->add_staticmask("timestamp "STATICTAG_EDIT_TIME_BE("00000004"), ofs, true); + | ^ +htxexhead.cc:224:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 224 | s->add_staticmask("media ID "STATICTAG_EDIT_DWORD_BE("00000000"), ofs, true); + | ^ +htxexhead.cc:225:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 225 | s->add_staticmask("xbox min version "STATICTAG_EDIT_DWORD_BE("00000004"), ofs, true); + | ^ +htxexhead.cc:226:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 226 | s->add_staticmask("xbox max? version "STATICTAG_EDIT_DWORD_BE("00000008"), ofs, true); + | ^ +htxexhead.cc:227:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 227 | s->add_staticmask("title ID "STATICTAG_EDIT_DWORD_BE("0000000c"), ofs, true); + | ^ +htxexhead.cc:228:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 228 | s->add_staticmask("platform "STATICTAG_EDIT_BYTE("00000010"), ofs, true); + | ^ +htxexhead.cc:229:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 229 | s->add_staticmask("executable type "STATICTAG_EDIT_BYTE("00000011"), ofs, true); + | ^ +htxexhead.cc:230:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 230 | s->add_staticmask("disk number "STATICTAG_EDIT_BYTE("00000012"), ofs, true); + | ^ +htxexhead.cc:231:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 231 | s->add_staticmask("disks total "STATICTAG_EDIT_BYTE("00000013"), ofs, true); + | ^ +htxexhead.cc:232:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 232 | s->add_staticmask("save game ID "STATICTAG_EDIT_DWORD_BE("00000014"), ofs, true); + | ^ +htxexhead.cc:261:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 261 | s->add_staticmask("file header size "STATICTAG_EDIT_DWORD_BE("00000000"), ofs, true); + | ^ +htxexhead.cc:262:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 262 | s->add_staticmask("image size "STATICTAG_EDIT_DWORD_BE("00000004"), ofs, true); + | ^ regex.c:1456:38: note: call to 'realloc' here 1456 | bufp->buffer = (unsigned char *) realloc (bufp->buffer, bufp->allocated);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3080,6 +3190,39 @@ regex.c:2290:21: note: in expansion of macro 'GET_BUFFER_SPACE' 2290 | GET_BUFFER_SPACE (3); | ^~~~~~~~~~~~~~~~ +htxexhead.cc:263:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 263 | s->add_staticmask("key "STATICTAG_REF("0000000100000001", "08", "show raw"), ofs, true); + | ^ +htxexhead.cc:264:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 264 | s->add_staticmask("length? "STATICTAG_EDIT_DWORD_BE("00000108"), ofs, true); + | ^ +htxexhead.cc:265:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 265 | s->add_staticmask("image flags "STATICTAG_EDIT_DWORD_BE("0000010c"), ofs, true); + | ^ +htxexhead.cc:266:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 266 | s->add_staticmask("load address "STATICTAG_EDIT_DWORD_BE("00000110"), ofs, true); + | ^ +htxexhead.cc:268:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 268 | s->add_staticmask("unknown "STATICTAG_EDIT_DWORD_BE("00000128"), ofs, true); + | ^ +htxexhead.cc:272:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 272 | s->add_staticmask("unknown "STATICTAG_EDIT_DWORD_BE("00000160"), ofs, true); + | ^ +htxexhead.cc:274:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 274 | s->add_staticmask("game region "STATICTAG_EDIT_DWORD_BE("00000178"), ofs, true); + | ^ +htxexhead.cc:275:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 275 | s->add_staticmask("media type mask "STATICTAG_EDIT_DWORD_BE("0000017c")" "STATICTAG_FLAGS("0000017c", ATOM_XEX_MEDIA_FLAGS_STR), ofs, true); + | ^ +htxexhead.cc:275:85: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 275 | s->add_staticmask("media type mask "STATICTAG_EDIT_DWORD_BE("0000017c")" "STATICTAG_FLAGS("0000017c", ATOM_XEX_MEDIA_FLAGS_STR), ofs, true); + | ^ +htxexhead.cc:277:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 277 | s->add_staticmask("page table entries "STATICTAG_EDIT_DWORD_BE("00000180"), ofs, true); + | ^ +htxexhead.cc:287:35: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 287 | s->add_staticmask("flags? "STATICTAG_EDIT_DWORD_BE("00000000"), ofs, true); + | ^ regex.c:1465:50: warning: pointer may be used after 'realloc' [-Wuse-after-free] 1465 | fixup_alt_jump = (fixup_alt_jump - old_buffer) + bufp->buffer;\ | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ @@ -3140,7 +3283,6 @@ regex.c:2377:34: note: in expansion of macro 'GET_BUFFER_SPACE' 2377 | GET_BUFFER_SPACE (3); | ^~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o xexstruct.o xexstruct.cc regex.c:1456:38: note: call to 'realloc' here 1456 | bufp->buffer = (unsigned char *) realloc (bufp->buffer, bufp->allocated);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3228,7 +3370,6 @@ regex.c:2396:34: note: in expansion of macro 'GET_BUFFER_SPACE' 2396 | GET_BUFFER_SPACE (nbytes); | ^~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htxeximg.o htxeximg.cc regex.c:1456:38: note: call to 'realloc' here 1456 | bufp->buffer = (unsigned char *) realloc (bufp->buffer, bufp->allocated);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3238,10 +3379,7 @@ regex.c:2396:34: note: in expansion of macro 'GET_BUFFER_SPACE' 2396 | GET_BUFFER_SPACE (nbytes); | ^~~~~~~~~~~~~~~~ -htxbehead.cc: In function 'ht_view* htxbeheader_init(Bounds*, File*, ht_format_group*)': -htxbehead.cc:270:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 270 | name = (char *)xbe_shared->sections.sections[i].section_name_address; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htxeximg.o htxeximg.cc regex.c:1465:50: warning: pointer may be used after 'realloc' [-Wuse-after-free] 1465 | fixup_alt_jump = (fixup_alt_jump - old_buffer) + bufp->buffer;\ | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ @@ -3290,84 +3428,6 @@ regex.c:2490:21: note: in expansion of macro 'BUF_PUSH' 2490 | BUF_PUSH (wordchar); | ^~~~~~~~ -htxexhead.cc:55:76: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 55 | {"offset of file header", STATICTAG_EDIT_DWORD_BE("00000010")" "STATICTAG_REF("0000000100000000", "03", "raw")}, - | ^ -htxexhead.cc:140:17: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 140 | "type "STATICTAG_EDIT_BYTE("00000000")STATICTAG_EDIT_BYTE("00000001")STATICTAG_EDIT_BYTE("00000002")STATICTAG_EDIT_BYTE("00000003") - | ^ -htxexhead.cc:144:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 144 | s->add_staticmask("value "STATICTAG_EDIT_DWORD_BE("00000004")" ", ofs, true); - | ^ -htxexhead.cc:158:35: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 158 | s->add_staticmask("crypted? "STATICTAG_EDIT_WORD_BE("00000000"), ofs, true); - | ^ -htxexhead.cc:159:35: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 159 | s->add_staticmask("type of loader "STATICTAG_EDIT_WORD_BE("00000002"), ofs, true); - | ^ -htxexhead.cc:166:51: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 166 | s->add_staticmask("raw bytes "STATICTAG_EDIT_DWORD_BE("00000000"), ofs, true); - | ^ -htxexhead.cc:167:51: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 167 | s->add_staticmask("pad "STATICTAG_EDIT_DWORD_BE("00000004"), ofs, true); - | ^ -htxexhead.cc:173:43: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 173 | s->add_staticmask("compression window "STATICTAG_EDIT_DWORD_BE("00000004"), ofs, true); - | ^ -htxexhead.cc:174:43: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 174 | s->add_staticmask("size of loader "STATICTAG_EDIT_DWORD_BE("00000008"), ofs, true); - | ^ -htxexhead.cc:213:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 213 | s->add_staticmask("image checksum "STATICTAG_EDIT_DWORD_BE("00000000"), ofs, true); - | ^ -htxexhead.cc:214:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 214 | s->add_staticmask("timestamp "STATICTAG_EDIT_TIME_BE("00000004"), ofs, true); - | ^ -htxexhead.cc:224:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 224 | s->add_staticmask("media ID "STATICTAG_EDIT_DWORD_BE("00000000"), ofs, true); - | ^ -htxexhead.cc:225:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 225 | s->add_staticmask("xbox min version "STATICTAG_EDIT_DWORD_BE("00000004"), ofs, true); - | ^ -htxexhead.cc:226:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 226 | s->add_staticmask("xbox max? version "STATICTAG_EDIT_DWORD_BE("00000008"), ofs, true); - | ^ -htxexhead.cc:227:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 227 | s->add_staticmask("title ID "STATICTAG_EDIT_DWORD_BE("0000000c"), ofs, true); - | ^ -htxexhead.cc:228:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 228 | s->add_staticmask("platform "STATICTAG_EDIT_BYTE("00000010"), ofs, true); - | ^ -htxexhead.cc:229:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 229 | s->add_staticmask("executable type "STATICTAG_EDIT_BYTE("00000011"), ofs, true); - | ^ -htxexhead.cc:230:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 230 | s->add_staticmask("disk number "STATICTAG_EDIT_BYTE("00000012"), ofs, true); - | ^ -htxexhead.cc:231:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 231 | s->add_staticmask("disks total "STATICTAG_EDIT_BYTE("00000013"), ofs, true); - | ^ -htxexhead.cc:232:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 232 | s->add_staticmask("save game ID "STATICTAG_EDIT_DWORD_BE("00000014"), ofs, true); - | ^ -htxexhead.cc:261:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 261 | s->add_staticmask("file header size "STATICTAG_EDIT_DWORD_BE("00000000"), ofs, true); - | ^ -htxexhead.cc:262:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 262 | s->add_staticmask("image size "STATICTAG_EDIT_DWORD_BE("00000004"), ofs, true); - | ^ -htxexhead.cc:263:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 263 | s->add_staticmask("key "STATICTAG_REF("0000000100000001", "08", "show raw"), ofs, true); - | ^ -htxexhead.cc:264:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 264 | s->add_staticmask("length? "STATICTAG_EDIT_DWORD_BE("00000108"), ofs, true); - | ^ -htxexhead.cc:265:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 265 | s->add_staticmask("image flags "STATICTAG_EDIT_DWORD_BE("0000010c"), ofs, true); - | ^ -htxexhead.cc:266:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 266 | s->add_staticmask("load address "STATICTAG_EDIT_DWORD_BE("00000110"), ofs, true); - | ^ regex.c:1456:38: note: call to 'realloc' here 1456 | bufp->buffer = (unsigned char *) realloc (bufp->buffer, bufp->allocated);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3380,27 +3440,6 @@ regex.c:2490:21: note: in expansion of macro 'BUF_PUSH' 2490 | BUF_PUSH (wordchar); | ^~~~~~~~ -htxexhead.cc:268:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 268 | s->add_staticmask("unknown "STATICTAG_EDIT_DWORD_BE("00000128"), ofs, true); - | ^ -htxexhead.cc:272:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 272 | s->add_staticmask("unknown "STATICTAG_EDIT_DWORD_BE("00000160"), ofs, true); - | ^ -htxexhead.cc:274:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 274 | s->add_staticmask("game region "STATICTAG_EDIT_DWORD_BE("00000178"), ofs, true); - | ^ -htxexhead.cc:275:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 275 | s->add_staticmask("media type mask "STATICTAG_EDIT_DWORD_BE("0000017c")" "STATICTAG_FLAGS("0000017c", ATOM_XEX_MEDIA_FLAGS_STR), ofs, true); - | ^ -htxexhead.cc:275:85: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 275 | s->add_staticmask("media type mask "STATICTAG_EDIT_DWORD_BE("0000017c")" "STATICTAG_FLAGS("0000017c", ATOM_XEX_MEDIA_FLAGS_STR), ofs, true); - | ^ -htxexhead.cc:277:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 277 | s->add_staticmask("page table entries "STATICTAG_EDIT_DWORD_BE("00000180"), ofs, true); - | ^ -htxexhead.cc:287:35: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 287 | s->add_staticmask("flags? "STATICTAG_EDIT_DWORD_BE("00000000"), ofs, true); - | ^ regex.c:1469:48: warning: pointer may be used after 'realloc' [-Wuse-after-free] 1469 | pending_exact = (pending_exact - old_buffer) + bufp->buffer; \ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ @@ -3434,6 +3473,7 @@ regex.c:2490:21: note: in expansion of macro 'BUF_PUSH' 2490 | BUF_PUSH (wordchar); | ^~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htdoc.o htdoc.c regex.c:1456:38: note: call to 'realloc' here 1456 | bufp->buffer = (unsigned char *) realloc (bufp->buffer, bufp->allocated);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3635,10 +3675,6 @@ regex.c:2501:21: note: in expansion of macro 'BUF_PUSH' 2501 | BUF_PUSH (wordbeg); | ^~~~~~~~ -htpef.cc: In function 'ht_view* htpef_init(Bounds*, File*, ht_format_group*)': -htpef.cc:46:18: warning: variable 'arch' set but not used [-Wunused-but-set-variable] - 46 | PEF_ARCH arch; - | ^~~~ regex.c:1469:48: warning: pointer may be used after 'realloc' [-Wuse-after-free] 1469 | pending_exact = (pending_exact - old_buffer) + bufp->buffer; \ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ @@ -3684,7 +3720,6 @@ regex.c:2501:21: note: in expansion of macro 'BUF_PUSH' 2501 | BUF_PUSH (wordbeg); | ^~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -I/usr/include/libiberty/ -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htdoc.o htdoc.c regex.c:1465:50: warning: pointer may be used after 'realloc' [-Wuse-after-free] 1465 | fixup_alt_jump = (fixup_alt_jump - old_buffer) + bufp->buffer;\ | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ @@ -3757,6 +3792,10 @@ regex.c:2505:21: note: in expansion of macro 'BUF_PUSH' 2505 | BUF_PUSH (wordend); | ^~~~~~~~ +htpef.cc: In function 'ht_view* htpef_init(Bounds*, File*, ht_format_group*)': +htpef.cc:46:18: warning: variable 'arch' set but not used [-Wunused-but-set-variable] + 46 | PEF_ARCH arch; + | ^~~~ regex.c:1469:48: warning: pointer may be used after 'realloc' [-Wuse-after-free] 1469 | pending_exact = (pending_exact - old_buffer) + bufp->buffer; \ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ @@ -4516,6 +4555,10 @@ regex.c:2587:18: note: in expansion of macro 'BUF_PUSH_2' 2587 | BUF_PUSH_2 (exactn, 0); | ^~~~~~~~~~ +htxexhead.cc: In function 'ht_sub* add_fileheader(File*, const char*, ht_xex_shared_data&)': +htxexhead.cc:286:25: warning: comparison of integer expressions of different signedness: 'int' and 'uint32' {aka 'unsigned int'} [-Wsign-compare] + 286 | for (int i=0; i < xex_shared.file_header.pages; i++) { + | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regex.c:1456:38: note: call to 'realloc' here 1456 | bufp->buffer = (unsigned char *) realloc (bufp->buffer, bufp->allocated);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4678,10 +4721,6 @@ regex.c:2609:5: note: in expansion of macro 'BUF_PUSH' 2609 | BUF_PUSH (succeed); | ^~~~~~~~ -htxex.cc: In member function 'void ht_xex::init(Bounds*, File*, format_viewer_if**, ht_format_group*, FileOfs)': -htxex.cc:145:33: warning: comparison of integer expressions of different signedness: 'int' and 'uint32' {aka 'unsigned int'} [-Wsign-compare] - 145 | for (int i=0; i < xex_shared->file_header.pages; i++) { - | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regex.c:1456:38: note: call to 'realloc' here 1456 | bufp->buffer = (unsigned char *) realloc (bufp->buffer, bufp->allocated);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4694,9 +4733,6 @@ regex.c:2609:5: note: in expansion of macro 'BUF_PUSH' 2609 | BUF_PUSH (succeed); | ^~~~~~~~ -htxex.cc:226:25: warning: comparison of integer expressions of different signedness: 'int' and 'uint32' {aka 'unsigned int'} [-Wsign-compare] - 226 | for (int i=0; i < xex_shared->imports.lib_count; i++) { - | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regex.c:1469:48: warning: pointer may be used after 'realloc' [-Wuse-after-free] 1469 | pending_exact = (pending_exact - old_buffer) + bufp->buffer; \ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ @@ -4709,10 +4745,6 @@ regex.c:2609:5: note: in expansion of macro 'BUF_PUSH' 2609 | BUF_PUSH (succeed); | ^~~~~~~~ -htxex.cc: In member function 'virtual void ht_xex::done()': -htxex.cc:300:25: warning: comparison of integer expressions of different signedness: 'int' and 'uint32' {aka 'unsigned int'} [-Wsign-compare] - 300 | for (int i=0; i < xex_shared->imports.lib_count; i++) { - | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regex.c:1456:38: note: call to 'realloc' here 1456 | bufp->buffer = (unsigned char *) realloc (bufp->buffer, bufp->allocated);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4725,20 +4757,31 @@ regex.c:2609:5: note: in expansion of macro 'BUF_PUSH' 2609 | BUF_PUSH (succeed); | ^~~~~~~~ -htxexhead.cc: In function 'ht_sub* add_fileheader(File*, const char*, ht_xex_shared_data&)': -htxexhead.cc:286:25: warning: comparison of integer expressions of different signedness: 'int' and 'uint32' {aka 'unsigned int'} [-Wsign-compare] - 286 | for (int i=0; i < xex_shared.file_header.pages; i++) { - | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htxexhead.cc: At global scope: htxexhead.cc:40:23: warning: 'xbe_init_flags' defined but not used [-Wunused-variable] 40 | static ht_tag_flags_s xbe_init_flags[] = | ^~~~~~~~~~~~~~ +htpefimp.cc: In function 'ht_view* htpefimports_init(Bounds*, File*, ht_format_group*)': +htpefimp.cc:139:1: warning: label 'pef_read_error' defined but not used [-Wunused-label] + 139 | pef_read_error: + | ^~~~~~~~~~~~~~ +htxex.cc: In member function 'void ht_xex::init(Bounds*, File*, format_viewer_if**, ht_format_group*, FileOfs)': +htxex.cc:145:33: warning: comparison of integer expressions of different signedness: 'int' and 'uint32' {aka 'unsigned int'} [-Wsign-compare] + 145 | for (int i=0; i < xex_shared->file_header.pages; i++) { + | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +htxex.cc:226:25: warning: comparison of integer expressions of different signedness: 'int' and 'uint32' {aka 'unsigned int'} [-Wsign-compare] + 226 | for (int i=0; i < xex_shared->imports.lib_count; i++) { + | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +htxex.cc: In member function 'virtual void ht_xex::done()': +htxex.cc:300:25: warning: comparison of integer expressions of different signedness: 'int' and 'uint32' {aka 'unsigned int'} [-Wsign-compare] + 300 | for (int i=0; i < xex_shared->imports.lib_count; i++) { + | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/build/ht-2.1.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -L/usr/X11/lib -L/usr/X11R6/lib -Wl,-z,relro -o ht atom.o except.o data.o str.o strtools.o endianess.o htdoc.o blockop.o cstream.o formats.o htanaly.o htapp.o htcfg.o htclipboard.o htcoff.o htcoffhd.o htctrl.o htdebug.o htdialog.o htelf.o htelfhd.o htelfimg.o htelfphs.o htelfshs.o htelfsym.o htelfrel.o htfinfo.o htformat.o hthex.o hthist.o htidle.o htiobox.o htle.o htleent.o htlehead.o htleimg.o htleobj.o htlepage.o htmenu.o htmz.o htmzhead.o htmzimg.o htmzrel.o htne.o htneent.o htnehead.o htnenms.o htneobj.o htnewexe.o htobj.o htpal.o htpe.o htpedimp.o htpeexp.o htpehead.o htpeimg.o htpeimp.o htperes.o htpereloc.o htreg.o htsearch.o httag.o httree.o main.o store.o stream.o tools.o vxd.o vxdserv.o regex.o syntax.o textfile.o textedit.o classread.o classview.o httext.o hteval.o relfile.o htprocess.o mfile.o elfstruc.o pestruct.o coff_s.o mzstruct.o defreg.o htdisasm.o htcoffimg.o nestruct.o htneimg.o htneimp.o cmds.o snprintf.o htpeil.o ilstruct.o log.o classimg.o vfs.o vfsview.o htlevxd.o lestruct.o htmacho.o htmachohd.o machostruc.o htmachoimg.o fltstruc.o htflt.o htflthd.o htfltimg.o xbestruct.o htxbehead.o htxbe.o htxbeimg.o htxbeimp.o pefstruc.o htpef.o htpefhd.o htpefimg.o htpefimp.o htxex.o htxexhead.o xexstruct.o htxeximg.o analyser/libanalyser.a asm/libasm.a info/libinfo.a io/posix/libhtio.a output/liboutput.a io/libcomio.a eval/libhteval.a -lX11 -lncurses -llzo2 /usr/lib/x86_64-linux-gnu/libiberty.a gmake[3]: Leaving directory '/build/ht-2.1.0+repack1' gmake[2]: Leaving directory '/build/ht-2.1.0+repack1' make[1]: Leaving directory '/build/ht-2.1.0+repack1' dh_auto_test - make -j15 check "TESTSUITEFLAGS=-j15 --verbose" VERBOSE=1 + make -j16 check "TESTSUITEFLAGS=-j16 --verbose" VERBOSE=1 make[1]: Entering directory '/build/ht-2.1.0+repack1' Making check in tools gmake[2]: Entering directory '/build/ht-2.1.0+repack1/tools' @@ -4786,7 +4829,7 @@ debian/rules override_dh_auto_install make[1]: Entering directory '/build/ht-2.1.0+repack1' dh_auto_install - make -j15 install DESTDIR=/build/ht-2.1.0\+repack1/debian/ht AM_UPDATE_INFO_DIR=no + make -j16 install DESTDIR=/build/ht-2.1.0\+repack1/debian/ht AM_UPDATE_INFO_DIR=no make[2]: Entering directory '/build/ht-2.1.0+repack1' Making install in tools gmake[3]: Entering directory '/build/ht-2.1.0+repack1/tools' @@ -4855,7 +4898,7 @@ gmake[3]: Leaving directory '/build/ht-2.1.0+repack1/eval' gmake[3]: Entering directory '/build/ht-2.1.0+repack1' gmake[4]: Entering directory '/build/ht-2.1.0+repack1' - /bin/mkdir -p '/build/ht-2.1.0+repack1/debian/ht/usr/bin' + /usr/bin/mkdir -p '/build/ht-2.1.0+repack1/debian/ht/usr/bin' gmake[4]: Nothing to be done for 'install-data-am'. /usr/bin/install -c ht '/build/ht-2.1.0+repack1/debian/ht/usr/bin' gmake[4]: Leaving directory '/build/ht-2.1.0+repack1' @@ -4881,8 +4924,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'ht' in '../ht_2.1.0+repack1-5_amd64.deb'. dpkg-deb: building package 'ht-dbgsym' in '../ht-dbgsym_2.1.0+repack1-5_amd64.deb'. +dpkg-deb: building package 'ht' in '../ht_2.1.0+repack1-5_amd64.deb'. dpkg-genbuildinfo --build=binary -O../ht_2.1.0+repack1-5_amd64.buildinfo dpkg-genchanges --build=binary -O../ht_2.1.0+repack1-5_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -4890,12 +4933,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/1892566/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1892566/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/1667647 and its subdirectories -I: Current time: Mon Apr 17 01:47:25 -12 2023 -I: pbuilder-time-stamp: 1681739245 +I: removing directory /srv/workspace/pbuilder/1892566 and its subdirectories +I: Current time: Mon May 20 10:12:21 +14 2024 +I: pbuilder-time-stamp: 1716149541