Diff of the two buildlogs: -- --- b1/build.log 2025-02-02 01:43:16.776841640 +0000 +++ b2/build.log 2025-02-02 01:52:56.698615124 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Feb 1 13:35:39 -12 2025 -I: pbuilder-time-stamp: 1738460139 +I: Current time: Sun Feb 2 15:43:30 +14 2025 +I: pbuilder-time-stamp: 1738460610 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -24,52 +24,84 @@ dpkg-source: info: applying src-core-matrix I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/16124/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/32571/tmp/hooks/D01_modify_environment starting +debug: Running on virt32b. +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 Feb 2 01:44 /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/32571/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/32571/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=5 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='d329d945b4e24552860d623ee93f8a1e' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='16124' - PS1='# ' - PS2='> ' + INVOCATION_ID=15f5959d07a84a229c44424f9e2bf94d + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=32571 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.OGiGDNB9/pbuilderrc_cMNi --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.OGiGDNB9/b1 --logfile b1/build.log ctffind_4.1.14-3.dsc' - SUDO_GID='114' - SUDO_UID='109' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.OGiGDNB9/pbuilderrc_DR1w --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.OGiGDNB9/b2 --logfile b2/build.log ctffind_4.1.14-3.dsc' + SUDO_GID=112 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux ff64a 6.1.0-30-arm64 #1 SMP Debian 6.1.124-1 (2025-01-12) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-30-armmp-lpae #1 SMP Debian 6.1.124-1 (2025-01-12) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/16124/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/32571/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -321,7 +353,7 @@ Get: 206 http://deb.debian.org/debian unstable/main armhf wx-common armhf 3.2.6+dfsg-2 [114 kB] Get: 207 http://deb.debian.org/debian unstable/main armhf wx3.2-headers all 3.2.6+dfsg-2 [1127 kB] Get: 208 http://deb.debian.org/debian unstable/main armhf libwxgtk3.2-dev armhf 3.2.6+dfsg-2 [80.3 kB] -Fetched 105 MB in 8s (12.9 MB/s) +Fetched 105 MB in 8s (14.0 MB/s) Preconfiguring packages ... Selecting previously unselected package libsystemd-shared:armhf. (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 ... 19565 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/32571/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/32571/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 @@ -1347,13 +1383,12 @@ config.status: executing depfiles commands config.status: executing libtool commands dh_auto_build - make -j5 + make -j4 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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/programs/ctffind/ctffind-ctffind.o `test -f 'src/programs/ctffind/ctffind.cpp' || echo './'`src/programs/ctffind/ctffind.cpp g++ -DPACKAGE_NAME=\"ctffind\" -DPACKAGE_TARNAME=\"ctffind\" -DPACKAGE_VERSION=\"4.1.14\" -DPACKAGE_STRING=\"ctffind\ 4.1.14\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ctffind\" -DVERSION=\"4.1.14\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -Dwx_is_available=1 -I. -I/usr/lib/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-functions.o `test -f 'src/core/functions.cpp' || echo './'`src/core/functions.cpp g++ -DPACKAGE_NAME=\"ctffind\" -DPACKAGE_TARNAME=\"ctffind\" -DPACKAGE_VERSION=\"4.1.14\" -DPACKAGE_STRING=\"ctffind\ 4.1.14\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ctffind\" -DVERSION=\"4.1.14\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -Dwx_is_available=1 -I. -I/usr/lib/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-globals.o `test -f 'src/core/globals.cpp' || echo './'`src/core/globals.cpp -g++ -DPACKAGE_NAME=\"ctffind\" -DPACKAGE_TARNAME=\"ctffind\" -DPACKAGE_VERSION=\"4.1.14\" -DPACKAGE_STRING=\"ctffind\ 4.1.14\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ctffind\" -DVERSION=\"4.1.14\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -Dwx_is_available=1 -I. -I/usr/lib/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-randomnumbergenerator.o `test -f 'src/core/randomnumbergenerator.cpp' || echo './'`src/core/randomnumbergenerator.cpp 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)': @@ -1364,20 +1399,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++) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -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++) - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ image_trim.cpp: In member function 'void Image::MultiplyPixelWise(Image&)': image_trim.cpp:115:13: warning: unused variable 'i' [-Wunused-variable] 115 | int i; | ^ +In file included from src/core/core_headers.h:80, + from src/core/globals.cpp:1: +src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': +src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka '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::WriteSlices(MRCFile*, long int, long int)': image_trim.cpp:1277:13: warning: unused variable 'number_of_slices' [-Wunused-variable] 1277 | int number_of_slices = (end_slice - start_slice) + 1; @@ -1413,10 +1448,6 @@ image_trim.cpp:3083:57: warning: variable 'third_dimension' set but not used [-Wunused-but-set-variable] 3083 | int third_dimension; | ^~~~~~~~~~~~~~~ -src/programs/ctffind/ctffind.cpp: In member function 'virtual bool CtffindApp::DoCalculation()': -src/programs/ctffind/ctffind.cpp:814:41: warning: unused variable 'boost_ring_contrast' [-Wunused-variable] - 814 | const bool boost_ring_contrast = ! command_line_parser.FoundSwitch("fast"); - | ^~~~~~~~~~~~~~~~~~~ image_trim.cpp: In member function 'void Image::InsertOtherImageAtSpecifiedPosition(Image*, int, int, int, float)': image_trim.cpp:3427:13: warning: unused variable 'kk_logi' [-Wunused-variable] 3427 | int kk_logi; @@ -1434,6 +1465,20 @@ image_trim.cpp:3500:16: warning: unused variable 'junk' [-Wunused-variable] 3500 | double junk; | ^~~~ +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; @@ -1456,38 +1501,6 @@ src/programs/ctffind/ctffind.cpp:2856:1: warning: no return statement in function returning non-void [-Wreturn-type] 2856 | } | ^ -src/programs/ctffind/ctffind.cpp: In function 'bool RescaleSpectrumAndRotationalAverage(Image*, Image*, Image*, int, double*, double*, double*, float*, float*, int, int)': -src/programs/ctffind/ctffind.cpp:2599:1: warning: control reaches end of non-void function [-Wreturn-type] - 2599 | } - | ^ -src/programs/ctffind/ctffind.cpp: In function 'int ReturnSpectrumBinNumber(int, float*, Image*, long int, Image*, float*)': -src/programs/ctffind/ctffind.cpp:2930:1: warning: control reaches end of non-void function [-Wreturn-type] - 2930 | } - | ^ -src/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]; - | ~~~~~~~~~~~~~~~~~~~^ -In file included from src/core/core_headers.h:80, - from src/core/globals.cpp:1: -src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': -src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka '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/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++) - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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/functions.cpp:1: src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': @@ -1506,6 +1519,7 @@ 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++) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-randomnumbergenerator.o `test -f 'src/core/randomnumbergenerator.cpp' || echo './'`src/core/randomnumbergenerator.cpp 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; @@ -1517,23 +1531,28 @@ 963 | int processorCoreCount = 0; | ^~~~~~~~~~~~~~~~~~ src/programs/ctffind/ctffind.cpp: In function 'bool RescaleSpectrumAndRotationalAverage(Image*, Image*, Image*, int, double*, double*, double*, float*, float*, int, int)': +src/programs/ctffind/ctffind.cpp:2599:1: warning: control reaches end of non-void function [-Wreturn-type] + 2599 | } + | ^ +src/programs/ctffind/ctffind.cpp: In function 'int ReturnSpectrumBinNumber(int, float*, Image*, long int, Image*, float*)': +src/programs/ctffind/ctffind.cpp:2930:1: warning: control reaches end of non-void function [-Wreturn-type] + 2930 | } + | ^ +src/core/functions.cpp: At global scope: +src/core/functions.cpp:782:12: warning: 'int numCoresAndLogicalProcs(int*, int*)' defined but not used [-Wunused-function] + 782 | static int numCoresAndLogicalProcs(int *physical, int *logical) + | ^~~~~~~~~~~~~~~~~~~~~~~ +src/programs/ctffind/ctffind.cpp: In function 'void ComputeFRCBetween1DSpectrumAndFit(int, double*, double*, float*, double*, double*, int)': +src/programs/ctffind/ctffind.cpp:2222:51: warning: '*half_window_width[1]' may be used uninitialized [-Wmaybe-uninitialized] + 2222 | half_window_width[0] = half_window_width[1]; + | ~~~~~~~~~~~~~~~~~~~^ +src/programs/ctffind/ctffind.cpp: In function 'bool RescaleSpectrumAndRotationalAverage(Image*, Image*, Image*, int, double*, double*, double*, float*, float*, int, int)': src/programs/ctffind/ctffind.cpp:2526:110: warning: 'normalisation_bin_number' may be used uninitialized [-Wmaybe-uninitialized] 2526 | actually_do_rescaling = (peak[normalisation_bin_number] - background[normalisation_bin_number]) > 0.0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ src/programs/ctffind/ctffind.cpp:2439:13: note: 'normalisation_bin_number' was declared here 2439 | int normalisation_bin_number; | ^~~~~~~~~~~~~~~~~~~~~~~~ -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-userinput.o `test -f 'src/core/userinput.cpp' || echo './'`src/core/userinput.cpp -g++ -DPACKAGE_NAME=\"ctffind\" -DPACKAGE_TARNAME=\"ctffind\" -DPACKAGE_VERSION=\"4.1.14\" -DPACKAGE_STRING=\"ctffind\ 4.1.14\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ctffind\" -DVERSION=\"4.1.14\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -Dwx_is_available=1 -I. -I/usr/lib/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-curve.o `test -f 'src/core/curve.cpp' || echo './'`src/core/curve.cpp -src/core/userinput.cpp:160:45: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 160 | wxPrintf(" Compiled : %s\n", __DATE__); - | ^~~~~~~~ -src/core/curve.cpp:1067:1: warning: "/*" within comment [-Wcomment] - 1067 | /**************************************************************** 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; @@ -1541,6 +1560,20 @@ 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/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++) + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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++) + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-userinput.o `test -f 'src/core/userinput.cpp' || echo './'`src/core/userinput.cpp +src/core/userinput.cpp:160:45: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 160 | wxPrintf(" Compiled : %s\n", __DATE__); + | ^~~~~~~~ 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 @@ -1592,6 +1625,9 @@ src/programs/ctffind/ctffind.cpp:907:41: note: 'final_score' was declared here 907 | float final_score; | ^~~~~~~~~~~ +g++ -DPACKAGE_NAME=\"ctffind\" -DPACKAGE_TARNAME=\"ctffind\" -DPACKAGE_VERSION=\"4.1.14\" -DPACKAGE_STRING=\"ctffind\ 4.1.14\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ctffind\" -DVERSION=\"4.1.14\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -Dwx_is_available=1 -I. -I/usr/lib/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-curve.o `test -f 'src/core/curve.cpp' || echo './'`src/core/curve.cpp +src/core/curve.cpp:1067:1: warning: "/*" within comment [-Wcomment] + 1067 | /**************************************************************** In file included from src/core/core_headers.h:80, from src/core/userinput.cpp:1: src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': @@ -1612,6 +1648,7 @@ 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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-matrix.o `test -f 'src/core/matrix.cpp' || echo './'`src/core/matrix.cpp In file included from src/core/core_headers.h:80, from src/core/curve.cpp:1: src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': @@ -1622,6 +1659,7 @@ 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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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 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; @@ -1630,7 +1668,6 @@ src/core/curve.cpp:1246:16: warning: variable 'dd' set but not used [-Wunused-but-set-variable] 1246 | double dd; | ^~ -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-matrix.o `test -f 'src/core/matrix.cpp' || echo './'`src/core/matrix.cpp 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; @@ -1638,8 +1675,6 @@ 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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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 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)': @@ -1650,7 +1685,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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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/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) @@ -1670,7 +1704,8 @@ 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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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 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)': @@ -1681,6 +1716,7 @@ 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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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 In file included from src/core/core_headers.h:80, from src/core/abstract_image_file.cpp:1: @@ -1692,7 +1728,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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-dm_file.o `test -f 'src/core/dm_file.cpp' || echo './'`src/core/dm_file.cpp In file included from src/core/core_headers.h:80, from src/core/mrc_header.cpp:1: src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': @@ -1703,7 +1738,7 @@ 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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-dm_file.o `test -f 'src/core/dm_file.cpp' || echo './'`src/core/dm_file.cpp In file included from src/core/core_headers.h:80, from src/core/mrc_file.cpp:1: src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': @@ -1714,7 +1749,7 @@ 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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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 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)': @@ -1733,6 +1768,195 @@ 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 ++ ) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ +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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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/core/tiff_file.cpp:186:96: warning: 'strip_counter' may be used uninitialized [-Wmaybe-uninitialized] + 186 | number_of_bytes_placed_in_buffer = TIFFReadEncodedStrip(tif, strip_counter, (char *) buf, (tsize_t) -1); + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/core/tiff_file.cpp:146:18: note: 'strip_counter' was declared here + 146 | tstrip_t strip_counter; + | ^~~~~~~~~~~~~ +In file included from src/core/core_headers.h:80, + from src/core/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++) + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/core/image_file.cpp: In member function 'virtual bool ImageFile::OpenFile(std::string, bool, bool)': +src/core/image_file.cpp:58:158: warning: statement is a reference, not call, to function 'abort' [-Waddress] + 58 | default: MyPrintWithDetails("Unsupported file type\n"); MyDebugAssertTrue(false,"Unsupported file type: %s\n",filename.GetFullPath().ToStdString()); abort; break; + | ^~~~~ +src/core/image_file.cpp:58:158: warning: statement has no effect [-Wunused-value] +src/core/image_file.cpp: In member function 'virtual void ImageFile::ReadSlicesFromDisk(int, int, float*)': +src/core/image_file.cpp:85:65: warning: statement is a reference, not call, to function 'abort' [-Waddress] + 85 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; + | ^~~~~ +src/core/image_file.cpp:85:65: warning: statement has no effect [-Wunused-value] +src/core/image_file.cpp: In member function 'virtual void ImageFile::WriteSlicesToDisk(int, int, float*)': +src/core/image_file.cpp:101:65: warning: statement is a reference, not call, to function 'abort' [-Waddress] + 101 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; + | ^~~~~ +src/core/image_file.cpp:101:65: warning: statement has no effect [-Wunused-value] +src/core/image_file.cpp: In member function 'virtual int ImageFile::ReturnXSize()': +src/core/image_file.cpp:113:65: warning: statement is a reference, not call, to function 'abort' [-Waddress] + 113 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; + | ^~~~~ +src/core/image_file.cpp:113:65: warning: statement has no effect [-Wunused-value] +src/core/image_file.cpp: In member function 'virtual int ImageFile::ReturnYSize()': +src/core/image_file.cpp:124:65: warning: statement is a reference, not call, to function 'abort' [-Waddress] + 124 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; + | ^~~~~ +src/core/image_file.cpp:124:65: warning: statement has no effect [-Wunused-value] +src/core/image_file.cpp: In member function 'virtual int ImageFile::ReturnZSize()': +src/core/image_file.cpp:135:65: warning: statement is a reference, not call, to function 'abort' [-Waddress] + 135 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; + | ^~~~~ +src/core/image_file.cpp:135:65: warning: statement has no effect [-Wunused-value] +src/core/image_file.cpp: In member function 'virtual int ImageFile::ReturnNumberOfSlices()': +src/core/image_file.cpp:146:65: warning: statement is a reference, not call, to function 'abort' [-Waddress] + 146 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; + | ^~~~~ +src/core/image_file.cpp:146:65: warning: statement has no effect [-Wunused-value] +src/core/image_file.cpp: In member function 'virtual float ImageFile::ReturnPixelSize()': +src/core/image_file.cpp:157:65: warning: statement is a reference, not call, to function 'abort' [-Waddress] + 157 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; + | ^~~~~ +src/core/image_file.cpp:157:65: warning: statement has no effect [-Wunused-value] +src/core/image_file.cpp: In member function 'virtual bool ImageFile::IsOpen()': +src/core/image_file.cpp:168:65: warning: statement is a reference, not call, to function 'abort' [-Waddress] + 168 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; + | ^~~~~ +src/core/image_file.cpp:168:65: warning: statement has no effect [-Wunused-value] +In file included from src/core/core_headers.h: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; + | ^~~~~~~~~~~~~~~~~~ +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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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 +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/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 + | ^~~~~~~~~~~~~~~~~~ +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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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/job_packager.cpp:1051:60: warning: 'transfer_size' may be used uninitialized [-Wmaybe-uninitialized] + 1051 | unsigned char *transfer_buffer = new unsigned char[transfer_size]; + | ^~~~~~~~~~~~~ +src/core/job_packager.cpp:1024:14: note: 'transfer_size' declared here + 1024 | long transfer_size; + | ^~~~~~~~~~~~~ +In member function 'void JobResult::SetResult(int, float*)', + inlined from 'JobResult::JobResult(int, float*)' at src/core/job_packager.cpp:1416:11: +src/core/job_packager.cpp:1458:33: warning: '*this.JobResult::result_data' is used uninitialized [-Wuninitialized] + 1458 | if (result_size != 0 || result_data != NULL) + | ^~~~~~~~~~~ +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; + | ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/core/core_headers.h:80, from src/core/dm_file.cpp:6: src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': @@ -2019,6 +2243,17 @@ /usr/include/wx-3.2/wx/txtstrm.h:25:38: note: 'wxTextOutputStream& endl(wxTextOutputStream&)' declared here 25 | WXDLLIMPEXP_BASE wxTextOutputStream &endl( wxTextOutputStream &stream ); | ^~~~ +In file included from src/core/core_headers.h:80, + from src/core/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++) + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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/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); @@ -2039,209 +2274,9 @@ src/core/dm_file.cpp:415:33: note: 'val' was declared here 415 | double val, arr[256]; | ^~~ -src/core/tiff_file.cpp:186:96: warning: 'strip_counter' may be used uninitialized [-Wmaybe-uninitialized] - 186 | number_of_bytes_placed_in_buffer = TIFFReadEncodedStrip(tif, strip_counter, (char *) buf, (tsize_t) -1); - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/core/tiff_file.cpp:146:18: note: 'strip_counter' was declared here - 146 | tstrip_t strip_counter; - | ^~~~~~~~~~~~~ -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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 -In file included from src/core/core_headers.h:80, - from src/core/image_file.cpp:1: -src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': -src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka '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/image_file.cpp: In member function 'virtual bool ImageFile::OpenFile(std::string, bool, bool)': -src/core/image_file.cpp:58:158: warning: statement is a reference, not call, to function 'abort' [-Waddress] - 58 | default: MyPrintWithDetails("Unsupported file type\n"); MyDebugAssertTrue(false,"Unsupported file type: %s\n",filename.GetFullPath().ToStdString()); abort; break; - | ^~~~~ -src/core/image_file.cpp:58:158: warning: statement has no effect [-Wunused-value] -src/core/image_file.cpp: In member function 'virtual void ImageFile::ReadSlicesFromDisk(int, int, float*)': -src/core/image_file.cpp:85:65: warning: statement is a reference, not call, to function 'abort' [-Waddress] - 85 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; - | ^~~~~ -src/core/image_file.cpp:85:65: warning: statement has no effect [-Wunused-value] -src/core/image_file.cpp: In member function 'virtual void ImageFile::WriteSlicesToDisk(int, int, float*)': -src/core/image_file.cpp:101:65: warning: statement is a reference, not call, to function 'abort' [-Waddress] - 101 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; - | ^~~~~ -src/core/image_file.cpp:101:65: warning: statement has no effect [-Wunused-value] -src/core/image_file.cpp: In member function 'virtual int ImageFile::ReturnXSize()': -src/core/image_file.cpp:113:65: warning: statement is a reference, not call, to function 'abort' [-Waddress] - 113 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; - | ^~~~~ -src/core/image_file.cpp:113:65: warning: statement has no effect [-Wunused-value] -src/core/image_file.cpp: In member function 'virtual int ImageFile::ReturnYSize()': -src/core/image_file.cpp:124:65: warning: statement is a reference, not call, to function 'abort' [-Waddress] - 124 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; - | ^~~~~ -src/core/image_file.cpp:124:65: warning: statement has no effect [-Wunused-value] -src/core/image_file.cpp: In member function 'virtual int ImageFile::ReturnZSize()': -src/core/image_file.cpp:135:65: warning: statement is a reference, not call, to function 'abort' [-Waddress] - 135 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; - | ^~~~~ -src/core/image_file.cpp:135:65: warning: statement has no effect [-Wunused-value] -src/core/image_file.cpp: In member function 'virtual int ImageFile::ReturnNumberOfSlices()': -src/core/image_file.cpp:146:65: warning: statement is a reference, not call, to function 'abort' [-Waddress] - 146 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; - | ^~~~~ -src/core/image_file.cpp:146:65: warning: statement has no effect [-Wunused-value] -src/core/image_file.cpp: In member function 'virtual float ImageFile::ReturnPixelSize()': -src/core/image_file.cpp:157:65: warning: statement is a reference, not call, to function 'abort' [-Waddress] - 157 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; - | ^~~~~ -src/core/image_file.cpp:157:65: warning: statement has no effect [-Wunused-value] -src/core/image_file.cpp: In member function 'virtual bool ImageFile::IsOpen()': -src/core/image_file.cpp:168:65: warning: statement is a reference, not call, to function 'abort' [-Waddress] - 168 | default: MyPrintWithDetails("Unsupported file type\n"); abort; break; - | ^~~~~ -src/core/image_file.cpp:168:65: warning: statement has no effect [-Wunused-value] -In file included from src/core/core_headers.h:80, - from src/core/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/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: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; - | ^~~~~~~~~~~~~~~~~~ -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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/job_packager.cpp:1051:60: warning: 'transfer_size' may be used uninitialized [-Wmaybe-uninitialized] - 1051 | unsigned char *transfer_buffer = new unsigned char[transfer_size]; - | ^~~~~~~~~~~~~ -src/core/job_packager.cpp:1024:14: note: 'transfer_size' declared here - 1024 | long transfer_size; - | ^~~~~~~~~~~~~ -In member function 'void JobResult::SetResult(int, float*)', - inlined from 'JobResult::JobResult(int, float*)' at src/core/job_packager.cpp:1416:11: -src/core/job_packager.cpp:1458:33: warning: '*this.JobResult::result_data' is used uninitialized [-Wuninitialized] - 1458 | if (result_size != 0 || result_data != NULL) - | ^~~~~~~~~~~ -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-empirical_distribution.o `test -f 'src/core/empirical_distribution.cpp' || echo './'`src/core/empirical_distribution.cpp -In file included from src/core/core_headers.h:80, - from src/core/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; - | ^~~~~~~~~~~~~~~~~~~~~~ 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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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 -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++) - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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 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)': @@ -2273,6 +2308,7 @@ 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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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 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)': @@ -2283,7 +2319,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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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 In file included from src/core/core_headers.h:80, from src/core/numeric_text_file.cpp:1: src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': @@ -2294,17 +2329,7 @@ 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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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 -In file included from src/core/core_headers.h:80, - from src/core/progressbar.cpp:1: -src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': -src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka '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++) - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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/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) @@ -2312,10 +2337,6 @@ 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/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; @@ -2323,10 +2344,8 @@ src/core/numeric_text_file.cpp:106:21: note: 'current_records_per_line' was declared here 106 | int current_records_per_line; | ^~~~~~~~~~~~~~~~~~~~~~~~ -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-va04.o `test -f 'src/core/va04.cpp' || echo './'`src/core/va04.cpp -g++ -DPACKAGE_NAME=\"ctffind\" -DPACKAGE_TARNAME=\"ctffind\" -DPACKAGE_VERSION=\"4.1.14\" -DPACKAGE_STRING=\"ctffind\ 4.1.14\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ctffind\" -DVERSION=\"4.1.14\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -Dwx_is_available=1 -I. -I/usr/lib/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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/downhill_simplex.cpp:1: + from src/core/progressbar.cpp:1: src/core/angular_distribution_histogram.h: In member function 'int AngularDistributionHistogram::ReturnThetaBin(float)': src/core/angular_distribution_histogram.h:33:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 33 | for (theta_bin = 0; theta_bin < theta_boundaries.GetCount(); theta_bin++) @@ -2335,8 +2354,9 @@ 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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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 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++) @@ -2345,10 +2365,10 @@ 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/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 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*))' with nonzero offset 8 [-Wfree-nonheap-object] @@ -2393,12 +2413,22 @@ src/core/downhill_simplex.cpp:99:17: note: returned from 'double* DownhillSimplex::dvector(long int, long int)' 99 | psum=dvector(1,ndim); | ~~~~~~~^~~~~~~~ -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; - | ^~~~~~~~~~~~~~~ +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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o src/core/ctffind-va04.o `test -f 'src/core/va04.cpp' || echo './'`src/core/va04.cpp +g++ -DPACKAGE_NAME=\"ctffind\" -DPACKAGE_TARNAME=\"ctffind\" -DPACKAGE_VERSION=\"4.1.14\" -DPACKAGE_STRING=\"ctffind\ 4.1.14\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ctffind\" -DVERSION=\"4.1.14\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -Dwx_is_available=1 -I. -I/usr/lib/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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/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++) + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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/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/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(); @@ -2421,6 +2451,12 @@ src/core/va04.cpp:21:12: warning: 'c__1' defined but not used [-Wunused-variable] 21 | static int c__1 = 1; | ^~~~ +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 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)': @@ -2435,7 +2471,7 @@ 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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -L/usr/lib/arm-linux-gnueabihf -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DNDEBUG -funroll-loops -O3 -Wall -pipe -fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -L/usr/lib/arm-linux-gnueabihf -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/arm-linux-gnueabihf/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -g -O2 -ffile-prefix-map=/build/reproducible-path/ctffind-4.1.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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/arm-linux-gnueabihf -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 @@ -2477,12 +2513,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/32571/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/32571/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/16124 and its subdirectories -I: Current time: Sat Feb 1 13:43:12 -12 2025 -I: pbuilder-time-stamp: 1738460592 +I: removing directory /srv/workspace/pbuilder/32571 and its subdirectories +I: Current time: Sun Feb 2 15:52:52 +14 2025 +I: pbuilder-time-stamp: 1738461172