Diff of the two buildlogs: -- --- b1/build.log 2024-11-13 17:41:15.274837137 +0000 +++ b2/build.log 2024-11-13 17:43:30.925991203 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Dec 16 12:02:54 -12 2025 -I: pbuilder-time-stamp: 1765929774 +I: Current time: Thu Nov 14 07:41:18 +14 2024 +I: pbuilder-time-stamp: 1731519678 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-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/1737923/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1370818/tmp/hooks/D01_modify_environment starting +debug: Running on codethink02-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Nov 13 17:41 /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/1370818/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1370818/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='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="aarch64-unknown-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=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='b4c23110cbb544eabb99a7cbb3207054' - 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='1737923' - PS1='# ' - PS2='> ' + INVOCATION_ID=99f249453a3e44b781b8d7fba2c4c4e1 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=1370818 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.bi2Ccaka/pbuilderrc_2nO6 --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.bi2Ccaka/b1 --logfile b1/build.log ctffind_4.1.14-3.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4: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.bi2Ccaka/pbuilderrc_Sl6R --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.bi2Ccaka/b2 --logfile b2/build.log ctffind_4.1.14-3.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink01-arm64 6.1.0-27-cloud-arm64 #1 SMP Debian 6.1.115-1 (2024-11-01) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-27-cloud-arm64 #1 SMP Debian 6.1.115-1 (2024-11-01) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1737923/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1370818/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -320,7 +352,7 @@ Get: 202 http://deb.debian.org/debian trixie/main arm64 wx-common arm64 3.2.6+dfsg-2 [115 kB] Get: 203 http://deb.debian.org/debian trixie/main arm64 wx3.2-headers all 3.2.6+dfsg-2 [1127 kB] Get: 204 http://deb.debian.org/debian trixie/main arm64 libwxgtk3.2-dev arm64 3.2.6+dfsg-2 [80.3 kB] -Fetched 106 MB in 1s (205 MB/s) +Fetched 106 MB in 0s (241 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libapparmor1:arm64. (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 ... 20089 files and directories currently installed.) @@ -1171,7 +1203,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/1370818/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/1370818/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 @@ -1329,82 +1365,19 @@ make -j12 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/aarch64-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/aarch64-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 -mbranch-protection=standard -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/aarch64-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/aarch64-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 -mbranch-protection=standard -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/aarch64-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/aarch64-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 -mbranch-protection=standard -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/aarch64-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/aarch64-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 -mbranch-protection=standard -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/aarch64-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/aarch64-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 -mbranch-protection=standard -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/aarch64-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/aarch64-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 -mbranch-protection=standard -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/aarch64-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/aarch64-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 -mbranch-protection=standard -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/aarch64-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/aarch64-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 -mbranch-protection=standard -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/aarch64-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/aarch64-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 -mbranch-protection=standard -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/aarch64-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/aarch64-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 -mbranch-protection=standard -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 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/aarch64-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/aarch64-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 -mbranch-protection=standard -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-mrc_header.o `test -f 'src/core/mrc_header.cpp' || echo './'`src/core/mrc_header.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/aarch64-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/aarch64-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 -mbranch-protection=standard -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-mrc_file.o `test -f 'src/core/mrc_file.cpp' || echo './'`src/core/mrc_file.cpp -src/core/userinput.cpp:160:45: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 160 | wxPrintf(" Compiled : %s\n", __DATE__); - | ^~~~~~~~ -src/core/curve.cpp:1067:1: warning: "/*" within comment [-Wcomment] - 1067 | /**************************************************************** -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: 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; - | ^~ -In file included from src/core/core_headers.h:80, - from src/core/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] - 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/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] - 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/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++) - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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/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(" "); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +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/aarch64-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/aarch64-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 -mbranch-protection=standard -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-tiff_file.o `test -f 'src/core/tiff_file.cpp' || echo './'`src/core/tiff_file.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/aarch64-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/aarch64-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 -mbranch-protection=standard -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-dm_file.o `test -f 'src/core/dm_file.cpp' || echo './'`src/core/dm_file.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/aarch64-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/aarch64-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 -mbranch-protection=standard -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-image_file.o `test -f 'src/core/image_file.cpp' || echo './'`src/core/image_file.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/aarch64-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/aarch64-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 -mbranch-protection=standard -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-job_packager.o `test -f 'src/core/job_packager.cpp' || echo './'`src/core/job_packager.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/aarch64-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/aarch64-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 -mbranch-protection=standard -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-job_tracker.o `test -f 'src/core/job_tracker.cpp' || echo './'`src/core/job_tracker.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/aarch64-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/aarch64-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 -mbranch-protection=standard -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-run_profiles.o `test -f 'src/core/run_profiles.cpp' || echo './'`src/core/run_profiles.cpp In file included from src/core/core_headers.h:80, - from src/core/globals.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++) @@ -1413,16 +1386,51 @@ 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] - 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] - 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 image_trim.cpp:1: src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': @@ -1433,30 +1441,6 @@ 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++) - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from src/core/core_headers.h:80, - 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++) - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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/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"); - | ^~~~~~~~~~~~~~~~~~~ image_trim.cpp: In member function 'void Image::MultiplyPixelWise(Image&)': image_trim.cpp:115:13: warning: unused variable 'i' [-Wunused-variable] 115 | int i; @@ -1469,28 +1453,16 @@ image_trim.cpp:1953:15: warning: unused variable 'edge' [-Wunused-variable] 1953 | float edge; | ^~~~ -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 | } - | ^ +In file included from src/core/core_headers.h:80, + 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++) + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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++) + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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; @@ -1522,12 +1494,55 @@ image_trim.cpp:3427:13: warning: unused variable 'kk_logi' [-Wunused-variable] 3427 | int kk_logi; | ^~~~~~~ +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; + | ^~~~~~~~~~~~~~~~~~ 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/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::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; @@ -1536,7 +1551,7 @@ 3500 | double junk; | ^~~~ In file included from src/core/core_headers.h:80, - from src/core/randomnumbergenerator.cpp:1: + 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] 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) @@ -1546,7 +1561,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_file.cpp:1: + from src/core/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] 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) @@ -1555,37 +1570,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/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 | } - | ^ -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) - | ~~~~~~~~~~~~~^~~~~~ -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/aarch64-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/aarch64-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 -mbranch-protection=standard -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-tiff_file.o `test -f 'src/core/tiff_file.cpp' || echo './'`src/core/tiff_file.cpp -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; - | ^~~~~~~~ -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/aarch64-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/aarch64-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 -mbranch-protection=standard -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-dm_file.o `test -f 'src/core/dm_file.cpp' || echo './'`src/core/dm_file.cpp In file included from src/core/core_headers.h:80, - from src/core/functions.cpp:1: + 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++) @@ -1594,59 +1580,6 @@ 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 member function 'float Curve::ReturnMode()': -src/core/curve.cpp:444:16: warning: 'mode' may be used uninitialized [-Wmaybe-uninitialized] - 444 | return mode; - | ^~~~ -src/core/curve.cpp:442:30: note: 'mode' was declared here - 442 | float maximum_value, mode; - | ^~~~ -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; - | ^~~~~~~~~~~~~~~~~~ -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/aarch64-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/aarch64-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 -mbranch-protection=standard -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-image_file.o `test -f 'src/core/image_file.cpp' || echo './'`src/core/image_file.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/aarch64-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/aarch64-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 -mbranch-protection=standard -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-job_packager.o `test -f 'src/core/job_packager.cpp' || echo './'`src/core/job_packager.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/aarch64-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/aarch64-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 -mbranch-protection=standard -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-job_tracker.o `test -f 'src/core/job_tracker.cpp' || echo './'`src/core/job_tracker.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/aarch64-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/aarch64-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 -mbranch-protection=standard -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-run_profiles.o `test -f 'src/core/run_profiles.cpp' || echo './'`src/core/run_profiles.cpp -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/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/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; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -src/programs/ctffind/ctffind.cpp:2439:13: note: 'normalisation_bin_number' was declared here - 2439 | int normalisation_bin_number; - | ^~~~~~~~~~~~~~~~~~~~~~~~ -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/aarch64-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/aarch64-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 -mbranch-protection=standard -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-myapp.o `test -f 'src/core/myapp.cpp' || echo './'`src/core/myapp.cpp -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; - | ^~~~~~~~~~~~~~~~ -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/aarch64-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/aarch64-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 -mbranch-protection=standard -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-empirical_distribution.o `test -f 'src/core/empirical_distribution.cpp' || echo './'`src/core/empirical_distribution.cpp In file included from src/core/core_headers.h:80, from src/core/dm_file.cpp:6: src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': @@ -1657,6 +1590,36 @@ 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++) + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +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++) + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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++) + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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/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: In destructor 'DMFile::~DMFile()': src/core/dm_file.cpp:49:13: warning: statement has no effect [-Wunused-value] 49 | true; @@ -1728,16 +1691,6 @@ /usr/include/wx-3.2/wx/txtstrm.h:25:38: note: 'wxTextOutputStream& endl(wxTextOutputStream&)' declared here 25 | WXDLLIMPEXP_BASE wxTextOutputStream &endl( wxTextOutputStream &stream ); | ^~~~ -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++) - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/core/dm_file.cpp: In member function 'int DMFile::readTagGroupData(std::ifstream*, int, unsigned char*, bool)': src/core/dm_file.cpp:386:21: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 386 | for ( i=0; i" << tag << "" << endl; | ^~~~ +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; + | ^~~~~~~~~~~~~~~~~~~~~~ /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/dm_file.cpp:473:47: warning: the address of 'wxTextOutputStream& endl(wxTextOutputStream&)' will never be NULL [-Waddress] 473 | if ( show == 1 ) std::cout << endl; | ^~~~ +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; + | ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.2/wx/txtstrm.h:25:38: note: 'wxTextOutputStream& endl(wxTextOutputStream&)' declared here 25 | WXDLLIMPEXP_BASE wxTextOutputStream &endl( wxTextOutputStream &stream ); | ^~~~ @@ -1812,9 +1802,23 @@ /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 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/dm_file.cpp:499:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 499 | for ( i=0; i" << buf << "" << endl; | ^~~~ @@ -1863,6 +1867,25 @@ /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/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:589:92: warning: the address of 'wxTextOutputStream& endl(wxTextOutputStream&)' will never be NULL [-Waddress] 589 | if ( show == 1 ) std::cout << "\t" << tag << "=" << val << endl; | ^~~~ @@ -1930,20 +1953,12 @@ /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/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/dm_file.cpp:664:79: warning: the address of 'wxTextOutputStream& endl(wxTextOutputStream&)' will never be NULL [-Waddress] 664 | std::cout << "" << ivalue << "" << endl; | ^~~~ /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/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 ++ ) - | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ src/core/dm_file.cpp: In member function 'int DMFile::dm3_type_length(int)': src/core/dm_file.cpp:687:99: warning: the address of 'wxTextOutputStream& endl(wxTextOutputStream&)' will never be NULL [-Waddress] 687 | std::cerr << "Error: Data type " << dm3_type << " length not defined!" << endl; @@ -1951,6 +1966,8 @@ /usr/include/wx-3.2/wx/txtstrm.h:25:38: note: 'wxTextOutputStream& endl(wxTextOutputStream&)' declared here 25 | WXDLLIMPEXP_BASE wxTextOutputStream &endl( wxTextOutputStream &stream ); | ^~~~ +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/aarch64-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/aarch64-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 -mbranch-protection=standard -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-myapp.o `test -f 'src/core/myapp.cpp' || echo './'`src/core/myapp.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/aarch64-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/aarch64-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 -mbranch-protection=standard -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-empirical_distribution.o `test -f 'src/core/empirical_distribution.cpp' || echo './'`src/core/empirical_distribution.cpp In file included from src/core/core_headers.h:80, from src/core/run_profiles.cpp:1: src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': @@ -1962,17 +1979,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/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_tracker.cpp:1: + 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++) @@ -1981,58 +1988,15 @@ 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/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/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] +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/aarch64-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/aarch64-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 -mbranch-protection=standard -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-ctf.o `test -f 'src/core/ctf.cpp' || echo './'`src/core/ctf.cpp +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 ++ ) + | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ 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); @@ -2040,104 +2004,10 @@ src/core/dm_file.cpp:56:24: note: 'fake_pointer' was declared here 56 | unsigned char *fake_pointer; | ^~~~~~~~~~~~ -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: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/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/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 - | ^~~~~~~~~~~~~~~~~~ -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/aarch64-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/aarch64-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 -mbranch-protection=standard -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-ctf.o `test -f 'src/core/ctf.cpp' || echo './'`src/core/ctf.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/aarch64-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/aarch64-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 -mbranch-protection=standard -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-numeric_text_file.o `test -f 'src/core/numeric_text_file.cpp' || echo './'`src/core/numeric_text_file.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/aarch64-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/aarch64-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 -mbranch-protection=standard -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-progressbar.o `test -f 'src/core/progressbar.cpp' || echo './'`src/core/progressbar.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/aarch64-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/aarch64-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 -mbranch-protection=standard -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/aarch64-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/aarch64-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 -mbranch-protection=standard -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 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); @@ -2145,18 +2015,29 @@ src/core/dm_file.cpp:415:33: note: 'val' was declared here 415 | double val, arr[256]; | ^~~ -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; - | ^~~~~~~~~~~~~ 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/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/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; + | ^~~~~~~~~~~~~ +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/aarch64-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/aarch64-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 -mbranch-protection=standard -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/aarch64-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/aarch64-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 -mbranch-protection=standard -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/myapp.cpp:2: src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': @@ -2167,11 +2048,6 @@ 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 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 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++) @@ -2183,64 +2059,8 @@ src/core/myapp.cpp:664:16: warning: unused variable 'result' [-Wunused-variable] 664 | float *result; | ^~~~~~ -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/aarch64-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/aarch64-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 -mbranch-protection=standard -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-numeric_text_file.o `test -f 'src/core/numeric_text_file.cpp' || echo './'`src/core/numeric_text_file.cpp -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 - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -cc1plus: note: source object is likely at address zero -src/programs/ctffind/ctffind.cpp:1875:164: warning: array subscript 0 is outside array bounds of 'double [0]' [-Warray-bounds=] - 1875 | normalization_radius_max = std::max(normalization_radius_max,float(average_spectrum->logical_x_dimension * spatial_frequency[last_bin_with_good_fit])); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -cc1plus: note: source object is likely at address zero -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/aarch64-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/aarch64-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 -mbranch-protection=standard -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-progressbar.o `test -f 'src/core/progressbar.cpp' || echo './'`src/core/progressbar.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/aarch64-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/aarch64-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 -mbranch-protection=standard -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 -src/programs/ctffind/ctffind.cpp:2008:120: warning: 'output_text_avrot' may be used uninitialized [-Wmaybe-uninitialized] - 2008 | wxPrintf("Detailed results, including 1D fit profiles : %s\n",output_text_avrot->ReturnFilename()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ -src/programs/ctffind/ctffind.cpp:856:34: note: 'output_text_avrot' was declared here - 856 | NumericTextFile *output_text_avrot; - | ^~~~~~~~~~~~~~~~~ -src/programs/ctffind/ctffind.cpp:2031:9: warning: 'last_bin_without_aliasing' may be used uninitialized [-Wmaybe-uninitialized] - 2031 | if (last_bin_without_aliasing == 0) - | ^~ -src/programs/ctffind/ctffind.cpp:904:49: note: 'last_bin_without_aliasing' was declared here - 904 | int last_bin_without_aliasing; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -src/programs/ctffind/ctffind.cpp:969:98: warning: 'output_text' may be used uninitialized [-Wmaybe-uninitialized] - 969 | wxPrintf("Results will be written to this file: %s\n",output_text->ReturnFilename()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ -src/programs/ctffind/ctffind.cpp:855:34: note: 'output_text' was declared here - 855 | NumericTextFile *output_text; - | ^~~~~~~~~~~ -src/programs/ctffind/ctffind.cpp:1961:125: warning: 'my_progress_bar' may be used uninitialized [-Wmaybe-uninitialized] - 1961 | if ( (!old_school_input) && number_of_micrographs > 1 && is_running_locally) my_progress_bar->Update(current_micrograph_number); - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/programs/ctffind/ctffind.cpp:854:42: note: 'my_progress_bar' was declared here - 854 | ProgressBar *my_progress_bar; - | ^~~~~~~~~~~~~~~ -src/programs/ctffind/ctffind.cpp:1157:25: warning: 'resampling_is_necessary' may be used uninitialized [-Wmaybe-uninitialized] - 1157 | if (resampling_is_necessary) - | ^~ -src/programs/ctffind/ctffind.cpp:869:41: note: 'resampling_is_necessary' was declared here - 869 | bool resampling_is_necessary; - | ^~~~~~~~~~~~~~~~~~~~~~~ -src/programs/ctffind/ctffind.cpp:2072:33: warning: 'conjugate_gradient_minimizer' may be used uninitialized [-Wmaybe-uninitialized] - 2072 | if (! defocus_is_known) delete conjugate_gradient_minimizer; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/programs/ctffind/ctffind.cpp:884:30: note: 'conjugate_gradient_minimizer' was declared here - 884 | ConjugateGradient *conjugate_gradient_minimizer; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/programs/ctffind/ctffind.cpp:2022:26: warning: 'final_score' may be used uninitialized [-Wmaybe-uninitialized] - 2022 | results_array[4] = final_score; // CTFFIND score - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ -src/programs/ctffind/ctffind.cpp:907:41: note: 'final_score' was declared here - 907 | float final_score; - | ^~~~~~~~~~~ -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/aarch64-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/aarch64-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 -mbranch-protection=standard -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/aarch64-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/aarch64-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 -mbranch-protection=standard -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 In file included from src/core/core_headers.h:80, - from src/core/ctf.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++) @@ -2250,7 +2070,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/empirical_distribution.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++) @@ -2259,11 +2079,7 @@ 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: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 -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/aarch64-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/aarch64-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 -mbranch-protection=standard -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 +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/aarch64-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/aarch64-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 -mbranch-protection=standard -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 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)': @@ -2274,6 +2090,29 @@ 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_dmatrix(double**, long int, long int, long int, long int)', + inlined from 'DownhillSimplex::~DownhillSimplex()' at src/core/downhill_simplex.cpp:25:15: +src/core/downhill_simplex.cpp:327:35: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] + 327 | for(i=nrh;i>=nrl;i--) free((char*) (m[i]+ncl)); + | ~~~~^~~~~~~~~~~~~~~~~~~~ +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/aarch64-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/aarch64-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 -mbranch-protection=standard -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 +src/core/downhill_simplex.cpp:328:13: warning: 'void free(void*)' called on pointer '*this.DownhillSimplex::initial_values' with nonzero offset 8 [-Wfree-nonheap-object] + 328 | free((char*) (m+nrl)); + | ~~~~^~~~~~~~~~~~~~~~~ +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++) + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +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/numeric_text_file.cpp:1: src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': @@ -2284,23 +2123,25 @@ 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, double (*)(double*), long int, double)' at src/core/downhill_simplex.cpp:168:14: +src/core/downhill_simplex.cpp:320:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] + 320 | free((char*) (v+nl)); + | ~~~~^~~~~~~~~~~~~~~~ In file included from src/core/core_headers.h:80, - from src/core/downhill_simplex.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++) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/core/downhill_simplex.cpp: In member function 'double DownhillSimplex::amotry(double**, double*, double*, long int, double (*)(double*), long int, double)': +src/core/downhill_simplex.cpp:156:17: note: returned from 'double* DownhillSimplex::dvector(long int, long int)' + 156 | ptry=dvector(1,ndim); + | ~~~~~~~^~~~~~~~ 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 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/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(); @@ -2319,41 +2160,6 @@ 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++) - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 member function 'void DownhillSimplex::free_dmatrix(double**, long int, long int, long int, long int)', - inlined from 'DownhillSimplex::~DownhillSimplex()' at src/core/downhill_simplex.cpp:25:15: -src/core/downhill_simplex.cpp:327:35: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] - 327 | for(i=nrh;i>=nrl;i--) free((char*) (m[i]+ncl)); - | ~~~~^~~~~~~~~~~~~~~~~~~~ -src/core/downhill_simplex.cpp:328:13: warning: 'void free(void*)' called on pointer '*this.DownhillSimplex::initial_values' with nonzero offset 8 [-Wfree-nonheap-object] - 328 | free((char*) (m+nrl)); - | ~~~~^~~~~~~~~~~~~~~~~ -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 member function 'void DownhillSimplex::free_dvector(double*, long int, long int)', - inlined from 'double DownhillSimplex::amotry(double**, double*, double*, long int, double (*)(double*), long int, double)' at src/core/downhill_simplex.cpp:168:14: -src/core/downhill_simplex.cpp:320:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] - 320 | free((char*) (v+nl)); - | ~~~~^~~~~~~~~~~~~~~~ -src/core/downhill_simplex.cpp: In member function 'double DownhillSimplex::amotry(double**, double*, double*, long int, double (*)(double*), long int, double)': -src/core/downhill_simplex.cpp:156:17: note: returned from 'double* DownhillSimplex::dvector(long int, long int)' - 156 | ptry=dvector(1,ndim); - | ~~~~~~~^~~~~~~~ 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] @@ -2372,6 +2178,10 @@ src/core/downhill_simplex.cpp:178:17: note: returned from 'double* DownhillSimplex::dvector(long int, long int)' 178 | ptry=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; + | ^~~~ 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] @@ -2387,6 +2197,16 @@ src/core/brute_force_search.cpp:181:22: note: 'my_progress_bar' was declared here 181 | ProgressBar *my_progress_bar; | ^~~~~~~~~~~~~~~ +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/aarch64-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/aarch64-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 -mbranch-protection=standard -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 +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; + | ^~~~~~~~~~~~~~~~~~ +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/aarch64-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/aarch64-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 -mbranch-protection=standard -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/aarch64-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/aarch64-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 -mbranch-protection=standard -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 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)': @@ -2397,10 +2217,60 @@ 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/aarch64-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/aarch64-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 -mbranch-protection=standard -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/conjugate_gradient.cpp: In member function 'float ConjugateGradient::Run()': 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/userinput.cpp:160:45: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 160 | wxPrintf(" Compiled : %s\n", __DATE__); + | ^~~~~~~~ +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/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/core/curve.cpp:1067:1: warning: "/*" within comment [-Wcomment] + 1067 | /**************************************************************** +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 | } + | ^ 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; @@ -2408,7 +2278,173 @@ src/core/numeric_text_file.cpp:106:21: note: 'current_records_per_line' was declared here 106 | int current_records_per_line; | ^~~~~~~~~~~~~~~~~~~~~~~~ -/bin/bash ./libtool --tag=CXX --mode=link g++ -I/usr/lib/aarch64-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 -mbranch-protection=standard -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -L/usr/lib/aarch64-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 +In file included from src/core/core_headers.h:80, + 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++) + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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/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; + | ^~~~~~~~~~~~~~~~~~ +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) + | ^~~~~~~~~~~~~~~~~~~~~~~ +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)': +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/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/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: In member function 'float Curve::ReturnLinearInterpolationFromI(float)': +src/core/curve.cpp:367:15: warning: unused variable 'distance' [-Wunused-variable] + 367 | float distance; + | ^~~~~~~~ +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/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/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++) + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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/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/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; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +src/programs/ctffind/ctffind.cpp:2439:13: note: 'normalisation_bin_number' was declared here + 2439 | int normalisation_bin_number; + | ^~~~~~~~~~~~~~~~~~~~~~~~ +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; + | ^~~~ +src/core/curve.cpp:442:30: note: 'mode' was declared here + 442 | float maximum_value, mode; + | ^~~~ +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 + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +cc1plus: note: source object is likely at address zero +src/programs/ctffind/ctffind.cpp:1875:164: warning: array subscript 0 is outside array bounds of 'double [0]' [-Warray-bounds=] + 1875 | normalization_radius_max = std::max(normalization_radius_max,float(average_spectrum->logical_x_dimension * spatial_frequency[last_bin_with_good_fit])); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +cc1plus: note: source object is likely at address zero +src/programs/ctffind/ctffind.cpp:2008:120: warning: 'output_text_avrot' may be used uninitialized [-Wmaybe-uninitialized] + 2008 | wxPrintf("Detailed results, including 1D fit profiles : %s\n",output_text_avrot->ReturnFilename()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +src/programs/ctffind/ctffind.cpp:856:34: note: 'output_text_avrot' was declared here + 856 | NumericTextFile *output_text_avrot; + | ^~~~~~~~~~~~~~~~~ +src/programs/ctffind/ctffind.cpp:2031:9: warning: 'last_bin_without_aliasing' may be used uninitialized [-Wmaybe-uninitialized] + 2031 | if (last_bin_without_aliasing == 0) + | ^~ +src/programs/ctffind/ctffind.cpp:904:49: note: 'last_bin_without_aliasing' was declared here + 904 | int last_bin_without_aliasing; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +src/programs/ctffind/ctffind.cpp:969:98: warning: 'output_text' may be used uninitialized [-Wmaybe-uninitialized] + 969 | wxPrintf("Results will be written to this file: %s\n",output_text->ReturnFilename()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +src/programs/ctffind/ctffind.cpp:855:34: note: 'output_text' was declared here + 855 | NumericTextFile *output_text; + | ^~~~~~~~~~~ +src/programs/ctffind/ctffind.cpp:1961:125: warning: 'my_progress_bar' may be used uninitialized [-Wmaybe-uninitialized] + 1961 | if ( (!old_school_input) && number_of_micrographs > 1 && is_running_locally) my_progress_bar->Update(current_micrograph_number); + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/programs/ctffind/ctffind.cpp:854:42: note: 'my_progress_bar' was declared here + 854 | ProgressBar *my_progress_bar; + | ^~~~~~~~~~~~~~~ +src/programs/ctffind/ctffind.cpp:1157:25: warning: 'resampling_is_necessary' may be used uninitialized [-Wmaybe-uninitialized] + 1157 | if (resampling_is_necessary) + | ^~ +src/programs/ctffind/ctffind.cpp:869:41: note: 'resampling_is_necessary' was declared here + 869 | bool resampling_is_necessary; + | ^~~~~~~~~~~~~~~~~~~~~~~ +src/programs/ctffind/ctffind.cpp:2072:33: warning: 'conjugate_gradient_minimizer' may be used uninitialized [-Wmaybe-uninitialized] + 2072 | if (! defocus_is_known) delete conjugate_gradient_minimizer; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/programs/ctffind/ctffind.cpp:884:30: note: 'conjugate_gradient_minimizer' was declared here + 884 | ConjugateGradient *conjugate_gradient_minimizer; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/programs/ctffind/ctffind.cpp:2022:26: warning: 'final_score' may be used uninitialized [-Wmaybe-uninitialized] + 2022 | results_array[4] = final_score; // CTFFIND score + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ +src/programs/ctffind/ctffind.cpp:907:41: note: 'final_score' was declared here + 907 | float final_score; + | ^~~~~~~~~~~ +/bin/sh ./libtool --tag=CXX --mode=link g++ -I/usr/lib/aarch64-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 -mbranch-protection=standard -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -L/usr/lib/aarch64-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/aarch64-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 -mbranch-protection=standard -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/aarch64-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 @@ -2440,8 +2476,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'ctffind' in '../ctffind_4.1.14-3_arm64.deb'. dpkg-deb: building package 'ctffind-dbgsym' in '../ctffind-dbgsym_4.1.14-3_arm64.deb'. +dpkg-deb: building package 'ctffind' in '../ctffind_4.1.14-3_arm64.deb'. dpkg-genbuildinfo --build=binary -O../ctffind_4.1.14-3_arm64.buildinfo dpkg-genchanges --build=binary -O../ctffind_4.1.14-3_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -2449,12 +2485,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/1370818/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1370818/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/1737923 and its subdirectories -I: Current time: Tue Dec 16 12:04:14 -12 2025 -I: pbuilder-time-stamp: 1765929854 +I: removing directory /srv/workspace/pbuilder/1370818 and its subdirectories +I: Current time: Thu Nov 14 07:43:29 +14 2024 +I: pbuilder-time-stamp: 1731519809