Diff of the two buildlogs: -- --- b1/build.log 2024-10-25 01:29:03.030624429 +0000 +++ b2/build.log 2024-10-25 01:30:14.016100718 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Oct 24 13:27:07 -12 2024 -I: pbuilder-time-stamp: 1729819627 +I: Current time: Thu Nov 27 21:52:04 +14 2025 +I: pbuilder-time-stamp: 1764229924 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -28,54 +28,86 @@ 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/10363/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/16012/tmp/hooks/D01_modify_environment starting +debug: Running on ionos16-i386. +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 27 07:52 /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/16012/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/16012/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=11 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='i386' + 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]="i686-pc-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=21 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='99b4c000da53418b8fc33fa4c7b60149' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='10363' - PS1='# ' - PS2='> ' + INVOCATION_ID=bb19c5fae59744aa85892b0dcff100a2 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=16012 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.rdNvoHwe/pbuilderrc_JI2P --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.rdNvoHwe/b1 --logfile b1/build.log ctffind_4.1.14-3.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132: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.rdNvoHwe/pbuilderrc_2BW5 --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.rdNvoHwe/b2 --logfile b2/build.log ctffind_4.1.14-3.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos2-i386 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/10363/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/16012/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -326,7 +358,7 @@ Get: 205 http://deb.debian.org/debian unstable/main i386 wx-common i386 3.2.6+dfsg-2 [122 kB] Get: 206 http://deb.debian.org/debian unstable/main i386 wx3.2-headers all 3.2.6+dfsg-2 [1127 kB] Get: 207 http://deb.debian.org/debian unstable/main i386 libwxgtk3.2-dev i386 3.2.6+dfsg-2 [80.3 kB] -Fetched 123 MB in 2s (59.4 MB/s) +Fetched 123 MB in 3s (45.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libapparmor1:i386. (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 ... 19933 files and directories currently installed.) @@ -1189,7 +1221,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/16012/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/16012/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 @@ -1344,7 +1380,7 @@ config.status: executing depfiles commands config.status: executing libtool commands dh_auto_build - make -j11 + make -j21 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/i386-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/i386-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 -Wformat -Werror=format-security -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/i386-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/i386-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 -Wformat -Werror=format-security -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 @@ -1357,49 +1393,23 @@ 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/i386-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/i386-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 -Wformat -Werror=format-security -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/i386-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/i386-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 -Wformat -Werror=format-security -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/i386-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/i386-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 -Wformat -Werror=format-security -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 -src/core/curve.cpp:1067:1: warning: "/*" within comment [-Wcomment] - 1067 | /**************************************************************** +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/i386-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/i386-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 -Wformat -Werror=format-security -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 +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/i386-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/i386-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 -Wformat -Werror=format-security -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/i386-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/i386-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 -Wformat -Werror=format-security -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/i386-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/i386-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 -Wformat -Werror=format-security -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/i386-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/i386-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 -Wformat -Werror=format-security -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/i386-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/i386-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 -Wformat -Werror=format-security -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/i386-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/i386-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 -Wformat -Werror=format-security -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 +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/i386-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/i386-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 -Wformat -Werror=format-security -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/i386-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/i386-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 -Wformat -Werror=format-security -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 +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/i386-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/i386-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 -Wformat -Werror=format-security -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/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 '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 'unsigned int'} [-Wsign-compare] - 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/programs/ctffind/ctffind.cpp: In member function 'virtual bool CtffindApp::DoCalculation()': -src/programs/ctffind/ctffind.cpp:814:41: warning: unused variable 'boost_ring_contrast' [-Wunused-variable] - 814 | const bool boost_ring_contrast = ! command_line_parser.FoundSwitch("fast"); - | ^~~~~~~~~~~~~~~~~~~ -src/programs/ctffind/ctffind.cpp: In function 'void OverlayCTF(Image*, CTF*, Image*, Image*, int, double*, double*, float*, float*, Curve*, Curve*)': -src/programs/ctffind/ctffind.cpp:2316:15: warning: unused variable 'target_sigma' [-Wunused-variable] - 2316 | float target_sigma; - | ^~~~~~~~~~~~ -src/programs/ctffind/ctffind.cpp:2317:13: warning: unused variable 'chosen_bin' [-Wunused-variable] - 2317 | int chosen_bin; - | ^~~~~~~~~~ -src/programs/ctffind/ctffind.cpp: In function 'bool RescaleSpectrumAndRotationalAverage(Image*, Image*, Image*, int, double*, double*, double*, float*, float*, int, int)': -src/programs/ctffind/ctffind.cpp:2447:15: warning: unused variable 'scale_factor' [-Wunused-variable] - 2447 | float scale_factor; - | ^~~~~~~~~~~~ -src/programs/ctffind/ctffind.cpp: In function 'void ComputeEquiPhaseAverageOfPowerSpectrum(Image*, CTF*, Curve*, Curve*)': -src/programs/ctffind/ctffind.cpp:2630:23: warning: unused variable 'lowest_sq_freq_of_ctf_aberration_max' [-Wunused-variable] - 2630 | float lowest_sq_freq_of_ctf_aberration_max = std::min( fabs(ctf->ReturnSquaredSpatialFrequencyOfPhaseShiftExtremumGivenDefocus(ctf->GetDefocus1())), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/programs/ctffind/ctffind.cpp: In function 'bool ComputeRotationalAverageOfPowerSpectrum(Image*, CTF*, Image*, Image*, int, double*, double*, double*, double*, float*, float*)': -src/programs/ctffind/ctffind.cpp:2780:15: warning: variable 'ctf_diff_from_current_bin' set but not used [-Wunused-but-set-variable] - 2780 | float ctf_diff_from_current_bin; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -src/programs/ctffind/ctffind.cpp:2856:1: warning: no return statement in function returning non-void [-Wreturn-type] - 2856 | } - | ^ +src/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: + from src/core/myapp.cpp:2: src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) @@ -1408,16 +1418,12 @@ src/core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka '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; - | ^~ +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 'unsigned int'} [-Wsign-compare] + 170 | for (counter = 0; counter < possible_controller_addresses.GetCount(); counter++) + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/core/core_headers.h:80, - from src/core/symmetry_matrix.cpp:1: + 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 'unsigned int'} [-Wsign-compare] 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) @@ -1426,6 +1432,20 @@ src/core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/core/myapp.cpp: In member function 'void MyApp::OnSlaveSocketEvent(wxSocketEvent&)': +src/core/myapp.cpp:779:55: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] + 779 | for (int counter = 0; counter < temp_array.GetCount(); counter++) + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +src/core/myapp.cpp:664:16: warning: unused variable 'result' [-Wunused-variable] + 664 | float *result; + | ^~~~~~ +src/core/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; + | ^~~~~~~~~~~~~~~~~~~~~~ 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)': @@ -1436,16 +1456,6 @@ src/core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from src/core/core_headers.h:80, - from src/core/matrix.cpp:1: -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 '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 'unsigned int'} [-Wsign-compare] - 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ image_trim.cpp: In member function 'void Image::MultiplyPixelWise(Image&)': image_trim.cpp:115:13: warning: unused variable 'i' [-Wunused-variable] 115 | int i; @@ -1458,16 +1468,6 @@ image_trim.cpp:1953:15: warning: unused variable 'edge' [-Wunused-variable] 1953 | float edge; | ^~~~ -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 '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 '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; @@ -1488,14 +1488,6 @@ image_trim.cpp:2793:14: warning: unused variable 'address_within_input' [-Wunused-variable] 2793 | long address_within_input; | ^~~~~~~~~~~~~~~~~~~~ -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 | } - | ^ image_trim.cpp: In member function 'void Image::TaperEdges()': image_trim.cpp:3082:57: warning: variable 'second_dimension' set but not used [-Wunused-but-set-variable] 3082 | int second_dimension; @@ -1521,7 +1513,28 @@ 3500 | double junk; | ^~~~ In file included from src/core/core_headers.h:80, - from src/core/randomnumbergenerator.cpp:1: + from src/core/userinput.cpp:1: +src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': +src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka '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 '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 '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 '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 '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/i386-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/i386-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 -Wformat -Werror=format-security -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 +In file included from src/core/core_headers.h:80, + 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 'unsigned int'} [-Wsign-compare] 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) @@ -1531,7 +1544,17 @@ 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: + 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 '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 'unsigned int'} [-Wsign-compare] + 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from src/core/core_headers.h:80, + from src/core/matrix.cpp:1: 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 'unsigned int'} [-Wsign-compare] 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) @@ -1546,12 +1569,77 @@ src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka '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/run_profiles.cpp:1: +src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': +src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka '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 '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 '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] In file included from src/core/core_headers.h:80, - from src/core/userinput.cpp:1: + 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 'unsigned int'} [-Wsign-compare] + 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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/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 '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 int ImageFile::ReturnZSize()': +src/core/image_file.cpp:135:65: warning: statement is a reference, not call, to function 'abort' [-Waddress] + 135 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; + | ^~~~~ +src/core/image_file.cpp:135:65: warning: statement has no effect [-Wunused-value] +src/core/image_file.cpp: In member function 'virtual int ImageFile::ReturnNumberOfSlices()': +src/core/image_file.cpp:146:65: warning: statement is a reference, not call, to function 'abort' [-Waddress] + 146 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; + | ^~~~~ +src/core/image_file.cpp:146:65: warning: statement has no effect [-Wunused-value] +src/core/image_file.cpp: In member function 'virtual float ImageFile::ReturnPixelSize()': +src/core/image_file.cpp:157:65: warning: statement is a reference, not call, to function 'abort' [-Waddress] + 157 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; + | ^~~~~ +src/core/image_file.cpp:157:65: warning: statement has no effect [-Wunused-value] +src/core/image_file.cpp: In member function 'virtual bool ImageFile::IsOpen()': +src/core/image_file.cpp:168:65: warning: statement is a reference, not call, to function 'abort' [-Waddress] + 168 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; + | ^~~~~ +src/core/image_file.cpp:168:65: warning: statement has no effect [-Wunused-value] +In file included from src/core/core_headers.h:80, + from src/core/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 'unsigned int'} [-Wsign-compare] 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) @@ -1560,16 +1648,6 @@ src/core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka '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 '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 '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 'unsigned int'} [-Wsign-compare] - 161 | for (counter = 0; counter < strlen(program_name) / 2; counter++) wxPrintf(" "); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/core/core_headers.h:80, from src/core/functions.cpp:1: src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': @@ -1580,14 +1658,114 @@ src/core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka '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 '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 '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/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 '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 '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 '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 '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; + | ^~ 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/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/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 '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 '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 '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/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 'unsigned int'} [-Wsign-compare] 571 | for (int directory_counter = 0; directory_counter < directories.GetCount(); directory_counter++) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +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 + | ^~~~~~~~~~~~~~~~~~ +In file included from src/core/core_headers.h:80, + 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 '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 'unsigned int'} [-Wsign-compare] + 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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; @@ -1598,63 +1776,8 @@ 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/i386-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/i386-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 -Wformat -Werror=format-security -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 -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/i386-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/i386-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 -Wformat -Werror=format-security -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: 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; - | ^~~~~~~~ -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/i386-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/i386-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 -Wformat -Werror=format-security -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/i386-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/i386-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 -Wformat -Werror=format-security -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 -src/core/functions.cpp: At global scope: -src/core/functions.cpp:782:12: warning: 'int numCoresAndLogicalProcs(int*, int*)' defined but not used [-Wunused-function] - 782 | static int numCoresAndLogicalProcs(int *physical, int *logical) - | ^~~~~~~~~~~~~~~~~~~~~~~ -src/core/curve.cpp: In member function 'float Curve::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; - | ^~~~ -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/i386-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/i386-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 -Wformat -Werror=format-security -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 -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]; - | ~~~~~~~~~~~~~~~~~~~^ -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/i386-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/i386-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 -Wformat -Werror=format-security -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 -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/i386-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/i386-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 -Wformat -Werror=format-security -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: 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; - | ^~~~~~~~~~~~~~~~ In file included from src/core/core_headers.h:80, - from src/core/mrc_file.cpp:1: + from src/core/dm_file.cpp:6: src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) @@ -1664,7 +1787,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/dm_file.cpp:6: + 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 'unsigned int'} [-Wsign-compare] 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) @@ -1673,8 +1796,18 @@ src/core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka '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 '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 '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/tiff_file.cpp:1: + from src/core/globals.cpp:1: src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) @@ -1683,14 +1816,6 @@ src/core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/core/tiff_file.cpp: In member function 'bool TiffFile::ReadLogicalDimensionsFromDisk()': -src/core/tiff_file.cpp:108:76: warning: comparison of integer expressions of different signedness: 'int' and 'uint32' {aka 'unsigned int'} [-Wsign-compare] - 108 | if (current_x != original_x || logical_dimension_y != current_y) - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -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 destructor 'DMFile::~DMFile()': src/core/dm_file.cpp:49:13: warning: statement has no effect [-Wunused-value] 49 | true; @@ -1708,24 +1833,67 @@ /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: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/dm_file.cpp:304:56: warning: the address of 'wxTextOutputStream& endl(wxTextOutputStream&)' will never be NULL [-Waddress] 304 | std::cout << "Version: " << version << 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/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/dm_file.cpp:305:64: warning: the address of 'wxTextOutputStream& endl(wxTextOutputStream&)' will never be NULL [-Waddress] 305 | std::cout << "File length: " << file_length << 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/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/dm_file.cpp:306:62: warning: the address of 'wxTextOutputStream& endl(wxTextOutputStream&)' will never be NULL [-Waddress] 306 | std::cout << "Endianness: " << endianness << 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/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/dm_file.cpp:318:78: warning: the address of 'wxTextOutputStream& endl(wxTextOutputStream&)' will never be NULL [-Waddress] 318 | std::cout << "" << endl; | ^~~~ @@ -1929,6 +2097,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:618:76: warning: the address of 'wxTextOutputStream& endl(wxTextOutputStream&)' will never be NULL [-Waddress] 618 | std::cerr << "Error: Undefined tag type! (" << t << ")" << endl; | ^~~~ @@ -1941,6 +2128,10 @@ src/core/dm_file.cpp:414:48: warning: unused variable 'nstr' [-Wunused-variable] 414 | size_t nnum, size(0), nstr, narr, nel, dt, dtarr[128], dtlen; // Change in v4 | ^~~~ +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/core/dm_file.cpp: In member function 'double DMFile::dm3_value(std::ifstream*, int)': src/core/dm_file.cpp:652:92: warning: the address of 'wxTextOutputStream& endl(wxTextOutputStream&)' will never be NULL [-Waddress] 652 | std::cerr << "Error: Data type " << dm3_type << " not defined!" << endl; @@ -1967,8 +2158,30 @@ /usr/include/wx-3.2/wx/txtstrm.h:25:38: note: 'wxTextOutputStream& endl(wxTextOutputStream&)' declared here 25 | WXDLLIMPEXP_BASE wxTextOutputStream &endl( wxTextOutputStream &stream ); | ^~~~ +src/programs/ctffind/ctffind.cpp: In function 'void OverlayCTF(Image*, CTF*, Image*, Image*, int, double*, double*, float*, float*, Curve*, Curve*)': +src/programs/ctffind/ctffind.cpp:2316:15: warning: unused variable 'target_sigma' [-Wunused-variable] + 2316 | float target_sigma; + | ^~~~~~~~~~~~ +src/programs/ctffind/ctffind.cpp:2317:13: warning: unused variable 'chosen_bin' [-Wunused-variable] + 2317 | int chosen_bin; + | ^~~~~~~~~~ +src/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/image_file.cpp:1: + 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 'unsigned int'} [-Wsign-compare] 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) @@ -1977,51 +2190,16 @@ src/core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka '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] +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/i386-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/i386-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 -Wformat -Werror=format-security -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 +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 | } + | ^ +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/i386-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/i386-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 -Wformat -Werror=format-security -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/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); @@ -2029,129 +2207,26 @@ 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 '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 '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 '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 '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 '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 - | ^~~~~~~~~~~~~~~~~~ -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 '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 'unsigned int'} [-Wsign-compare] - 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/core/job_tracker.cpp: In member function 'void JobTracker::MarkJobFinished()': -src/core/job_tracker.cpp:62:14: warning: unused variable 'seconds_per_job_per_process_since_last_update' [-Wunused-variable] - 62 | long seconds_per_job_per_process_since_last_update; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/core/job_tracker.cpp:63:14: warning: unused variable 'time_since_last_update' [-Wunused-variable] - 63 | long time_since_last_update = current_time - last_update_time; - | ^~~~~~~~~~~~~~~~~~~~~~ -src/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/i386-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/i386-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 -Wformat -Werror=format-security -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/i386-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/i386-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 -Wformat -Werror=format-security -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 +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) + | ^~~~~~~~~~~~~~~~~~~~~~~ +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/i386-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/i386-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 -Wformat -Werror=format-security -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-conjugate_gradient.o `test -f 'src/core/conjugate_gradient.cpp' || echo './'`src/core/conjugate_gradient.cpp +src/core/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/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/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); @@ -2159,120 +2234,48 @@ src/core/dm_file.cpp:415:33: note: 'val' was declared here 415 | double val, arr[256]; | ^~~ -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/i386-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/i386-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 -Wformat -Werror=format-security -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/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/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; - | ^~~~~~~~~~~ -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)': -src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka '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 '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/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/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; | ^~~~~~~~~~~~~ -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/i386-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/i386-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 -Wformat -Werror=format-security -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 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) | ^~~~~~~~~~~ -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/i386-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/i386-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 -Wformat -Werror=format-security -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/i386-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/i386-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 -Wformat -Werror=format-security -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/i386-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/i386-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 -Wformat -Werror=format-security -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/i386-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/i386-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 -Wformat -Werror=format-security -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/i386-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/i386-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 -Wformat -Werror=format-security -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/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/i386-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/i386-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 -Wformat -Werror=format-security -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/myapp.cpp:2: -src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': -src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka '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 'unsigned int'} [-Wsign-compare] - 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/core/myapp.cpp: In member function 'virtual bool MyApp::OnInit()': -src/core/myapp.cpp:170:35: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] - 170 | for (counter = 0; counter < possible_controller_addresses.GetCount(); counter++) - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/core/myapp.cpp: In member function 'void MyApp::OnSlaveSocketEvent(wxSocketEvent&)': -src/core/myapp.cpp:779:55: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] - 779 | for (int counter = 0; counter < temp_array.GetCount(); counter++) - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -src/core/myapp.cpp:664:16: warning: unused variable 'result' [-Wunused-variable] - 664 | float *result; - | ^~~~~~ -In file included from src/core/core_headers.h:80, - from src/core/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 '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 'unsigned int'} [-Wsign-compare] - 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +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/functions.cpp: In function 'wxString ReceivewxStringFromSocket(wxSocketBase*)': +src/core/functions.cpp:191:77: warning: 'length_of_string' may be used uninitialized [-Wmaybe-uninitialized] + 191 | unsigned char *transfer_buffer = new unsigned char[length_of_string + 1]; // + 1 for the terminating null character; + | ~~~~~~~~~~~~~~~~~^~~ +src/core/functions.cpp:181:13: note: 'length_of_string' declared here + 181 | int length_of_string; + | ^~~~~~~~~~~~~~~~ +src/programs/ctffind/ctffind.cpp: In function 'bool RescaleSpectrumAndRotationalAverage(Image*, Image*, Image*, int, double*, double*, double*, float*, float*, int, int)': +src/programs/ctffind/ctffind.cpp:2526:110: warning: 'normalisation_bin_number' may be used uninitialized [-Wmaybe-uninitialized] + 2526 | actually_do_rescaling = (peak[normalisation_bin_number] - background[normalisation_bin_number]) > 0.0; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +src/programs/ctffind/ctffind.cpp:2439:13: note: 'normalisation_bin_number' was declared here + 2439 | int normalisation_bin_number; + | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/core/core_headers.h:80, - from src/core/empirical_distribution.cpp:1: + from src/core/numeric_text_file.cpp:1: src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) @@ -2281,7 +2284,6 @@ src/core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka '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/i386-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/i386-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 -Wformat -Werror=format-security -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/progressbar.cpp:1: src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': @@ -2292,8 +2294,26 @@ src/core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/core/va04.cpp: In function 'int va04a_(int*, float*, float*, int*, float (*)(void*, float*), void*, float*, int*, int*, int*, float*)': +src/core/va04.cpp:74:33: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse] + 74 | int s_wsfe(cilist *), e_wsfe(); + | ^~ +src/core/va04.cpp:74:33: note: remove parentheses to default-initialize a variable + 74 | int s_wsfe(cilist *), e_wsfe(); + | ^~ + | -- +src/core/va04.cpp:74:33: note: or replace parentheses with braces to value-initialize a variable +src/core/va04.cpp:100:19: warning: unused variable 'io___32' [-Wunused-variable] + 100 | static cilist io___32 = { 0, 6, 0, fmt_19, 0 }; + | ^~~~~~~ +src/core/va04.cpp:101:19: warning: unused variable 'io___42' [-Wunused-variable] + 101 | static cilist io___42 = { 0, 6, 0, fmt_52, 0 }; + | ^~~~~~~ +src/core/va04.cpp:102:19: warning: unused variable 'io___45' [-Wunused-variable] + 102 | static cilist io___45 = { 0, 6, 0, fmt_80, 0 }; + | ^~~~~~~ In file included from src/core/core_headers.h:80, - from src/core/numeric_text_file.cpp:1: + 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 'unsigned int'} [-Wsign-compare] 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) @@ -2302,8 +2322,12 @@ src/core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka '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/downhill_simplex.cpp:1: + from src/core/conjugate_gradient.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 'unsigned int'} [-Wsign-compare] 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) @@ -2312,8 +2336,12 @@ src/core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/core/va04.cpp: At global scope: +src/core/va04.cpp:21:12: warning: 'c__1' defined but not used [-Wunused-variable] + 21 | static int c__1 = 1; + | ^~~~ In file included from src/core/core_headers.h:80, - from src/core/brute_force_search.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 'unsigned int'} [-Wsign-compare] 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) @@ -2322,10 +2350,19 @@ src/core/angular_distribution_histogram.h:57:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka '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; - | ^~~~~~~~~~ +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/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 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*) + *4)' with nonzero offset 8 [-Wfree-nonheap-object] @@ -2334,6 +2371,12 @@ src/core/downhill_simplex.cpp:328:13: warning: 'void free(void*)' called on pointer '*this.DownhillSimplex::initial_values' with nonzero offset 4 [-Wfree-nonheap-object] 328 | free((char*) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~ +src/core/brute_force_search.cpp:259:56: warning: 'my_progress_bar' may be used uninitialized [-Wmaybe-uninitialized] + 259 | my_progress_bar->Update(num_iterations_completed); + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +src/core/brute_force_search.cpp:181:22: note: 'my_progress_bar' was declared here + 181 | ProgressBar *my_progress_bar; + | ^~~~~~~~~~~~~~~ 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] @@ -2361,6 +2404,48 @@ src/core/downhill_simplex.cpp:178:17: note: returned from 'double* DownhillSimplex::dvector(long int, long int)' 178 | ptry=dvector(1,ndim); | ~~~~~~~^~~~~~~~ +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; + | ^~~~~~~~~~~ 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] @@ -2370,41 +2455,6 @@ src/core/downhill_simplex.cpp:99:17: note: returned from 'double* DownhillSimplex::dvector(long int, long int)' 99 | psum=dvector(1,ndim); | ~~~~~~~^~~~~~~~ -src/core/va04.cpp: In function 'int va04a_(int*, float*, float*, int*, float (*)(void*, float*), void*, float*, int*, int*, int*, float*)': -src/core/va04.cpp:74:33: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse] - 74 | int s_wsfe(cilist *), e_wsfe(); - | ^~ -src/core/va04.cpp:74:33: note: remove parentheses to default-initialize a variable - 74 | int s_wsfe(cilist *), e_wsfe(); - | ^~ - | -- -src/core/va04.cpp:74:33: note: or replace parentheses with braces to value-initialize a variable -src/core/va04.cpp:100:19: warning: unused variable 'io___32' [-Wunused-variable] - 100 | static cilist io___32 = { 0, 6, 0, fmt_19, 0 }; - | ^~~~~~~ -src/core/va04.cpp:101:19: warning: unused variable 'io___42' [-Wunused-variable] - 101 | static cilist io___42 = { 0, 6, 0, fmt_52, 0 }; - | ^~~~~~~ -src/core/va04.cpp:102:19: warning: unused variable 'io___45' [-Wunused-variable] - 102 | static cilist io___45 = { 0, 6, 0, fmt_80, 0 }; - | ^~~~~~~ -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/brute_force_search.cpp:259:56: warning: 'my_progress_bar' may be used uninitialized [-Wmaybe-uninitialized] - 259 | my_progress_bar->Update(num_iterations_completed); - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -src/core/brute_force_search.cpp:181:22: note: 'my_progress_bar' was declared here - 181 | ProgressBar *my_progress_bar; - | ^~~~~~~~~~~~~~~ -src/core/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; - | ^~~~ 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; @@ -2412,21 +2462,7 @@ src/core/numeric_text_file.cpp:106:21: note: 'current_records_per_line' was declared here 106 | int current_records_per_line; | ^~~~~~~~~~~~~~~~~~~~~~~~ -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)': -src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka '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 'unsigned int'} [-Wsign-compare] - 57 | for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -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; - | ^~~~~~~~~~~~ -/bin/bash ./libtool --tag=CXX --mode=link g++ -I/usr/lib/i386-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 -Wformat -Werror=format-security -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -L/usr/lib/i386-linux-gnu -pthread -lwx_baseu-3.2 -lwx_baseu_net-3.2 -Wl,-z,relro -Wl,-z,now -o ctffind src/programs/ctffind/ctffind-ctffind.o src/core/ctffind-functions.o src/core/ctffind-globals.o src/core/ctffind-randomnumbergenerator.o src/core/ctffind-userinput.o src/core/ctffind-curve.o ctffind-image_trim.o src/core/ctffind-matrix.o src/core/ctffind-symmetry_matrix.o src/core/ctffind-abstract_image_file.o src/core/ctffind-mrc_header.o src/core/ctffind-mrc_file.o src/core/ctffind-tiff_file.o src/core/ctffind-dm_file.o src/core/ctffind-image_file.o src/core/ctffind-job_packager.o src/core/ctffind-job_tracker.o src/core/ctffind-run_profiles.o src/core/ctffind-myapp.o src/core/ctffind-empirical_distribution.o src/core/ctffind-ctf.o src/core/ctffind-numeric_text_file.o src/core/ctffind-progressbar.o src/core/ctffind-downhill_simplex.o src/core/ctffind-brute_force_search.o src/core/ctffind-va04.o src/core/ctffind-conjugate_gradient.o -ltiff -ljpeg -lz -ldl -lfftw3f +/bin/sh ./libtool --tag=CXX --mode=link g++ -I/usr/lib/i386-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 -Wformat -Werror=format-security -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -L/usr/lib/i386-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/i386-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 -Wformat -Werror=format-security -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/i386-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 @@ -2454,8 +2490,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'ctffind' in '../ctffind_4.1.14-3_i386.deb'. dpkg-deb: building package 'ctffind-dbgsym' in '../ctffind-dbgsym_4.1.14-3_i386.deb'. +dpkg-deb: building package 'ctffind' in '../ctffind_4.1.14-3_i386.deb'. dpkg-genbuildinfo --build=binary -O../ctffind_4.1.14-3_i386.buildinfo dpkg-genchanges --build=binary -O../ctffind_4.1.14-3_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -2463,12 +2499,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/16012/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/16012/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/10363 and its subdirectories -I: Current time: Thu Oct 24 13:29:02 -12 2024 -I: pbuilder-time-stamp: 1729819742 +I: removing directory /srv/workspace/pbuilder/16012 and its subdirectories +I: Current time: Thu Nov 27 21:53:11 +14 2025 +I: pbuilder-time-stamp: 1764229991