Diff of the two buildlogs: -- --- b1/build.log 2024-10-24 21:01:41.753763927 +0000 +++ b2/build.log 2024-10-24 21:08:52.778477694 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Nov 26 15:23:35 -12 2025 -I: pbuilder-time-stamp: 1764213815 +I: Current time: Fri Oct 25 11:01:45 +14 2024 +I: pbuilder-time-stamp: 1729803705 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -27,52 +27,84 @@ dpkg-source: info: applying src-core-matrix I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1747989/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2767451/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-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 Oct 24 21: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/2767451/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2767451/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='unstable' - 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]="32" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.32(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=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='684268b77eab41d9b7a09f565e8da220' - 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='1747989' - PS1='# ' - PS2='> ' + INVOCATION_ID=68febd838e5f4389be2272278011c2bd + 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=2767451 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.8TDes1L4/pbuilderrc_GDi5 --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.8TDes1L4/b1 --logfile b1/build.log ctffind_4.1.14-3.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.8TDes1L4/pbuilderrc_LMeN --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.8TDes1L4/b2 --logfile b2/build.log ctffind_4.1.14-3.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos15-amd64 6.10.11+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.11-1~bpo12+1 (2024-10-03) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1747989/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2767451/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -323,7 +355,7 @@ Get: 205 http://deb.debian.org/debian unstable/main amd64 wx-common amd64 3.2.6+dfsg-2 [119 kB] Get: 206 http://deb.debian.org/debian unstable/main amd64 wx3.2-headers all 3.2.6+dfsg-2 [1127 kB] Get: 207 http://deb.debian.org/debian unstable/main amd64 libwxgtk3.2-dev amd64 3.2.6+dfsg-2 [80.4 kB] -Fetched 114 MB in 3s (34.2 MB/s) +Fetched 114 MB in 7s (15.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libapparmor1:amd64. (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 ... 19947 files and directories currently installed.) @@ -1186,7 +1218,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/ctffind-4.1.14/ && 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 > ../ctffind_4.1.14-3_source.changes +I: user script /srv/workspace/pbuilder/2767451/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/2767451/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ctffind-4.1.14/ && 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 > ../ctffind_4.1.14-3_source.changes dpkg-buildpackage: info: source package ctffind dpkg-buildpackage: info: source version 4.1.14-3 dpkg-buildpackage: info: source distribution unstable @@ -1341,15 +1377,9 @@ config.status: executing depfiles commands config.status: executing libtool commands dh_auto_build - make -j42 + make -j20 make[1]: Entering directory '/build/reproducible-path/ctffind-4.1.14' g++ -DPACKAGE_NAME=\"ctffind\" -DPACKAGE_TARNAME=\"ctffind\" -DPACKAGE_VERSION=\"4.1.14\" -DPACKAGE_STRING=\"ctffind\ 4.1.14\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ctffind\" -DVERSION=\"4.1.14\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -Dwx_is_available=1 -I. -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o ctffind-image_trim.o `test -f 'image_trim.cpp' || echo './'`image_trim.cpp -g++ -DPACKAGE_NAME=\"ctffind\" -DPACKAGE_TARNAME=\"ctffind\" -DPACKAGE_VERSION=\"4.1.14\" -DPACKAGE_STRING=\"ctffind\ 4.1.14\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ctffind\" -DVERSION=\"4.1.14\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -Dwx_is_available=1 -I. -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/programs/ctffind/ctffind-ctffind.o `test -f 'src/programs/ctffind/ctffind.cpp' || echo './'`src/programs/ctffind/ctffind.cpp -g++ -DPACKAGE_NAME=\"ctffind\" -DPACKAGE_TARNAME=\"ctffind\" -DPACKAGE_VERSION=\"4.1.14\" -DPACKAGE_STRING=\"ctffind\ 4.1.14\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ctffind\" -DVERSION=\"4.1.14\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -Dwx_is_available=1 -I. -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-functions.o `test -f 'src/core/functions.cpp' || echo './'`src/core/functions.cpp -g++ -DPACKAGE_NAME=\"ctffind\" -DPACKAGE_TARNAME=\"ctffind\" -DPACKAGE_VERSION=\"4.1.14\" -DPACKAGE_STRING=\"ctffind\ 4.1.14\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ctffind\" -DVERSION=\"4.1.14\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -Dwx_is_available=1 -I. -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-globals.o `test -f 'src/core/globals.cpp' || echo './'`src/core/globals.cpp -g++ -DPACKAGE_NAME=\"ctffind\" -DPACKAGE_TARNAME=\"ctffind\" -DPACKAGE_VERSION=\"4.1.14\" -DPACKAGE_STRING=\"ctffind\ 4.1.14\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ctffind\" -DVERSION=\"4.1.14\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -Dwx_is_available=1 -I. -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-randomnumbergenerator.o `test -f 'src/core/randomnumbergenerator.cpp' || echo './'`src/core/randomnumbergenerator.cpp -g++ -DPACKAGE_NAME=\"ctffind\" -DPACKAGE_TARNAME=\"ctffind\" -DPACKAGE_VERSION=\"4.1.14\" -DPACKAGE_STRING=\"ctffind\ 4.1.14\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ctffind\" -DVERSION=\"4.1.14\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -Dwx_is_available=1 -I. -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-userinput.o `test -f 'src/core/userinput.cpp' || echo './'`src/core/userinput.cpp -g++ -DPACKAGE_NAME=\"ctffind\" -DPACKAGE_TARNAME=\"ctffind\" -DPACKAGE_VERSION=\"4.1.14\" -DPACKAGE_STRING=\"ctffind\ 4.1.14\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ctffind\" -DVERSION=\"4.1.14\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -Dwx_is_available=1 -I. -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-curve.o `test -f 'src/core/curve.cpp' || echo './'`src/core/curve.cpp g++ -DPACKAGE_NAME=\"ctffind\" -DPACKAGE_TARNAME=\"ctffind\" -DPACKAGE_VERSION=\"4.1.14\" -DPACKAGE_STRING=\"ctffind\ 4.1.14\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ctffind\" -DVERSION=\"4.1.14\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -Dwx_is_available=1 -I. -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-matrix.o `test -f 'src/core/matrix.cpp' || echo './'`src/core/matrix.cpp g++ -DPACKAGE_NAME=\"ctffind\" -DPACKAGE_TARNAME=\"ctffind\" -DPACKAGE_VERSION=\"4.1.14\" -DPACKAGE_STRING=\"ctffind\ 4.1.14\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ctffind\" -DVERSION=\"4.1.14\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -Dwx_is_available=1 -I. -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-symmetry_matrix.o `test -f 'src/core/symmetry_matrix.cpp' || echo './'`src/core/symmetry_matrix.cpp g++ -DPACKAGE_NAME=\"ctffind\" -DPACKAGE_TARNAME=\"ctffind\" -DPACKAGE_VERSION=\"4.1.14\" -DPACKAGE_STRING=\"ctffind\ 4.1.14\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ctffind\" -DVERSION=\"4.1.14\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -Dwx_is_available=1 -I. -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-abstract_image_file.o `test -f 'src/core/abstract_image_file.cpp' || echo './'`src/core/abstract_image_file.cpp @@ -1369,18 +1399,30 @@ g++ -DPACKAGE_NAME=\"ctffind\" -DPACKAGE_TARNAME=\"ctffind\" -DPACKAGE_VERSION=\"4.1.14\" -DPACKAGE_STRING=\"ctffind\ 4.1.14\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ctffind\" -DVERSION=\"4.1.14\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -Dwx_is_available=1 -I. -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-downhill_simplex.o `test -f 'src/core/downhill_simplex.cpp' || echo './'`src/core/downhill_simplex.cpp g++ -DPACKAGE_NAME=\"ctffind\" -DPACKAGE_TARNAME=\"ctffind\" -DPACKAGE_VERSION=\"4.1.14\" -DPACKAGE_STRING=\"ctffind\ 4.1.14\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ctffind\" -DVERSION=\"4.1.14\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -Dwx_is_available=1 -I. -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-brute_force_search.o `test -f 'src/core/brute_force_search.cpp' || echo './'`src/core/brute_force_search.cpp g++ -DPACKAGE_NAME=\"ctffind\" -DPACKAGE_TARNAME=\"ctffind\" -DPACKAGE_VERSION=\"4.1.14\" -DPACKAGE_STRING=\"ctffind\ 4.1.14\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ctffind\" -DVERSION=\"4.1.14\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -Dwx_is_available=1 -I. -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-va04.o `test -f 'src/core/va04.cpp' || echo './'`src/core/va04.cpp -g++ -DPACKAGE_NAME=\"ctffind\" -DPACKAGE_TARNAME=\"ctffind\" -DPACKAGE_VERSION=\"4.1.14\" -DPACKAGE_STRING=\"ctffind\ 4.1.14\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ctffind\" -DVERSION=\"4.1.14\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -Dwx_is_available=1 -I. -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-conjugate_gradient.o `test -f 'src/core/conjugate_gradient.cpp' || echo './'`src/core/conjugate_gradient.cpp src/core/brute_force_search.cpp:246: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 246 | #pragma omp parallel for default(none) num_threads(numThreads) shared( all_values, all_local_best_values, all_scores,numThreads,num_iterations_completed,my_progress_bar) private(current_iteration, current_values, current_values_for_local_minimization, i, accuracy_for_local_minimization) src/core/brute_force_search.cpp:257: warning: ignoring '#pragma omp atomic' [-Wunknown-pragmas] 257 | #pragma omp atomic -src/core/curve.cpp:1067:1: warning: "/*" within comment [-Wcomment] - 1067 | /**************************************************************** -src/core/userinput.cpp:160:45: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 160 | wxPrintf(" Compiled : %s\n", __DATE__); - | ^~~~~~~~ +src/core/va04.cpp: In function 'int va04a_(int*, float*, float*, int*, float (*)(void*, float*), void*, float*, int*, int*, int*, float*)': +src/core/va04.cpp:74:33: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse] + 74 | int s_wsfe(cilist *), e_wsfe(); + | ^~ +src/core/va04.cpp:74:33: note: remove parentheses to default-initialize a variable + 74 | int s_wsfe(cilist *), e_wsfe(); + | ^~ + | -- +src/core/va04.cpp:74:33: note: or replace parentheses with braces to value-initialize a variable +src/core/va04.cpp:100:19: warning: unused variable 'io___32' [-Wunused-variable] + 100 | static cilist io___32 = { 0, 6, 0, fmt_19, 0 }; + | ^~~~~~~ +src/core/va04.cpp:101:19: warning: unused variable 'io___42' [-Wunused-variable] + 101 | static cilist io___42 = { 0, 6, 0, fmt_52, 0 }; + | ^~~~~~~ +src/core/va04.cpp:102:19: warning: unused variable 'io___45' [-Wunused-variable] + 102 | static cilist io___45 = { 0, 6, 0, fmt_80, 0 }; + | ^~~~~~~ In file included from src/core/core_headers.h:80, - from src/core/job_tracker.cpp:1: + from src/core/ctf.cpp:1: src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) @@ -1390,7 +1432,7 @@ 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/core/core_headers.h:80, - from src/core/downhill_simplex.cpp:1: + from src/core/image_file.cpp:1: src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) @@ -1399,8 +1441,53 @@ src/core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/core/image_file.cpp: In member function 'virtual bool ImageFile::OpenFile(std::string, bool, bool)': +src/core/image_file.cpp:58:158: warning: statement is a reference, not call, to function 'abort' [-Waddress] + 58 | default: MyPrintWithDetails("Unsupported file type\n"); MyDebugAssertTrue(false,"Unsupported file type: %s\n",filename.GetFullPath().ToStdString()); abort; break; + | ^~~~~ +src/core/image_file.cpp:58:158: warning: statement has no effect [-Wunused-value] +src/core/image_file.cpp: In member function 'virtual void ImageFile::ReadSlicesFromDisk(int, int, float*)': +src/core/image_file.cpp:85:65: warning: statement is a reference, not call, to function 'abort' [-Waddress] + 85 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; + | ^~~~~ +src/core/image_file.cpp:85:65: warning: statement has no effect [-Wunused-value] +src/core/image_file.cpp: In member function 'virtual void ImageFile::WriteSlicesToDisk(int, int, float*)': +src/core/image_file.cpp:101:65: warning: statement is a reference, not call, to function 'abort' [-Waddress] + 101 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; + | ^~~~~ +src/core/image_file.cpp:101:65: warning: statement has no effect [-Wunused-value] +src/core/image_file.cpp: In member function 'virtual int ImageFile::ReturnXSize()': +src/core/image_file.cpp:113:65: warning: statement is a reference, not call, to function 'abort' [-Waddress] + 113 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; + | ^~~~~ +src/core/image_file.cpp:113:65: warning: statement has no effect [-Wunused-value] +src/core/image_file.cpp: In member function 'virtual int ImageFile::ReturnYSize()': +src/core/image_file.cpp:124:65: warning: statement is a reference, not call, to function 'abort' [-Waddress] + 124 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; + | ^~~~~ +src/core/image_file.cpp:124:65: warning: statement has no effect [-Wunused-value] +src/core/image_file.cpp: In member function 'virtual int ImageFile::ReturnZSize()': +src/core/image_file.cpp:135:65: warning: statement is a reference, not call, to function 'abort' [-Waddress] + 135 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; + | ^~~~~ +src/core/image_file.cpp:135:65: warning: statement has no effect [-Wunused-value] +src/core/image_file.cpp: In member function 'virtual int ImageFile::ReturnNumberOfSlices()': +src/core/image_file.cpp:146:65: warning: statement is a reference, not call, to function 'abort' [-Waddress] + 146 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; + | ^~~~~ +src/core/image_file.cpp:146:65: warning: statement has no effect [-Wunused-value] +src/core/image_file.cpp: In member function 'virtual float ImageFile::ReturnPixelSize()': +src/core/image_file.cpp:157:65: warning: statement is a reference, not call, to function 'abort' [-Waddress] + 157 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; + | ^~~~~ +src/core/image_file.cpp:157:65: warning: statement has no effect [-Wunused-value] +src/core/image_file.cpp: In member function 'virtual bool ImageFile::IsOpen()': +src/core/image_file.cpp:168:65: warning: statement is a reference, not call, to function 'abort' [-Waddress] + 168 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; + | ^~~~~ +src/core/image_file.cpp:168:65: warning: statement has no effect [-Wunused-value] In file included from src/core/core_headers.h:80, - from src/core/abstract_image_file.cpp:1: + from src/core/run_profiles.cpp:1: src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) @@ -1409,15 +1496,12 @@ src/core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/core/job_tracker.cpp: In member function 'void JobTracker::MarkJobFinished()': -src/core/job_tracker.cpp:62:14: warning: unused variable 'seconds_per_job_per_process_since_last_update' [-Wunused-variable] - 62 | long seconds_per_job_per_process_since_last_update; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/core/job_tracker.cpp:63:14: warning: unused variable 'time_since_last_update' [-Wunused-variable] - 63 | long time_since_last_update = current_time - last_update_time; - | ^~~~~~~~~~~~~~~~~~~~~~ +src/core/va04.cpp: At global scope: +src/core/va04.cpp:21:12: warning: 'c__1' defined but not used [-Wunused-variable] + 21 | static int c__1 = 1; + | ^~~~ In file included from src/core/core_headers.h:80, - from src/core/tiff_file.cpp:1: + from image_trim.cpp:1: src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) @@ -1426,8 +1510,107 @@ src/core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from src/core/core_headers.h:52: +src/core/image_file.cpp: In member function 'virtual int ImageFile::ReturnXSize()': +src/core/defines.h:25:65: warning: control reaches end of non-void function [-Wreturn-type] + 25 | #define MyPrintWithDetails(...) {wxPrintf(__VA_ARGS__); wxPrintf("From %s:%i\n%s\n", __FILE__,__LINE__,__PRETTY_FUNCTION__);} + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/core/image_file.cpp:113:18: note: in expansion of macro 'MyPrintWithDetails' + 113 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; + | ^~~~~~~~~~~~~~~~~~ +src/core/image_file.cpp: In member function 'virtual int ImageFile::ReturnYSize()': +src/core/defines.h:25:65: warning: control reaches end of non-void function [-Wreturn-type] + 25 | #define MyPrintWithDetails(...) {wxPrintf(__VA_ARGS__); wxPrintf("From %s:%i\n%s\n", __FILE__,__LINE__,__PRETTY_FUNCTION__);} + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/core/image_file.cpp:124:18: note: in expansion of macro 'MyPrintWithDetails' + 124 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; + | ^~~~~~~~~~~~~~~~~~ +src/core/image_file.cpp: In member function 'virtual int ImageFile::ReturnZSize()': +src/core/defines.h:25:65: warning: control reaches end of non-void function [-Wreturn-type] + 25 | #define MyPrintWithDetails(...) {wxPrintf(__VA_ARGS__); wxPrintf("From %s:%i\n%s\n", __FILE__,__LINE__,__PRETTY_FUNCTION__);} + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/core/image_file.cpp:135:18: note: in expansion of macro 'MyPrintWithDetails' + 135 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; + | ^~~~~~~~~~~~~~~~~~ +src/core/image_file.cpp: In member function 'virtual int ImageFile::ReturnNumberOfSlices()': +src/core/defines.h:25:65: warning: control reaches end of non-void function [-Wreturn-type] + 25 | #define MyPrintWithDetails(...) {wxPrintf(__VA_ARGS__); wxPrintf("From %s:%i\n%s\n", __FILE__,__LINE__,__PRETTY_FUNCTION__);} + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/core/image_file.cpp:146:18: note: in expansion of macro 'MyPrintWithDetails' + 146 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; + | ^~~~~~~~~~~~~~~~~~ +src/core/image_file.cpp: In member function 'virtual float ImageFile::ReturnPixelSize()': +src/core/defines.h:25:65: warning: control reaches end of non-void function [-Wreturn-type] + 25 | #define MyPrintWithDetails(...) {wxPrintf(__VA_ARGS__); wxPrintf("From %s:%i\n%s\n", __FILE__,__LINE__,__PRETTY_FUNCTION__);} + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/core/image_file.cpp:157:18: note: in expansion of macro 'MyPrintWithDetails' + 157 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; + | ^~~~~~~~~~~~~~~~~~ +src/core/image_file.cpp: In member function 'virtual bool ImageFile::IsOpen()': +src/core/defines.h:25:65: warning: control reaches end of non-void function [-Wreturn-type] + 25 | #define MyPrintWithDetails(...) {wxPrintf(__VA_ARGS__); wxPrintf("From %s:%i\n%s\n", __FILE__,__LINE__,__PRETTY_FUNCTION__);} + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/core/image_file.cpp:168:18: note: in expansion of macro 'MyPrintWithDetails' + 168 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; + | ^~~~~~~~~~~~~~~~~~ +image_trim.cpp: In member function 'void Image::MultiplyPixelWise(Image&)': +image_trim.cpp:115:13: warning: unused variable 'i' [-Wunused-variable] + 115 | int i; + | ^ +image_trim.cpp: In member function 'void Image::WriteSlices(MRCFile*, long int, long int)': +image_trim.cpp:1277:13: warning: unused variable 'number_of_slices' [-Wunused-variable] + 1277 | int number_of_slices = (end_slice - start_slice) + 1; + | ^~~~~~~~~~~~~~~~ +image_trim.cpp: In member function 'void Image::UpdateDistributionOfRealValues(EmpiricalDistribution*, float, bool, float, float, float)': +image_trim.cpp:1953:15: warning: unused variable 'edge' [-Wunused-variable] + 1953 | float edge; + | ^~~~ +image_trim.cpp: In member function 'void Image::ComputeAmplitudeSpectrumFull2D(Image*, bool, float)': +image_trim.cpp:2711:13: warning: unused variable 'image_addr_i' [-Wunused-variable] + 2711 | int image_addr_i; + | ^~~~~~~~~~~~ +image_trim.cpp:2712:13: warning: unused variable 'image_addr_j' [-Wunused-variable] + 2712 | int image_addr_j; + | ^~~~~~~~~~~~ +image_trim.cpp:2713:13: warning: unused variable 'i_mate' [-Wunused-variable] + 2713 | int i_mate; + | ^~~~~~ +image_trim.cpp:2714:13: warning: unused variable 'j_mate' [-Wunused-variable] + 2714 | int j_mate; + | ^~~~~~ +image_trim.cpp: In member function 'void Image::SpectrumBoxConvolution(Image*, int, float)': +image_trim.cpp:2783:13: warning: unused variable 'l' [-Wunused-variable] + 2783 | int l; + | ^ +image_trim.cpp:2793:14: warning: unused variable 'address_within_input' [-Wunused-variable] + 2793 | long address_within_input; + | ^~~~~~~~~~~~~~~~~~~~ +image_trim.cpp: In member function 'void Image::TaperEdges()': +image_trim.cpp:3082:57: warning: variable 'second_dimension' set but not used [-Wunused-but-set-variable] + 3082 | int second_dimension; + | ^~~~~~~~~~~~~~~~ +image_trim.cpp:3083:57: warning: variable 'third_dimension' set but not used [-Wunused-but-set-variable] + 3083 | int third_dimension; + | ^~~~~~~~~~~~~~~ +image_trim.cpp: In member function 'void Image::InsertOtherImageAtSpecifiedPosition(Image*, int, int, int, float)': +image_trim.cpp:3427:13: warning: unused variable 'kk_logi' [-Wunused-variable] + 3427 | int kk_logi; + | ^~~~~~~ +image_trim.cpp:3430:13: warning: unused variable 'jj_logi' [-Wunused-variable] + 3430 | int jj_logi; + | ^~~~~~~ +image_trim.cpp:3434:13: warning: unused variable 'ii_logi' [-Wunused-variable] + 3434 | int ii_logi; + | ^~~~~~~ +image_trim.cpp: In member function 'void Image::ClipInto(Image*, float, bool, float, int, int, int)': +image_trim.cpp:3482:13: warning: unused variable 'array_address' [-Wunused-variable] + 3482 | int array_address = 0; + | ^~~~~~~~~~~~~ +image_trim.cpp:3500:16: warning: unused variable 'junk' [-Wunused-variable] + 3500 | double junk; + | ^~~~ In file included from src/core/core_headers.h:80, - from image_trim.cpp:1: + from src/core/empirical_distribution.cpp:1: src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) @@ -1437,7 +1620,7 @@ 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/core/core_headers.h:80, - from src/core/mrc_header.cpp:1: + from src/core/downhill_simplex.cpp:1: src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) @@ -1447,7 +1630,7 @@ 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/core/core_headers.h:80, - from src/core/ctf.cpp:1: + from src/core/numeric_text_file.cpp:1: src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) @@ -1456,8 +1639,9 @@ src/core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -DPACKAGE_NAME=\"ctffind\" -DPACKAGE_TARNAME=\"ctffind\" -DPACKAGE_VERSION=\"4.1.14\" -DPACKAGE_STRING=\"ctffind\ 4.1.14\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ctffind\" -DVERSION=\"4.1.14\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -Dwx_is_available=1 -I. -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-conjugate_gradient.o `test -f 'src/core/conjugate_gradient.cpp' || echo './'`src/core/conjugate_gradient.cpp In file included from src/core/core_headers.h:80, - from src/core/numeric_text_file.cpp:1: + from src/core/progressbar.cpp:1: src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) @@ -1467,13 +1651,28 @@ 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/core/core_headers.h:80, - from src/core/dm_file.cpp:6: + from src/core/myapp.cpp:2: src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnPhiBin(float)': +src/core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/core/myapp.cpp: In member function 'virtual bool MyApp::OnInit()': +src/core/myapp.cpp:170:35: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 170 | for (counter = 0; counter < possible_controller_addresses.GetCount(); counter++) + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/core/myapp.cpp: In member function 'void MyApp::OnSlaveSocketEvent(wxSocketEvent&)': +src/core/myapp.cpp:779:55: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 779 | for (int counter = 0; counter < temp_array.GetCount(); counter++) + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +src/core/myapp.cpp:664:16: warning: unused variable 'result' [-Wunused-variable] + 664 | float *result; + | ^~~~~~ In file included from src/core/core_headers.h:80, - from src/core/functions.cpp:1: + from src/core/dm_file.cpp:6: src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) @@ -1482,12 +1681,8 @@ src/core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnPhiBin(float)': -src/core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/core/core_headers.h:80, - from src/core/matrix.cpp:1: + from src/core/mrc_header.cpp:1: src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) @@ -1496,102 +1691,17 @@ src/core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from src/programs/ctffind/../../core/core_headers.h:80, - from src/programs/ctffind/ctffind.cpp:1: -src/programs/ctffind/../../core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': -src/programs/ctffind/../../core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] +In file included from src/core/core_headers.h:80, + from src/core/job_packager.cpp:1: +src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': +src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/programs/ctffind/../../core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnPhiBin(float)': -src/programs/ctffind/../../core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] +src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnPhiBin(float)': +src/core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/core/tiff_file.cpp: In member function 'bool TiffFile::ReadLogicalDimensionsFromDisk()': -src/core/tiff_file.cpp:108:76: warning: comparison of integer expressions of different signedness: 'int' and 'uint32' {aka 'unsigned int'} [-Wsign-compare] - 108 | if (current_x != original_x || logical_dimension_y != current_y) - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -image_trim.cpp: In member function 'void Image::MultiplyPixelWise(Image&)': -image_trim.cpp:115:13: warning: unused variable 'i' [-Wunused-variable] - 115 | int i; - | ^ -src/core/tiff_file.cpp: In member function 'virtual void TiffFile::ReadSlicesFromDisk(int, int, float*)': -src/core/tiff_file.cpp:149:80: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] - 149 | for (unsigned int directory_counter = start_slice-1; directory_counter < end_slice; directory_counter ++ ) - | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -image_trim.cpp: In member function 'void Image::WriteSlices(MRCFile*, long int, long int)': -image_trim.cpp:1277:13: warning: unused variable 'number_of_slices' [-Wunused-variable] - 1277 | int number_of_slices = (end_slice - start_slice) + 1; - | ^~~~~~~~~~~~~~~~ -image_trim.cpp: In member function 'void Image::UpdateDistributionOfRealValues(EmpiricalDistribution*, float, bool, float, float, float)': -image_trim.cpp:1953:15: warning: unused variable 'edge' [-Wunused-variable] - 1953 | float edge; - | ^~~~ -image_trim.cpp: In member function 'void Image::ComputeAmplitudeSpectrumFull2D(Image*, bool, float)': -image_trim.cpp:2711:13: warning: unused variable 'image_addr_i' [-Wunused-variable] - 2711 | int image_addr_i; - | ^~~~~~~~~~~~ -image_trim.cpp:2712:13: warning: unused variable 'image_addr_j' [-Wunused-variable] - 2712 | int image_addr_j; - | ^~~~~~~~~~~~ -image_trim.cpp:2713:13: warning: unused variable 'i_mate' [-Wunused-variable] - 2713 | int i_mate; - | ^~~~~~ -image_trim.cpp:2714:13: warning: unused variable 'j_mate' [-Wunused-variable] - 2714 | int j_mate; - | ^~~~~~ -src/core/functions.cpp: In function 'bool GetMRCDetails(const char*, int&, int&, int&)': -src/core/functions.cpp:65:13: warning: variable 'success' set but not used [-Wunused-but-set-variable] - 65 | int success; - | ^~~~~~~ -image_trim.cpp: In member function 'void Image::SpectrumBoxConvolution(Image*, int, float)': -image_trim.cpp:2783:13: warning: unused variable 'l' [-Wunused-variable] - 2783 | int l; - | ^ -image_trim.cpp:2793:14: warning: unused variable 'address_within_input' [-Wunused-variable] - 2793 | long address_within_input; - | ^~~~~~~~~~~~~~~~~~~~ -image_trim.cpp: In member function 'void Image::TaperEdges()': -image_trim.cpp:3082:57: warning: variable 'second_dimension' set but not used [-Wunused-but-set-variable] - 3082 | int second_dimension; - | ^~~~~~~~~~~~~~~~ -image_trim.cpp:3083:57: warning: variable 'third_dimension' set but not used [-Wunused-but-set-variable] - 3083 | int third_dimension; - | ^~~~~~~~~~~~~~~ -image_trim.cpp: In member function 'void Image::InsertOtherImageAtSpecifiedPosition(Image*, int, int, int, float)': -image_trim.cpp:3427:13: warning: unused variable 'kk_logi' [-Wunused-variable] - 3427 | int kk_logi; - | ^~~~~~~ -image_trim.cpp:3430:13: warning: unused variable 'jj_logi' [-Wunused-variable] - 3430 | int jj_logi; - | ^~~~~~~ -image_trim.cpp:3434:13: warning: unused variable 'ii_logi' [-Wunused-variable] - 3434 | int ii_logi; - | ^~~~~~~ -src/core/functions.cpp: In function 'void SplitFileIntoDirectoryAndFile(wxString&, wxString&, wxString&)': -src/core/functions.cpp:571:59: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 571 | for (int directory_counter = 0; directory_counter < directories.GetCount(); directory_counter++) - | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -image_trim.cpp: In member function 'void Image::ClipInto(Image*, float, bool, float, int, int, int)': -image_trim.cpp:3482:13: warning: unused variable 'array_address' [-Wunused-variable] - 3482 | int array_address = 0; - | ^~~~~~~~~~~~~ -image_trim.cpp:3500:16: warning: unused variable 'junk' [-Wunused-variable] - 3500 | double junk; - | ^~~~ -src/core/functions.cpp: In function 'int ReturnAppropriateNumberOfThreads(int)': -src/core/functions.cpp:961:7: warning: unused variable 'physicalProcs' [-Wunused-variable] - 961 | int physicalProcs = 0; - | ^~~~~~~~~~~~~ -src/core/functions.cpp:962:7: warning: unused variable 'logicalProcessorCount' [-Wunused-variable] - 962 | int logicalProcessorCount = 0; - | ^~~~~~~~~~~~~~~~~~~~~ -src/core/functions.cpp:963:7: warning: unused variable 'processorCoreCount' [-Wunused-variable] - 963 | int processorCoreCount = 0; - | ^~~~~~~~~~~~~~~~~~ -src/programs/ctffind/ctffind.cpp: In member function 'virtual bool CtffindApp::DoCalculation()': -src/programs/ctffind/ctffind.cpp:814:41: warning: unused variable 'boost_ring_contrast' [-Wunused-variable] - 814 | const bool boost_ring_contrast = ! command_line_parser.FoundSwitch("fast"); - | ^~~~~~~~~~~~~~~~~~~ +g++ -DPACKAGE_NAME=\"ctffind\" -DPACKAGE_TARNAME=\"ctffind\" -DPACKAGE_VERSION=\"4.1.14\" -DPACKAGE_STRING=\"ctffind\ 4.1.14\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ctffind\" -DVERSION=\"4.1.14\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -Dwx_is_available=1 -I. -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/programs/ctffind/ctffind-ctffind.o `test -f 'src/programs/ctffind/ctffind.cpp' || echo './'`src/programs/ctffind/ctffind.cpp src/core/dm_file.cpp: In destructor 'DMFile::~DMFile()': src/core/dm_file.cpp:49:13: warning: statement has no effect [-Wunused-value] 49 | true; @@ -1609,13 +1719,6 @@ /usr/include/wx-3.2/wx/txtstrm.h:25:38: note: 'wxTextOutputStream& endl(wxTextOutputStream&)' declared here 25 | WXDLLIMPEXP_BASE wxTextOutputStream &endl( wxTextOutputStream &stream ); | ^~~~ -src/programs/ctffind/ctffind.cpp: In function 'void OverlayCTF(Image*, CTF*, Image*, Image*, int, double*, double*, float*, float*, Curve*, Curve*)': -src/programs/ctffind/ctffind.cpp:2316:15: warning: unused variable 'target_sigma' [-Wunused-variable] - 2316 | float target_sigma; - | ^~~~~~~~~~~~ -src/programs/ctffind/ctffind.cpp:2317:13: warning: unused variable 'chosen_bin' [-Wunused-variable] - 2317 | int chosen_bin; - | ^~~~~~~~~~ src/core/dm_file.cpp:304:56: warning: the address of 'wxTextOutputStream& endl(wxTextOutputStream&)' will never be NULL [-Waddress] 304 | std::cout << "Version: " << version << endl; | ^~~~ @@ -1634,10 +1737,6 @@ /usr/include/wx-3.2/wx/txtstrm.h:25:38: note: 'wxTextOutputStream& endl(wxTextOutputStream&)' declared here 25 | WXDLLIMPEXP_BASE wxTextOutputStream &endl( wxTextOutputStream &stream ); | ^~~~ -src/programs/ctffind/ctffind.cpp: In function 'bool RescaleSpectrumAndRotationalAverage(Image*, Image*, Image*, int, double*, double*, double*, float*, float*, int, int)': -src/programs/ctffind/ctffind.cpp:2447:15: warning: unused variable 'scale_factor' [-Wunused-variable] - 2447 | float scale_factor; - | ^~~~~~~~~~~~ src/core/dm_file.cpp:318:78: warning: the address of 'wxTextOutputStream& endl(wxTextOutputStream&)' will never be NULL [-Waddress] 318 | std::cout << "" << endl; | ^~~~ @@ -1650,10 +1749,6 @@ /usr/include/wx-3.2/wx/txtstrm.h:25:38: note: 'wxTextOutputStream& endl(wxTextOutputStream&)' declared here 25 | WXDLLIMPEXP_BASE wxTextOutputStream &endl( wxTextOutputStream &stream ); | ^~~~ -src/programs/ctffind/ctffind.cpp: In function 'void ComputeEquiPhaseAverageOfPowerSpectrum(Image*, CTF*, Curve*, Curve*)': -src/programs/ctffind/ctffind.cpp:2630:23: warning: unused variable 'lowest_sq_freq_of_ctf_aberration_max' [-Wunused-variable] - 2630 | float lowest_sq_freq_of_ctf_aberration_max = std::min( fabs(ctf->ReturnSquaredSpatialFrequencyOfPhaseShiftExtremumGivenDefocus(ctf->GetDefocus1())), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/core/dm_file.cpp:320:59: warning: the address of 'wxTextOutputStream& endl(wxTextOutputStream&)' will never be NULL [-Waddress] 320 | std::cout << "" << endl; | ^~~~ @@ -1672,13 +1767,6 @@ /usr/include/wx-3.2/wx/txtstrm.h:25:38: note: 'wxTextOutputStream& endl(wxTextOutputStream&)' declared here 25 | WXDLLIMPEXP_BASE wxTextOutputStream &endl( wxTextOutputStream &stream ); | ^~~~ -src/programs/ctffind/ctffind.cpp: In function 'bool ComputeRotationalAverageOfPowerSpectrum(Image*, CTF*, Image*, Image*, int, double*, double*, double*, double*, float*, float*)': -src/programs/ctffind/ctffind.cpp:2780:15: warning: variable 'ctf_diff_from_current_bin' set but not used [-Wunused-but-set-variable] - 2780 | float ctf_diff_from_current_bin; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -src/programs/ctffind/ctffind.cpp:2856:1: warning: no return statement in function returning non-void [-Wreturn-type] - 2856 | } - | ^ src/core/dm_file.cpp:338:53: warning: the address of 'wxTextOutputStream& endl(wxTextOutputStream&)' will never be NULL [-Waddress] 338 | if ( show == 2 ) std::cout << "" << endl; | ^~~~ @@ -1732,9 +1820,19 @@ src/core/dm_file.cpp:451:60: warning: the address of 'wxTextOutputStream& endl(wxTextOutputStream&)' will never be NULL [-Waddress] 451 | std::cout << "" << tag << "" << endl; | ^~~~ +In file included from src/core/core_headers.h:80, + from src/core/job_tracker.cpp:1: +src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': +src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.2/wx/txtstrm.h:25:38: note: 'wxTextOutputStream& endl(wxTextOutputStream&)' declared here 25 | WXDLLIMPEXP_BASE wxTextOutputStream &endl( wxTextOutputStream &stream ); | ^~~~ +src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnPhiBin(float)': +src/core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/core/dm_file.cpp:473:47: warning: the address of 'wxTextOutputStream& endl(wxTextOutputStream&)' will never be NULL [-Waddress] 473 | if ( show == 1 ) std::cout << endl; | ^~~~ @@ -1795,6 +1893,16 @@ /usr/include/wx-3.2/wx/txtstrm.h:25:38: note: 'wxTextOutputStream& endl(wxTextOutputStream&)' declared here 25 | WXDLLIMPEXP_BASE wxTextOutputStream &endl( wxTextOutputStream &stream ); | ^~~~ +src/core/job_packager.cpp: In member function 'void JobPackage::SendJobPackage(wxSocketBase*)': +src/core/job_packager.cpp:67:36: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 67 | for (counter = 0; counter < my_profile.executable_name.Length(); counter++) + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/core/job_packager.cpp:88:36: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 88 | for (counter = 0; counter < my_profile.gui_address.Length(); counter++) + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/core/job_packager.cpp:108:36: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 108 | for (counter = 0; counter < my_profile.controller_address.Length(); counter++) + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/core/dm_file.cpp:555:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 555 | for ( i=0; i' with nonzero offset 8 [-Wfree-nonheap-object] @@ -1940,25 +2089,13 @@ src/core/downhill_simplex.cpp:156:17: note: returned from 'double* DownhillSimplex::dvector(long int, long int)' 156 | ptry=dvector(1,ndim); | ~~~~~~~^~~~~~~~ -src/core/matrix.cpp: In member function 'void RotationMatrix::ConvertToValidEulerAngles(float&, float&, float&)': -src/core/matrix.cpp:369:80: warning: 'best_phi' may be used uninitialized [-Wmaybe-uninitialized] - 369 | for (current_phi = best_phi - 1.0f; current_phi < old_best_phi + 1.0f; current_phi += 0.1f) - | ~~~~~~~~~~~~~^~~~~~ -src/core/matrix.cpp:327:23: note: 'best_phi' was declared here - 327 | float best_phi; - | ^~~~~~~~ -src/core/matrix.cpp:371:96: warning: 'best_theta' may be used uninitialized [-Wmaybe-uninitialized] - 371 | for (current_theta = best_theta - 1.0f; current_theta < old_best_theta + 1.0f; current_theta += 0.1f) - | ~~~~~~~~~~~~~~~^~~~~~ -src/core/matrix.cpp:328:23: note: 'best_theta' was declared here - 328 | float best_theta; - | ^~~~~~~~~~ -src/core/matrix.cpp:373:96: warning: 'best_psi' may be used uninitialized [-Wmaybe-uninitialized] - 373 | for (current_psi = best_psi - 5.0f; current_psi < old_best_psi + 5.0f; current_psi += 0.1f) - | ~~~~~~~~~~~~~^~~~~~ -src/core/matrix.cpp:329:23: note: 'best_psi' was declared here - 329 | float best_psi; - | ^~~~~~~~ +src/core/dm_file.cpp: In member function 'virtual bool DMFile::OpenFile(std::string, bool, bool)': +src/core/dm_file.cpp:57:15: warning: 'fake_pointer' is used uninitialized [-Wuninitialized] + 57 | readDM(wxString(wanted_filename), fake_pointer, false); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/core/dm_file.cpp:56:24: note: 'fake_pointer' was declared here + 56 | unsigned char *fake_pointer; + | ^~~~~~~~~~~~ In member function 'void DownhillSimplex::free_dvector(double*, long int, long int)', inlined from 'void DownhillSimplex::amoeba(double**, double*, long int, double, double (*)(double*), long int*)' at src/core/downhill_simplex.cpp:91:14: src/core/downhill_simplex.cpp:320:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] @@ -1968,24 +2105,40 @@ src/core/downhill_simplex.cpp:42:17: note: returned from 'double* DownhillSimplex::dvector(long int, long int)' 42 | psum=dvector(1,ndim); | ~~~~~~~^~~~~~~~ -src/core/va04.cpp: In function 'int va04a_(int*, float*, float*, int*, float (*)(void*, float*), void*, float*, int*, int*, int*, float*)': -src/core/va04.cpp:74:33: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse] - 74 | int s_wsfe(cilist *), e_wsfe(); - | ^~ -src/core/va04.cpp:74:33: note: remove parentheses to default-initialize a variable - 74 | int s_wsfe(cilist *), e_wsfe(); - | ^~ - | -- -src/core/va04.cpp:74:33: note: or replace parentheses with braces to value-initialize a variable -src/core/va04.cpp:100:19: warning: unused variable 'io___32' [-Wunused-variable] - 100 | static cilist io___32 = { 0, 6, 0, fmt_19, 0 }; - | ^~~~~~~ -src/core/va04.cpp:101:19: warning: unused variable 'io___42' [-Wunused-variable] - 101 | static cilist io___42 = { 0, 6, 0, fmt_52, 0 }; - | ^~~~~~~ -src/core/va04.cpp:102:19: warning: unused variable 'io___45' [-Wunused-variable] - 102 | static cilist io___45 = { 0, 6, 0, fmt_80, 0 }; - | ^~~~~~~ +In file included from src/core/core_headers.h:80, + from src/core/brute_force_search.cpp:1: +src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': +src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnPhiBin(float)': +src/core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from src/core/core_headers.h:80, + from src/core/abstract_image_file.cpp:1: +src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': +src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnPhiBin(float)': +src/core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/core/brute_force_search.cpp: In member function 'void BruteForceSearch::Run()': +src/core/brute_force_search.cpp:180:25: warning: unused variable 'maxThreads' [-Wunused-variable] + 180 | int numThreads, maxThreads = 12; + | ^~~~~~~~~~ +In file included from src/core/core_headers.h:80, + from src/core/tiff_file.cpp:1: +src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': +src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnPhiBin(float)': +src/core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void DownhillSimplex::free_dvector(double*, long int, long int)', inlined from 'double DownhillSimplex::amotry(double**, double*, double*, long int, void*, double (*)(void*, double*), long int, double)' at src/core/downhill_simplex.cpp:190:14: src/core/downhill_simplex.cpp:320:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] @@ -1995,13 +2148,14 @@ src/core/downhill_simplex.cpp:178:17: note: returned from 'double* DownhillSimplex::dvector(long int, long int)' 178 | ptry=dvector(1,ndim); | ~~~~~~~^~~~~~~~ -src/core/dm_file.cpp: In member function 'int DMFile::readTag(std::ifstream*, int, unsigned char*, bool, int&)': -src/core/dm_file.cpp:566:55: warning: 'val' may be used uninitialized [-Wmaybe-uninitialized] - 566 | datatype_from_dm3_type((DMDataType)val); - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -src/core/dm_file.cpp:415:33: note: 'val' was declared here - 415 | double val, arr[256]; - | ^~~ +src/core/tiff_file.cpp: In member function 'bool TiffFile::ReadLogicalDimensionsFromDisk()': +src/core/tiff_file.cpp:108:76: warning: comparison of integer expressions of different signedness: 'int' and 'uint32' {aka 'unsigned int'} [-Wsign-compare] + 108 | if (current_x != original_x || logical_dimension_y != current_y) + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +src/core/tiff_file.cpp: In member function 'virtual void TiffFile::ReadSlicesFromDisk(int, int, float*)': +src/core/tiff_file.cpp:149:80: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] + 149 | for (unsigned int directory_counter = start_slice-1; directory_counter < end_slice; directory_counter ++ ) + | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In member function 'void DownhillSimplex::free_dvector(double*, long int, long int)', inlined from 'void DownhillSimplex::amoeba(double**, double*, long int, double, void*, double (*)(void*, double*), long int*)' at src/core/downhill_simplex.cpp:148:14: src/core/downhill_simplex.cpp:320:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] @@ -2011,32 +2165,63 @@ src/core/downhill_simplex.cpp:99:17: note: returned from 'double* DownhillSimplex::dvector(long int, long int)' 99 | psum=dvector(1,ndim); | ~~~~~~~^~~~~~~~ -src/core/va04.cpp: At global scope: -src/core/va04.cpp:21:12: warning: 'c__1' defined but not used [-Wunused-variable] - 21 | static int c__1 = 1; - | ^~~~ +g++ -DPACKAGE_NAME=\"ctffind\" -DPACKAGE_TARNAME=\"ctffind\" -DPACKAGE_VERSION=\"4.1.14\" -DPACKAGE_STRING=\"ctffind\ 4.1.14\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ctffind\" -DVERSION=\"4.1.14\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -Dwx_is_available=1 -I. -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-userinput.o `test -f 'src/core/userinput.cpp' || echo './'`src/core/userinput.cpp +g++ -DPACKAGE_NAME=\"ctffind\" -DPACKAGE_TARNAME=\"ctffind\" -DPACKAGE_VERSION=\"4.1.14\" -DPACKAGE_STRING=\"ctffind\ 4.1.14\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ctffind\" -DVERSION=\"4.1.14\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -Dwx_is_available=1 -I. -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-curve.o `test -f 'src/core/curve.cpp' || echo './'`src/core/curve.cpp +src/core/dm_file.cpp: In member function 'int DMFile::readTag(std::ifstream*, int, unsigned char*, bool, int&)': +src/core/dm_file.cpp:566:55: warning: 'val' may be used uninitialized [-Wmaybe-uninitialized] + 566 | datatype_from_dm3_type((DMDataType)val); + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +src/core/dm_file.cpp:415:33: note: 'val' was declared here + 415 | double val, arr[256]; + | ^~~ +src/core/job_packager.cpp:1051:60: warning: 'transfer_size' may be used uninitialized [-Wmaybe-uninitialized] + 1051 | unsigned char *transfer_buffer = new unsigned char[transfer_size]; + | ^~~~~~~~~~~~~ +src/core/job_packager.cpp:1024:14: note: 'transfer_size' declared here + 1024 | long transfer_size; + | ^~~~~~~~~~~~~ +In member function 'void JobResult::SetResult(int, float*)', + inlined from 'JobResult::JobResult(int, float*)' at src/core/job_packager.cpp:1416:11: +src/core/job_packager.cpp:1458:33: warning: '*this.JobResult::result_data' is used uninitialized [-Wuninitialized] + 1458 | if (result_size != 0 || result_data != NULL) + | ^~~~~~~~~~~ +src/core/matrix.cpp: In member function 'void RotationMatrix::ConvertToValidEulerAngles(float&, float&, float&)': +src/core/matrix.cpp:369:80: warning: 'best_phi' may be used uninitialized [-Wmaybe-uninitialized] + 369 | for (current_phi = best_phi - 1.0f; current_phi < old_best_phi + 1.0f; current_phi += 0.1f) + | ~~~~~~~~~~~~~^~~~~~ +src/core/matrix.cpp:327:23: note: 'best_phi' was declared here + 327 | float best_phi; + | ^~~~~~~~ +src/core/matrix.cpp:371:96: warning: 'best_theta' may be used uninitialized [-Wmaybe-uninitialized] + 371 | for (current_theta = best_theta - 1.0f; current_theta < old_best_theta + 1.0f; current_theta += 0.1f) + | ~~~~~~~~~~~~~~~^~~~~~ +src/core/matrix.cpp:328:23: note: 'best_theta' was declared here + 328 | float best_theta; + | ^~~~~~~~~~ +src/core/matrix.cpp:373:96: warning: 'best_psi' may be used uninitialized [-Wmaybe-uninitialized] + 373 | for (current_psi = best_psi - 5.0f; current_psi < old_best_psi + 5.0f; current_psi += 0.1f) + | ~~~~~~~~~~~~~^~~~~~ +src/core/matrix.cpp:329:23: note: 'best_psi' was declared here + 329 | float best_psi; + | ^~~~~~~~ src/core/brute_force_search.cpp:259:56: warning: 'my_progress_bar' may be used uninitialized [-Wmaybe-uninitialized] 259 | my_progress_bar->Update(num_iterations_completed); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/core/brute_force_search.cpp:181:22: note: 'my_progress_bar' was declared here 181 | ProgressBar *my_progress_bar; | ^~~~~~~~~~~~~~~ -src/core/tiff_file.cpp:186:96: warning: 'strip_counter' may be used uninitialized [-Wmaybe-uninitialized] - 186 | number_of_bytes_placed_in_buffer = TIFFReadEncodedStrip(tif, strip_counter, (char *) buf, (tsize_t) -1); - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/core/tiff_file.cpp:146:18: note: 'strip_counter' was declared here - 146 | tstrip_t strip_counter; - | ^~~~~~~~~~~~~ -In file included from src/core/core_headers.h:80, - from src/core/curve.cpp:1: -src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': -src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnPhiBin(float)': -src/core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/core/curve.cpp:1067:1: warning: "/*" within comment [-Wcomment] + 1067 | /**************************************************************** +src/core/numeric_text_file.cpp: In member function 'void NumericTextFile::Init()': +src/core/numeric_text_file.cpp:167:34: warning: 'current_records_per_line' may be used uninitialized [-Wmaybe-uninitialized] + 167 | records_per_line = current_records_per_line; + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +src/core/numeric_text_file.cpp:106:21: note: 'current_records_per_line' was declared here + 106 | int current_records_per_line; + | ^~~~~~~~~~~~~~~~~~~~~~~~ +src/core/userinput.cpp:160:45: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 160 | wxPrintf(" Compiled : %s\n", __DATE__); + | ^~~~~~~~ In file included from src/core/core_headers.h:80, from src/core/conjugate_gradient.cpp:1: src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': @@ -2051,138 +2236,21 @@ src/core/conjugate_gradient.cpp:72:13: warning: variable 'va04_success' set but not used [-Wunused-but-set-variable] 72 | int va04_success = 0; | ^~~~~~~~~~~~ -src/core/curve.cpp: In member function 'float Curve::ReturnLinearInterpolationFromI(float)': -src/core/curve.cpp:367:15: warning: unused variable 'distance' [-Wunused-variable] - 367 | float distance; - | ^~~~~~~~ -In file included from src/core/core_headers.h:80, - from src/core/mrc_file.cpp:1: -src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': -src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnPhiBin(float)': -src/core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/core/curve.cpp: In function 'void LS_POLY(float*, float*, int, int, float*, float*)': -src/core/curve.cpp:1246:16: warning: variable 'dd' set but not used [-Wunused-but-set-variable] - 1246 | double dd; - | ^~ -In file included from src/core/core_headers.h:80, - from src/core/image_file.cpp:1: -src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': -src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnPhiBin(float)': -src/core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from src/core/core_headers.h:80, - from src/core/job_packager.cpp:1: -src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': -src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnPhiBin(float)': -src/core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from src/core/core_headers.h:80, - from src/core/progressbar.cpp:1: -src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': -src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnPhiBin(float)': -src/core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/core/image_file.cpp: In member function 'virtual bool ImageFile::OpenFile(std::string, bool, bool)': -src/core/image_file.cpp:58:158: warning: statement is a reference, not call, to function 'abort' [-Waddress] - 58 | default: MyPrintWithDetails("Unsupported file type\n"); MyDebugAssertTrue(false,"Unsupported file type: %s\n",filename.GetFullPath().ToStdString()); abort; break; - | ^~~~~ -src/core/image_file.cpp:58:158: warning: statement has no effect [-Wunused-value] -src/core/image_file.cpp: In member function 'virtual void ImageFile::ReadSlicesFromDisk(int, int, float*)': -src/core/image_file.cpp:85:65: warning: statement is a reference, not call, to function 'abort' [-Waddress] - 85 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; - | ^~~~~ -src/core/image_file.cpp:85:65: warning: statement has no effect [-Wunused-value] -src/core/image_file.cpp: In member function 'virtual void ImageFile::WriteSlicesToDisk(int, int, float*)': -src/core/image_file.cpp:101:65: warning: statement is a reference, not call, to function 'abort' [-Waddress] - 101 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; - | ^~~~~ -src/core/image_file.cpp:101:65: warning: statement has no effect [-Wunused-value] -src/core/image_file.cpp: In member function 'virtual int ImageFile::ReturnXSize()': -src/core/image_file.cpp:113:65: warning: statement is a reference, not call, to function 'abort' [-Waddress] - 113 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; - | ^~~~~ -src/core/image_file.cpp:113:65: warning: statement has no effect [-Wunused-value] -src/core/image_file.cpp: In member function 'virtual int ImageFile::ReturnYSize()': -src/core/image_file.cpp:124:65: warning: statement is a reference, not call, to function 'abort' [-Waddress] - 124 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; - | ^~~~~ -src/core/image_file.cpp:124:65: warning: statement has no effect [-Wunused-value] -src/core/image_file.cpp: In member function 'virtual int ImageFile::ReturnZSize()': -src/core/image_file.cpp:135:65: warning: statement is a reference, not call, to function 'abort' [-Waddress] - 135 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; - | ^~~~~ -src/core/image_file.cpp:135:65: warning: statement has no effect [-Wunused-value] -src/core/image_file.cpp: In member function 'virtual int ImageFile::ReturnNumberOfSlices()': -src/core/image_file.cpp:146:65: warning: statement is a reference, not call, to function 'abort' [-Waddress] - 146 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; - | ^~~~~ -src/core/image_file.cpp:146:65: warning: statement has no effect [-Wunused-value] -src/core/image_file.cpp: In member function 'virtual float ImageFile::ReturnPixelSize()': -src/core/image_file.cpp:157:65: warning: statement is a reference, not call, to function 'abort' [-Waddress] - 157 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; - | ^~~~~ -src/core/image_file.cpp:157:65: warning: statement has no effect [-Wunused-value] -src/core/image_file.cpp: In member function 'virtual bool ImageFile::IsOpen()': -src/core/image_file.cpp:168:65: warning: statement is a reference, not call, to function 'abort' [-Waddress] - 168 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; - | ^~~~~ -src/core/image_file.cpp:168:65: warning: statement has no effect [-Wunused-value] -src/core/job_packager.cpp: In member function 'void JobPackage::SendJobPackage(wxSocketBase*)': -src/core/job_packager.cpp:67:36: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 67 | for (counter = 0; counter < my_profile.executable_name.Length(); counter++) - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/core/job_packager.cpp:88:36: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 88 | for (counter = 0; counter < my_profile.gui_address.Length(); counter++) - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/core/job_packager.cpp:108:36: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 108 | for (counter = 0; counter < my_profile.controller_address.Length(); counter++) - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/core/job_packager.cpp:14:13: warning: unused variable 'number_of_arguments' [-Wunused-variable] - 14 | int number_of_arguments; - | ^~~~~~~~~~~~~~~~~~~ -src/core/job_packager.cpp:16:13: warning: unused variable 'temp_job_number' [-Wunused-variable] - 16 | int temp_job_number; - | ^~~~~~~~~~~~~~~ -In file included from src/core/core_headers.h:55: -src/core/job_packager.cpp: In member function 'void JobPackage::ReceiveJobPackage(wxSocketBase*)': -src/core/socket_codes.h:6:42: warning: unused variable 'socket_input_buffer' [-Wunused-variable] - 6 | #define SETUP_SOCKET_CODES unsigned char socket_input_buffer[SOCKET_CODE_SIZE]; - | ^~~~~~~~~~~~~~~~~~~ -src/core/job_packager.cpp:348:9: note: in expansion of macro 'SETUP_SOCKET_CODES' - 348 | SETUP_SOCKET_CODES - | ^~~~~~~~~~~~~~~~~~ -src/core/job_packager.cpp:358:13: warning: unused variable 'wanted_number_of_processes' [-Wunused-variable] - 358 | int wanted_number_of_processes; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -src/core/job_packager.cpp:365:13: warning: unused variable 'number_of_arguments' [-Wunused-variable] - 365 | int number_of_arguments; - | ^~~~~~~~~~~~~~~~~~~ -src/core/job_packager.cpp: In member function 'void RunJob::SendJob(wxSocketBase*)': -src/core/socket_codes.h:6:42: warning: unused variable 'socket_input_buffer' [-Wunused-variable] - 6 | #define SETUP_SOCKET_CODES unsigned char socket_input_buffer[SOCKET_CODE_SIZE]; - | ^~~~~~~~~~~~~~~~~~~ -src/core/job_packager.cpp:838:9: note: in expansion of macro 'SETUP_SOCKET_CODES' - 838 | SETUP_SOCKET_CODES - | ^~~~~~~~~~~~~~~~~~ +src/core/myapp.cpp: In member function 'virtual void* CalculateThread::Entry()': +src/core/myapp.cpp:1612:17: warning: 'thread_action_copy' may be used uninitialized [-Wmaybe-uninitialized] + 1612 | if (thread_action_copy == THREAD_START_NEXT_JOB) + | ^~ +src/core/myapp.cpp:1588:13: note: 'thread_action_copy' was declared here + 1588 | int thread_action_copy; + | ^~~~~~~~~~~~~~~~~~ +src/core/tiff_file.cpp:186:96: warning: 'strip_counter' may be used uninitialized [-Wmaybe-uninitialized] + 186 | number_of_bytes_placed_in_buffer = TIFFReadEncodedStrip(tif, strip_counter, (char *) buf, (tsize_t) -1); + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/core/tiff_file.cpp:146:18: note: 'strip_counter' was declared here + 146 | tstrip_t strip_counter; + | ^~~~~~~~~~~~~ In file included from src/core/core_headers.h:80, - from src/core/empirical_distribution.cpp:1: + from src/core/globals.cpp:1: src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) @@ -2191,23 +2259,50 @@ src/core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/core/job_packager.cpp: In member function 'void RunJob::RecieveJob(wxSocketBase*)': -src/core/socket_codes.h:6:42: warning: unused variable 'socket_input_buffer' [-Wunused-variable] - 6 | #define SETUP_SOCKET_CODES unsigned char socket_input_buffer[SOCKET_CODE_SIZE]; - | ^~~~~~~~~~~~~~~~~~~ -src/core/job_packager.cpp:1019:9: note: in expansion of macro 'SETUP_SOCKET_CODES' - 1019 | SETUP_SOCKET_CODES - | ^~~~~~~~~~~~~~~~~~ -In file included from src/core/core_headers.h:80, - from src/core/symmetry_matrix.cpp:1: -src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': -src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] +In file included from src/programs/ctffind/../../core/core_headers.h:80, + from src/programs/ctffind/ctffind.cpp:1: +src/programs/ctffind/../../core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': +src/programs/ctffind/../../core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnPhiBin(float)': -src/core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] +src/programs/ctffind/../../core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnPhiBin(float)': +src/programs/ctffind/../../core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/programs/ctffind/ctffind.cpp: In member function 'virtual bool CtffindApp::DoCalculation()': +src/programs/ctffind/ctffind.cpp:814:41: warning: unused variable 'boost_ring_contrast' [-Wunused-variable] + 814 | const bool boost_ring_contrast = ! command_line_parser.FoundSwitch("fast"); + | ^~~~~~~~~~~~~~~~~~~ +src/programs/ctffind/ctffind.cpp: In function 'void OverlayCTF(Image*, CTF*, Image*, Image*, int, double*, double*, float*, float*, Curve*, Curve*)': +src/programs/ctffind/ctffind.cpp:2316:15: warning: unused variable 'target_sigma' [-Wunused-variable] + 2316 | float target_sigma; + | ^~~~~~~~~~~~ +src/programs/ctffind/ctffind.cpp:2317:13: warning: unused variable 'chosen_bin' [-Wunused-variable] + 2317 | int chosen_bin; + | ^~~~~~~~~~ +src/programs/ctffind/ctffind.cpp: In function 'bool RescaleSpectrumAndRotationalAverage(Image*, Image*, Image*, int, double*, double*, double*, float*, float*, int, int)': +src/programs/ctffind/ctffind.cpp:2447:15: warning: unused variable 'scale_factor' [-Wunused-variable] + 2447 | float scale_factor; + | ^~~~~~~~~~~~ +src/programs/ctffind/ctffind.cpp: In function 'void ComputeEquiPhaseAverageOfPowerSpectrum(Image*, CTF*, Curve*, Curve*)': +src/programs/ctffind/ctffind.cpp:2630:23: warning: unused variable 'lowest_sq_freq_of_ctf_aberration_max' [-Wunused-variable] + 2630 | float lowest_sq_freq_of_ctf_aberration_max = std::min( fabs(ctf->ReturnSquaredSpatialFrequencyOfPhaseShiftExtremumGivenDefocus(ctf->GetDefocus1())), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/programs/ctffind/ctffind.cpp: In function 'bool ComputeRotationalAverageOfPowerSpectrum(Image*, CTF*, Image*, Image*, int, double*, double*, double*, double*, float*, float*)': +src/programs/ctffind/ctffind.cpp:2780:15: warning: variable 'ctf_diff_from_current_bin' set but not used [-Wunused-but-set-variable] + 2780 | float ctf_diff_from_current_bin; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +src/programs/ctffind/ctffind.cpp:2856:1: warning: no return statement in function returning non-void [-Wreturn-type] + 2856 | } + | ^ +src/programs/ctffind/ctffind.cpp: In function 'bool RescaleSpectrumAndRotationalAverage(Image*, Image*, Image*, int, double*, double*, double*, float*, float*, int, int)': +src/programs/ctffind/ctffind.cpp:2599:1: warning: control reaches end of non-void function [-Wreturn-type] + 2599 | } + | ^ +src/programs/ctffind/ctffind.cpp: In function 'int ReturnSpectrumBinNumber(int, float*, Image*, long int, Image*, float*)': +src/programs/ctffind/ctffind.cpp:2930:1: warning: control reaches end of non-void function [-Wreturn-type] + 2930 | } + | ^ In file included from src/core/core_headers.h:80, from src/core/randomnumbergenerator.cpp:1: src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': @@ -2219,17 +2314,7 @@ 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/core/core_headers.h:80, - from src/core/globals.cpp:1: -src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': -src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnPhiBin(float)': -src/core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from src/core/core_headers.h:80, - from src/core/run_profiles.cpp:1: + from src/core/userinput.cpp:1: src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) @@ -2238,8 +2323,18 @@ src/core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/core/userinput.cpp: In member function 'void UserInput::Init(const char*, wxString)': +src/core/userinput.cpp:157:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 157 | for (counter = 0; counter < strlen(program_name) / 2; counter++) wxPrintf(" "); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +src/core/userinput.cpp:159:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 159 | for (counter = 0; counter < strlen(program_name) / 2; counter++) wxPrintf(" "); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +src/core/userinput.cpp:161:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 161 | for (counter = 0; counter < strlen(program_name) / 2; counter++) wxPrintf(" "); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/core/core_headers.h:80, - from src/core/userinput.cpp:1: + from src/core/functions.cpp:1: src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) @@ -2248,8 +2343,26 @@ src/core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/core/functions.cpp: In function 'bool GetMRCDetails(const char*, int&, int&, int&)': +src/core/functions.cpp:65:13: warning: variable 'success' set but not used [-Wunused-but-set-variable] + 65 | int success; + | ^~~~~~~ +src/core/functions.cpp: In function 'void SplitFileIntoDirectoryAndFile(wxString&, wxString&, wxString&)': +src/core/functions.cpp:571:59: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 571 | for (int directory_counter = 0; directory_counter < directories.GetCount(); directory_counter++) + | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +src/core/functions.cpp: In function 'int ReturnAppropriateNumberOfThreads(int)': +src/core/functions.cpp:961:7: warning: unused variable 'physicalProcs' [-Wunused-variable] + 961 | int physicalProcs = 0; + | ^~~~~~~~~~~~~ +src/core/functions.cpp:962:7: warning: unused variable 'logicalProcessorCount' [-Wunused-variable] + 962 | int logicalProcessorCount = 0; + | ^~~~~~~~~~~~~~~~~~~~~ +src/core/functions.cpp:963:7: warning: unused variable 'processorCoreCount' [-Wunused-variable] + 963 | int processorCoreCount = 0; + | ^~~~~~~~~~~~~~~~~~ In file included from src/core/core_headers.h:80, - from src/core/myapp.cpp:2: + from src/core/curve.cpp:1: src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) @@ -2258,88 +2371,22 @@ src/core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from src/core/core_headers.h:52: -src/core/image_file.cpp: In member function 'virtual int ImageFile::ReturnXSize()': -src/core/defines.h:25:65: warning: control reaches end of non-void function [-Wreturn-type] - 25 | #define MyPrintWithDetails(...) {wxPrintf(__VA_ARGS__); wxPrintf("From %s:%i\n%s\n", __FILE__,__LINE__,__PRETTY_FUNCTION__);} - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/core/image_file.cpp:113:18: note: in expansion of macro 'MyPrintWithDetails' - 113 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; - | ^~~~~~~~~~~~~~~~~~ -src/core/image_file.cpp: In member function 'virtual int ImageFile::ReturnYSize()': -src/core/defines.h:25:65: warning: control reaches end of non-void function [-Wreturn-type] - 25 | #define MyPrintWithDetails(...) {wxPrintf(__VA_ARGS__); wxPrintf("From %s:%i\n%s\n", __FILE__,__LINE__,__PRETTY_FUNCTION__);} - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/core/image_file.cpp:124:18: note: in expansion of macro 'MyPrintWithDetails' - 124 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; - | ^~~~~~~~~~~~~~~~~~ -src/core/image_file.cpp: In member function 'virtual int ImageFile::ReturnZSize()': -src/core/defines.h:25:65: warning: control reaches end of non-void function [-Wreturn-type] - 25 | #define MyPrintWithDetails(...) {wxPrintf(__VA_ARGS__); wxPrintf("From %s:%i\n%s\n", __FILE__,__LINE__,__PRETTY_FUNCTION__);} - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/core/image_file.cpp:135:18: note: in expansion of macro 'MyPrintWithDetails' - 135 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; - | ^~~~~~~~~~~~~~~~~~ -src/core/image_file.cpp: In member function 'virtual int ImageFile::ReturnNumberOfSlices()': -src/core/defines.h:25:65: warning: control reaches end of non-void function [-Wreturn-type] - 25 | #define MyPrintWithDetails(...) {wxPrintf(__VA_ARGS__); wxPrintf("From %s:%i\n%s\n", __FILE__,__LINE__,__PRETTY_FUNCTION__);} - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/core/image_file.cpp:146:18: note: in expansion of macro 'MyPrintWithDetails' - 146 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; - | ^~~~~~~~~~~~~~~~~~ -src/core/image_file.cpp: In member function 'virtual float ImageFile::ReturnPixelSize()': -src/core/defines.h:25:65: warning: control reaches end of non-void function [-Wreturn-type] - 25 | #define MyPrintWithDetails(...) {wxPrintf(__VA_ARGS__); wxPrintf("From %s:%i\n%s\n", __FILE__,__LINE__,__PRETTY_FUNCTION__);} - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/core/image_file.cpp:157:18: note: in expansion of macro 'MyPrintWithDetails' - 157 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; - | ^~~~~~~~~~~~~~~~~~ -src/core/image_file.cpp: In member function 'virtual bool ImageFile::IsOpen()': -src/core/defines.h:25:65: warning: control reaches end of non-void function [-Wreturn-type] - 25 | #define MyPrintWithDetails(...) {wxPrintf(__VA_ARGS__); wxPrintf("From %s:%i\n%s\n", __FILE__,__LINE__,__PRETTY_FUNCTION__);} - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/core/image_file.cpp:168:18: note: in expansion of macro 'MyPrintWithDetails' - 168 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; - | ^~~~~~~~~~~~~~~~~~ +src/core/functions.cpp: At global scope: +src/core/functions.cpp:782:12: warning: 'int numCoresAndLogicalProcs(int*, int*)' defined but not used [-Wunused-function] + 782 | static int numCoresAndLogicalProcs(int *physical, int *logical) + | ^~~~~~~~~~~~~~~~~~~~~~~ +src/core/curve.cpp: In member function 'float Curve::ReturnLinearInterpolationFromI(float)': +src/core/curve.cpp:367:15: warning: unused variable 'distance' [-Wunused-variable] + 367 | float distance; + | ^~~~~~~~ +src/core/curve.cpp: In function 'void LS_POLY(float*, float*, int, int, float*, float*)': +src/core/curve.cpp:1246:16: warning: variable 'dd' set but not used [-Wunused-but-set-variable] + 1246 | double dd; + | ^~ src/programs/ctffind/ctffind.cpp: In function 'void ComputeFRCBetween1DSpectrumAndFit(int, double*, double*, float*, double*, double*, int)': src/programs/ctffind/ctffind.cpp:2222:51: warning: '*half_window_width[1]' may be used uninitialized [-Wmaybe-uninitialized] 2222 | half_window_width[0] = half_window_width[1]; | ~~~~~~~~~~~~~~~~~~~^ -src/core/userinput.cpp: In member function 'void UserInput::Init(const char*, wxString)': -src/core/userinput.cpp:157:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 157 | for (counter = 0; counter < strlen(program_name) / 2; counter++) wxPrintf(" "); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -src/core/userinput.cpp:159:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 159 | for (counter = 0; counter < strlen(program_name) / 2; counter++) wxPrintf(" "); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -src/core/userinput.cpp:161:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 161 | for (counter = 0; counter < strlen(program_name) / 2; counter++) wxPrintf(" "); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -src/core/myapp.cpp: In member function 'virtual bool MyApp::OnInit()': -src/core/myapp.cpp:170:35: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 170 | for (counter = 0; counter < possible_controller_addresses.GetCount(); counter++) - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/core/myapp.cpp: In member function 'void MyApp::OnSlaveSocketEvent(wxSocketEvent&)': -src/core/myapp.cpp:779:55: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 779 | for (int counter = 0; counter < temp_array.GetCount(); counter++) - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -src/core/myapp.cpp:664:16: warning: unused variable 'result' [-Wunused-variable] - 664 | float *result; - | ^~~~~~ -src/core/numeric_text_file.cpp: In member function 'void NumericTextFile::Init()': -src/core/numeric_text_file.cpp:167:34: warning: 'current_records_per_line' may be used uninitialized [-Wmaybe-uninitialized] - 167 | records_per_line = current_records_per_line; - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -src/core/numeric_text_file.cpp:106:21: note: 'current_records_per_line' was declared here - 106 | int current_records_per_line; - | ^~~~~~~~~~~~~~~~~~~~~~~~ -src/core/functions.cpp: In function 'wxString ReceivewxStringFromSocket(wxSocketBase*)': -src/core/functions.cpp:191:77: warning: 'length_of_string' may be used uninitialized [-Wmaybe-uninitialized] - 191 | unsigned char *transfer_buffer = new unsigned char[length_of_string + 1]; // + 1 for the terminating null character; - | ~~~~~~~~~~~~~~~~~^~~ -src/core/functions.cpp:181:13: note: 'length_of_string' declared here - 181 | int length_of_string; - | ^~~~~~~~~~~~~~~~ src/programs/ctffind/ctffind.cpp: In function 'bool RescaleSpectrumAndRotationalAverage(Image*, Image*, Image*, int, double*, double*, double*, float*, float*, int, int)': src/programs/ctffind/ctffind.cpp:2526:110: warning: 'normalisation_bin_number' may be used uninitialized [-Wmaybe-uninitialized] 2526 | actually_do_rescaling = (peak[normalisation_bin_number] - background[normalisation_bin_number]) > 0.0; @@ -2347,12 +2394,6 @@ src/programs/ctffind/ctffind.cpp:2439:13: note: 'normalisation_bin_number' was declared here 2439 | int normalisation_bin_number; | ^~~~~~~~~~~~~~~~~~~~~~~~ -src/core/job_packager.cpp:1051:60: warning: 'transfer_size' may be used uninitialized [-Wmaybe-uninitialized] - 1051 | unsigned char *transfer_buffer = new unsigned char[transfer_size]; - | ^~~~~~~~~~~~~ -src/core/job_packager.cpp:1024:14: note: 'transfer_size' declared here - 1024 | long transfer_size; - | ^~~~~~~~~~~~~ src/core/curve.cpp: In member function 'float Curve::ReturnMode()': src/core/curve.cpp:444:16: warning: 'mode' may be used uninitialized [-Wmaybe-uninitialized] 444 | return mode; @@ -2360,18 +2401,13 @@ src/core/curve.cpp:442:30: note: 'mode' was declared here 442 | float maximum_value, mode; | ^~~~ -In member function 'void JobResult::SetResult(int, float*)', - inlined from 'JobResult::JobResult(int, float*)' at src/core/job_packager.cpp:1416:11: -src/core/job_packager.cpp:1458:33: warning: '*this.JobResult::result_data' is used uninitialized [-Wuninitialized] - 1458 | if (result_size != 0 || result_data != NULL) - | ^~~~~~~~~~~ -src/core/myapp.cpp: In member function 'virtual void* CalculateThread::Entry()': -src/core/myapp.cpp:1612:17: warning: 'thread_action_copy' may be used uninitialized [-Wmaybe-uninitialized] - 1612 | if (thread_action_copy == THREAD_START_NEXT_JOB) - | ^~ -src/core/myapp.cpp:1588:13: note: 'thread_action_copy' was declared here - 1588 | int thread_action_copy; - | ^~~~~~~~~~~~~~~~~~ +src/core/functions.cpp: In function 'wxString ReceivewxStringFromSocket(wxSocketBase*)': +src/core/functions.cpp:191:77: warning: 'length_of_string' may be used uninitialized [-Wmaybe-uninitialized] + 191 | unsigned char *transfer_buffer = new unsigned char[length_of_string + 1]; // + 1 for the terminating null character; + | ~~~~~~~~~~~~~~~~~^~~ +src/core/functions.cpp:181:13: note: 'length_of_string' declared here + 181 | int length_of_string; + | ^~~~~~~~~~~~~~~~ src/programs/ctffind/ctffind.cpp: In member function 'virtual bool CtffindApp::DoCalculation()': src/programs/ctffind/ctffind.cpp:2029:101: warning: array subscript 0 is outside array bounds of 'double [0]' [-Warray-bounds=] 2029 | results_array[5] = pixel_size_for_fitting / spatial_frequency[last_bin_with_good_fit]; // The resolution (Angstroms) up to which Thon rings are well fit by the CTF @@ -2423,7 +2459,7 @@ src/programs/ctffind/ctffind.cpp:907:41: note: 'final_score' was declared here 907 | float final_score; | ^~~~~~~~~~~ -/bin/bash ./libtool --tag=CXX --mode=link g++ -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -L/usr/lib/x86_64-linux-gnu -pthread -lwx_baseu-3.2 -lwx_baseu_net-3.2 -Wl,-z,relro -Wl,-z,now -o ctffind src/programs/ctffind/ctffind-ctffind.o src/core/ctffind-functions.o src/core/ctffind-globals.o src/core/ctffind-randomnumbergenerator.o src/core/ctffind-userinput.o src/core/ctffind-curve.o ctffind-image_trim.o src/core/ctffind-matrix.o src/core/ctffind-symmetry_matrix.o src/core/ctffind-abstract_image_file.o src/core/ctffind-mrc_header.o src/core/ctffind-mrc_file.o src/core/ctffind-tiff_file.o src/core/ctffind-dm_file.o src/core/ctffind-image_file.o src/core/ctffind-job_packager.o src/core/ctffind-job_tracker.o src/core/ctffind-run_profiles.o src/core/ctffind-myapp.o src/core/ctffind-empirical_distribution.o src/core/ctffind-ctf.o src/core/ctffind-numeric_text_file.o src/core/ctffind-progressbar.o src/core/ctffind-downhill_simplex.o src/core/ctffind-brute_force_search.o src/core/ctffind-va04.o src/core/ctffind-conjugate_gradient.o -ltiff -ljpeg -lz -ldl -lfftw3f +/bin/sh ./libtool --tag=CXX --mode=link g++ -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -L/usr/lib/x86_64-linux-gnu -pthread -lwx_baseu-3.2 -lwx_baseu_net-3.2 -Wl,-z,relro -Wl,-z,now -o ctffind src/programs/ctffind/ctffind-ctffind.o src/core/ctffind-functions.o src/core/ctffind-globals.o src/core/ctffind-randomnumbergenerator.o src/core/ctffind-userinput.o src/core/ctffind-curve.o ctffind-image_trim.o src/core/ctffind-matrix.o src/core/ctffind-symmetry_matrix.o src/core/ctffind-abstract_image_file.o src/core/ctffind-mrc_header.o src/core/ctffind-mrc_file.o src/core/ctffind-tiff_file.o src/core/ctffind-dm_file.o src/core/ctffind-image_file.o src/core/ctffind-job_packager.o src/core/ctffind-job_tracker.o src/core/ctffind-run_profiles.o src/core/ctffind-myapp.o src/core/ctffind-empirical_distribution.o src/core/ctffind-ctf.o src/core/ctffind-numeric_text_file.o src/core/ctffind-progressbar.o src/core/ctffind-downhill_simplex.o src/core/ctffind-brute_force_search.o src/core/ctffind-va04.o src/core/ctffind-conjugate_gradient.o -ltiff -ljpeg -lz -ldl -lfftw3f libtool: link: g++ -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wl,-z -Wl,relro -Wl,-z -Wl,now -o ctffind src/programs/ctffind/ctffind-ctffind.o src/core/ctffind-functions.o src/core/ctffind-globals.o src/core/ctffind-randomnumbergenerator.o src/core/ctffind-userinput.o src/core/ctffind-curve.o ctffind-image_trim.o src/core/ctffind-matrix.o src/core/ctffind-symmetry_matrix.o src/core/ctffind-abstract_image_file.o src/core/ctffind-mrc_header.o src/core/ctffind-mrc_file.o src/core/ctffind-tiff_file.o src/core/ctffind-dm_file.o src/core/ctffind-image_file.o src/core/ctffind-job_packager.o src/core/ctffind-job_tracker.o src/core/ctffind-run_profiles.o src/core/ctffind-myapp.o src/core/ctffind-empirical_distribution.o src/core/ctffind-ctf.o src/core/ctffind-numeric_text_file.o src/core/ctffind-progressbar.o src/core/ctffind-downhill_simplex.o src/core/ctffind-brute_force_search.o src/core/ctffind-va04.o src/core/ctffind-conjugate_gradient.o -L/usr/lib/x86_64-linux-gnu -lwx_baseu-3.2 -lwx_baseu_net-3.2 -ltiff -ljpeg -lz -ldl -lfftw3f -pthread make[1]: Leaving directory '/build/reproducible-path/ctffind-4.1.14' dh_auto_test @@ -2451,8 +2487,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'ctffind' in '../ctffind_4.1.14-3_amd64.deb'. dpkg-deb: building package 'ctffind-dbgsym' in '../ctffind-dbgsym_4.1.14-3_amd64.deb'. +dpkg-deb: building package 'ctffind' in '../ctffind_4.1.14-3_amd64.deb'. dpkg-genbuildinfo --build=binary -O../ctffind_4.1.14-3_amd64.buildinfo dpkg-genchanges --build=binary -O../ctffind_4.1.14-3_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -2460,12 +2496,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/2767451/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2767451/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/1747989 and its subdirectories -I: Current time: Wed Nov 26 15:24:41 -12 2025 -I: pbuilder-time-stamp: 1764213881 +I: removing directory /srv/workspace/pbuilder/2767451 and its subdirectories +I: Current time: Fri Oct 25 11:08:48 +14 2024 +I: pbuilder-time-stamp: 1729804128