Diff of the two buildlogs:
--
--- b1/build.log 2023-04-09 12:41:43.218020786 +0000
+++ b2/build.log 2023-04-09 12:43:51.365713782 +0000
@@ -1,6 +1,6 @@
I: pbuilder: network access will be disabled during build
-I: Current time: Sat May 11 07:02:55 -12 2024
-I: pbuilder-time-stamp: 1715454175
+I: Current time: Mon Apr 10 02:41:46 +14 2023
+I: pbuilder-time-stamp: 1681044106
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,11 +31,20 @@
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/23534/tmp/hooks/D02_print_environment starting
+I: user script /srv/workspace/pbuilder/27346/tmp/hooks/D01_modify_environment starting
+debug: Running on codethink10-arm64.
+I: Changing host+domainname to test build reproducibility
+I: Adding a custom variable just for the fun of it...
+I: Changing /bin/sh to bash
+lrwxrwxrwx 1 root root 4 Jan 6 03:20 /bin/sh -> dash
+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/27346/tmp/hooks/D01_modify_environment finished
+I: user script /srv/workspace/pbuilder/27346/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'
+ BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other'
+ BUILDUSERNAME='pbuilder2'
BUILD_ARCH='arm64'
DEBIAN_FRONTEND='noninteractive'
DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8'
@@ -45,38 +54,38 @@
IFS='
'
LANG='C'
- LANGUAGE='en_US:en'
+ LANGUAGE='nl_BE:nl'
LC_ALL='C'
MAIL='/var/mail/root'
OPTIND='1'
- PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games'
+ 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'
- PPID='23534'
+ PPID='27346'
PS1='# '
PS2='> '
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.57MhSLeA/pbuilderrc_Crlh --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.57MhSLeA/b1 --logfile b1/build.log ht_2.1.0+repack1-5.dsc'
+ 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.57MhSLeA/pbuilderrc_69gY --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.57MhSLeA/b2 --logfile b2/build.log --extrapackages usrmerge ht_2.1.0+repack1-5.dsc'
SUDO_GID='117'
SUDO_UID='110'
SUDO_USER='jenkins'
TERM='unknown'
- TZ='/usr/share/zoneinfo/Etc/GMT+12'
+ TZ='/usr/share/zoneinfo/Etc/GMT-14'
USER='root'
USERNAME='root'
_='/usr/bin/systemd-run'
http_proxy='http://192.168.101.16:3128'
I: uname -a
- Linux codethink11-arm64 4.15.0-208-generic #220-Ubuntu SMP Mon Mar 20 14:28:12 UTC 2023 aarch64 GNU/Linux
+ Linux i-capture-the-hostname 4.15.0-208-generic #220-Ubuntu SMP Mon Mar 20 14:28:12 UTC 2023 aarch64 GNU/Linux
I: ls -l /bin
- lrwxrwxrwx 1 root root 7 May 9 04:48 /bin -> usr/bin
-I: user script /srv/workspace/pbuilder/23534/tmp/hooks/D02_print_environment finished
+ lrwxrwxrwx 1 root root 7 Apr 9 00:25 /bin -> usr/bin
+I: user script /srv/workspace/pbuilder/27346/tmp/hooks/D02_print_environment finished
-> Attempting to satisfy build-dependencies
-> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
@@ -185,7 +194,7 @@
Get: 57 http://deb.debian.org/debian bookworm/main arm64 libxml-libxml-perl arm64 2.0207+dfsg+really+2.0134-1+b1 [309 kB]
Get: 58 http://deb.debian.org/debian bookworm/main arm64 tex-common all 6.18 [32.5 kB]
Get: 59 http://deb.debian.org/debian bookworm/main arm64 texinfo arm64 6.8-6+b1 [1808 kB]
-Fetched 25.0 MB in 2s (14.2 MB/s)
+Fetched 25.0 MB in 4s (6181 kB/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 ... 19616 files and directories currently installed.)
@@ -445,8 +454,17 @@
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/27346/tmp/hooks/A99_set_merged_usr starting
+Re-configuring usrmerge...
+I: user script /srv/workspace/pbuilder/27346/tmp/hooks/A99_set_merged_usr finished
+hostname: Temporary failure in name resolution
+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
@@ -699,6 +717,7 @@
44 | uint32 op;
| ^~
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
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;
@@ -707,7 +726,6 @@
avrdis.cc:196:22: warning: unused variable 'need_paren' [-Wunused-variable]
196 | bool need_paren = false;
| ^~~~~~~~~~
-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
rm -f libasm.a
/usr/bin/ar cru libasm.a alphadis.o alphaopc.o asm.o x86asm.o x86dis.o x86opc.o javadis.o javaopc.o ildis.o ilopc.o ppcopc.o ppcdis.o armdis.o arm-dis.o avrdis.o avropc.o
/usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
@@ -778,10 +796,6 @@
g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../analyser -I../asm -I../io/posix -I../io -I../output -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 out_ht.o out_ht.cc
g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../analyser -I../asm -I../io/posix -I../io -I../output -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 out_sym.o out_sym.cc
g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../analyser -I../asm -I../io/posix -I../io -I../output -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 out_txt.o out_txt.cc
-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
- | ^
In file included from out_html.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
@@ -789,16 +803,10 @@
../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: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">"
- | ^
../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">"
| ^
-In file included from out_txt.cc:23:
+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
| ^
@@ -817,6 +825,16 @@
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"); | ^ +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 + | ^ +../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">" + | ^ out_txt.cc:142:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 142 | ht_snprintf(tmpbuf, sizeof tmpbuf, "Analysis of %y\ngenerated by "ht_name" version "ht_version" ("ht_url")\n\n", &analy->getName(name)); | ^ @@ -883,7 +901,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 formats.o formats.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 htanaly.o htanaly.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 htapp.o htapp.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 htcfg.o htcfg.cc 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 @@ -894,6 +911,7 @@ 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">" | ^ +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 htcfg.o htcfg.cc 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); | ^ @@ -915,57 +933,52 @@ 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 htclipboard.o htclipboard.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 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 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); | ^~~~~~ -htcfg.cc: In function 'loadstore_result save_systemconfig(String&)': -htcfg.cc:105:22: warning: 'templateclass 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; - | ^~~~~~~~ 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()); | ^~~~~~~~~~~~~~~~~~~~~~~~~ +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 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]; | ^~ +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 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; +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); + | ^ 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); @@ -1002,31 +1015,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -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 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 htanaly.cc: At global scope: htanaly.cc:611:12: warning: 'int aviewer_func_addr(eval_scalar*, eval_str*)' defined but not used [-Wunused-function] @@ -1034,6 +1022,36 @@ | ^~~~~~~~~~~~~~~~~ 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 +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 htelfhd.o htelfhd.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")}, @@ -1086,12 +1104,12 @@ 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 htelfimg.o htelfimg.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 htelfphs.o htelfphs.cc 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 htelfimg.o htelfimg.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 htelfphs.o htelfphs.cc 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)")"}, | ^ @@ -1112,6 +1130,7 @@ 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 htelfshs.o htelfshs.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)")"}, | ^ @@ -1124,13 +1143,8 @@ 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)}, | ^ -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 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 -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) { - | ~~~^~~~~ 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)); | ^ @@ -1158,30 +1172,31 @@ 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]); | ^ +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 htformat.o htformat.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 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 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 +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 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 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 -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)}, - | ^ -htleent.cc:61:64: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 61 | {"flags", STATICTAG_EDIT_BYTE("00000000")" "STATICTAG_FLAGS("00000000", ATOM_LE_ENTRY_FLAGS_STR)}, - | ^ -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 htlehead.o htlehead.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)) { - | ~~~~~~~~^~~~~~~~~ -hthex.cc:154:87: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] - 154 | if (ofs != -1ULL && offset_to_pos(ofs, &p) && goto_pos(p, 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 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)}, | ^ @@ -1218,19 +1233,15 @@ 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")}, | ^ -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 -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)); - | ~~~~~~~~^~~~~~~ +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)}, + | ^ +htleent.cc:61:64: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 61 | {"flags", STATICTAG_EDIT_BYTE("00000000")" "STATICTAG_FLAGS("00000000", ATOM_LE_ENTRY_FLAGS_STR)}, + | ^ +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)}, + | ^ 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; @@ -1238,12 +1249,18 @@ htformat.cc:799:32: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 799 | return goto_pos(s->pos, this); | ~~~~~~~~^~~~~~~~~~~~~~ +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)) { + | ~~~~~~~~^~~~~~~~~ +hthex.cc:154:87: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] + 154 | if (ofs != -1ULL && offset_to_pos(ofs, &p) && goto_pos(p, this)) { + | ~~~~~~~~^~~~~~~~~ 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 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)}, | ^ @@ -1256,19 +1273,11 @@ 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 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 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 -htle.cc: In member function 'void ht_le::do_fixups()': -htle.cc:249:79: 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; - | ^~~~~~~ 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 -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 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")}, | ^ @@ -1353,8 +1362,26 @@ 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")}, | ^ +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 +htle.cc: In member function 'void ht_le::do_fixups()': +htle.cc:249:79: 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; + | ^~~~~~~ +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 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 +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) + | ^~~~~~~~~~~~~~ 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)}, | ^ @@ -1367,30 +1394,19 @@ 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)}, | ^ -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; - | ^~~~~~~~~~ -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) - | ^~~~~~~~~~~~~~ -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 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 htobj.o htobj.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 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 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 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)}, | ^ @@ -1523,16 +1539,14 @@ htpehead.cc:235:128: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 235 | s->add_staticmask("optional magic "STATICTAG_EDIT_WORD_LE("00000014")" "STATICTAG_DESC_WORD_LE("00000014", ATOM_PE_OPTIONAL_MAGICS_STR), h+4, pe_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 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 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 htpereloc.o htpereloc.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 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 -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 main.o main.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] @@ -1562,16 +1576,23 @@ 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) { | ^ +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 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 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 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 +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 syntax.o syntax.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 textfile.o textfile.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 textedit.o textedit.cc regex.c: In function 'regex_compile': regex.c:2190:24: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2190 | if (COMPILE_STACK_EMPTY) @@ -1579,16 +1600,6 @@ regex.c:2210:24: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2210 | if (COMPILE_STACK_EMPTY) | ^ -regex.c: In function 're_match_2_internal': -regex.c:4533:31: warning: variable 'sdummy' set but not used [-Wunused-but-set-variable] - 4533 | const char *sdummy; - | ^~~~~~ -regex.c:4532:34: warning: variable 'pdummy' set but not used [-Wunused-but-set-variable] - 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 syntax.o syntax.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 textfile.o textfile.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 textedit.o textedit.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 classread.o classread.cc textfile.cc: In member function 'virtual int ht_ltextfile::vcntl(uint, va_list)': textfile.cc:843:25: warning: variable 'o' set but not used [-Wunused-but-set-variable] @@ -1600,7 +1611,15 @@ textfile.cc:852:25: warning: variable 'o' set but not used [-Wunused-but-set-variable] 852 | FileOfs o = va_arg(vargs, FileOfs); | ^ +regex.c: In function 're_match_2_internal': +regex.c:4533:31: warning: variable 'sdummy' set but not used [-Wunused-but-set-variable] + 4533 | const char *sdummy; + | ^~~~~~ +regex.c:4532:34: warning: variable 'pdummy' set but not used [-Wunused-but-set-variable] + 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 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)}, | ^ @@ -1613,7 +1632,6 @@ 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 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; @@ -1623,19 +1641,19 @@ 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 -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 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; | ^~~~~ +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 coff_s.o coff_s.cc 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 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 @@ -1645,6 +1663,19 @@ 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 htneimp.o htneimp.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 cmds.o cmds.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 snprintf.o snprintf.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*)': +io/types.h:29:24: warning: comparison of integer expressions of different signedness: 'int' and 'FileOfs' {aka 'long unsigned int'} [-Wsign-compare] + 29 | #define MIN(a, b) ((a) < (b) ? (a) : (b)) + | ~~~~^~~~~ +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 htpeil.o htpeil.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 ilstruct.o ilstruct.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 log.o log.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 classimg.o classimg.cc 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; \ @@ -1682,6 +1713,7 @@ regex.c:1748:21: note: in expansion of macro 'BUF_PUSH' 1748 | BUF_PUSH (begline); | ^~~~~~~~ +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 regex.c:1456:38: note: call to 'realloc' here 1456 | bufp->buffer = (unsigned char *) realloc (bufp->buffer, bufp->allocated);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1727,15 +1759,6 @@ regex.c:1748:21: note: in expansion of macro 'BUF_PUSH' 1748 | BUF_PUSH (begline); | ^~~~~~~~ -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*)': -io/types.h:29:24: warning: comparison of integer expressions of different signedness: 'int' and 'FileOfs' {aka 'long unsigned int'} [-Wsign-compare] - 29 | #define MIN(a, b) ((a) < (b) ? (a) : (b)) - | ~~~~^~~~~ -htdisasm.cc:209:25: note: in expansion of macro 'MIN' - 209 | int z = MIN(size.h*16, s-(int)top.line_id.id1); - | ^~~ regex.c:1456:38: note: call to 'realloc' here 1456 | bufp->buffer = (unsigned char *) realloc (bufp->buffer, bufp->allocated);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2063,6 +2086,7 @@ regex.c:1881:19: note: in expansion of macro 'GET_BUFFER_SPACE' 1881 | 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 vfsview.o vfsview.cc regex.c:1467:40: warning: pointer may be used after 'realloc' [-Wuse-after-free] 1467 | laststart = (laststart - old_buffer) + bufp->buffer; \ | ~~~~~~~~~~~^~~~~~~~~~~~~ @@ -3101,7 +3125,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 htpeil.o htpeil.cc regex.c:1463:29: warning: pointer may be used after 'realloc' [-Wuse-after-free] 1463 | begalt = (begalt - old_buffer) + bufp->buffer; \ | ~~~~~~~~^~~~~~~~~~~~~ @@ -4113,6 +4136,7 @@ regex.c:2539:21: note: in expansion of macro 'BUF_PUSH_2' 2539 | BUF_PUSH_2 (duplicate, c1); | ^~~~~~~~~~ +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 regex.c:1456:38: note: call to 'realloc' here 1456 | bufp->buffer = (unsigned char *) realloc (bufp->buffer, bufp->allocated);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4185,7 +4209,6 @@ regex.c:2587:18: note: in expansion of macro 'BUF_PUSH_2' 2587 | BUF_PUSH_2 (exactn, 0); | ^~~~~~~~~~ -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 ilstruct.o ilstruct.cc regex.c:1456:38: note: call to 'realloc' here 1456 | bufp->buffer = (unsigned char *) realloc (bufp->buffer, bufp->allocated);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4408,7 +4431,6 @@ regex.c:2591:11: note: in expansion of macro 'BUF_PUSH' 2591 | BUF_PUSH (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 log.o log.cc regex.c:1390:14: warning: pointer may be used after 'realloc' [-Wuse-after-free] 1390 | while (b - bufp->buffer + (n) > bufp->allocated) \ | ~~^~~~~~~~~~~~~~ @@ -4454,13 +4476,6 @@ regex.c:2609:5: note: in expansion of macro 'BUF_PUSH' 2609 | BUF_PUSH (succeed); | ^~~~~~~~ -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 -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 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 @@ -4468,12 +4483,16 @@ 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 +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 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 htmachohd.cc:215:23: warning: 'macho_i386_thread_state' defined but not used [-Wunused-variable] 215 | static ht_mask_ptable macho_i386_thread_state[]= | ^~~~~~~~~~~~~~~~~~~~~~~ -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 htmachohd.cc: In function 'ht_view* htmachoheader_init(Bounds*, File*, ht_format_group*)': htmachohd.cc:274:65: warning: 'isbigendian' may be used uninitialized [-Wmaybe-uninitialized] 274 | m->add_staticmask_ptable(macho_section_header, ofs+sofs, isbigendian); @@ -4481,10 +4500,8 @@ htmachohd.cc:247:14: note: 'isbigendian' was declared here 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 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 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)}, | ^ @@ -4494,37 +4511,56 @@ htxbehead.cc:128:84: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 128 | {"game region", STATICTAG_EDIT_DWORD_LE("000000a0")" ("STATICTAG_FLAGS("000000a0", ATOM_XBE_REGION_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 htxbehead.cc:167:92: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 167 | {"section flags", STATICTAG_EDIT_DWORD_LE("00000000")" "STATICTAG_FLAGS("00000000", ATOM_XBE_SECTION_FLAGS_STR)}, | ^ 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 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 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 -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 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 htpefhd.o htpefhd.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 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)}, | ^ -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; - | ^~~~ -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 -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 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) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 +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; + | ^~~~ 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 +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 +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 +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++) { + | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 +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: + | ^~~~~~~~~~~~~~ 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")}, | ^ @@ -4624,28 +4660,10 @@ 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); | ^ -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 -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 -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 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++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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++) { - | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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[] = @@ -4807,12 +4825,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/27346/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/27346/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/23534 and its subdirectories -I: Current time: Sat May 11 07:04:42 -12 2024 -I: pbuilder-time-stamp: 1715454282 +I: removing directory /srv/workspace/pbuilder/27346 and its subdirectories +I: Current time: Mon Apr 10 02:43:50 +14 2023 +I: pbuilder-time-stamp: 1681044230