Diff of the two buildlogs: -- --- b1/build.log 2024-12-15 06:01:54.617272409 +0000 +++ b2/build.log 2024-12-15 06:05:11.024359852 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Jan 17 00:23:55 -12 2026 -I: pbuilder-time-stamp: 1768652635 +I: Current time: Sun Dec 15 20:02:00 +14 2024 +I: pbuilder-time-stamp: 1734242520 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -30,52 +30,84 @@ dpkg-source: info: applying fix-FTBFS-Hurd.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3062394/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/129582/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Dec 15 06:02 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/129582/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/129582/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='56b505ea702b48089f87c2a27bf97299' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='3062394' - PS1='# ' - PS2='> ' + INVOCATION_ID=f0dcc9cf915241fe9ed98fb64617fd40 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=129582 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.ROCnWEid/pbuilderrc_34M6 --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ROCnWEid/b1 --logfile b1/build.log hashdeep_4.4+git20170824+ds-1.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.ROCnWEid/pbuilderrc_4Xw7 --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ROCnWEid/b2 --logfile b2/build.log hashdeep_4.4+git20170824+ds-1.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos15-amd64 6.11.5+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.11.5-1~bpo12+1 (2024-11-11) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3062394/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/129582/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -140,7 +172,7 @@ Get: 27 http://deb.debian.org/debian trixie/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian trixie/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian trixie/main amd64 debhelper all 13.20 [915 kB] -Fetched 19.8 MB in 0s (139 MB/s) +Fetched 19.8 MB in 1s (18.9 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (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 ... 19965 files and directories currently installed.) @@ -271,7 +303,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/hashdeep-4.4+git20170824+ds/ && 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 > ../hashdeep_4.4+git20170824+ds-1_source.changes +I: user script /srv/workspace/pbuilder/129582/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/129582/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/hashdeep-4.4+git20170824+ds/ && 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 > ../hashdeep_4.4+git20170824+ds-1_source.changes dpkg-buildpackage: info: source package hashdeep dpkg-buildpackage: info: source version 4.4+git20170824+ds-1 dpkg-buildpackage: info: source distribution unstable @@ -486,7 +522,7 @@ config.status: creating config.h config.status: executing depfiles commands ============================ -./configure finished at Sat Jan 17 12:24:40 2026 +./configure finished at Sun Dec 15 06:04:23 2024 PACKAGE_NAME: MD5DEEP PACKAGE_VERSION: 4.4 CC: gcc @@ -497,7 +533,7 @@ LIBS: LDFLAGS: -L/usr/local/lib -Wl,-z,relro -Wl,-z,now dh_auto_build - make -j42 + make -j20 make[1]: Entering directory '/build/reproducible-path/hashdeep-4.4+git20170824+ds' make all-recursive make[2]: Entering directory '/build/reproducible-path/hashdeep-4.4+git20170824+ds' @@ -507,9 +543,14 @@ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -DUTC_OFFSET=+0000 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hashdeep-4.4+git20170824+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -MD -D_FORTIFY_SOURCE=2 -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wshadow -Wwrite-strings -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wmissing-noreturn -funit-at-a-time -Wall -Wstrict-prototypes -Weffc++ -c -o sha1.o sha1.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -DUTC_OFFSET=+0000 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hashdeep-4.4+git20170824+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -MD -D_FORTIFY_SOURCE=2 -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wshadow -Wwrite-strings -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wmissing-noreturn -funit-at-a-time -Wall -Wstrict-prototypes -Weffc++ -c -o sha256.o sha256.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -DUTC_OFFSET=+0000 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hashdeep-4.4+git20170824+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -MD -D_FORTIFY_SOURCE=2 -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wshadow -Wwrite-strings -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wmissing-noreturn -funit-at-a-time -Wall -Wstrict-prototypes -Weffc++ -c -o whirlpool.o whirlpool.c +cc1: warning: command-line option '-Weffc++' is valid for C++/ObjC++ but not for C +cc1: warning: command-line option '-Weffc++' is valid for C++/ObjC++ but not for C gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -DUTC_OFFSET=+0000 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hashdeep-4.4+git20170824+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -MD -D_FORTIFY_SOURCE=2 -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wshadow -Wwrite-strings -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wmissing-noreturn -funit-at-a-time -Wall -Wstrict-prototypes -Weffc++ -c -o tiger.o tiger.c +cc1: warning: command-line option '-Weffc++' is valid for C++/ObjC++ but not for C g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -DUTC_OFFSET=+0000 -g -O2 -ffile-prefix-map=/build/reproducible-path/hashdeep-4.4+git20170824+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -MD -D_FORTIFY_SOURCE=2 -Wpointer-arith -Wshadow -Wwrite-strings -Wcast-align -Wredundant-decls -Wdisabled-optimization -Wfloat-equal -Wmultichar -Wmissing-noreturn -Wstrict-null-sentinel -Woverloaded-virtual -Wsign-promo -funit-at-a-time -Weffc++ -c -o main.o main.cpp +cc1: warning: command-line option '-Weffc++' is valid for C++/ObjC++ but not for C g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -DUTC_OFFSET=+0000 -g -O2 -ffile-prefix-map=/build/reproducible-path/hashdeep-4.4+git20170824+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -MD -D_FORTIFY_SOURCE=2 -Wpointer-arith -Wshadow -Wwrite-strings -Wcast-align -Wredundant-decls -Wdisabled-optimization -Wfloat-equal -Wmultichar -Wmissing-noreturn -Wstrict-null-sentinel -Woverloaded-virtual -Wsign-promo -funit-at-a-time -Weffc++ -c -o hashlist.o hashlist.cpp +cc1: warning: command-line option '-Weffc++' is valid for C++/ObjC++ but not for C g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -DUTC_OFFSET=+0000 -g -O2 -ffile-prefix-map=/build/reproducible-path/hashdeep-4.4+git20170824+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -MD -D_FORTIFY_SOURCE=2 -Wpointer-arith -Wshadow -Wwrite-strings -Wcast-align -Wredundant-decls -Wdisabled-optimization -Wfloat-equal -Wmultichar -Wmissing-noreturn -Wstrict-null-sentinel -Woverloaded-virtual -Wsign-promo -funit-at-a-time -Weffc++ -c -o multihash.o multihash.cpp g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -DUTC_OFFSET=+0000 -g -O2 -ffile-prefix-map=/build/reproducible-path/hashdeep-4.4+git20170824+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -MD -D_FORTIFY_SOURCE=2 -Wpointer-arith -Wshadow -Wwrite-strings -Wcast-align -Wredundant-decls -Wdisabled-optimization -Wfloat-equal -Wmultichar -Wmissing-noreturn -Wstrict-null-sentinel -Woverloaded-virtual -Wsign-promo -funit-at-a-time -Weffc++ -c -o display.o display.cpp g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -DUTC_OFFSET=+0000 -g -O2 -ffile-prefix-map=/build/reproducible-path/hashdeep-4.4+git20170824+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -MD -D_FORTIFY_SOURCE=2 -Wpointer-arith -Wshadow -Wwrite-strings -Wcast-align -Wredundant-decls -Wdisabled-optimization -Wfloat-equal -Wmultichar -Wmissing-noreturn -Wstrict-null-sentinel -Woverloaded-virtual -Wsign-promo -funit-at-a-time -Weffc++ -c -o hash.o hash.cpp @@ -518,54 +559,48 @@ g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -DUTC_OFFSET=+0000 -g -O2 -ffile-prefix-map=/build/reproducible-path/hashdeep-4.4+git20170824+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -MD -D_FORTIFY_SOURCE=2 -Wpointer-arith -Wshadow -Wwrite-strings -Wcast-align -Wredundant-decls -Wdisabled-optimization -Wfloat-equal -Wmultichar -Wmissing-noreturn -Wstrict-null-sentinel -Woverloaded-virtual -Wsign-promo -funit-at-a-time -Weffc++ -c -o xml.o xml.cpp g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -DUTC_OFFSET=+0000 -g -O2 -ffile-prefix-map=/build/reproducible-path/hashdeep-4.4+git20170824+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -MD -D_FORTIFY_SOURCE=2 -Wpointer-arith -Wshadow -Wwrite-strings -Wcast-align -Wredundant-decls -Wdisabled-optimization -Wfloat-equal -Wmultichar -Wmissing-noreturn -Wstrict-null-sentinel -Woverloaded-virtual -Wsign-promo -funit-at-a-time -Weffc++ -c -o files.o files.cpp g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -DUTC_OFFSET=+0000 -g -O2 -ffile-prefix-map=/build/reproducible-path/hashdeep-4.4+git20170824+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -MD -D_FORTIFY_SOURCE=2 -Wpointer-arith -Wshadow -Wwrite-strings -Wcast-align -Wredundant-decls -Wdisabled-optimization -Wfloat-equal -Wmultichar -Wmissing-noreturn -Wstrict-null-sentinel -Woverloaded-virtual -Wsign-promo -funit-at-a-time -Weffc++ -c -o threadpool.o threadpool.cpp -cc1: warning: command-line option '-Weffc++' is valid for C++/ObjC++ but not for C g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -DUTC_OFFSET=+0000 -g -O2 -ffile-prefix-map=/build/reproducible-path/hashdeep-4.4+git20170824+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -MD -D_FORTIFY_SOURCE=2 -Wpointer-arith -Wshadow -Wwrite-strings -Wcast-align -Wredundant-decls -Wdisabled-optimization -Wfloat-equal -Wmultichar -Wmissing-noreturn -Wstrict-null-sentinel -Woverloaded-virtual -Wsign-promo -funit-at-a-time -Weffc++ -c -o winpe.o winpe.cpp -cc1: warning: command-line option '-Weffc++' is valid for C++/ObjC++ but not for C -cc1: warning: command-line option '-Weffc++' is valid for C++/ObjC++ but not for C -cc1: warning: command-line option '-Weffc++' is valid for C++/ObjC++ but not for C -cc1: warning: command-line option '-Weffc++' is valid for C++/ObjC++ but not for C -tiger.c:641:1: warning: 'tiger2_init' defined but not used [-Wunused-function] - 641 | tiger2_init (void *context) - | ^~~~~~~~~~~ -tiger.c:629:1: warning: 'tiger_init' defined but not used [-Wunused-function] - 629 | tiger_init (void *context) - | ^~~~~~~~~~ In file included from main.h:23, - from hashlist.cpp:10: + from multihash.cpp:1: xml.h:103:79: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 103 | void xmlout(const std::string &tag,const int64_t value){ xmlprintf(tag,"","%"PRId64,value); } | ^ In file included from main.h:23, - from display.cpp:1: + from files.cpp:26: xml.h:103:79: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 103 | void xmlout(const std::string &tag,const int64_t value){ xmlprintf(tag,"","%"PRId64,value); } | ^ +files.cpp:517:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 517 | ocb.error("%s: No hash found in line %"PRIu32, fn, count + 1); + | ^ +files.cpp:550:19: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 550 | ocb.error("%s: Expecting %"PRIu32" hashes, found %"PRIu32"\n", + | ^ +files.cpp:550:42: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 550 | ocb.error("%s: Expecting %"PRIu32" hashes, found %"PRIu32"\n", + | ^ In file included from xml.cpp:23: xml.h:103:79: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 103 | void xmlout(const std::string &tag,const int64_t value){ xmlprintf(tag,"","%"PRId64,value); } | ^ In file included from main.h:23, - from winpe.cpp:15: -xml.h:103:79: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 103 | void xmlout(const std::string &tag,const int64_t value){ xmlprintf(tag,"","%"PRId64,value); } - | ^ -In file included from main.h:23, - from multihash.cpp:1: + from main.cpp:16: xml.h:103:79: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 103 | void xmlout(const std::string &tag,const int64_t value){ xmlprintf(tag,"","%"PRId64,value); } | ^ +tiger.c:641:1: warning: 'tiger2_init' defined but not used [-Wunused-function] + 641 | tiger2_init (void *context) + | ^~~~~~~~~~~ +tiger.c:629:1: warning: 'tiger_init' defined but not used [-Wunused-function] + 629 | tiger_init (void *context) + | ^~~~~~~~~~ In file included from main.h:23, from dig.cpp:20: xml.h:103:79: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 103 | void xmlout(const std::string &tag,const int64_t value){ xmlprintf(tag,"","%"PRId64,value); } | ^ In file included from main.h:23, - from files.cpp:26: -xml.h:103:79: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 103 | void xmlout(const std::string &tag,const int64_t value){ xmlprintf(tag,"","%"PRId64,value); } - | ^ -In file included from main.h:23, - from threadpool.cpp:7: + from hashlist.cpp:10: xml.h:103:79: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 103 | void xmlout(const std::string &tag,const int64_t value){ xmlprintf(tag,"","%"PRId64,value); } | ^ @@ -576,19 +611,23 @@ 393 | ocb->error("%s: Invalid %s hash in line %"PRIu64, | ^ In file included from main.h:23, + from helpers.cpp:15: +xml.h:103:79: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 103 | void xmlout(const std::string &tag,const int64_t value){ xmlprintf(tag,"","%"PRId64,value); } + | ^ +In file included from main.h:23, from hash.cpp:16: xml.h:103:79: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 103 | void xmlout(const std::string &tag,const int64_t value){ xmlprintf(tag,"","%"PRId64,value); } | ^ -files.cpp:517:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 517 | ocb.error("%s: No hash found in line %"PRIu32, fn, count + 1); - | ^ -files.cpp:550:19: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 550 | ocb.error("%s: Expecting %"PRIu32" hashes, found %"PRIu32"\n", - | ^ -files.cpp:550:42: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 550 | ocb.error("%s: Expecting %"PRIu32" hashes, found %"PRIu32"\n", - | ^ +In file included from main.h:23, + from display.cpp:1: +xml.h:103:79: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 103 | void xmlout(const std::string &tag,const int64_t value){ xmlprintf(tag,"","%"PRId64,value); } + | ^ +hash.cpp:127:49: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 127 | ocb->error_filename(this->file_name,"error at offset %"PRIu64": %s", + | ^ display.cpp:314:34: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 314 | snprintf(msg,sizeof(msg),"%02"PRIu64":%02"PRIu64":%02"PRIu64" left", hour, min, seconds); | ^ @@ -619,16 +658,13 @@ display.cpp:434:16: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 434 | status(" Known files not found: %"PRIu64, this->match.unused); | ^ -hash.cpp:127:49: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 127 | ocb->error_filename(this->file_name,"error at offset %"PRIu64": %s", - | ^ In file included from main.h:23, - from main.cpp:16: + from winpe.cpp:15: xml.h:103:79: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 103 | void xmlout(const std::string &tag,const int64_t value){ xmlprintf(tag,"","%"PRId64,value); } | ^ In file included from main.h:23, - from helpers.cpp:15: + from threadpool.cpp:7: xml.h:103:79: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 103 | void xmlout(const std::string &tag,const int64_t value){ xmlprintf(tag,"","%"PRId64,value); } | ^ @@ -648,83 +684,6 @@ xml.h:61:12: note: pointer member 'XML::out' declared here 61 | FILE *out; // where it is being written | ^~~ -xml.h:59:7: warning: 'class XML' has pointer data members [-Weffc++] - 59 | class XML { - | ^~~ -xml.h:59:7: warning: but does not declare 'XML(const XML&)' [-Weffc++] -xml.h:59:7: warning: or 'operator=(const XML&)' [-Weffc++] -xml.h:61:12: note: pointer member 'XML::out' declared here - 61 | FILE *out; // where it is being written - | ^~~ -xml.h:59:7: warning: 'class XML' has pointer data members [-Weffc++] - 59 | class XML { - | ^~~ -xml.h:59:7: warning: but does not declare 'XML(const XML&)' [-Weffc++] -xml.h:59:7: warning: or 'operator=(const XML&)' [-Weffc++] -xml.h:61:12: note: pointer member 'XML::out' declared here - 61 | FILE *out; // where it is being written - | ^~~ -xml.h:59:7: warning: 'class XML' has pointer data members [-Weffc++] - 59 | class XML { - | ^~~ -xml.h:59:7: warning: but does not declare 'XML(const XML&)' [-Weffc++] -xml.h:59:7: warning: or 'operator=(const XML&)' [-Weffc++] -xml.h:61:12: note: pointer member 'XML::out' declared here - 61 | FILE *out; // where it is being written - | ^~~ -xml.h:59:7: warning: 'class XML' has pointer data members [-Weffc++] - 59 | class XML { - | ^~~ -xml.h:59:7: warning: but does not declare 'XML(const XML&)' [-Weffc++] -xml.h:59:7: warning: or 'operator=(const XML&)' [-Weffc++] -xml.h:61:12: note: pointer member 'XML::out' declared here - 61 | FILE *out; // where it is being written - | ^~~ -xml.cpp: In constructor 'XML::XML()': -xml.cpp:113:1: warning: 'XML::outfilename' should be initialized in the member initialization list [-Weffc++] - 113 | XML::XML() - | ^~~ -xml.cpp:113:1: warning: 'XML::out' should be initialized in the member initialization list [-Weffc++] -xml.cpp:113:1: warning: 'XML::tags' should be initialized in the member initialization list [-Weffc++] -In file included from main.h:26: -threadpool.h: In constructor 'mutex_t::mutex_t()': -threadpool.h:17:5: warning: 'mutex_t::mutex' should be initialized in the member initialization list [-Weffc++] - 17 | mutex_t(){ - | ^~~~~~~ -In file included from main.h:26: -threadpool.h: In constructor 'mutex_t::mutex_t()': -threadpool.h:17:5: warning: 'mutex_t::mutex' should be initialized in the member initialization list [-Weffc++] - 17 | mutex_t(){ - | ^~~~~~~ -xml.cpp:113:1: warning: 'XML::make_dtd' should be initialized in the member initialization list [-Weffc++] -xml.cpp:113:1: warning: 'XML::tempfilename' should be initialized in the member initialization list [-Weffc++] -xml.cpp:113:1: warning: 'XML::tag_stack' should be initialized in the member initialization list [-Weffc++] -xml.h:59:7: warning: 'class XML' has pointer data members [-Weffc++] - 59 | class XML { - | ^~~ -xml.h:59:7: warning: but does not declare 'XML(const XML&)' [-Weffc++] -xml.h:59:7: warning: or 'operator=(const XML&)' [-Weffc++] -xml.h:61:12: note: pointer member 'XML::out' declared here - 61 | FILE *out; // where it is being written - | ^~~ -xml.cpp:113:1: warning: 'XML::tempfile_template' should be initialized in the member initialization list [-Weffc++] -xml.cpp:113:1: warning: 'XML::t0' should be initialized in the member initialization list [-Weffc++] -xml.cpp: In constructor 'XML::XML(FILE*)': -xml.cpp:121:1: warning: 'XML::outfilename' should be initialized in the member initialization list [-Weffc++] - 121 | XML::XML(FILE *out_) - | ^~~ -xml.cpp:121:1: warning: 'XML::out' should be initialized in the member initialization list [-Weffc++] -xml.cpp:121:1: warning: 'XML::tags' should be initialized in the member initialization list [-Weffc++] -xml.cpp:121:1: warning: 'XML::make_dtd' should be initialized in the member initialization list [-Weffc++] -xml.cpp:121:1: warning: 'XML::tempfilename' should be initialized in the member initialization list [-Weffc++] -xml.cpp:121:1: warning: 'XML::tag_stack' should be initialized in the member initialization list [-Weffc++] -xml.cpp:121:1: warning: 'XML::tempfile_template' should be initialized in the member initialization list [-Weffc++] -xml.cpp:121:1: warning: 'XML::t0' should be initialized in the member initialization list [-Weffc++] -In file included from main.h:26: -threadpool.h: In constructor 'mutex_t::mutex_t()': -threadpool.h:17:5: warning: 'mutex_t::mutex' should be initialized in the member initialization list [-Weffc++] - 17 | mutex_t(){ - | ^~~~~~~ In file included from main.h:26: threadpool.h: In constructor 'mutex_t::mutex_t()': threadpool.h:17:5: warning: 'mutex_t::mutex' should be initialized in the member initialization list [-Weffc++] @@ -743,31 +702,6 @@ threadpool.h:71:5: warning: 'worker::thread' should be initialized in the member initialization list [-Weffc++] 71 | worker(class threadpool *master_,int workerid_): master(master_),workerid(workerid_){} | ^~~~~~ -In file included from main.h:26: -threadpool.h: In constructor 'mutex_t::mutex_t()': -threadpool.h:17:5: warning: 'mutex_t::mutex' should be initialized in the member initialization list [-Weffc++] - 17 | mutex_t(){ - | ^~~~~~~ -threadpool.h: In constructor 'worker::worker(threadpool*, int)': -threadpool.h:71:5: warning: 'worker::thread' should be initialized in the member initialization list [-Weffc++] - 71 | worker(class threadpool *master_,int workerid_): master(master_),workerid(workerid_){} - | ^~~~~~ -threadpool.h: In constructor 'worker::worker(threadpool*, int)': -threadpool.h:71:5: warning: 'worker::thread' should be initialized in the member initialization list [-Weffc++] - 71 | worker(class threadpool *master_,int workerid_): master(master_),workerid(workerid_){} - | ^~~~~~ -threadpool.h: In constructor 'worker::worker(threadpool*, int)': -threadpool.h:71:5: warning: 'worker::thread' should be initialized in the member initialization list [-Weffc++] - 71 | worker(class threadpool *master_,int workerid_): master(master_),workerid(workerid_){} - | ^~~~~~ -threadpool.h: In constructor 'worker::worker(threadpool*, int)': -threadpool.h:71:5: warning: 'worker::thread' should be initialized in the member initialization list [-Weffc++] - 71 | worker(class threadpool *master_,int workerid_): master(master_),workerid(workerid_){} - | ^~~~~~ -main.h: In constructor 'file_data_t::file_data_t()': -main.h:251:5: warning: 'file_data_t::file_name' should be initialized in the member initialization list [-Weffc++] - 251 | file_data_t():file_bytes(0),matched_file_number(0){ - | ^~~~~~~~~~~ main.h: In constructor 'file_data_t::file_data_t()': main.h:251:5: warning: 'file_data_t::file_name' should be initialized in the member initialization list [-Weffc++] 251 | file_data_t():file_bytes(0),matched_file_number(0){ @@ -785,6 +719,12 @@ main.h:298:5: warning: 'file_data_hasher_t::file_name_to_hash' should be initialized in the member initialization list [-Weffc++] 298 | file_data_hasher_t(class display *ocb_): | ^~~~~~~~~~~~~~~~~~ +main.h:298:5: warning: 'file_data_hasher_t::triage_info' should be initialized in the member initialization list [-Weffc++] +main.h:298:5: warning: 'file_data_hasher_t::dfxml_hash' should be initialized in the member initialization list [-Weffc++] +main.h: In constructor 'file_data_t::file_data_t()': +main.h:251:5: warning: 'file_data_t::file_name' should be initialized in the member initialization list [-Weffc++] + 251 | file_data_t():file_bytes(0),matched_file_number(0){ + | ^~~~~~~~~~~ main.h: At global scope: main.h:289:7: warning: 'class file_data_hasher_t' has pointer data members [-Weffc++] 289 | class file_data_hasher_t : public file_data_t { @@ -794,18 +734,12 @@ main.h:332:26: note: pointer member 'file_data_hasher_t::base' declared here 332 | const unsigned char *base; // base of mapped file | ^~~~ -main.h:298:5: warning: 'file_data_hasher_t::triage_info' should be initialized in the member initialization list [-Weffc++] -main.h:298:5: warning: 'file_data_hasher_t::dfxml_hash' should be initialized in the member initialization list [-Weffc++] main.h: In constructor 'file_data_hasher_t::file_data_hasher_t(display*)': main.h:298:5: warning: 'file_data_hasher_t::file_name_to_hash' should be initialized in the member initialization list [-Weffc++] 298 | file_data_hasher_t(class display *ocb_): | ^~~~~~~~~~~~~~~~~~ main.h:298:5: warning: 'file_data_hasher_t::triage_info' should be initialized in the member initialization list [-Weffc++] main.h:298:5: warning: 'file_data_hasher_t::dfxml_hash' should be initialized in the member initialization list [-Weffc++] -main.h: In constructor 'file_data_t::file_data_t()': -main.h:251:5: warning: 'file_data_t::file_name' should be initialized in the member initialization list [-Weffc++] - 251 | file_data_t():file_bytes(0),matched_file_number(0){ - | ^~~~~~~~~~~ xml.h:59:7: warning: 'class XML' has pointer data members [-Weffc++] 59 | class XML { | ^~~ @@ -814,78 +748,6 @@ xml.h:61:12: note: pointer member 'XML::out' declared here 61 | FILE *out; // where it is being written | ^~~ -main.h: At global scope: -main.h:289:7: warning: 'class file_data_hasher_t' has pointer data members [-Weffc++] - 289 | class file_data_hasher_t : public file_data_t { - | ^~~~~~~~~~~~~~~~~~ -main.h:289:7: warning: but does not declare 'file_data_hasher_t(const file_data_hasher_t&)' [-Weffc++] -main.h:289:7: warning: or 'operator=(const file_data_hasher_t&)' [-Weffc++] -main.h:332:26: note: pointer member 'file_data_hasher_t::base' declared here - 332 | const unsigned char *base; // base of mapped file - | ^~~~ -main.h: In constructor 'file_data_hasher_t::file_data_hasher_t(display*)': -main.h:298:5: warning: 'file_data_hasher_t::file_name_to_hash' should be initialized in the member initialization list [-Weffc++] - 298 | file_data_hasher_t(class display *ocb_): - | ^~~~~~~~~~~~~~~~~~ -main.h:298:5: warning: 'file_data_hasher_t::triage_info' should be initialized in the member initialization list [-Weffc++] -main.h:298:5: warning: 'file_data_hasher_t::dfxml_hash' should be initialized in the member initialization list [-Weffc++] -main.h: In constructor 'file_data_t::file_data_t()': -main.h:251:5: warning: 'file_data_t::file_name' should be initialized in the member initialization list [-Weffc++] - 251 | file_data_t():file_bytes(0),matched_file_number(0){ - | ^~~~~~~~~~~ -main.h: In constructor 'file_data_t::file_data_t()': -main.h:251:5: warning: 'file_data_t::file_name' should be initialized in the member initialization list [-Weffc++] - 251 | file_data_t():file_bytes(0),matched_file_number(0){ - | ^~~~~~~~~~~ -main.h: At global scope: -main.h:289:7: warning: 'class file_data_hasher_t' has pointer data members [-Weffc++] - 289 | class file_data_hasher_t : public file_data_t { - | ^~~~~~~~~~~~~~~~~~ -main.h:289:7: warning: but does not declare 'file_data_hasher_t(const file_data_hasher_t&)' [-Weffc++] -main.h:289:7: warning: or 'operator=(const file_data_hasher_t&)' [-Weffc++] -main.h:332:26: note: pointer member 'file_data_hasher_t::base' declared here - 332 | const unsigned char *base; // base of mapped file - | ^~~~ -main.h: In constructor 'file_data_hasher_t::file_data_hasher_t(display*)': -main.h:298:5: warning: 'file_data_hasher_t::file_name_to_hash' should be initialized in the member initialization list [-Weffc++] - 298 | file_data_hasher_t(class display *ocb_): - | ^~~~~~~~~~~~~~~~~~ -main.h: In constructor 'file_data_t::file_data_t()': -main.h:251:5: warning: 'file_data_t::file_name' should be initialized in the member initialization list [-Weffc++] - 251 | file_data_t():file_bytes(0),matched_file_number(0){ - | ^~~~~~~~~~~ -main.h:298:5: warning: 'file_data_hasher_t::triage_info' should be initialized in the member initialization list [-Weffc++] -main.h:298:5: warning: 'file_data_hasher_t::dfxml_hash' should be initialized in the member initialization list [-Weffc++] -main.h: At global scope: -main.h:289:7: warning: 'class file_data_hasher_t' has pointer data members [-Weffc++] - 289 | class file_data_hasher_t : public file_data_t { - | ^~~~~~~~~~~~~~~~~~ -main.h:289:7: warning: but does not declare 'file_data_hasher_t(const file_data_hasher_t&)' [-Weffc++] -main.h:289:7: warning: or 'operator=(const file_data_hasher_t&)' [-Weffc++] -main.h:332:26: note: pointer member 'file_data_hasher_t::base' declared here - 332 | const unsigned char *base; // base of mapped file - | ^~~~ -main.h: In constructor 'file_data_hasher_t::file_data_hasher_t(display*)': -main.h:298:5: warning: 'file_data_hasher_t::file_name_to_hash' should be initialized in the member initialization list [-Weffc++] - 298 | file_data_hasher_t(class display *ocb_): - | ^~~~~~~~~~~~~~~~~~ -main.h:298:5: warning: 'file_data_hasher_t::triage_info' should be initialized in the member initialization list [-Weffc++] -main.h:298:5: warning: 'file_data_hasher_t::dfxml_hash' should be initialized in the member initialization list [-Weffc++] -main.h: At global scope: -main.h:289:7: warning: 'class file_data_hasher_t' has pointer data members [-Weffc++] - 289 | class file_data_hasher_t : public file_data_t { - | ^~~~~~~~~~~~~~~~~~ -main.h:289:7: warning: but does not declare 'file_data_hasher_t(const file_data_hasher_t&)' [-Weffc++] -main.h:289:7: warning: or 'operator=(const file_data_hasher_t&)' [-Weffc++] -main.h:332:26: note: pointer member 'file_data_hasher_t::base' declared here - 332 | const unsigned char *base; // base of mapped file - | ^~~~ -main.h: In constructor 'file_data_hasher_t::file_data_hasher_t(display*)': -main.h:298:5: warning: 'file_data_hasher_t::file_name_to_hash' should be initialized in the member initialization list [-Weffc++] - 298 | file_data_hasher_t(class display *ocb_): - | ^~~~~~~~~~~~~~~~~~ -main.h:298:5: warning: 'file_data_hasher_t::triage_info' should be initialized in the member initialization list [-Weffc++] -main.h:298:5: warning: 'file_data_hasher_t::dfxml_hash' should be initialized in the member initialization list [-Weffc++] In file included from main.h:26: threadpool.h: In constructor 'mutex_t::mutex_t()': threadpool.h:17:5: warning: 'mutex_t::mutex' should be initialized in the member initialization list [-Weffc++] @@ -900,34 +762,17 @@ main.h:627:26: note: pointer member 'display::tp' declared here 627 | threadpool *tp; | ^~ -main.h: At global scope: -main.h:547:7: warning: 'class display' has pointer data members [-Weffc++] - 547 | class display { - | ^~~~~~~ -main.h:547:7: warning: but does not declare 'display(const display&)' [-Weffc++] -main.h:547:7: warning: or 'operator=(const display&)' [-Weffc++] -main.h:627:26: note: pointer member 'display::tp' declared here - 627 | threadpool *tp; - | ^~ -main.h: In constructor 'display::display()': -main.h:567:2: warning: 'display::M' should be initialized in the member initialization list [-Weffc++] - 567 | display(): - | ^~~~~~~ main.h: In constructor 'display::display()': main.h:567:2: warning: 'display::M' should be initialized in the member initialization list [-Weffc++] 567 | display(): | ^~~~~~~ main.h:567:2: warning: 'display::myoutstream' should be initialized in the member initialization list [-Weffc++] -main.h:567:2: warning: 'display::myoutstream' should be initialized in the member initialization list [-Weffc++] -main.h:567:2: warning: 'display::utf8_banner' should be initialized in the member initialization list [-Weffc++] main.h:567:2: warning: 'display::utf8_banner' should be initialized in the member initialization list [-Weffc++] main.h:567:2: warning: 'display::known' should be initialized in the member initialization list [-Weffc++] -main.h:567:2: warning: 'display::known' should be initialized in the member initialization list [-Weffc++] -main.h: In constructor 'hashlist::hashlist()': -main.h:381:7: warning: 'hashlist::last_enabled_algorithms' should be initialized in the member initialization list [-Weffc++] - 381 | class hashlist : public std::vector { - | ^~~~~~~~ -main.h:381:7: warning: 'hashlist::filename_column' should be initialized in the member initialization list [-Weffc++] +threadpool.h: In constructor 'worker::worker(threadpool*, int)': +threadpool.h:71:5: warning: 'worker::thread' should be initialized in the member initialization list [-Weffc++] + 71 | worker(class threadpool *master_,int workerid_): master(master_),workerid(workerid_){} + | ^~~~~~ main.h: In constructor 'hashlist::hashlist()': main.h:381:7: warning: 'hashlist::last_enabled_algorithms' should be initialized in the member initialization list [-Weffc++] 381 | class hashlist : public std::vector { @@ -937,19 +782,12 @@ main.h:597:39: note: synthesized method 'hashlist::hashlist()' first required here 597 | primary_function(primary_compute){ | ^ -main.h: In constructor 'display::display()': -main.h:597:39: note: synthesized method 'hashlist::hashlist()' first required here - 597 | primary_function(primary_compute){ - | ^ -main.h:567:2: warning: 'display::seen' should be initialized in the member initialization list [-Weffc++] - 567 | display(): - | ^~~~~~~ -main.h:567:2: warning: 'display::match' should be initialized in the member initialization list [-Weffc++] main.h:567:2: warning: 'display::seen' should be initialized in the member initialization list [-Weffc++] 567 | display(): | ^~~~~~~ main.h:567:2: warning: 'display::match' should be initialized in the member initialization list [-Weffc++] main.h:567:2: warning: 'display::return_code' should be initialized in the member initialization list [-Weffc++] +main.h:567:2: warning: 'display::opt_outfilename' should be initialized in the member initialization list [-Weffc++] main.h: At global scope: main.h:547:7: warning: 'class display' has pointer data members [-Weffc++] 547 | class display { @@ -959,9 +797,6 @@ main.h:627:26: note: pointer member 'display::tp' declared here 627 | threadpool *tp; | ^~ -main.h:567:2: warning: 'display::return_code' should be initialized in the member initialization list [-Weffc++] -main.h:567:2: warning: 'display::opt_outfilename' should be initialized in the member initialization list [-Weffc++] -main.h:567:2: warning: 'display::opt_outfilename' should be initialized in the member initialization list [-Weffc++] main.h: In constructor 'display::display()': main.h:567:2: warning: 'display::M' should be initialized in the member initialization list [-Weffc++] 567 | display(): @@ -978,57 +813,28 @@ main.h:843:19: note: pointer member 'state::argv' declared here 843 | char **argv; | ^~~~ -main.h: At global scope: -main.h:792:7: warning: 'class state' has pointer data members [-Weffc++] - 792 | class state { - | ^~~~~ -main.h:792:7: warning: but does not declare 'state(const state&)' [-Weffc++] -main.h:792:7: warning: or 'operator=(const state&)' [-Weffc++] -main.h:843:19: note: pointer member 'state::argv' declared here - 843 | char **argv; - | ^~~~ main.h: In constructor 'state::state()': main.h:795:2: warning: 'state::opt_input_list' should be initialized in the member initialization list [-Weffc++] 795 | state():mode_recursive(false), // do we recurse? | ^~~~~ +main.h:795:2: warning: 'state::ocb' should be initialized in the member initialization list [-Weffc++] +main.h:795:2: warning: 'state::opt_enable_mac_cc' should be initialized in the member initialization list [-Weffc++] +main.h:795:2: warning: 'state::dir_table' should be initialized in the member initialization list [-Weffc++] main.h: In constructor 'hashlist::hashlist()': main.h:381:7: warning: 'hashlist::last_enabled_algorithms' should be initialized in the member initialization list [-Weffc++] 381 | class hashlist : public std::vector { | ^~~~~~~~ -main.h:795:2: warning: 'state::ocb' should be initialized in the member initialization list [-Weffc++] main.h:381:7: warning: 'hashlist::filename_column' should be initialized in the member initialization list [-Weffc++] -main.h: In constructor 'state::state()': -main.h:795:2: warning: 'state::opt_input_list' should be initialized in the member initialization list [-Weffc++] - 795 | state():mode_recursive(false), // do we recurse? - | ^~~~~ -main.h:795:2: warning: 'state::ocb' should be initialized in the member initialization list [-Weffc++] main.h: In constructor 'display::display()': main.h:597:39: note: synthesized method 'hashlist::hashlist()' first required here 597 | primary_function(primary_compute){ | ^ -main.h:795:2: warning: 'state::opt_enable_mac_cc' should be initialized in the member initialization list [-Weffc++] -main.h:795:2: warning: 'state::dir_table' should be initialized in the member initialization list [-Weffc++] main.h:567:2: warning: 'display::seen' should be initialized in the member initialization list [-Weffc++] 567 | display(): | ^~~~~~~ -main.h:795:2: warning: 'state::opt_enable_mac_cc' should be initialized in the member initialization list [-Weffc++] -main.h:795:2: warning: 'state::dir_table' should be initialized in the member initialization list [-Weffc++] main.h:567:2: warning: 'display::match' should be initialized in the member initialization list [-Weffc++] main.h:567:2: warning: 'display::return_code' should be initialized in the member initialization list [-Weffc++] main.h:567:2: warning: 'display::opt_outfilename' should be initialized in the member initialization list [-Weffc++] -threadpool.h: In constructor 'worker::worker(threadpool*, int)': -threadpool.h:71:5: warning: 'worker::thread' should be initialized in the member initialization list [-Weffc++] - 71 | worker(class threadpool *master_,int workerid_): master(master_),workerid(workerid_){} - | ^~~~~~ -main.h: At global scope: -main.h:547:7: warning: 'class display' has pointer data members [-Weffc++] - 547 | class display { - | ^~~~~~~ -main.h:547:7: warning: but does not declare 'display(const display&)' [-Weffc++] -main.h:547:7: warning: or 'operator=(const display&)' [-Weffc++] -main.h:627:26: note: pointer member 'display::tp' declared here - 627 | threadpool *tp; - | ^~ main.h: At global scope: main.h:792:7: warning: 'class state' has pointer data members [-Weffc++] 792 | class state { @@ -1038,22 +844,6 @@ main.h:843:19: note: pointer member 'state::argv' declared here 843 | char **argv; | ^~~~ -main.h: In constructor 'display::display()': -main.h:567:2: warning: 'display::M' should be initialized in the member initialization list [-Weffc++] - 567 | display(): - | ^~~~~~~ -main.h:567:2: warning: 'display::myoutstream' should be initialized in the member initialization list [-Weffc++] -main.h:567:2: warning: 'display::utf8_banner' should be initialized in the member initialization list [-Weffc++] -main.h: At global scope: -main.h:547:7: warning: 'class display' has pointer data members [-Weffc++] - 547 | class display { - | ^~~~~~~ -main.h:547:7: warning: but does not declare 'display(const display&)' [-Weffc++] -main.h:547:7: warning: or 'operator=(const display&)' [-Weffc++] -main.h:627:26: note: pointer member 'display::tp' declared here - 627 | threadpool *tp; - | ^~ -main.h:567:2: warning: 'display::known' should be initialized in the member initialization list [-Weffc++] main.h: In constructor 'state::state()': main.h:795:2: warning: 'state::opt_input_list' should be initialized in the member initialization list [-Weffc++] 795 | state():mode_recursive(false), // do we recurse? @@ -1061,22 +851,56 @@ main.h:795:2: warning: 'state::ocb' should be initialized in the member initialization list [-Weffc++] main.h:795:2: warning: 'state::opt_enable_mac_cc' should be initialized in the member initialization list [-Weffc++] main.h:795:2: warning: 'state::dir_table' should be initialized in the member initialization list [-Weffc++] +main.h: In constructor 'file_data_t::file_data_t()': +main.h:251:5: warning: 'file_data_t::file_name' should be initialized in the member initialization list [-Weffc++] + 251 | file_data_t():file_bytes(0),matched_file_number(0){ + | ^~~~~~~~~~~ +main.h: At global scope: +main.h:289:7: warning: 'class file_data_hasher_t' has pointer data members [-Weffc++] + 289 | class file_data_hasher_t : public file_data_t { + | ^~~~~~~~~~~~~~~~~~ +main.h:289:7: warning: but does not declare 'file_data_hasher_t(const file_data_hasher_t&)' [-Weffc++] +main.h:289:7: warning: or 'operator=(const file_data_hasher_t&)' [-Weffc++] +main.h:332:26: note: pointer member 'file_data_hasher_t::base' declared here + 332 | const unsigned char *base; // base of mapped file + | ^~~~ +main.h: In constructor 'file_data_hasher_t::file_data_hasher_t(display*)': +main.h:298:5: warning: 'file_data_hasher_t::file_name_to_hash' should be initialized in the member initialization list [-Weffc++] + 298 | file_data_hasher_t(class display *ocb_): + | ^~~~~~~~~~~~~~~~~~ +main.h:298:5: warning: 'file_data_hasher_t::triage_info' should be initialized in the member initialization list [-Weffc++] +main.h:298:5: warning: 'file_data_hasher_t::dfxml_hash' should be initialized in the member initialization list [-Weffc++] +In file included from utf8.h:31, + from main.cpp:21: +utf8/checked.h: At global scope: +utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 268 | class iterator : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_algobase.h:65, + from /usr/include/c++/14/bits/specfun.h:43, + from /usr/include/c++/14/cmath:3898, + from /usr/include/c++/14/math.h:36, + from common.h:31, + from main.h:22: +/usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +In file included from utf8.h:32: +utf8/unchecked.h:179:40: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 179 | class iterator : public std::iterator { + | ^~~~~~~~ +/usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ main.h: At global scope: main.h:547:7: warning: 'class display' has pointer data members [-Weffc++] 547 | class display { | ^~~~~~~ -main.h: In constructor 'display::display()': -main.h:567:2: warning: 'display::M' should be initialized in the member initialization list [-Weffc++] - 567 | display(): - | ^~~~~~~ main.h:547:7: warning: but does not declare 'display(const display&)' [-Weffc++] main.h:547:7: warning: or 'operator=(const display&)' [-Weffc++] main.h:627:26: note: pointer member 'display::tp' declared here 627 | threadpool *tp; | ^~ -main.h:567:2: warning: 'display::myoutstream' should be initialized in the member initialization list [-Weffc++] -main.h:567:2: warning: 'display::utf8_banner' should be initialized in the member initialization list [-Weffc++] -main.h:567:2: warning: 'display::known' should be initialized in the member initialization list [-Weffc++] main.h: In constructor 'display::display()': main.h:567:2: warning: 'display::M' should be initialized in the member initialization list [-Weffc++] 567 | display(): @@ -1099,30 +923,131 @@ main.h:567:2: warning: 'display::match' should be initialized in the member initialization list [-Weffc++] main.h:567:2: warning: 'display::return_code' should be initialized in the member initialization list [-Weffc++] main.h:567:2: warning: 'display::opt_outfilename' should be initialized in the member initialization list [-Weffc++] +main.h: At global scope: +main.h:792:7: warning: 'class state' has pointer data members [-Weffc++] + 792 | class state { + | ^~~~~ +main.h:792:7: warning: but does not declare 'state(const state&)' [-Weffc++] +main.h:792:7: warning: or 'operator=(const state&)' [-Weffc++] +main.h:843:19: note: pointer member 'state::argv' declared here + 843 | char **argv; + | ^~~~ +main.h: In constructor 'algorithm_t::algorithm_t()': +main.h:124:7: warning: 'algorithm_t::inuse' should be initialized in the member initialization list [-Weffc++] + 124 | class algorithm_t { + | ^~~~~~~~~~~ +main.h:124:7: warning: 'algorithm_t::name' should be initialized in the member initialization list [-Weffc++] +main.h:124:7: warning: 'algorithm_t::bit_length' should be initialized in the member initialization list [-Weffc++] +main.h:124:7: warning: 'algorithm_t::id' should be initialized in the member initialization list [-Weffc++] +main.h:124:7: warning: 'algorithm_t::f_init' should be initialized in the member initialization list [-Weffc++] +main.h:124:7: warning: 'algorithm_t::f_update' should be initialized in the member initialization list [-Weffc++] +main.h:124:7: warning: 'algorithm_t::f_finalize' should be initialized in the member initialization list [-Weffc++] +main.cpp: At global scope: +main.cpp:291:38: note: synthesized method 'algorithm_t::algorithm_t()' first required here + 291 | algorithm_t hashes[NUM_ALGORITHMS]; // which hash algorithms are available and in use + | ^ +main.h: In constructor 'state::state()': +main.h:795:2: warning: 'state::opt_input_list' should be initialized in the member initialization list [-Weffc++] + 795 | state():mode_recursive(false), // do we recurse? + | ^~~~~ +main.h:795:2: warning: 'state::ocb' should be initialized in the member initialization list [-Weffc++] +main.h:795:2: warning: 'state::opt_enable_mac_cc' should be initialized in the member initialization list [-Weffc++] +main.h:795:2: warning: 'state::dir_table' should be initialized in the member initialization list [-Weffc++] +xml.h:59:7: warning: 'class XML' has pointer data members [-Weffc++] + 59 | class XML { + | ^~~ +xml.h:59:7: warning: but does not declare 'XML(const XML&)' [-Weffc++] +xml.h:59:7: warning: or 'operator=(const XML&)' [-Weffc++] +xml.h:61:12: note: pointer member 'XML::out' declared here + 61 | FILE *out; // where it is being written + | ^~~ +xml.cpp: In constructor 'XML::XML()': +xml.cpp:113:1: warning: 'XML::outfilename' should be initialized in the member initialization list [-Weffc++] + 113 | XML::XML() + | ^~~ +xml.cpp:113:1: warning: 'XML::out' should be initialized in the member initialization list [-Weffc++] +xml.cpp:113:1: warning: 'XML::tags' should be initialized in the member initialization list [-Weffc++] +xml.cpp:113:1: warning: 'XML::make_dtd' should be initialized in the member initialization list [-Weffc++] +xml.cpp:113:1: warning: 'XML::tempfilename' should be initialized in the member initialization list [-Weffc++] +xml.cpp:113:1: warning: 'XML::tag_stack' should be initialized in the member initialization list [-Weffc++] +xml.cpp:113:1: warning: 'XML::tempfile_template' should be initialized in the member initialization list [-Weffc++] +xml.cpp:113:1: warning: 'XML::t0' should be initialized in the member initialization list [-Weffc++] +xml.cpp: In constructor 'XML::XML(FILE*)': +xml.cpp:121:1: warning: 'XML::outfilename' should be initialized in the member initialization list [-Weffc++] + 121 | XML::XML(FILE *out_) + | ^~~ +xml.cpp:121:1: warning: 'XML::out' should be initialized in the member initialization list [-Weffc++] +xml.cpp:121:1: warning: 'XML::tags' should be initialized in the member initialization list [-Weffc++] +xml.cpp:121:1: warning: 'XML::make_dtd' should be initialized in the member initialization list [-Weffc++] +xml.cpp:121:1: warning: 'XML::tempfilename' should be initialized in the member initialization list [-Weffc++] +xml.cpp:121:1: warning: 'XML::tag_stack' should be initialized in the member initialization list [-Weffc++] +xml.cpp:121:1: warning: 'XML::tempfile_template' should be initialized in the member initialization list [-Weffc++] +xml.cpp:121:1: warning: 'XML::t0' should be initialized in the member initialization list [-Weffc++] +main.cpp: In static member function 'static tstring global::getcwd()': +main.cpp:848:13: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 848 | ::getcwd(buf,sizeof(buf)); + | ~~~~~~~~^~~~~~~~~~~~~~~~~ +xml.h:59:7: warning: 'class XML' has pointer data members [-Weffc++] + 59 | class XML { + | ^~~ +xml.h:59:7: warning: but does not declare 'XML(const XML&)' [-Weffc++] +xml.h:59:7: warning: or 'operator=(const XML&)' [-Weffc++] +xml.h:61:12: note: pointer member 'XML::out' declared here + 61 | FILE *out; // where it is being written + | ^~~ +In file included from main.h:26: +threadpool.h: In constructor 'mutex_t::mutex_t()': +threadpool.h:17:5: warning: 'mutex_t::mutex' should be initialized in the member initialization list [-Weffc++] + 17 | mutex_t(){ + | ^~~~~~~ +threadpool.h: In constructor 'worker::worker(threadpool*, int)': +threadpool.h:71:5: warning: 'worker::thread' should be initialized in the member initialization list [-Weffc++] + 71 | worker(class threadpool *master_,int workerid_): master(master_),workerid(workerid_){} + | ^~~~~~ +main.h: In constructor 'file_data_t::file_data_t()': +main.h:251:5: warning: 'file_data_t::file_name' should be initialized in the member initialization list [-Weffc++] + 251 | file_data_t():file_bytes(0),matched_file_number(0){ + | ^~~~~~~~~~~ +main.h: At global scope: +main.h:289:7: warning: 'class file_data_hasher_t' has pointer data members [-Weffc++] + 289 | class file_data_hasher_t : public file_data_t { + | ^~~~~~~~~~~~~~~~~~ +main.h:289:7: warning: but does not declare 'file_data_hasher_t(const file_data_hasher_t&)' [-Weffc++] +main.h:289:7: warning: or 'operator=(const file_data_hasher_t&)' [-Weffc++] +main.h:332:26: note: pointer member 'file_data_hasher_t::base' declared here + 332 | const unsigned char *base; // base of mapped file + | ^~~~ +main.h: In constructor 'file_data_hasher_t::file_data_hasher_t(display*)': +main.h:298:5: warning: 'file_data_hasher_t::file_name_to_hash' should be initialized in the member initialization list [-Weffc++] + 298 | file_data_hasher_t(class display *ocb_): + | ^~~~~~~~~~~~~~~~~~ +main.h:298:5: warning: 'file_data_hasher_t::triage_info' should be initialized in the member initialization list [-Weffc++] +main.h:298:5: warning: 'file_data_hasher_t::dfxml_hash' should be initialized in the member initialization list [-Weffc++] +main.h: At global scope: +main.h:547:7: warning: 'class display' has pointer data members [-Weffc++] + 547 | class display { + | ^~~~~~~ +main.h:547:7: warning: but does not declare 'display(const display&)' [-Weffc++] +main.h:547:7: warning: or 'operator=(const display&)' [-Weffc++] +main.h:627:26: note: pointer member 'display::tp' declared here + 627 | threadpool *tp; + | ^~ +main.h: In constructor 'display::display()': +main.h:567:2: warning: 'display::M' should be initialized in the member initialization list [-Weffc++] + 567 | display(): + | ^~~~~~~ +main.h:567:2: warning: 'display::myoutstream' should be initialized in the member initialization list [-Weffc++] +main.h:567:2: warning: 'display::utf8_banner' should be initialized in the member initialization list [-Weffc++] +main.h:567:2: warning: 'display::known' should be initialized in the member initialization list [-Weffc++] main.h: In constructor 'hashlist::hashlist()': main.h:381:7: warning: 'hashlist::last_enabled_algorithms' should be initialized in the member initialization list [-Weffc++] 381 | class hashlist : public std::vector { | ^~~~~~~~ main.h:381:7: warning: 'hashlist::filename_column' should be initialized in the member initialization list [-Weffc++] -main.h: In constructor 'hashlist::hashlist()': -main.h:381:7: warning: 'hashlist::last_enabled_algorithms' should be initialized in the member initialization list [-Weffc++] - 381 | class hashlist : public std::vector { - | ^~~~~~~~ -main.h: In constructor 'display::display()': -main.h:597:39: note: synthesized method 'hashlist::hashlist()' first required here - 597 | primary_function(primary_compute){ - | ^ -main.h:381:7: warning: 'hashlist::filename_column' should be initialized in the member initialization list [-Weffc++] -main.h:567:2: warning: 'display::seen' should be initialized in the member initialization list [-Weffc++] - 567 | display(): - | ^~~~~~~ -main.h:567:2: warning: 'display::match' should be initialized in the member initialization list [-Weffc++] -main.h:567:2: warning: 'display::return_code' should be initialized in the member initialization list [-Weffc++] main.h: In constructor 'display::display()': main.h:597:39: note: synthesized method 'hashlist::hashlist()' first required here 597 | primary_function(primary_compute){ | ^ -main.h:567:2: warning: 'display::opt_outfilename' should be initialized in the member initialization list [-Weffc++] main.h:567:2: warning: 'display::seen' should be initialized in the member initialization list [-Weffc++] 567 | display(): | ^~~~~~~ @@ -1143,32 +1068,92 @@ 795 | state():mode_recursive(false), // do we recurse? | ^~~~~ main.h:795:2: warning: 'state::ocb' should be initialized in the member initialization list [-Weffc++] -In file included from utf8.h:31, - from display.cpp:2: -utf8/checked.h: At global scope: -utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 268 | class iterator : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_algobase.h:65, - from /usr/include/c++/14/bits/specfun.h:43, - from /usr/include/c++/14/cmath:3898, - from /usr/include/c++/14/math.h:36, - from common.h:31, - from main.h:22: -/usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -main.h: At global scope: -main.h:792:7: warning: 'class state' has pointer data members [-Weffc++] - 792 | class state { - | ^~~~~ -main.h:792:7: warning: but does not declare 'state(const state&)' [-Weffc++] main.h:795:2: warning: 'state::opt_enable_mac_cc' should be initialized in the member initialization list [-Weffc++] -main.h:792:7: warning: or 'operator=(const state&)' [-Weffc++] main.h:795:2: warning: 'state::dir_table' should be initialized in the member initialization list [-Weffc++] -main.h:843:19: note: pointer member 'state::argv' declared here - 843 | char **argv; - | ^~~~ +xml.h:59:7: warning: 'class XML' has pointer data members [-Weffc++] + 59 | class XML { + | ^~~ +xml.h:59:7: warning: but does not declare 'XML(const XML&)' [-Weffc++] +xml.h:59:7: warning: or 'operator=(const XML&)' [-Weffc++] +xml.h:61:12: note: pointer member 'XML::out' declared here + 61 | FILE *out; // where it is being written + | ^~~ +In file included from main.h:26: +threadpool.h: In constructor 'mutex_t::mutex_t()': +threadpool.h:17:5: warning: 'mutex_t::mutex' should be initialized in the member initialization list [-Weffc++] + 17 | mutex_t(){ + | ^~~~~~~ +threadpool.h: In constructor 'worker::worker(threadpool*, int)': +threadpool.h:71:5: warning: 'worker::thread' should be initialized in the member initialization list [-Weffc++] + 71 | worker(class threadpool *master_,int workerid_): master(master_),workerid(workerid_){} + | ^~~~~~ +xml.h:59:7: warning: 'class XML' has pointer data members [-Weffc++] + 59 | class XML { + | ^~~ +xml.h:59:7: warning: but does not declare 'XML(const XML&)' [-Weffc++] +xml.h:59:7: warning: or 'operator=(const XML&)' [-Weffc++] +xml.h:61:12: note: pointer member 'XML::out' declared here + 61 | FILE *out; // where it is being written + | ^~~ +main.h: In constructor 'file_data_t::file_data_t()': +main.h:251:5: warning: 'file_data_t::file_name' should be initialized in the member initialization list [-Weffc++] + 251 | file_data_t():file_bytes(0),matched_file_number(0){ + | ^~~~~~~~~~~ +In file included from main.h:26: +threadpool.h: In constructor 'mutex_t::mutex_t()': +threadpool.h:17:5: warning: 'mutex_t::mutex' should be initialized in the member initialization list [-Weffc++] + 17 | mutex_t(){ + | ^~~~~~~ +main.h: At global scope: +main.h:289:7: warning: 'class file_data_hasher_t' has pointer data members [-Weffc++] + 289 | class file_data_hasher_t : public file_data_t { + | ^~~~~~~~~~~~~~~~~~ +main.h:289:7: warning: but does not declare 'file_data_hasher_t(const file_data_hasher_t&)' [-Weffc++] +main.h:289:7: warning: or 'operator=(const file_data_hasher_t&)' [-Weffc++] +main.h:332:26: note: pointer member 'file_data_hasher_t::base' declared here + 332 | const unsigned char *base; // base of mapped file + | ^~~~ +main.h: In constructor 'file_data_hasher_t::file_data_hasher_t(display*)': +main.h:298:5: warning: 'file_data_hasher_t::file_name_to_hash' should be initialized in the member initialization list [-Weffc++] + 298 | file_data_hasher_t(class display *ocb_): + | ^~~~~~~~~~~~~~~~~~ +main.h:298:5: warning: 'file_data_hasher_t::triage_info' should be initialized in the member initialization list [-Weffc++] +main.h:298:5: warning: 'file_data_hasher_t::dfxml_hash' should be initialized in the member initialization list [-Weffc++] +main.h: At global scope: +main.h:547:7: warning: 'class display' has pointer data members [-Weffc++] + 547 | class display { + | ^~~~~~~ +main.h:547:7: warning: but does not declare 'display(const display&)' [-Weffc++] +main.h:547:7: warning: or 'operator=(const display&)' [-Weffc++] +main.h:627:26: note: pointer member 'display::tp' declared here + 627 | threadpool *tp; + | ^~ +main.h: In constructor 'display::display()': +main.h:567:2: warning: 'display::M' should be initialized in the member initialization list [-Weffc++] + 567 | display(): + | ^~~~~~~ +main.h:567:2: warning: 'display::myoutstream' should be initialized in the member initialization list [-Weffc++] +main.h:567:2: warning: 'display::utf8_banner' should be initialized in the member initialization list [-Weffc++] +main.h:567:2: warning: 'display::known' should be initialized in the member initialization list [-Weffc++] +threadpool.h: In constructor 'worker::worker(threadpool*, int)': +threadpool.h:71:5: warning: 'worker::thread' should be initialized in the member initialization list [-Weffc++] + 71 | worker(class threadpool *master_,int workerid_): master(master_),workerid(workerid_){} + | ^~~~~~ +main.h: In constructor 'hashlist::hashlist()': +main.h:381:7: warning: 'hashlist::last_enabled_algorithms' should be initialized in the member initialization list [-Weffc++] + 381 | class hashlist : public std::vector { + | ^~~~~~~~ +main.h:381:7: warning: 'hashlist::filename_column' should be initialized in the member initialization list [-Weffc++] +main.h: In constructor 'display::display()': +main.h:597:39: note: synthesized method 'hashlist::hashlist()' first required here + 597 | primary_function(primary_compute){ + | ^ +main.h:567:2: warning: 'display::seen' should be initialized in the member initialization list [-Weffc++] + 567 | display(): + | ^~~~~~~ +main.h:567:2: warning: 'display::match' should be initialized in the member initialization list [-Weffc++] +main.h:567:2: warning: 'display::return_code' should be initialized in the member initialization list [-Weffc++] +main.h:567:2: warning: 'display::opt_outfilename' should be initialized in the member initialization list [-Weffc++] main.h: At global scope: main.h:792:7: warning: 'class state' has pointer data members [-Weffc++] 792 | class state { @@ -1183,66 +1168,12 @@ 795 | state():mode_recursive(false), // do we recurse? | ^~~~~ main.h:795:2: warning: 'state::ocb' should be initialized in the member initialization list [-Weffc++] -main.h: In constructor 'state::state()': -main.h:795:2: warning: 'state::opt_input_list' should be initialized in the member initialization list [-Weffc++] - 795 | state():mode_recursive(false), // do we recurse? - | ^~~~~ -main.h:795:2: warning: 'state::ocb' should be initialized in the member initialization list [-Weffc++] -main.h:795:2: warning: 'state::opt_enable_mac_cc' should be initialized in the member initialization list [-Weffc++] -main.h:795:2: warning: 'state::dir_table' should be initialized in the member initialization list [-Weffc++] -In file included from utf8.h:32: -utf8/unchecked.h:179:40: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 179 | class iterator : public std::iterator { - | ^~~~~~~~ -/usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ main.h:795:2: warning: 'state::opt_enable_mac_cc' should be initialized in the member initialization list [-Weffc++] main.h:795:2: warning: 'state::dir_table' should be initialized in the member initialization list [-Weffc++] -display.cpp: In member function 'void display::status(const char*, ...)': -display.cpp:86:12: warning: unnecessary parentheses in declaration of 'ap' [-Wparentheses] - 86 | va_list(ap); - | ^~~~ -display.cpp:86:12: note: remove parentheses - 86 | va_list(ap); - | ^~~~ - | - - -display.cpp: In member function 'void display::error(const char*, ...)': -display.cpp:102:12: warning: unnecessary parentheses in declaration of 'ap' [-Wparentheses] - 102 | va_list(ap); - | ^~~~ -display.cpp:102:12: note: remove parentheses - 102 | va_list(ap); - | ^~~~ - | - - -display.cpp: In member function 'void display::fatal_error(const char*, ...)': -display.cpp:124:12: warning: unnecessary parentheses in declaration of 'ap' [-Wparentheses] - 124 | va_list(ap); - | ^~~~ -display.cpp:124:12: note: remove parentheses - 124 | va_list(ap); - | ^~~~ - | - - -display.cpp: In member function 'void display::internal_error(const char*, ...)': -display.cpp:140:12: warning: unnecessary parentheses in declaration of 'ap' [-Wparentheses] - 140 | va_list(ap); - | ^~~~ -display.cpp:140:12: note: remove parentheses - 140 | va_list(ap); - | ^~~~ - | - - main.h: In constructor 'file_data_t::file_data_t()': main.h:251:5: warning: 'file_data_t::file_name' should be initialized in the member initialization list [-Weffc++] 251 | file_data_t():file_bytes(0),matched_file_number(0){ | ^~~~~~~~~~~ -display.cpp: In member function 'void display::error_filename(const std::string&, const char*, ...)': -display.cpp:201:12: warning: unnecessary parentheses in declaration of 'ap' [-Wparentheses] - 201 | va_list(ap); - | ^~~~ -display.cpp:201:12: note: remove parentheses - 201 | va_list(ap); - | ^~~~ - | - - main.h: At global scope: main.h:289:7: warning: 'class file_data_hasher_t' has pointer data members [-Weffc++] 289 | class file_data_hasher_t : public file_data_t { @@ -1258,27 +1189,6 @@ | ^~~~~~~~~~~~~~~~~~ main.h:298:5: warning: 'file_data_hasher_t::triage_info' should be initialized in the member initialization list [-Weffc++] main.h:298:5: warning: 'file_data_hasher_t::dfxml_hash' should be initialized in the member initialization list [-Weffc++] -xml.h:59:7: warning: 'class XML' has pointer data members [-Weffc++] - 59 | class XML { - | ^~~ -xml.h:59:7: warning: but does not declare 'XML(const XML&)' [-Weffc++] -xml.h:59:7: warning: or 'operator=(const XML&)' [-Weffc++] -xml.h:61:12: note: pointer member 'XML::out' declared here - 61 | FILE *out; // where it is being written - | ^~~ -xml.h:59:7: warning: 'class XML' has pointer data members [-Weffc++] - 59 | class XML { - | ^~~ -xml.h:59:7: warning: but does not declare 'XML(const XML&)' [-Weffc++] -xml.h:59:7: warning: or 'operator=(const XML&)' [-Weffc++] -xml.h:61:12: note: pointer member 'XML::out' declared here - 61 | FILE *out; // where it is being written - | ^~~ -In file included from main.h:26: -threadpool.h: In constructor 'mutex_t::mutex_t()': -threadpool.h:17:5: warning: 'mutex_t::mutex' should be initialized in the member initialization list [-Weffc++] - 17 | mutex_t(){ - | ^~~~~~~ main.h: At global scope: main.h:547:7: warning: 'class display' has pointer data members [-Weffc++] 547 | class display { @@ -1295,11 +1205,6 @@ main.h:567:2: warning: 'display::myoutstream' should be initialized in the member initialization list [-Weffc++] main.h:567:2: warning: 'display::utf8_banner' should be initialized in the member initialization list [-Weffc++] main.h:567:2: warning: 'display::known' should be initialized in the member initialization list [-Weffc++] -In file included from main.h:26: -threadpool.h: In constructor 'mutex_t::mutex_t()': -threadpool.h:17:5: warning: 'mutex_t::mutex' should be initialized in the member initialization list [-Weffc++] - 17 | mutex_t(){ - | ^~~~~~~ main.h: In constructor 'hashlist::hashlist()': main.h:381:7: warning: 'hashlist::last_enabled_algorithms' should be initialized in the member initialization list [-Weffc++] 381 | class hashlist : public std::vector { @@ -1315,18 +1220,6 @@ main.h:567:2: warning: 'display::match' should be initialized in the member initialization list [-Weffc++] main.h:567:2: warning: 'display::return_code' should be initialized in the member initialization list [-Weffc++] main.h:567:2: warning: 'display::opt_outfilename' should be initialized in the member initialization list [-Weffc++] -threadpool.h: In constructor 'worker::worker(threadpool*, int)': -threadpool.h:71:5: warning: 'worker::thread' should be initialized in the member initialization list [-Weffc++] - 71 | worker(class threadpool *master_,int workerid_): master(master_),workerid(workerid_){} - | ^~~~~~ -xml.h:59:7: warning: 'class XML' has pointer data members [-Weffc++] - 59 | class XML { - | ^~~ -xml.h:59:7: warning: but does not declare 'XML(const XML&)' [-Weffc++] -xml.h:59:7: warning: or 'operator=(const XML&)' [-Weffc++] -xml.h:61:12: note: pointer member 'XML::out' declared here - 61 | FILE *out; // where it is being written - | ^~~ main.h: At global scope: main.h:792:7: warning: 'class state' has pointer data members [-Weffc++] 792 | class state { @@ -1343,24 +1236,40 @@ main.h:795:2: warning: 'state::ocb' should be initialized in the member initialization list [-Weffc++] main.h:795:2: warning: 'state::opt_enable_mac_cc' should be initialized in the member initialization list [-Weffc++] main.h:795:2: warning: 'state::dir_table' should be initialized in the member initialization list [-Weffc++] -threadpool.cpp: In constructor 'threadpool::threadpool(int)': -threadpool.cpp:134:1: warning: 'threadpool::M' should be initialized in the member initialization list [-Weffc++] - 134 | threadpool::threadpool(int numworkers_) - | ^~~~~~~~~~ -threadpool.cpp:134:1: warning: 'threadpool::numworkers' should be initialized in the member initialization list [-Weffc++] -threadpool.cpp:134:1: warning: 'threadpool::freethreads' should be initialized in the member initialization list [-Weffc++] -threadpool.cpp:134:1: warning: 'threadpool::TOMAIN' should be initialized in the member initialization list [-Weffc++] -threadpool.cpp:134:1: warning: 'threadpool::TOWORKER' should be initialized in the member initialization list [-Weffc++] -threadpool.cpp:134:1: warning: 'threadpool::work_queue' should be initialized in the member initialization list [-Weffc++] -threadpool.h: In constructor 'worker::worker(threadpool*, int)': -threadpool.h:71:5: warning: 'worker::thread' should be initialized in the member initialization list [-Weffc++] - 71 | worker(class threadpool *master_,int workerid_): master(master_),workerid(workerid_){} - | ^~~~~~ +xml.h:59:7: warning: 'class XML' has pointer data members [-Weffc++] + 59 | class XML { + | ^~~ +xml.h:59:7: warning: but does not declare 'XML(const XML&)' [-Weffc++] +xml.h:59:7: warning: or 'operator=(const XML&)' [-Weffc++] +xml.h:61:12: note: pointer member 'XML::out' declared here + 61 | FILE *out; // where it is being written + | ^~~ +xml.h:59:7: warning: 'class XML' has pointer data members [-Weffc++] + 59 | class XML { + | ^~~ +xml.h:59:7: warning: but does not declare 'XML(const XML&)' [-Weffc++] +xml.h:59:7: warning: or 'operator=(const XML&)' [-Weffc++] +xml.h:61:12: note: pointer member 'XML::out' declared here + 61 | FILE *out; // where it is being written + | ^~~ +In file included from main.h:26: +threadpool.h: In constructor 'mutex_t::mutex_t()': +threadpool.h:17:5: warning: 'mutex_t::mutex' should be initialized in the member initialization list [-Weffc++] + 17 | mutex_t(){ + | ^~~~~~~ In file included from main.h:26: threadpool.h: In constructor 'mutex_t::mutex_t()': threadpool.h:17:5: warning: 'mutex_t::mutex' should be initialized in the member initialization list [-Weffc++] 17 | mutex_t(){ | ^~~~~~~ +threadpool.h: In constructor 'worker::worker(threadpool*, int)': +threadpool.h:71:5: warning: 'worker::thread' should be initialized in the member initialization list [-Weffc++] + 71 | worker(class threadpool *master_,int workerid_): master(master_),workerid(workerid_){} + | ^~~~~~ +threadpool.h: In constructor 'worker::worker(threadpool*, int)': +threadpool.h:71:5: warning: 'worker::thread' should be initialized in the member initialization list [-Weffc++] + 71 | worker(class threadpool *master_,int workerid_): master(master_),workerid(workerid_){} + | ^~~~~~ main.h: In constructor 'file_data_t::file_data_t()': main.h:251:5: warning: 'file_data_t::file_name' should be initialized in the member initialization list [-Weffc++] 251 | file_data_t():file_bytes(0),matched_file_number(0){ @@ -1380,15 +1289,27 @@ | ^~~~~~~~~~~~~~~~~~ main.h:298:5: warning: 'file_data_hasher_t::triage_info' should be initialized in the member initialization list [-Weffc++] main.h:298:5: warning: 'file_data_hasher_t::dfxml_hash' should be initialized in the member initialization list [-Weffc++] -threadpool.h: In constructor 'worker::worker(threadpool*, int)': -threadpool.h:71:5: warning: 'worker::thread' should be initialized in the member initialization list [-Weffc++] - 71 | worker(class threadpool *master_,int workerid_): master(master_),workerid(workerid_){} - | ^~~~~~ main.h: In constructor 'file_data_t::file_data_t()': main.h:251:5: warning: 'file_data_t::file_name' should be initialized in the member initialization list [-Weffc++] 251 | file_data_t():file_bytes(0),matched_file_number(0){ | ^~~~~~~~~~~ main.h: At global scope: +main.h:547:7: warning: 'class display' has pointer data members [-Weffc++] + 547 | class display { + | ^~~~~~~ +main.h:547:7: warning: but does not declare 'display(const display&)' [-Weffc++] +main.h:547:7: warning: or 'operator=(const display&)' [-Weffc++] +main.h:627:26: note: pointer member 'display::tp' declared here + 627 | threadpool *tp; + | ^~ +main.h: In constructor 'display::display()': +main.h:567:2: warning: 'display::M' should be initialized in the member initialization list [-Weffc++] + 567 | display(): + | ^~~~~~~ +main.h:567:2: warning: 'display::myoutstream' should be initialized in the member initialization list [-Weffc++] +main.h:567:2: warning: 'display::utf8_banner' should be initialized in the member initialization list [-Weffc++] +main.h:567:2: warning: 'display::known' should be initialized in the member initialization list [-Weffc++] +main.h: At global scope: main.h:289:7: warning: 'class file_data_hasher_t' has pointer data members [-Weffc++] 289 | class file_data_hasher_t : public file_data_t { | ^~~~~~~~~~~~~~~~~~ @@ -1403,6 +1324,59 @@ | ^~~~~~~~~~~~~~~~~~ main.h:298:5: warning: 'file_data_hasher_t::triage_info' should be initialized in the member initialization list [-Weffc++] main.h:298:5: warning: 'file_data_hasher_t::dfxml_hash' should be initialized in the member initialization list [-Weffc++] +main.h: In constructor 'hashlist::hashlist()': +main.h:381:7: warning: 'hashlist::last_enabled_algorithms' should be initialized in the member initialization list [-Weffc++] + 381 | class hashlist : public std::vector { + | ^~~~~~~~ +main.h:381:7: warning: 'hashlist::filename_column' should be initialized in the member initialization list [-Weffc++] +main.h: In constructor 'display::display()': +main.h:597:39: note: synthesized method 'hashlist::hashlist()' first required here + 597 | primary_function(primary_compute){ + | ^ +main.h:567:2: warning: 'display::seen' should be initialized in the member initialization list [-Weffc++] + 567 | display(): + | ^~~~~~~ +main.h:567:2: warning: 'display::match' should be initialized in the member initialization list [-Weffc++] +main.h:567:2: warning: 'display::return_code' should be initialized in the member initialization list [-Weffc++] +main.h:567:2: warning: 'display::opt_outfilename' should be initialized in the member initialization list [-Weffc++] +main.h: At global scope: +main.h:792:7: warning: 'class state' has pointer data members [-Weffc++] + 792 | class state { + | ^~~~~ +main.h:792:7: warning: but does not declare 'state(const state&)' [-Weffc++] +main.h:792:7: warning: or 'operator=(const state&)' [-Weffc++] +main.h:843:19: note: pointer member 'state::argv' declared here + 843 | char **argv; + | ^~~~ +main.h: In constructor 'state::state()': +main.h:795:2: warning: 'state::opt_input_list' should be initialized in the member initialization list [-Weffc++] + 795 | state():mode_recursive(false), // do we recurse? + | ^~~~~ +main.h:795:2: warning: 'state::ocb' should be initialized in the member initialization list [-Weffc++] +main.h:795:2: warning: 'state::opt_enable_mac_cc' should be initialized in the member initialization list [-Weffc++] +main.h:795:2: warning: 'state::dir_table' should be initialized in the member initialization list [-Weffc++] +In file included from utf8.h:31, + from display.cpp:2: +utf8/checked.h: At global scope: +utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 268 | class iterator : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_algobase.h:65, + from /usr/include/c++/14/bits/specfun.h:43, + from /usr/include/c++/14/cmath:3898, + from /usr/include/c++/14/math.h:36, + from common.h:31, + from main.h:22: +/usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +In file included from utf8.h:32: +utf8/unchecked.h:179:40: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 179 | class iterator : public std::iterator { + | ^~~~~~~~ +/usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ main.h: At global scope: main.h:547:7: warning: 'class display' has pointer data members [-Weffc++] 547 | class display { @@ -1419,6 +1393,54 @@ main.h:567:2: warning: 'display::myoutstream' should be initialized in the member initialization list [-Weffc++] main.h:567:2: warning: 'display::utf8_banner' should be initialized in the member initialization list [-Weffc++] main.h:567:2: warning: 'display::known' should be initialized in the member initialization list [-Weffc++] +display.cpp: In member function 'void display::status(const char*, ...)': +display.cpp:86:12: warning: unnecessary parentheses in declaration of 'ap' [-Wparentheses] + 86 | va_list(ap); + | ^~~~ +display.cpp:86:12: note: remove parentheses + 86 | va_list(ap); + | ^~~~ + | - - +display.cpp: In member function 'void display::error(const char*, ...)': +display.cpp:102:12: warning: unnecessary parentheses in declaration of 'ap' [-Wparentheses] + 102 | va_list(ap); + | ^~~~ +display.cpp:102:12: note: remove parentheses + 102 | va_list(ap); + | ^~~~ + | - - +display.cpp: In member function 'void display::fatal_error(const char*, ...)': +display.cpp:124:12: warning: unnecessary parentheses in declaration of 'ap' [-Wparentheses] + 124 | va_list(ap); + | ^~~~ +xml.h:59:7: warning: 'class XML' has pointer data members [-Weffc++] + 59 | class XML { + | ^~~ +xml.h:59:7: warning: but does not declare 'XML(const XML&)' [-Weffc++] +xml.h:59:7: warning: or 'operator=(const XML&)' [-Weffc++] +xml.h:61:12: note: pointer member 'XML::out' declared here + 61 | FILE *out; // where it is being written + | ^~~ +display.cpp:124:12: note: remove parentheses + 124 | va_list(ap); + | ^~~~ + | - - +display.cpp: In member function 'void display::internal_error(const char*, ...)': +display.cpp:140:12: warning: unnecessary parentheses in declaration of 'ap' [-Wparentheses] + 140 | va_list(ap); + | ^~~~ +display.cpp:140:12: note: remove parentheses + 140 | va_list(ap); + | ^~~~ + | - - +display.cpp: In member function 'void display::error_filename(const std::string&, const char*, ...)': +display.cpp:201:12: warning: unnecessary parentheses in declaration of 'ap' [-Wparentheses] + 201 | va_list(ap); + | ^~~~ +display.cpp:201:12: note: remove parentheses + 201 | va_list(ap); + | ^~~~ + | - - main.h: In constructor 'hashlist::hashlist()': main.h:381:7: warning: 'hashlist::last_enabled_algorithms' should be initialized in the member initialization list [-Weffc++] 381 | class hashlist : public std::vector { @@ -1443,10 +1465,6 @@ main.h:843:19: note: pointer member 'state::argv' declared here 843 | char **argv; | ^~~~ -main.h: In constructor 'file_data_t::file_data_t()': -main.h:251:5: warning: 'file_data_t::file_name' should be initialized in the member initialization list [-Weffc++] - 251 | file_data_t():file_bytes(0),matched_file_number(0){ - | ^~~~~~~~~~~ main.h: In constructor 'state::state()': main.h:795:2: warning: 'state::opt_input_list' should be initialized in the member initialization list [-Weffc++] 795 | state():mode_recursive(false), // do we recurse? @@ -1454,6 +1472,19 @@ main.h:795:2: warning: 'state::ocb' should be initialized in the member initialization list [-Weffc++] main.h:795:2: warning: 'state::opt_enable_mac_cc' should be initialized in the member initialization list [-Weffc++] main.h:795:2: warning: 'state::dir_table' should be initialized in the member initialization list [-Weffc++] +In file included from main.h:26: +threadpool.h: In constructor 'mutex_t::mutex_t()': +threadpool.h:17:5: warning: 'mutex_t::mutex' should be initialized in the member initialization list [-Weffc++] + 17 | mutex_t(){ + | ^~~~~~~ +threadpool.h: In constructor 'worker::worker(threadpool*, int)': +threadpool.h:71:5: warning: 'worker::thread' should be initialized in the member initialization list [-Weffc++] + 71 | worker(class threadpool *master_,int workerid_): master(master_),workerid(workerid_){} + | ^~~~~~ +main.h: In constructor 'file_data_t::file_data_t()': +main.h:251:5: warning: 'file_data_t::file_name' should be initialized in the member initialization list [-Weffc++] + 251 | file_data_t():file_bytes(0),matched_file_number(0){ + | ^~~~~~~~~~~ main.h: At global scope: main.h:289:7: warning: 'class file_data_hasher_t' has pointer data members [-Weffc++] 289 | class file_data_hasher_t : public file_data_t { @@ -1463,6 +1494,12 @@ main.h:332:26: note: pointer member 'file_data_hasher_t::base' declared here 332 | const unsigned char *base; // base of mapped file | ^~~~ +main.h: In constructor 'file_data_hasher_t::file_data_hasher_t(display*)': +main.h:298:5: warning: 'file_data_hasher_t::file_name_to_hash' should be initialized in the member initialization list [-Weffc++] + 298 | file_data_hasher_t(class display *ocb_): + | ^~~~~~~~~~~~~~~~~~ +main.h:298:5: warning: 'file_data_hasher_t::triage_info' should be initialized in the member initialization list [-Weffc++] +main.h:298:5: warning: 'file_data_hasher_t::dfxml_hash' should be initialized in the member initialization list [-Weffc++] main.h: At global scope: main.h:547:7: warning: 'class display' has pointer data members [-Weffc++] 547 | class display { @@ -1472,12 +1509,6 @@ main.h:627:26: note: pointer member 'display::tp' declared here 627 | threadpool *tp; | ^~ -main.h: In constructor 'file_data_hasher_t::file_data_hasher_t(display*)': -main.h:298:5: warning: 'file_data_hasher_t::file_name_to_hash' should be initialized in the member initialization list [-Weffc++] - 298 | file_data_hasher_t(class display *ocb_): - | ^~~~~~~~~~~~~~~~~~ -main.h:298:5: warning: 'file_data_hasher_t::triage_info' should be initialized in the member initialization list [-Weffc++] -main.h:298:5: warning: 'file_data_hasher_t::dfxml_hash' should be initialized in the member initialization list [-Weffc++] main.h: In constructor 'display::display()': main.h:567:2: warning: 'display::M' should be initialized in the member initialization list [-Weffc++] 567 | display(): @@ -1516,6 +1547,42 @@ main.h:795:2: warning: 'state::ocb' should be initialized in the member initialization list [-Weffc++] main.h:795:2: warning: 'state::opt_enable_mac_cc' should be initialized in the member initialization list [-Weffc++] main.h:795:2: warning: 'state::dir_table' should be initialized in the member initialization list [-Weffc++] +xml.h:59:7: warning: 'class XML' has pointer data members [-Weffc++] + 59 | class XML { + | ^~~ +xml.h:59:7: warning: but does not declare 'XML(const XML&)' [-Weffc++] +xml.h:59:7: warning: or 'operator=(const XML&)' [-Weffc++] +xml.h:61:12: note: pointer member 'XML::out' declared here + 61 | FILE *out; // where it is being written + | ^~~ +In file included from main.h:26: +threadpool.h: In constructor 'mutex_t::mutex_t()': +threadpool.h:17:5: warning: 'mutex_t::mutex' should be initialized in the member initialization list [-Weffc++] + 17 | mutex_t(){ + | ^~~~~~~ +threadpool.h: In constructor 'worker::worker(threadpool*, int)': +threadpool.h:71:5: warning: 'worker::thread' should be initialized in the member initialization list [-Weffc++] + 71 | worker(class threadpool *master_,int workerid_): master(master_),workerid(workerid_){} + | ^~~~~~ +main.h: In constructor 'file_data_t::file_data_t()': +main.h:251:5: warning: 'file_data_t::file_name' should be initialized in the member initialization list [-Weffc++] + 251 | file_data_t():file_bytes(0),matched_file_number(0){ + | ^~~~~~~~~~~ +main.h: At global scope: +main.h:289:7: warning: 'class file_data_hasher_t' has pointer data members [-Weffc++] + 289 | class file_data_hasher_t : public file_data_t { + | ^~~~~~~~~~~~~~~~~~ +main.h:289:7: warning: but does not declare 'file_data_hasher_t(const file_data_hasher_t&)' [-Weffc++] +main.h:289:7: warning: or 'operator=(const file_data_hasher_t&)' [-Weffc++] +main.h:332:26: note: pointer member 'file_data_hasher_t::base' declared here + 332 | const unsigned char *base; // base of mapped file + | ^~~~ +main.h: In constructor 'file_data_hasher_t::file_data_hasher_t(display*)': +main.h:298:5: warning: 'file_data_hasher_t::file_name_to_hash' should be initialized in the member initialization list [-Weffc++] + 298 | file_data_hasher_t(class display *ocb_): + | ^~~~~~~~~~~~~~~~~~ +main.h:298:5: warning: 'file_data_hasher_t::triage_info' should be initialized in the member initialization list [-Weffc++] +main.h:298:5: warning: 'file_data_hasher_t::dfxml_hash' should be initialized in the member initialization list [-Weffc++] main.h: At global scope: main.h:547:7: warning: 'class display' has pointer data members [-Weffc++] 547 | class display { @@ -1532,28 +1599,6 @@ main.h:567:2: warning: 'display::myoutstream' should be initialized in the member initialization list [-Weffc++] main.h:567:2: warning: 'display::utf8_banner' should be initialized in the member initialization list [-Weffc++] main.h:567:2: warning: 'display::known' should be initialized in the member initialization list [-Weffc++] -In file included from utf8.h:31, - from main.cpp:21: -utf8/checked.h: At global scope: -utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 268 | class iterator : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_algobase.h:65, - from /usr/include/c++/14/bits/specfun.h:43, - from /usr/include/c++/14/cmath:3898, - from /usr/include/c++/14/math.h:36, - from common.h:31, - from main.h:22: -/usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -In file included from utf8.h:32: -utf8/unchecked.h:179:40: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 179 | class iterator : public std::iterator { - | ^~~~~~~~ -/usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ main.h: In constructor 'hashlist::hashlist()': main.h:381:7: warning: 'hashlist::last_enabled_algorithms' should be initialized in the member initialization list [-Weffc++] 381 | class hashlist : public std::vector { @@ -1583,26 +1628,17 @@ 795 | state():mode_recursive(false), // do we recurse? | ^~~~~ main.h:795:2: warning: 'state::ocb' should be initialized in the member initialization list [-Weffc++] -main.h: In constructor 'algorithm_t::algorithm_t()': -main.h:124:7: warning: 'algorithm_t::inuse' should be initialized in the member initialization list [-Weffc++] - 124 | class algorithm_t { - | ^~~~~~~~~~~ -main.h:124:7: warning: 'algorithm_t::name' should be initialized in the member initialization list [-Weffc++] main.h:795:2: warning: 'state::opt_enable_mac_cc' should be initialized in the member initialization list [-Weffc++] main.h:795:2: warning: 'state::dir_table' should be initialized in the member initialization list [-Weffc++] -main.h:124:7: warning: 'algorithm_t::bit_length' should be initialized in the member initialization list [-Weffc++] -main.h:124:7: warning: 'algorithm_t::id' should be initialized in the member initialization list [-Weffc++] -main.h:124:7: warning: 'algorithm_t::f_init' should be initialized in the member initialization list [-Weffc++] -main.h:124:7: warning: 'algorithm_t::f_update' should be initialized in the member initialization list [-Weffc++] -main.h:124:7: warning: 'algorithm_t::f_finalize' should be initialized in the member initialization list [-Weffc++] -main.cpp: At global scope: -main.cpp:291:38: note: synthesized method 'algorithm_t::algorithm_t()' first required here - 291 | algorithm_t hashes[NUM_ALGORITHMS]; // which hash algorithms are available and in use - | ^ -main.cpp: In static member function 'static tstring global::getcwd()': -main.cpp:848:13: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 848 | ::getcwd(buf,sizeof(buf)); - | ~~~~~~~~^~~~~~~~~~~~~~~~~ +threadpool.cpp: In constructor 'threadpool::threadpool(int)': +threadpool.cpp:134:1: warning: 'threadpool::M' should be initialized in the member initialization list [-Weffc++] + 134 | threadpool::threadpool(int numworkers_) + | ^~~~~~~~~~ +threadpool.cpp:134:1: warning: 'threadpool::numworkers' should be initialized in the member initialization list [-Weffc++] +threadpool.cpp:134:1: warning: 'threadpool::freethreads' should be initialized in the member initialization list [-Weffc++] +threadpool.cpp:134:1: warning: 'threadpool::TOMAIN' should be initialized in the member initialization list [-Weffc++] +threadpool.cpp:134:1: warning: 'threadpool::TOWORKER' should be initialized in the member initialization list [-Weffc++] +threadpool.cpp:134:1: warning: 'threadpool::work_queue' should be initialized in the member initialization list [-Weffc++] g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hashdeep-4.4+git20170824+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -MD -D_FORTIFY_SOURCE=2 -Wpointer-arith -Wshadow -Wwrite-strings -Wcast-align -Wredundant-decls -Wdisabled-optimization -Wfloat-equal -Wmultichar -Wmissing-noreturn -Wstrict-null-sentinel -Woverloaded-virtual -Wsign-promo -funit-at-a-time -Weffc++ -L/usr/local/lib -Wl,-z,relro -Wl,-z,now -o hashdeep md5.o sha1.o sha256.o whirlpool.o tiger.o main.o hashlist.o multihash.o display.o hash.o dig.o helpers.o xml.o files.o threadpool.o winpe.o g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hashdeep-4.4+git20170824+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -MD -D_FORTIFY_SOURCE=2 -Wpointer-arith -Wshadow -Wwrite-strings -Wcast-align -Wredundant-decls -Wdisabled-optimization -Wfloat-equal -Wmultichar -Wmissing-noreturn -Wstrict-null-sentinel -Woverloaded-virtual -Wsign-promo -funit-at-a-time -Weffc++ -L/usr/local/lib -Wl,-z,relro -Wl,-z,now -o md5deep md5.o sha1.o sha256.o whirlpool.o tiger.o main.o hashlist.o multihash.o display.o hash.o dig.o helpers.o xml.o files.o threadpool.o winpe.o g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hashdeep-4.4+git20170824+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -MD -D_FORTIFY_SOURCE=2 -Wpointer-arith -Wshadow -Wwrite-strings -Wcast-align -Wredundant-decls -Wdisabled-optimization -Wfloat-equal -Wmultichar -Wmissing-noreturn -Wstrict-null-sentinel -Woverloaded-virtual -Wsign-promo -funit-at-a-time -Weffc++ -L/usr/local/lib -Wl,-z,relro -Wl,-z,now -o sha1deep md5.o sha1.o sha256.o whirlpool.o tiger.o main.o hashlist.o multihash.o display.o hash.o dig.o helpers.o xml.o files.o threadpool.o winpe.o @@ -1629,13 +1665,13 @@ create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install --destdir=debian/hashdeep/ - make -j42 install DESTDIR=/build/reproducible-path/hashdeep-4.4\+git20170824\+ds/debian/hashdeep AM_UPDATE_INFO_DIR=no + make -j20 install DESTDIR=/build/reproducible-path/hashdeep-4.4\+git20170824\+ds/debian/hashdeep AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/reproducible-path/hashdeep-4.4+git20170824+ds' Making install in src make[2]: Entering directory '/build/reproducible-path/hashdeep-4.4+git20170824+ds/src' make[3]: Entering directory '/build/reproducible-path/hashdeep-4.4+git20170824+ds/src' -make[3]: Nothing to be done for 'install-data-am'. /usr/bin/mkdir -p '/build/reproducible-path/hashdeep-4.4+git20170824+ds/debian/hashdeep/usr/bin' +make[3]: Nothing to be done for 'install-data-am'. /usr/bin/install -c hashdeep md5deep sha1deep sha256deep whirlpooldeep tigerdeep '/build/reproducible-path/hashdeep-4.4+git20170824+ds/debian/hashdeep/usr/bin' make[3]: Leaving directory '/build/reproducible-path/hashdeep-4.4+git20170824+ds/src' make[2]: Leaving directory '/build/reproducible-path/hashdeep-4.4+git20170824+ds/src' @@ -1702,12 +1738,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/129582/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/129582/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/3062394 and its subdirectories -I: Current time: Sat Jan 17 00:24:49 -12 2026 -I: pbuilder-time-stamp: 1768652689 +I: removing directory /srv/workspace/pbuilder/129582 and its subdirectories +I: Current time: Sun Dec 15 20:05:10 +14 2024 +I: pbuilder-time-stamp: 1734242710