[croninn@loncemserv1 ctffind-4.1.14]$ make > make_disable-debugmode.log 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:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 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:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 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:15: warning: unused variable ‘boost_ring_contrast’ [-Wunused-variable] 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:8: warning: unused variable ‘target_sigma’ [-Wunused-variable] float target_sigma; ^~~~~~~~~~~~ src/programs/ctffind/ctffind.cpp:2317:6: warning: unused variable ‘chosen_bin’ [-Wunused-variable] int chosen_bin; ^~~~~~~~~~ src/programs/ctffind/ctffind.cpp: In function ‘bool RescaleSpectrumAndRotationalAverage(Image*, Image*, Image*, int, double*, double*, double*, float*, float*, int, int)’: src/programs/ctffind/ctffind.cpp:2447:8: warning: unused variable ‘scale_factor’ [-Wunused-variable] float scale_factor; ^~~~~~~~~~~~ src/programs/ctffind/ctffind.cpp: In function ‘void ComputeEquiPhaseAverageOfPowerSpectrum(Image*, CTF*, Curve*, Curve*)’: src/programs/ctffind/ctffind.cpp:2630:9: warning: unused variable ‘lowest_sq_freq_of_ctf_aberration_max’ [-Wunused-variable] float lowest_sq_freq_of_ctf_aberration_max = std::min( fabs(ctf->ReturnSquaredSpatialFrequencyOfPhaseShiftExtremumGivenDefocus(ctf->GetDefocus1())), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/programs/ctffind/ctffind.cpp: In function ‘bool ComputeRotationalAverageOfPowerSpectrum(Image*, CTF*, Image*, Image*, int, double*, double*, double*, double*, float*, float*)’: src/programs/ctffind/ctffind.cpp:2780:8: warning: variable ‘ctf_diff_from_current_bin’ set but not used [-Wunused-but-set-variable] float ctf_diff_from_current_bin; ^~~~~~~~~~~~~~~~~~~~~~~~~ src/programs/ctffind/ctffind.cpp:2856:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ 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] } ^ 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] } ^ 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:96: warning: ‘normalisation_bin_number’ may be used uninitialized in this function [-Wmaybe-uninitialized] actually_do_rescaling = (peak[normalisation_bin_number] - background[normalisation_bin_number]) > 0.0; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ src/programs/ctffind/ctffind.cpp: In member function ‘virtual bool CtffindApp::DoCalculation()’: src/programs/ctffind/ctffind.cpp:2008:99: warning: ‘output_text_avrot’ may be used uninitialized in this function [-Wmaybe-uninitialized] wxPrintf("Detailed results, including 1D fit profiles : %s\n",output_text_avrot->ReturnFilename()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ src/programs/ctffind/ctffind.cpp:2031:2: warning: ‘last_bin_without_aliasing’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (last_bin_without_aliasing == 0) ^~ src/programs/ctffind/ctffind.cpp:2022:19: warning: ‘final_score’ may be used uninitialized in this function [-Wmaybe-uninitialized] results_array[4] = final_score; // CTFFIND score ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ src/programs/ctffind/ctffind.cpp:2072:33: warning: ‘conjugate_gradient_minimizer’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (! defocus_is_known) delete conjugate_gradient_minimizer; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/programs/ctffind/ctffind.cpp:1157:4: warning: ‘resampling_is_necessary’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (resampling_is_necessary) ^~ src/programs/ctffind/ctffind.cpp:1996:10: warning: ‘my_progress_bar’ may be used uninitialized in this function [-Wmaybe-uninitialized] delete my_progress_bar; ^~~~~~~~~~~~~~~ src/programs/ctffind/ctffind.cpp:2059:33: warning: ‘output_text’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (is_running_locally) delete output_text; ^~~~~~~~~~~ In file included from src/core/core_headers.h:80, from src/core/functions.cpp:1: src/core/angular_distribution_histogram.h: In member function ‘int AngularDistributionHistogram::ReturnThetaBin(float)’: src/core/angular_distribution_histogram.h:33:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 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:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/core/functions.cpp: In function ‘bool GetMRCDetails(const char*, int&, int&, int&)’: src/core/functions.cpp:65:6: warning: variable ‘success’ set but not used [-Wunused-but-set-variable] int success; ^~~~~~~ src/core/functions.cpp: In function ‘void SplitFileIntoDirectoryAndFile(wxString&, wxString&, wxString&)’: src/core/functions.cpp:571:52: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] for (int directory_counter = 0; directory_counter < directories.GetCount(); directory_counter++) ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/core/functions.cpp: In function ‘int ReturnAppropriateNumberOfThreads(int)’: src/core/functions.cpp:961:7: warning: unused variable ‘physicalProcs’ [-Wunused-variable] int physicalProcs = 0; ^~~~~~~~~~~~~ src/core/functions.cpp:962:7: warning: unused variable ‘logicalProcessorCount’ [-Wunused-variable] int logicalProcessorCount = 0; ^~~~~~~~~~~~~~~~~~~~~ src/core/functions.cpp:963:7: warning: unused variable ‘processorCoreCount’ [-Wunused-variable] int processorCoreCount = 0; ^~~~~~~~~~~~~~~~~~ src/core/functions.cpp: At global scope: src/core/functions.cpp:782:12: warning: ‘int numCoresAndLogicalProcs(int*, int*)’ defined but not used [-Wunused-function] static int numCoresAndLogicalProcs(int *physical, int *logical) ^~~~~~~~~~~~~~~~~~~~~~~ src/core/functions.cpp: In function ‘wxString ReceivewxStringFromSocket(wxSocketBase*)’: src/core/functions.cpp:191:70: warning: ‘length_of_string’ may be used uninitialized in this function [-Wmaybe-uninitialized] unsigned char *transfer_buffer = new unsigned char[length_of_string + 1]; // + 1 for the terminating null character; ~~~~~~~~~~~~~~~~~^~~ 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:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 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:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 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:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 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:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/core/core_headers.h:80, from src/core/userinput.cpp:1: src/core/angular_distribution_histogram.h: In member function ‘int AngularDistributionHistogram::ReturnThetaBin(float)’: src/core/angular_distribution_histogram.h:33:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 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:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/core/userinput.cpp: In member function ‘void UserInput::Init(const char*, wxString)’: src/core/userinput.cpp:157:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] for (counter = 0; counter < strlen(program_name) / 2; counter++) wxPrintf(" "); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/core/userinput.cpp:159:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] for (counter = 0; counter < strlen(program_name) / 2; counter++) wxPrintf(" "); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/core/userinput.cpp:161:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] for (counter = 0; counter < strlen(program_name) / 2; counter++) wxPrintf(" "); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/core/curve.cpp:1067:1: warning: "/*" within comment [-Wcomment] /**************************************************************** In file included from src/core/core_headers.h:80, from src/core/curve.cpp:1: src/core/angular_distribution_histogram.h: In member function ‘int AngularDistributionHistogram::ReturnThetaBin(float)’: src/core/angular_distribution_histogram.h:33:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 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:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/core/curve.cpp: In member function ‘float Curve::ReturnLinearInterpolationFromI(float)’: src/core/curve.cpp:367:8: warning: unused variable ‘distance’ [-Wunused-variable] float distance; ^~~~~~~~ src/core/curve.cpp: In function ‘void LS_POLY(float*, float*, int, int, float*, float*)’: src/core/curve.cpp:1246:9: warning: variable ‘dd’ set but not used [-Wunused-but-set-variable] double dd; ^~ src/core/curve.cpp: In member function ‘float Curve::ReturnMode()’: src/core/curve.cpp:444:9: warning: ‘mode’ may be used uninitialized in this function [-Wmaybe-uninitialized] return mode; ^~~~ 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)’: src/core/angular_distribution_histogram.h:33:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 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:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 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:6: warning: unused variable ‘i’ [-Wunused-variable] int i; ^ image_trim.cpp: In member function ‘void Image::WriteSlices(MRCFile*, long int, long int)’: image_trim.cpp:1277:6: warning: unused variable ‘number_of_slices’ [-Wunused-variable] int number_of_slices = (end_slice - start_slice) + 1; ^~~~~~~~~~~~~~~~ image_trim.cpp: In member function ‘void Image::UpdateDistributionOfRealValues(EmpiricalDistribution*, float, bool, float, float, float)’: image_trim.cpp:1953:8: warning: unused variable ‘edge’ [-Wunused-variable] float edge; ^~~~ image_trim.cpp: In member function ‘void Image::ComputeAmplitudeSpectrumFull2D(Image*, bool, float)’: image_trim.cpp:2711:6: warning: unused variable ‘image_addr_i’ [-Wunused-variable] int image_addr_i; ^~~~~~~~~~~~ image_trim.cpp:2712:6: warning: unused variable ‘image_addr_j’ [-Wunused-variable] int image_addr_j; ^~~~~~~~~~~~ image_trim.cpp:2713:6: warning: unused variable ‘i_mate’ [-Wunused-variable] int i_mate; ^~~~~~ image_trim.cpp:2714:6: warning: unused variable ‘j_mate’ [-Wunused-variable] int j_mate; ^~~~~~ image_trim.cpp: In member function ‘void Image::SpectrumBoxConvolution(Image*, int, float)’: image_trim.cpp:2783:6: warning: unused variable ‘l’ [-Wunused-variable] int l; ^ image_trim.cpp:2793:7: warning: unused variable ‘address_within_input’ [-Wunused-variable] long address_within_input; ^~~~~~~~~~~~~~~~~~~~ image_trim.cpp: In member function ‘void Image::TaperEdges()’: image_trim.cpp:3082:11: warning: variable ‘second_dimension’ set but not used [-Wunused-but-set-variable] int second_dimension; ^~~~~~~~~~~~~~~~ image_trim.cpp:3083:11: warning: variable ‘third_dimension’ set but not used [-Wunused-but-set-variable] int third_dimension; ^~~~~~~~~~~~~~~ image_trim.cpp: In member function ‘void Image::InsertOtherImageAtSpecifiedPosition(Image*, int, int, int, float)’: image_trim.cpp:3427:6: warning: unused variable ‘kk_logi’ [-Wunused-variable] int kk_logi; ^~~~~~~ image_trim.cpp:3430:6: warning: unused variable ‘jj_logi’ [-Wunused-variable] int jj_logi; ^~~~~~~ image_trim.cpp:3434:6: warning: unused variable ‘ii_logi’ [-Wunused-variable] int ii_logi; ^~~~~~~ image_trim.cpp: In member function ‘void Image::ClipInto(Image*, float, bool, float, int, int, int)’: image_trim.cpp:3482:6: warning: unused variable ‘array_address’ [-Wunused-variable] int array_address = 0; ^~~~~~~~~~~~~ image_trim.cpp:3500:9: warning: unused variable ‘junk’ [-Wunused-variable] double junk; ^~~~ In file included from src/core/core_headers.h:80, from src/core/matrix.cpp:1: src/core/angular_distribution_histogram.h: In member function ‘int AngularDistributionHistogram::ReturnThetaBin(float)’: src/core/angular_distribution_histogram.h:33:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 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:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/core/matrix.cpp: In member function ‘void RotationMatrix::ConvertToValidEulerAngles(float&, float&, float&)’: src/core/matrix.cpp:325:9: warning: ‘best_psi’ may be used uninitialized in this function [-Wmaybe-uninitialized] float best_psi; ^~~~~~~~ src/core/matrix.cpp:324:9: warning: ‘best_theta’ may be used uninitialized in this function [-Wmaybe-uninitialized] float best_theta; ^~~~~~~~~~ src/core/matrix.cpp:365:66: warning: ‘best_phi’ may be used uninitialized in this function [-Wmaybe-uninitialized] for (current_phi = best_phi - 1.0f; current_phi < old_best_phi + 1.0f; current_phi += 0.1f) ~~~~~~~~~~~~~^~~~~~ In file included from src/core/core_headers.h:80, from src/core/symmetry_matrix.cpp:1: src/core/angular_distribution_histogram.h: In member function ‘int AngularDistributionHistogram::ReturnThetaBin(float)’: src/core/angular_distribution_histogram.h:33:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 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:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/core/core_headers.h:80, from src/core/abstract_image_file.cpp:1: src/core/angular_distribution_histogram.h: In member function ‘int AngularDistributionHistogram::ReturnThetaBin(float)’: src/core/angular_distribution_histogram.h:33:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 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:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/core/core_headers.h:80, from src/core/mrc_header.cpp:1: src/core/angular_distribution_histogram.h: In member function ‘int AngularDistributionHistogram::ReturnThetaBin(float)’: src/core/angular_distribution_histogram.h:33:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 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:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/core/core_headers.h:80, from src/core/mrc_file.cpp:1: src/core/angular_distribution_histogram.h: In member function ‘int AngularDistributionHistogram::ReturnThetaBin(float)’: src/core/angular_distribution_histogram.h:33:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 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:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/core/core_headers.h:80, from src/core/tiff_file.cpp:1: src/core/angular_distribution_histogram.h: In member function ‘int AngularDistributionHistogram::ReturnThetaBin(float)’: src/core/angular_distribution_histogram.h:33:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 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:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/core/tiff_file.cpp: In member function ‘bool TiffFile::ReadLogicalDimensionsFromDisk()’: src/core/tiff_file.cpp:108:55: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32’ {aka ‘unsigned int’} [-Wsign-compare] if (current_x != original_x || logical_dimension_y != current_y) ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/core/tiff_file.cpp: In member function ‘virtual void TiffFile::ReadSlicesFromDisk(int, int, float*)’: src/core/tiff_file.cpp:149:73: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] for (unsigned int directory_counter = start_slice-1; directory_counter < end_slice; directory_counter ++ ) ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ src/core/tiff_file.cpp:186:61: warning: ‘strip_counter’ may be used uninitialized in this function [-Wmaybe-uninitialized] number_of_bytes_placed_in_buffer = TIFFReadEncodedStrip(tif, strip_counter, (char *) buf, (tsize_t) -1); ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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)’: src/core/angular_distribution_histogram.h:33:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 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:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/core/dm_file.cpp: In destructor ‘DMFile::~DMFile()’: src/core/dm_file.cpp:49:6: warning: statement has no effect [-Wunused-value] true; ^ src/core/dm_file.cpp: In member function ‘int DMFile::readDM(wxString, unsigned char*, bool, int)’: src/core/dm_file.cpp:162:9: warning: statement is a reference, not call, to function ‘abort’ [-Waddress] abort; ^ src/core/dm_file.cpp:162:9: warning: statement has no effect [-Wunused-value] src/core/dm_file.cpp: In member function ‘int DMFile::readTagGroupWithVersion(std::ifstream*, unsigned char*, bool, int)’: src/core/dm_file.cpp:303:62: warning: the address of ‘wxTextOutputStream& endl(wxTextOutputStream&)’ will never be NULL [-Waddress] if ( sb ) std::cout << "Warning: Swapping header bytes" << endl; ^~~~ src/core/dm_file.cpp:304:42: warning: the address of ‘wxTextOutputStream& endl(wxTextOutputStream&)’ will never be NULL [-Waddress] std::cout << "Version: " << version << endl; ^~~~ src/core/dm_file.cpp:305:50: warning: the address of ‘wxTextOutputStream& endl(wxTextOutputStream&)’ will never be NULL [-Waddress] std::cout << "File length: " << file_length << endl; ^~~~ src/core/dm_file.cpp:306:48: warning: the address of ‘wxTextOutputStream& endl(wxTextOutputStream&)’ will never be NULL [-Waddress] std::cout << "Endianness: " << endianness << endl; ^~~~ src/core/dm_file.cpp:318:64: warning: the address of ‘wxTextOutputStream& endl(wxTextOutputStream&)’ will never be NULL [-Waddress] std::cout << "" << endl; ^~~~ src/core/dm_file.cpp:319:137: warning: the address of ‘wxTextOutputStream& endl(wxTextOutputStream&)’ will never be NULL [-Waddress] std::cout << "" << endl; ^~~~ src/core/dm_file.cpp:320:45: warning: the address of ‘wxTextOutputStream& endl(wxTextOutputStream&)’ will never be NULL [-Waddress] std::cout << "" << endl; ^~~~ src/core/dm_file.cpp:334:55: warning: the address of ‘wxTextOutputStream& endl(wxTextOutputStream&)’ will never be NULL [-Waddress] if ( show == 2 ) std::cout << "<" << buf << "/>" << endl; ^~~~ src/core/dm_file.cpp:337:32: warning: the address of ‘wxTextOutputStream& endl(wxTextOutputStream&)’ will never be NULL [-Waddress] if ( show == 1 ) std::cout << endl; ^~~~ src/core/dm_file.cpp:338:46: warning: the address of ‘wxTextOutputStream& endl(wxTextOutputStream&)’ will never be NULL [-Waddress] if ( show == 2 ) std::cout << "" << endl; ^~~~ src/core/dm_file.cpp: In member function ‘int DMFile::readTagGroupData(std::ifstream*, int, unsigned char*, bool)’: src/core/dm_file.cpp:386:14: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] for ( i=0; i" << endl; ^~~~ src/core/dm_file.cpp:396:14: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] for ( i=0; i" << endl; ^~~~ src/core/dm_file.cpp: In member function ‘int DMFile::readTag(std::ifstream*, int, unsigned char*, bool, int&)’: src/core/dm_file.cpp:429:35: warning: the address of ‘wxTextOutputStream& endl(wxTextOutputStream&)’ will never be NULL [-Waddress] std::cout << "\tlen=" << len << endl; ^~~~ src/core/dm_file.cpp:430:49: warning: the address of ‘wxTextOutputStream& endl(wxTextOutputStream&)’ will never be NULL [-Waddress] std::cerr << "Error: tag length too long!" << endl; ^~~~ src/core/dm_file.cpp:445:16: warning: the address of ‘wxTextOutputStream& endl(wxTextOutputStream&)’ will never be NULL [-Waddress] std::cout << endl; ^~~~ src/core/dm_file.cpp:446:15: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] for ( i=0; i" << tag << "" << endl; ^~~~ src/core/dm_file.cpp:473:33: warning: the address of ‘wxTextOutputStream& endl(wxTextOutputStream&)’ will never be NULL [-Waddress] if ( show == 1 ) std::cout << endl; ^~~~ src/core/dm_file.cpp:484:17: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] for ( i=0; i" << endl; ^~~~ src/core/dm_file.cpp:492:17: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] for ( i=0; i" << endl; ^~~~ src/core/dm_file.cpp:499:17: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] for ( i=0; i" << buf << "" << endl; ^~~~ src/core/dm_file.cpp:509:17: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] for ( i=0; i" << endl; ^~~~ src/core/dm_file.cpp:517:18: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] for ( i=0; i" << endl; ^~~~ src/core/dm_file.cpp:526:18: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] for ( i=0; i" << endl; ^~~~ src/core/dm_file.cpp:555:17: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] for ( i=0; i" << endl; ^~~~ src/core/dm_file.cpp:559:65: warning: the address of ‘wxTextOutputStream& endl(wxTextOutputStream&)’ will never be NULL [-Waddress] std::cerr << "Error: Data type " << dt << " not defined!" << endl; ^~~~ src/core/dm_file.cpp:589:64: warning: the address of ‘wxTextOutputStream& endl(wxTextOutputStream&)’ will never be NULL [-Waddress] if ( show == 1 ) std::cout << "\t" << tag << "=" << val << endl; ^~~~ src/core/dm_file.cpp:593:102: warning: the address of ‘wxTextOutputStream& endl(wxTextOutputStream&)’ will never be NULL [-Waddress] if ( show == 1 ) std::cout << "\t" << tag << "=" << samplingX() << samplingY() << samplingZ() << endl; ^~~~ src/core/dm_file.cpp:598:64: warning: the address of ‘wxTextOutputStream& endl(wxTextOutputStream&)’ will never be NULL [-Waddress] if ( show == 1 ) std::cout << "\t" << tag << "=" << val << endl; ^~~~ src/core/dm_file.cpp:602:85: warning: the address of ‘wxTextOutputStream& endl(wxTextOutputStream&)’ will never be NULL [-Waddress] if ( show == 1 ) std::cout << "\t" << "\t" << "=" << arr[0] << "x" << arr[1] << endl; ^~~~ src/core/dm_file.cpp:605:85: warning: the address of ‘wxTextOutputStream& endl(wxTextOutputStream&)’ will never be NULL [-Waddress] if ( show == 1 ) std::cout << "\t" << "\t" << "=" << arr[0] << "x" << arr[1] << endl; ^~~~ src/core/dm_file.cpp:612:48: warning: the address of ‘wxTextOutputStream& endl(wxTextOutputStream&)’ will never be NULL [-Waddress] std::cout << "\t" << tag << "=" << val << endl; ^~~~ src/core/dm_file.cpp:613:76: warning: the address of ‘wxTextOutputStream& endl(wxTextOutputStream&)’ will never be NULL [-Waddress] for ( i=0; i" << dvalue << "" << endl; ^~~~ src/core/dm_file.cpp:664:58: warning: the address of ‘wxTextOutputStream& endl(wxTextOutputStream&)’ will never be NULL [-Waddress] std::cout << "" << ivalue << "" << endl; ^~~~ src/core/dm_file.cpp: In member function ‘int DMFile::dm3_type_length(int)’: src/core/dm_file.cpp:687:78: warning: the address of ‘wxTextOutputStream& endl(wxTextOutputStream&)’ will never be NULL [-Waddress] std::cerr << "Error: Data type " << dm3_type << " length not defined!" << endl; ^~~~ src/core/dm_file.cpp: In member function ‘virtual bool DMFile::OpenFile(std::__cxx11::string, bool, bool)’: src/core/dm_file.cpp:57:8: warning: ‘fake_pointer’ is used uninitialized in this function [-Wuninitialized] readDM(wxString(wanted_filename), fake_pointer, false); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/core/dm_file.cpp: In member function ‘int DMFile::readTag(std::ifstream*, int, unsigned char*, bool, int&)’: src/core/dm_file.cpp:578:10: warning: ‘val’ may be used uninitialized in this function [-Wmaybe-uninitialized] sizeX((size_t) val); ~~~~~^~~~~~~~~~~~~~ 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:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 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:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/core/image_file.cpp: In member function ‘virtual bool ImageFile::OpenFile(std::__cxx11::string, bool, bool)’: src/core/image_file.cpp:58:156: warning: statement is a reference, not call, to function ‘abort’ [-Waddress] default: MyPrintWithDetails("Unsupported file type\n"); MyDebugAssertTrue(false,"Unsupported file type: %s\n",filename.GetFullPath().ToStdString()); abort; break; ^ src/core/image_file.cpp:58:156: 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:63: warning: statement is a reference, not call, to function ‘abort’ [-Waddress] default: MyPrintWithDetails("Unsupported file type\n"); abort; break; ^ src/core/image_file.cpp:85:63: 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:63: warning: statement is a reference, not call, to function ‘abort’ [-Waddress] default: MyPrintWithDetails("Unsupported file type\n"); abort; break; ^ src/core/image_file.cpp:101:63: 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:63: warning: statement is a reference, not call, to function ‘abort’ [-Waddress] default: MyPrintWithDetails("Unsupported file type\n"); abort; break; ^ src/core/image_file.cpp:113:63: 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:63: warning: statement is a reference, not call, to function ‘abort’ [-Waddress] default: MyPrintWithDetails("Unsupported file type\n"); abort; break; ^ src/core/image_file.cpp:124:63: 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:63: warning: statement is a reference, not call, to function ‘abort’ [-Waddress] default: MyPrintWithDetails("Unsupported file type\n"); abort; break; ^ src/core/image_file.cpp:135:63: 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:63: warning: statement is a reference, not call, to function ‘abort’ [-Waddress] default: MyPrintWithDetails("Unsupported file type\n"); abort; break; ^ src/core/image_file.cpp:146:63: 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:63: warning: statement is a reference, not call, to function ‘abort’ [-Waddress] default: MyPrintWithDetails("Unsupported file type\n"); abort; break; ^ src/core/image_file.cpp:157:63: 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:63: warning: statement is a reference, not call, to function ‘abort’ [-Waddress] default: MyPrintWithDetails("Unsupported file type\n"); abort; break; ^ src/core/image_file.cpp:168:63: warning: statement has no effect [-Wunused-value] In file included from src/core/core_headers.h:52, from src/core/image_file.cpp:1: 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] #define MyPrintWithDetails(...) {wxPrintf(__VA_ARGS__); wxPrintf("From %s:%i\n%s\n", __FILE__,__LINE__,__PRETTY_FUNCTION__);} ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/core/image_file.cpp:113:11: note: in expansion of macro ‘MyPrintWithDetails’ 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] #define MyPrintWithDetails(...) {wxPrintf(__VA_ARGS__); wxPrintf("From %s:%i\n%s\n", __FILE__,__LINE__,__PRETTY_FUNCTION__);} ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/core/image_file.cpp:124:11: note: in expansion of macro ‘MyPrintWithDetails’ 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] #define MyPrintWithDetails(...) {wxPrintf(__VA_ARGS__); wxPrintf("From %s:%i\n%s\n", __FILE__,__LINE__,__PRETTY_FUNCTION__);} ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/core/image_file.cpp:135:11: note: in expansion of macro ‘MyPrintWithDetails’ 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] #define MyPrintWithDetails(...) {wxPrintf(__VA_ARGS__); wxPrintf("From %s:%i\n%s\n", __FILE__,__LINE__,__PRETTY_FUNCTION__);} ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/core/image_file.cpp:146:11: note: in expansion of macro ‘MyPrintWithDetails’ 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] #define MyPrintWithDetails(...) {wxPrintf(__VA_ARGS__); wxPrintf("From %s:%i\n%s\n", __FILE__,__LINE__,__PRETTY_FUNCTION__);} ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/core/image_file.cpp:157:11: note: in expansion of macro ‘MyPrintWithDetails’ 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] #define MyPrintWithDetails(...) {wxPrintf(__VA_ARGS__); wxPrintf("From %s:%i\n%s\n", __FILE__,__LINE__,__PRETTY_FUNCTION__);} ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/core/image_file.cpp:168:11: note: in expansion of macro ‘MyPrintWithDetails’ default: MyPrintWithDetails("Unsupported file type\n"); abort; break; ^~~~~~~~~~~~~~~~~~ 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:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 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:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 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:30: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] for (counter = 0; counter < my_profile.executable_name.Length(); counter++) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/core/job_packager.cpp:88:30: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] for (counter = 0; counter < my_profile.gui_address.Length(); counter++) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/core/job_packager.cpp:108:30: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] for (counter = 0; counter < my_profile.controller_address.Length(); counter++) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/core/job_packager.cpp:14:6: warning: unused variable ‘number_of_arguments’ [-Wunused-variable] int number_of_arguments; ^~~~~~~~~~~~~~~~~~~ src/core/job_packager.cpp:16:6: warning: unused variable ‘temp_job_number’ [-Wunused-variable] int temp_job_number; ^~~~~~~~~~~~~~~ In file included from src/core/core_headers.h:55, from src/core/job_packager.cpp:1: 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] #define SETUP_SOCKET_CODES unsigned char socket_input_buffer[SOCKET_CODE_SIZE]; ^~~~~~~~~~~~~~~~~~~ src/core/job_packager.cpp:348:2: note: in expansion of macro ‘SETUP_SOCKET_CODES’ SETUP_SOCKET_CODES ^~~~~~~~~~~~~~~~~~ src/core/job_packager.cpp:358:6: warning: unused variable ‘wanted_number_of_processes’ [-Wunused-variable] int wanted_number_of_processes; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/core/job_packager.cpp:365:6: warning: unused variable ‘number_of_arguments’ [-Wunused-variable] int number_of_arguments; ^~~~~~~~~~~~~~~~~~~ In file included from src/core/core_headers.h:55, from src/core/job_packager.cpp:1: 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] #define SETUP_SOCKET_CODES unsigned char socket_input_buffer[SOCKET_CODE_SIZE]; ^~~~~~~~~~~~~~~~~~~ src/core/job_packager.cpp:838:2: note: in expansion of macro ‘SETUP_SOCKET_CODES’ 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] #define SETUP_SOCKET_CODES unsigned char socket_input_buffer[SOCKET_CODE_SIZE]; ^~~~~~~~~~~~~~~~~~~ src/core/job_packager.cpp:1019:2: note: in expansion of macro ‘SETUP_SOCKET_CODES’ SETUP_SOCKET_CODES ^~~~~~~~~~~~~~~~~~ In file included from src/core/core_headers.h:80, from src/core/job_tracker.cpp:1: src/core/angular_distribution_histogram.h: In member function ‘int AngularDistributionHistogram::ReturnThetaBin(float)’: src/core/angular_distribution_histogram.h:33:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 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:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 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:7: warning: unused variable ‘seconds_per_job_per_process_since_last_update’ [-Wunused-variable] long seconds_per_job_per_process_since_last_update; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/core/job_tracker.cpp:63:7: warning: unused variable ‘time_since_last_update’ [-Wunused-variable] long time_since_last_update = current_time - last_update_time; ^~~~~~~~~~~~~~~~~~~~~~ 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:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 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:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/core/core_headers.h:80, from src/core/myapp.cpp:2: src/core/angular_distribution_histogram.h: In member function ‘int AngularDistributionHistogram::ReturnThetaBin(float)’: src/core/angular_distribution_histogram.h:33:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 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:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/core/myapp.cpp: In member function ‘virtual bool MyApp::OnInit()’: src/core/myapp.cpp:170:28: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] for (counter = 0; counter < possible_controller_addresses.GetCount(); counter++) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/core/myapp.cpp: In member function ‘void MyApp::OnSlaveSocketEvent(wxSocketEvent&)’: src/core/myapp.cpp:779:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] for (int counter = 0; counter < temp_array.GetCount(); counter++) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ src/core/myapp.cpp:664:9: warning: unused variable ‘result’ [-Wunused-variable] float *result; ^~~~~~ src/core/myapp.cpp: In member function ‘virtual void* CalculateThread::Entry()’: src/core/myapp.cpp:1636:3: warning: ‘thread_action_copy’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (thread_action_copy == THREAD_DIE) break; ^~ In file included from src/core/core_headers.h:80, from src/core/empirical_distribution.cpp:1: src/core/angular_distribution_histogram.h: In member function ‘int AngularDistributionHistogram::ReturnThetaBin(float)’: src/core/angular_distribution_histogram.h:33:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 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:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/core/core_headers.h:80, from src/core/ctf.cpp:1: src/core/angular_distribution_histogram.h: In member function ‘int AngularDistributionHistogram::ReturnThetaBin(float)’: src/core/angular_distribution_histogram.h:33:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 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:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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)’: src/core/angular_distribution_histogram.h:33:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 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:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/core/numeric_text_file.cpp: In member function ‘void NumericTextFile::Init()’: src/core/numeric_text_file.cpp:167:20: warning: ‘current_records_per_line’ may be used uninitialized in this function [-Wmaybe-uninitialized] records_per_line = current_records_per_line; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 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:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 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:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/core/core_headers.h:80, from src/core/downhill_simplex.cpp:1: src/core/angular_distribution_histogram.h: In member function ‘int AngularDistributionHistogram::ReturnThetaBin(float)’: src/core/angular_distribution_histogram.h:33:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 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:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/core/brute_force_search.cpp:246: warning: ignoring #pragma omp parallel [-Wunknown-pragmas] #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] #pragma omp atomic 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:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 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:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 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:18: warning: unused variable ‘maxThreads’ [-Wunused-variable] int numThreads, maxThreads = 12; ^~~~~~~~~~ src/core/brute_force_search.cpp:239:28: warning: ‘my_progress_bar’ may be used uninitialized in this function [-Wmaybe-uninitialized] my_progress_bar->Update(num_iterations_completed); ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 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:100:19: warning: unused variable ‘io___32’ [-Wunused-variable] static cilist io___32 = { 0, 6, 0, fmt_19, 0 }; ^~~~~~~ src/core/va04.cpp:101:19: warning: unused variable ‘io___42’ [-Wunused-variable] static cilist io___42 = { 0, 6, 0, fmt_52, 0 }; ^~~~~~~ src/core/va04.cpp:102:19: warning: unused variable ‘io___45’ [-Wunused-variable] static cilist io___45 = { 0, 6, 0, fmt_80, 0 }; ^~~~~~~ src/core/va04.cpp: At global scope: src/core/va04.cpp:102:19: warning: ‘io___45’ defined but not used [-Wunused-variable] src/core/va04.cpp:101:19: warning: ‘io___42’ defined but not used [-Wunused-variable] static cilist io___42 = { 0, 6, 0, fmt_52, 0 }; ^~~~~~~ src/core/va04.cpp:100:19: warning: ‘io___32’ defined but not used [-Wunused-variable] static cilist io___32 = { 0, 6, 0, fmt_19, 0 }; ^~~~~~~ src/core/va04.cpp:21:12: warning: ‘c__1’ defined but not used [-Wunused-variable] static int c__1 = 1; ^~~~ In file included from src/core/core_headers.h:80, from src/core/conjugate_gradient.cpp:1: src/core/angular_distribution_histogram.h: In member function ‘int AngularDistributionHistogram::ReturnThetaBin(float)’: src/core/angular_distribution_histogram.h:33:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 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:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] for (phi_bin = 0; phi_bin < phi_boundaries.GetCount(); phi_bin++) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/core/conjugate_gradient.cpp: In member function ‘float ConjugateGradient::Run()’: src/core/conjugate_gradient.cpp:72:6: warning: variable ‘va04_success’ set but not used [-Wunused-but-set-variable] int va04_success = 0; ^~~~~~~~