Downloading GitHub repo prafols/rMSI2@HEAD
── R CMD build ────────────────────────────────────────────────────
✔ checking for file 'C:\Users\dell\AppData\Local\Temp\RtmpyUqiiB\remotes4bdc755b5cfc\prafols-rMSI2-70a1098/DESCRIPTION' ...
─ preparing 'rMSI2': (1.6s)
✔ checking DESCRIPTION meta-information ...
─ cleaning src
─ checking for LF line-endings in source and make files and shell scripts (371ms)
─ checking for empty or unneeded directories
Omitted 'LazyData' from DESCRIPTION
─ building 'rMSI2_2.0.tar.gz'
installing source package 'rMSI2' ...
using staged installation
libs
using C++ compiler: 'G~1.EXE (GCC) 12.2.0'
using C++11
g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c MTNormalizationMeanSpectra.cpp -o MTNormalizationMeanSpectra.o
MTNormalizationMeanSpectra.cpp: In constructor 'MTNormalizationMeanSpectra::MTNormalizationMeanSpectra(Rcpp::List, int, double, Rcpp::NumericVector)':
MTNormalizationMeanSpectra.cpp:37:23: warning: comparison of integer expressions of different signedness: 'int' and 'gnu_cxx::alloc_traits<std::allocator, unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare]
37 | for( int j = 0; j < num_of_pixels[i]; j++)
MTNormalizationMeanSpectra.cpp: In member function 'Rcpp::List MTNormalizationMeanSpectra::Run()':
MTNormalizationMeanSpectra.cpp:67:23: warning: comparison of integer expressions of different signedness: 'int' and 'gnu_cxx::alloc_traits<std::allocator, unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare]
67 | for( int j = 0; j < num_of_pixels[i]; j++)
g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c brukerXMLparser.cpp -o brukerXMLparser.o
g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c common_methods.cpp -o common_methods.o
g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c imzMLBin.cpp -o imzMLBin.o
In file included from imzMLBin.cpp:19:
imzMLBin.h: In constructor 'ImzMLBin::ImzMLBin(const char, unsigned int, Rcpp::String, Rcpp::String, bool, Mode)':
imzMLBin.h:83:10: warning: 'ImzMLBin::bContinuous' will be initialized after [-Wreorder]
83 | bool bContinuous;
| ^~~
imzMLBin.h:76:10: warning: 'ImzMLBin::Mode ImzMLBin::fileMode' [-Wreorder]
76 | Mode fileMode; //Define the mode used to acces the binary file
| ^~~~
imzMLBin.cpp:29:1: warning: when initialized here [-Wreorder]
29 | ImzMLBin::ImzMLBin(const char ibd_fname, unsigned int num_of_pixels,Rcpp::String Str_mzType, Rcpp::String Str_intType, bool continuous, Mode mode):
| ^~~~
imzMLBin.cpp: In member function 'PeakPicking::Peaks ImzMLBinRead::ReadPeakList(int)':
imzMLBin.cpp:758:18: warning: comparison of integer expressions of different signedness: 'const int' and 'unsigned int' [-Wsign-compare]
758 | if( massLength != get_intLength(pixelID))
| ~~~^~~~~~~~~
imzMLBin.h: In constructor 'ImzMLBinWrite::ImzMLBinWrite(const char, unsigned int, Rcpp::String, Rcpp::String, bool, bool, bool)':
imzMLBin.h:260:18: warning: 'ImzMLBinWrite::sequentialWriteIndex_IntData' will be initialized after [-Wreorder]
260 | unsigned int sequentialWriteIndex_IntData; //When sequentially writing data, this integers provides the index of the next pixel to store
| ^~~~~~~~
imzMLBin.h:259:18: warning: 'unsigned int ImzMLBinWrite::sequentialWriteIndex_MzData' [-Wreorder]
259 | unsigned int sequentialWriteIndex_MzData; //When sequentially writing data, this integers provides the index of the next pixel to store
| ^~~~~~~
imzMLBin.cpp:802:1: warning: when initialized here [-Wreorder]
802 | ImzMLBinWrite::ImzMLBinWrite(const char ibd_fname, unsigned int num_of_pixels, Rcpp::String Str_mzType, Rcpp::String Str_intType, bool continuous, bool sequentialMode, bool openIbd) :
| ^~~~~
imzMLBin.cpp: In instantiation of 'void ImzMLBin::convertBytes2Double(char, double, unsigned int) [with T = int]':
imzMLBin.cpp:362:33: required from here
imzMLBin.cpp:275:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
275 | for(int i = 0; i < N; i++)
| ^
imzMLBin.cpp: In instantiation of 'void ImzMLBin::convertBytes2Double(char, double, unsigned int) [with T = float]':
imzMLBin.cpp:366:31: required from here
imzMLBin.cpp:275:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
imzMLBin.cpp: In instantiation of 'void ImzMLBin::convertBytes2Double(char, double, unsigned int) [with T = long long int]':
imzMLBin.cpp:370:33: required from here
imzMLBin.cpp:275:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
imzMLBin.cpp: In instantiation of 'void ImzMLBinRead::ReadSpectraTemplateType(unsigned int, unsigned int, unsigned int, unsigned int, T, unsigned int, bool, double) [with T = double]':
imzMLBin.cpp:622:34: required from here
imzMLBin.cpp:648:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
648 | for( int ithread = 0; ithread < number_of_threads; ithread++)
| ~~^~~~~
imzMLBin.cpp:679:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
679 | for( int ithread = 0; ithread < number_of_threads; ithread++)
| ~~^~~~~
imzMLBin.cpp:708:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
708 | for( int ithread = 0; ithread < number_of_threads; ithread++)
| ~~^~~~~
imzMLBin.cpp: In instantiation of 'void ImzMLBinRead::ReadSpectraTemplateType(unsigned int, unsigned int, unsigned int, unsigned int, T, unsigned int, bool, double) [with T = unsigned char]':
imzMLBin.cpp:627:50: required from here
imzMLBin.cpp:648:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
648 | for( int ithread = 0; ithread < number_of_threads; ithread++)
| ~~^~~~~
imzMLBin.cpp:679:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
679 | for( int ithread = 0; ithread < number_of_threads; ithread++)
| ~~^~~~~
imzMLBin.cpp:708:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
708 | for( int ithread = 0; ithread < number_of_threads; ithread++)
| ~~^~~~~
imzMLBin.cpp: In instantiation of 'void ImzMLBin::convertDouble2Bytes(double, char, unsigned int) [with T = int]':
imzMLBin.cpp:1044:35: required from here
imzMLBin.cpp:288:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
288 | for(int i = 0; i < N; i++)
| ^
imzMLBin.cpp: In instantiation of 'void ImzMLBin::convertDouble2Bytes(double, char, unsigned int) [with T = float]':
imzMLBin.cpp:1048:33: required from here
imzMLBin.cpp:288:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
imzMLBin.cpp: In instantiation of 'void ImzMLBin::convertDouble2Bytes(double, char, unsigned int) [with T = long long int]':
imzMLBin.cpp:1052:35: required from here
imzMLBin.cpp:288:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
In file included from c:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\vector:64,
from imzMLBin.h:24:
In destructor 'std::vector<_Tp, _Alloc>::~vector() [with _Tp = double; _Alloc = std::allocator]',
inlined from 'PeakPicking::Peaks::~Peaks()' at peakpicking.h:41:7,
inlined from 'Rcpp::List CimzMLReadPeakList(const char, Rcpp::List, unsigned int)' at imzMLBin.cpp:1324:12:
c:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\bits\stl_vector.h:730:22: warning: 'mpeaks' may be used uninitialized [-Wmaybe-uninitialized]
730 | std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish,
| ~~~^~~~~~~~~~~
731 | _M_get_Tp_allocator());
| ~~~~~~
imzMLBin.cpp: In function 'Rcpp::List CimzMLReadPeakList(const char, Rcpp::List, unsigned int)':
imzMLBin.cpp:1310:23: note: 'mpeaks' was declared here
1310 | PeakPicking::Peaks mpeaks;
| ^~
imzMLBin.cpp: In function 'Rcpp::NumericMatrix Cload_imzMLSpectra(Rcpp::List, Rcpp::IntegerVector, Rcpp::NumericVector, unsigned int)':
imzMLBin.cpp:1442:14: warning: 'buffer' may be used uninitialized [-Wmaybe-uninitialized]
1442 | delete[] buffer;
| ^~
imzMLBin.cpp:1390:11: note: 'buffer' was declared here
1390 | double buffer;
| ^~
g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c imzMLparser.cpp -o imzMLparser.o
g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c labelfreealign.cpp -o labelfreealign.o
In file included from labelfreealign.cpp:21:
labelfreealign.h: In constructor 'LabelFreeAlign::LabelFreeAlign(double, double, int, bool, int, double, double, double, double, int, double)':
labelfreealign.h:104:9: warning: 'LabelFreeAlign::AlignIterations' will be initialized after [-Wreorder]
104 | int AlignIterations;
| ^~~~~~~
labelfreealign.h:102:12: warning: 'double LabelFreeAlign::lagMaxppm' [-Wreorder]
102 | double lagMaxppm;
| ^~~~~
labelfreealign.cpp:26:1: warning: when initialized here [-Wreorder]
26 | LabelFreeAlign::LabelFreeAlign(double mass, double ref_spectrum, int numOfPoints,
| ^~~~~~
labelfreealign.cpp: In member function 'void LabelFreeAlign::CopyData2Window(double, double, int)':
labelfreealign.cpp:224:18: warning: 'offset_in' may be used uninitialized [-Wmaybe-uninitialized]
224 | if( (offset_in + WinLength) > dataLength)
| ~~~^~~~
labelfreealign.cpp:203:7: note: 'offset_in' was declared here
203 | int offset_in;
| ^~~~~
labelfreealign.cpp:233:21: warning: 'offset_out' may be used uninitialized [-Wmaybe-uninitialized]
233 | memcpy(data_out + offset_out, data_int + offset_in, sizeof(double)WinLength);
| ^~~~~~
labelfreealign.cpp:204:7: note: 'offset_out' was declared here
204 | int offset_out;
| ^~~~~~
labelfreealign.cpp: In member function 'void LabelFreeAlign::ComputeRef(double, int)':
labelfreealign.cpp:116:11: warning: 'data_ptr' may be used uninitialized [-Wmaybe-uninitialized]
116 | double data_ptr;
| ^~~~
g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c lodepng.cpp -o lodepng.o
g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c mergeTwoMassAxes.cpp -o mergeTwoMassAxes.o
g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c mtaverage.cpp -o mtaverage.o
mtaverage.cpp: In destructor 'MTAverage::~MTAverage()':
mtaverage.cpp:53:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
53 | for (int i = 0; i < ioObj->get_images_count(); i++)
| ^~~~~~~~~
g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c mtcommonmass.cpp -o mtcommonmass.o
mtcommonmass.cpp: In member function 'std::vector MTCommonMass::CalcMassAxisBinSize(std::vector&, std::vector&)':
mtcommonmass.cpp:64:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
64 | for( int i = 0; i < (mass.size()-1); i++ )
| ^~~~~~~
mtcommonmass.cpp:66:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
66 | if( i < (mass.size()-1) )
| ^~~~~~~
mtcommonmass.cpp:80:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
80 | for( int i = 0; i < pkIndex.size(); i++)
| ^~~~~~
mtcommonmass.cpp:100:19: warning: comparison of integer expressions of different signedness: '__gnu_cxx::alloc_traits<std::allocator, int>::value_type' {aka 'int'} and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
100 | if(pkIndex[i] < (mass.size()-1))
mtcommonmass.cpp:102:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
102 | for( int j = pkIndex[i]; j < (mass.size()-1); j++)
| ^~~~~~~
mtcommonmass.cpp:126:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
126 | for(int i=0; i < pkIndexRight.size(); i++ )
| ^~~~~~~
mtcommonmass.cpp:134:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
134 | while(currInd < bins2.size() )
| ~~^~~~
mtcommonmass.cpp: In member function 'MTCommonMass::MergeTree MTCommonMass::MergeMassAxis(MergeTree&, MergeTree&)':
mtcommonmass.cpp:172:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
172 | for(int i = 0; i < mz2.mass.size(); i++)
| ^~~~~~~
mtcommonmass.cpp:184:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
184 | if(i1 >= mz1.mass.size() && i2 >= mz2.mass.size())
| ~^~~~
mtcommonmass.cpp:184:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
184 | if(i1 >= mz1.mass.size() && i2 >= mz2.mass.size())
| ~^~~~
mtcommonmass.cpp:189:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
189 | else if(i1 >= mz1.mass.size())
| ~^~~~
mtcommonmass.cpp:205:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
205 | else if(i2 >= mz2.mass.size())
| ~^~~~
mtcommonmass.cpp: In member function 'virtual void MTCommonMass::ProcessingFunction(int)':
mtcommonmass.cpp:330:74: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
330 | if(threadMergedSpc[0].level == threadMergedSpc[1].level || icurr >= cubes[threadSlot]->nrows )
| ~~^~~~~~~
mtcommonmass.cpp:348:20: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
348 | if(icurr >= cubes[threadSlot]->nrows && threadMergedSpc.size() == 1)
| ~~^~~~~~~
g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c mtfillpeaks.cpp -o mtfillpeaks.o
mtfillpeaks.cpp: In member function 'virtual void MTFillPeaks::ProcessingFunction(int)':
mtfillpeaks.cpp:128:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
128 | for(int ipeak = 0; ipeak < mpeaks->mass.size(); ipeak++)
| ~~^~~~~
g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c mtinternalref.cpp -o mtinternalref.o
g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c mtpeakpicking.cpp -o mtpeakpicking.o
g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c mtpreprocessing.cpp -o mtpreprocessing.o
mtpreprocessing.cpp: In member function 'virtual void MTPreProcessing::ProcessingFunction(int)':
mtpreprocessing.cpp:164:69: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
164 | if(cubes[threadSlot]->dataOriginal[j].imzMLintensity.size() <= cubes[threadSlot]->ncols)
| ~~~~~~~~~~~^~~~~~~~~
g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c noiseestimation.cpp -o noiseestimation.o
g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c peakbinning.cpp -o peakbinning.o
peakbinning.cpp: In member function 'void PeakBinning::AppendMassChannel2MassBins(MassBin, std::vector&)':
peakbinning.cpp:55:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
55 | for(int icol = 0; icol < targetMassBins.size(); icol++)
| ~^~~~~~~
peakbinning.cpp: In member function 'virtual void PeakBinning::ProcessingFunction(int)':
peakbinning.cpp:130:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
130 | for(int ipeak = 0; ipeak < mpeaks->mass.size(); ipeak++)
| ~~^~~~~
In file included from peakbinning.cpp:21:
progressbar.h: At global scope:
progressbar.h:9:15: warning: 'std::string {anonymous}::makeBar(std::string)' defined but not used [-Wunused-function]
9 | std::string makeBar(std::string b) {
| ^~~
g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c peakpicking.cpp -o peakpicking.o
peakpicking.cpp: In member function 'PeakPicking::Peaks PeakPicking::detectPeaks(double, double, double)':
peakpicking.cpp:118:13: warning: unused variable 'HalfWinSize' [-Wunused-variable]
118 | const int HalfWinSize = FFT_Size/2;
| ^~~
peakpicking.cpp: In function 'Rcpp::NumericMatrix DetectPeaks_C(Rcpp::NumericVector, Rcpp::NumericVector, double, int, int)':
peakpicking.cpp:392:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
392 | for(int i = 0; i < peaks->mass.size(); i++)
| ^~~~~~
g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c plotDataReduction.cpp -o plotDataReduction.o
g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c progressbar.cpp -o progressbar.o
g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c pugixml.cpp -o pugixml.o
g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c rMSIXBin.cpp -o rMSIXBin.o
rMSIXBin.cpp: In member function 'rMSIXBin::ImgStreamEncoder_result rMSIXBin::encodeBuffer2SingleImgStream(imgstreamencoding_type, unsigned int, unsigned int, unsigned int)':
rMSIXBin.cpp:321:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
321 | for(int j=0; j < _rMSIXBin->numOfPixels; j++)
| ^~~~~~
rMSIXBin.cpp: In member function 'void rMSIXBin::storeNormalizations2Binary()':
rMSIXBin.cpp:427:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
427 | for(int i=0; i<n_norms; i++)
| ~^~~~
rMSIXBin.cpp:432:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
432 | if(i < (n_norms - 1) )
| ^~~~~
rMSIXBin.cpp: In member function 'void rMSIXBin::loadNormalizationFromBinary()':
rMSIXBin.cpp:450:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
450 | for( int i = 0; i < _rMSIXBin->normNames.size(); i++)
| ^~~~~~~
rMSIXBin.cpp: In member function 'bool rMSIXBin::writeXrMSIfile()':
rMSIXBin.cpp:636:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
636 | for( int i = 0; i < _rMSIXBin->numOfPixels; i++)
| ^~~~~~~
rMSIXBin.cpp:696:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
696 | for( int i = 0; i < n_norms; i++)
| ^~~
rMSIXBin.cpp: In member function 'Rcpp::NumericMatrix rMSIXBin::decodeImgStream2IonImages(unsigned int, unsigned int, Rcpp::NumericVector)':
rMSIXBin.cpp:1179:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
1179 | for(int i=ionIndex; i < (ionIndex+ionCount); i++)
| ^~~~~~~
rMSIXBin.cpp:1238:66: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
1238 | while((running_threads < number_of_encoding_threads) && (i < ionCount))
| ^~~~
rMSIXBin.cpp:1271:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
1271 | for(int i = 0; i < _rMSIXBin->numOfPixels; i++)
| ^~~~~~
rMSIXBin.cpp: In member function 'void rMSIXBin::startThreadIonImageDecoding(char, long unsigned int, long unsigned int, Rcpp::NumericMatrix)':
rMSIXBin.cpp:1322:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
1322 | for( int iPixel = 0; iPixel < img_width img_height; iPixel++)
| ~^~~~~~~
In file included from rMSIXBin.cpp:31:
progressbar.h: At global scope:
progressbar.h:9:15: warning: 'std::string {anonymous}::makeBar(std::string)' defined but not used [-Wunused-function]
9 | std::string makeBar(std::string b) {
| ^~~
rMSIXBin.cpp: In member function 'void rMSIXBin::CreateImgStream()':
rMSIXBin.cpp:190:12: warning: 'imzMLReader' may be used uninitialized [-Wmaybe-uninitialized]
190 | delete imzMLReader;
| ^~~
rMSIXBin.cpp:172:17: note: 'imzMLReader' was declared here
172 | ImzMLBinRead imzMLReader;
| ^~~
g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c rmsicdatacubeio.cpp -o rmsicdatacubeio.o
In file included from rmsicdatacubeio.cpp:25:
rmsicdatacubeio.h: In constructor 'CrMSIDataCubeIO::CrMSIDataCubeIO(Rcpp::NumericVector, double, DataCubeIOMode, Rcpp::String)':
rmsicdatacubeio.h:125:25: warning: 'CrMSIDataCubeIO::mass' will be initialized after [-Wreorder]
125 | Rcpp::NumericVector mass; //A common mass axis for all images to process
| ^~~~
rmsicdatacubeio.h:122:20: warning: 'DataCubeIOMode CrMSIDataCubeIO::dataMode' [-Wreorder]
122 | DataCubeIOMode dataMode; //An enum to set the data mode.
| ^~~~
rmsicdatacubeio.cpp:28:1: warning: when initialized here [-Wreorder]
28 | CrMSIDataCubeIO::CrMSIDataCubeIO(Rcpp::NumericVector massAxis, double cubeMemoryLimitMB, DataCubeIOMode dataModeEnum, Rcpp::String imzMLOutputPath)
| ^~~~~~~
rmsicdatacubeio.cpp: In destructor 'CrMSIDataCubeIO::~CrMSIDataCubeIO()':
rmsicdatacubeio.cpp:43:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<ImzMLBinRead>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
43 | for( int i = 0; i < imzMLReaders.size(); i++)
| ^~~~~~~
rmsicdatacubeio.cpp:48:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<ImzMLBinWrite>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
48 | for( int i = 0; i < imzMLWriters.size(); i++)
| ^~~~~~~
rmsicdatacubeio.cpp:53:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<ImzMLBinRead>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
53 | for( int i = 0; i < imzMLPeaksReaders.size(); i++)
| ^~~~~~~~
rmsicdatacubeio.cpp: In member function 'CrMSIDataCubeIO::DataCube CrMSIDataCubeIO::loadDataCube(int)':
rmsicdatacubeio.cpp:236:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
236 | if(iCube >= dataCubesDesc.size())
| ~~^~~~~~~
rmsicdatacubeio.cpp:262:29: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
262 | for(unsigned int i = 0; i < data_ptr->nrows; i++) //For each spectrum belonging to the selected datacube
| ^~~~~~~
rmsicdatacubeio.cpp: In member function 'void CrMSIDataCubeIO::interpolateDataCube(DataCube)':
rmsicdatacubeio.cpp:358:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
358 | if(data_ptr->cubeID >= dataCubesDesc.size())
| ~~~^~~~~
rmsicdatacubeio.cpp:364:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
364 | for(unsigned int i = 0; i < data_ptr->nrows; i++) //For each spectrum belonging to the selected datacube
| ^~~~~~~
rmsicdatacubeio.cpp: In member function 'void CrMSIDataCubeIO::storeDataCube(DataCube)':
rmsicdatacubeio.cpp:374:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
374 | if(data_ptr->cubeID >= dataCubesDesc.size())
| ~~~^~~~~
rmsicdatacubeio.cpp:382:29: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
382 | for(unsigned int i = 0; i < data_ptr->nrows; i++) //For each spectrum belonging to the selected datacube
| ^~~~~~~
rmsicdatacubeio.cpp: In member function 'int CrMSIDataCubeIO::getNumberOfPixelsInCube(int)':
rmsicdatacubeio.cpp:454:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
454 | if(iCube >= dataCubesDesc.size())
| ~~^~~~~~~
rmsicdatacubeio.cpp: In member function 'int CrMSIDataCubeIO::getImageIndex(int, int)':
rmsicdatacubeio.cpp:478:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
478 | if(iCube >= dataCubesDesc.size())
| ~~^~~~~~~
rmsicdatacubeio.cpp:482:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
482 | if( cubeRow >= dataCubesDesc[iCube].size())
| ~~^~~~~~~~
rmsicdatacubeio.cpp: In member function 'int CrMSIDataCubeIO::getPixelId(int, int)':
rmsicdatacubeio.cpp:491:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
491 | if(iCube >= dataCubesDesc.size())
| ~~^~~~~~~
rmsicdatacubeio.cpp:495:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
495 | if( cubeRow >= dataCubesDesc[iCube].size())
| ~~^~~~~~~~
rmsicdatacubeio.cpp: In member function 'unsigned int CrMSIDataCubeIO::getPeakMatrixRow(int, int)':
rmsicdatacubeio.cpp:504:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
504 | if(iCube >= dataCubesDesc.size())
| ~~^~~~~~~
rmsicdatacubeio.cpp:508:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
508 | if( cubeRow >= dataCubesDesc[iCube].size())
| ~~^~~~~~~~
rmsicdatacubeio.cpp: In member function 'bool CrMSIDataCubeIO::get_all_peakLists_are_rMSIformated()':
rmsicdatacubeio.cpp:546:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<ImzMLBinRead>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
546 | for(int i = 0; i < imzMLPeaksReaders.size(); i++)
| ^~~~~~~~
rmsicdatacubeio.cpp: In member function 'CrMSIDataCubeIO::DataCube CrMSIDataCubeIO::loadDataCube(int)':
rmsicdatacubeio.cpp:317:39: warning: 'current_imzML_id' may be used uninitialized [-Wmaybe-uninitialized]
317 | imzMLPeaksReaders[current_imzML_id]->close();
| ^
rmsicdatacubeio.cpp:260:7: note: 'current_imzML_id' was declared here
260 | int current_imzML_id;
| ^~~~
rmsicdatacubeio.cpp: In member function 'void CrMSIDataCubeIO::storeDataCube(DataCube)':
rmsicdatacubeio.cpp:439:32: warning: 'current_imzML_id' may be used uninitialized [-Wmaybe-uninitialized]
439 | imzMLWriters[current_imzML_id]->close(); //Force to close the last opened imzML
| ^
rmsicdatacubeio.cpp:379:7: note: 'current_imzML_id' was declared here
379 | int current_imzML_id;
| ^~~~
g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c smoothing.cpp -o smoothing.o
smoothing.cpp: In member function 'void Smoothing::smoothSavitzkyGolay(double, int)':
smoothing.cpp:132:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
132 | for( int i = (sgC.size() - 1)/2; i < length - ((sgC.size() - 1)/2); i++)
| ^~~~~~~~~
smoothing.cpp:134:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
134 | for( int j = 0; j < sgC.size(); j++)
| ^~~~~~
g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c threadingmsiproc.cpp -o threadingmsiproc.o
In file included from threadingmsiproc.cpp:19:
threadingmsiproc.h: In constructor 'ThreadingMsiProc::ThreadingMsiProc(Rcpp::List, int, double, Rcpp::NumericVector, DataCubeIOMode, Rcpp::StringVector, Rcpp::String, Rcpp::StringVector)':
threadingmsiproc.h:54:20: warning: 'ThreadingMsiProc::dataStoreMode' will be initialized after [-Wreorder]
54 | DataCubeIOMode dataStoreMode; //It is protected to be accesed from fill peaks
| ^~~~~
threadingmsiproc.h:53:25: warning: 'Rcpp::NumericVector ThreadingMsiProc::massAxis' [-Wreorder]
53 | Rcpp::NumericVector massAxis; //Local copy of the common mass axis.
| ^~~~
threadingmsiproc.cpp:25:1: warning: when initialized here [-Wreorder]
25 | ThreadingMsiProc::ThreadingMsiProc(Rcpp::List rMSIObj_list, int numberOfThreads, double memoryPerThreadMB, Rcpp::NumericVector commonMassAxis,
| ^~~~
In file included from threadingmsiproc.cpp:20:
progressbar.h: At global scope:
progressbar.h:9:15: warning: 'std::string {anonymous}::makeBar(std::string)' defined but not used [-Wunused-function]
9 | std::string makeBar(std::string b) {
| ^~~
g++ -shared -s -static-libgcc -o rMSI2.dll tmp.def MTNormalizationMeanSpectra.o RcppExports.o brukerXMLparser.o common_methods.o imzMLBin.o imzMLparser.o labelfreealign.o lodepng.o mergeTwoMassAxes.o mtaverage.o mtcommonmass.o mtfillpeaks.o mtinternalref.o mtpeakpicking.o mtpreprocessing.o noiseestimation.o peakbinning.o peakpicking.o plotDataReduction.o progressbar.o pugixml.o rMSIXBin.o rmsicdatacubeio.o smoothing.o threadingmsiproc.o -lfftw3-3 -lm -LC:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -LC:/rtools43/x86_64-w64-mingw32.static.posix/lib -LC:/PROGRA~1/R/R-43~1.1/bin/x64 -lR
C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: cannot find -lfftw3-3: No such file or directory
collect2.exe: error: ld returned 1 exit status
installing via 'install.libs.R' to C:/Users/dell/AppData/Local/R/win-library/4.3/00LOCK-rMSI2/00new/rMSI2
R
inst
byte-compile and prepare package for lazy loading
help
* installing help indices
building package indices
** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for 'rMSI2' in library.dynam(lib, package, package.lib):
DLL 'rMSI2' not found: maybe not installed for this architecture?
Error: loading failed
Execution halted
ERROR: loading failed
unable to install rMSI2 in win10, R 4.3.1 and 4.3.0, with the following commends and error messages:
Downloading GitHub repo prafols/rMSI2@HEAD ── R CMD build ──────────────────────────────────────────────────── ✔ checking for file 'C:\Users\dell\AppData\Local\Temp\RtmpyUqiiB\remotes4bdc755b5cfc\prafols-rMSI2-70a1098/DESCRIPTION' ... ─ preparing 'rMSI2': (1.6s) ✔ checking DESCRIPTION meta-information ... ─ cleaning src ─ checking for LF line-endings in source and make files and shell scripts (371ms) ─ checking for empty or unneeded directories Omitted 'LazyData' from DESCRIPTION ─ building 'rMSI2_2.0.tar.gz'
~~imzMLBin.h:76:10: warning: 'ImzMLBin::Mode ImzMLBin::fileMode' [-Wreorder] 76 | Mode fileMode; //Define the mode used to acces the binary file | ^~~~ imzMLBin.cpp:29:1: warning: when initialized here [-Wreorder] 29 | ImzMLBin::ImzMLBin(const char ibd_fname, unsigned int num_of_pixels,Rcpp::String Str_mzType, Rcpp::String Str_intType, bool continuous, Mode mode): | ^~~~ imzMLBin.cpp: In member function 'PeakPicking::Peaks ImzMLBinRead::ReadPeakList(int)': imzMLBin.cpp:758:18: warning: comparison of integer expressions of different signedness: 'const int' and 'unsigned int' [-Wsign-compare] 758 | if( massLength != get_intLength(pixelID)) |~~~^~~~~~~~~ imzMLBin.h: In constructor 'ImzMLBinWrite::ImzMLBinWrite(const char, unsigned int, Rcpp::String, Rcpp::String, bool, bool, bool)': imzMLBin.h:260:18: warning: 'ImzMLBinWrite::sequentialWriteIndex_IntData' will be initialized after [-Wreorder] 260 | unsigned int sequentialWriteIndex_IntData; //When sequentially writing data, this integers provides the index of the next pixel to store | ^~~~~~~~ imzMLBin.h:259:18: warning: 'unsigned int ImzMLBinWrite::sequentialWriteIndex_MzData' [-Wreorder] 259 | unsigned int sequentialWriteIndex_MzData; //When sequentially writing data, this integers provides the index of the next pixel to store | ^~~~~~~ imzMLBin.cpp:802:1: warning: when initialized here [-Wreorder] 802 | ImzMLBinWrite::ImzMLBinWrite(const char ibd_fname, unsigned int num_of_pixels, Rcpp::String Str_mzType, Rcpp::String Str_intType, bool continuous, bool sequentialMode, bool openIbd) : | ^~~~~ imzMLBin.cpp: In instantiation of 'void ImzMLBin::convertBytes2Double(char, double, unsigned int) [with T = int]': imzMLBin.cpp:362:33: required from here imzMLBin.cpp:275:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 275 | for(int i = 0; i < N; i++) |^imzMLBin.cpp: In instantiation of 'void ImzMLBin::convertBytes2Double(char, double, unsigned int) [with T = float]': imzMLBin.cpp:366:31: required from here imzMLBin.cpp:275:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] imzMLBin.cpp: In instantiation of 'void ImzMLBin::convertBytes2Double(char, double, unsigned int) [with T = long long int]': imzMLBin.cpp:370:33: required from here imzMLBin.cpp:275:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] imzMLBin.cpp: In instantiation of 'void ImzMLBinRead::ReadSpectraTemplateType(unsigned int, unsigned int, unsigned int, unsigned int, T, unsigned int, bool, double) [with T = double]': imzMLBin.cpp:622:34: required from here imzMLBin.cpp:648:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 648 | for( int ithread = 0; ithread < number_of_threads; ithread++) |~~^~~~~ imzMLBin.cpp:679:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 679 | for( int ithread = 0; ithread < number_of_threads; ithread++) |~~^~~~~ imzMLBin.cpp:708:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 708 | for( int ithread = 0; ithread < number_of_threads; ithread++) |~~^~~~~ imzMLBin.cpp: In instantiation of 'void ImzMLBinRead::ReadSpectraTemplateType(unsigned int, unsigned int, unsigned int, unsigned int, T, unsigned int, bool, double) [with T = unsigned char]': imzMLBin.cpp:627:50: required from here imzMLBin.cpp:648:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 648 | for( int ithread = 0; ithread < number_of_threads; ithread++) |~~^~~~~ imzMLBin.cpp:679:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 679 | for( int ithread = 0; ithread < number_of_threads; ithread++) |~~^~~~~ imzMLBin.cpp:708:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 708 | for( int ithread = 0; ithread < number_of_threads; ithread++) |~~^~~~~ imzMLBin.cpp: In instantiation of 'void ImzMLBin::convertDouble2Bytes(double, char, unsigned int) [with T = int]': imzMLBin.cpp:1044:35: required from here imzMLBin.cpp:288:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 288 | for(int i = 0; i < N; i++) |^imzMLBin.cpp: In instantiation of 'void ImzMLBin::convertDouble2Bytes(double, char, unsigned int) [with T = float]': imzMLBin.cpp:1048:33: required from here imzMLBin.cpp:288:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] imzMLBin.cpp: In instantiation of 'void ImzMLBin::convertDouble2Bytes(double, char, unsigned int) [with T = long long int]': imzMLBin.cpp:1052:35: required from here imzMLBin.cpp:288:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] In file included from c:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\vector:64, from imzMLBin.h:24: In destructor 'std::vector<_Tp, _Alloc>::~vector() [with _Tp = double; _Alloc = std::allocator~~~^~~~~~~~~~~ 731 | _M_get_Tp_allocator()); |~~~~~~ imzMLBin.cpp: In function 'Rcpp::List CimzMLReadPeakList(const char, Rcpp::List, unsigned int)': imzMLBin.cpp:1310:23: note: 'mpeaks' was declared here 1310 | PeakPicking::Peaks mpeaks; | ^~imzMLBin.cpp: In function 'Rcpp::NumericMatrix Cload_imzMLSpectra(Rcpp::List, Rcpp::IntegerVector, Rcpp::NumericVector, unsigned int)': imzMLBin.cpp:1442:14: warning: 'buffer' may be used uninitialized [-Wmaybe-uninitialized] 1442 | delete[] buffer; | ^~imzMLBin.cpp:1390:11: note: 'buffer' was declared here 1390 | double buffer; | ^~g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c imzMLparser.cpp -o imzMLparser.o g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c labelfreealign.cpp -o labelfreealign.o In file included from labelfreealign.cpp:21: labelfreealign.h: In constructor 'LabelFreeAlign::LabelFreeAlign(double, double, int, bool, int, double, double, double, double, int, double)': labelfreealign.h:104:9: warning: 'LabelFreeAlign::AlignIterations' will be initialized after [-Wreorder] 104 | int AlignIterations; | ^~~~~~~ labelfreealign.h:102:12: warning: 'double LabelFreeAlign::lagMaxppm' [-Wreorder] 102 | double lagMaxppm; | ^~~~~ labelfreealign.cpp:26:1: warning: when initialized here [-Wreorder] 26 | LabelFreeAlign::LabelFreeAlign(double mass, double ref_spectrum, int numOfPoints, | ^~~~~~ labelfreealign.cpp: In member function 'void LabelFreeAlign::CopyData2Window(double, double, int)': labelfreealign.cpp:224:18: warning: 'offset_in' may be used uninitialized [-Wmaybe-uninitialized] 224 | if( (offset_in + WinLength) > dataLength) |~~~^~~~ labelfreealign.cpp:203:7: note: 'offset_in' was declared here 203 | int offset_in; | ^~~~~ labelfreealign.cpp:233:21: warning: 'offset_out' may be used uninitialized [-Wmaybe-uninitialized] 233 | memcpy(data_out + offset_out, data_int + offset_in, sizeof(double)WinLength); | ^~~~~~ labelfreealign.cpp:204:7: note: 'offset_out' was declared here 204 | int offset_out; | ^~~~~~ labelfreealign.cpp: In member function 'void LabelFreeAlign::ComputeRef(double, int)': labelfreealign.cpp:116:11: warning: 'data_ptr' may be used uninitialized [-Wmaybe-uninitialized] 116 | double data_ptr; | ^~~~ g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c lodepng.cpp -o lodepng.o g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c mergeTwoMassAxes.cpp -o mergeTwoMassAxes.o g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c mtaverage.cpp -o mtaverage.o mtaverage.cpp: In destructor 'MTAverage::~MTAverage()': mtaverage.cpp:53:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 53 | for (int i = 0; i < ioObj->get_images_count(); i++) |^~~~~~~~~ g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c mtcommonmass.cpp -o mtcommonmass.o mtcommonmass.cpp: In member function 'std::vector^~~~~~~ mtcommonmass.cpp:66:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector^~~~~~~ mtcommonmass.cpp:80:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector^~~~~~ mtcommonmass.cpp:100:19: warning: comparison of integer expressions of different signedness: '__gnu_cxx::^~~~~~~ mtcommonmass.cpp:126:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector^~~~~~~ mtcommonmass.cpp:134:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector~~^~~~ mtcommonmass.cpp: In member function 'MTCommonMass::MergeTree MTCommonMass::MergeMassAxis(MergeTree&, MergeTree&)': mtcommonmass.cpp:172:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector^~~~~~~ mtcommonmass.cpp:184:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector~^~~~mtcommonmass.cpp:184:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector~^~~~mtcommonmass.cpp:189:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector~^~~~mtcommonmass.cpp:205:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector~^~~~mtcommonmass.cpp: In member function 'virtual void MTCommonMass::ProcessingFunction(int)': mtcommonmass.cpp:330:74: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 330 | if(threadMergedSpc[0].level == threadMergedSpc[1].level || icurr >= cubes[threadSlot]->nrows ) |~~^~~~~~~ mtcommonmass.cpp:348:20: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 348 | if(icurr >= cubes[threadSlot]->nrows && threadMergedSpc.size() == 1) |~~^~~~~~~ g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c mtfillpeaks.cpp -o mtfillpeaks.o mtfillpeaks.cpp: In member function 'virtual void MTFillPeaks::ProcessingFunction(int)': mtfillpeaks.cpp:128:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector~~^~~~~g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c mtinternalref.cpp -o mtinternalref.o g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c mtpeakpicking.cpp -o mtpeakpicking.o g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c mtpreprocessing.cpp -o mtpreprocessing.o mtpreprocessing.cpp: In member function 'virtual void MTPreProcessing::ProcessingFunction(int)': mtpreprocessing.cpp:164:69: warning: comparison of integer expressions of different signedness: 'std::vector~~~~~~~~~~~^~~~~~~~~ g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c noiseestimation.cpp -o noiseestimation.o g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c peakbinning.cpp -o peakbinning.o peakbinning.cpp: In member function 'void PeakBinning::AppendMassChannel2MassBins(MassBin, std::vector~^~~~~~~ peakbinning.cpp: In member function 'virtual void PeakBinning::ProcessingFunction(int)': peakbinning.cpp:130:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector~~^~~~~In file included from peakbinning.cpp:21: progressbar.h: At global scope: progressbar.h:9:15: warning: 'std::string {anonymous}::makeBar(std::string)' defined but not used [-Wunused-function] 9 | std::string makeBar(std::string b) { | ^~~ g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c peakpicking.cpp -o peakpicking.o peakpicking.cpp: In member function 'PeakPicking::Peaks PeakPicking::detectPeaks(double, double, double)': peakpicking.cpp:118:13: warning: unused variable 'HalfWinSize' [-Wunused-variable] 118 | const int HalfWinSize = FFT_Size/2; | ^~~peakpicking.cpp: In function 'Rcpp::NumericMatrix DetectPeaks_C(Rcpp::NumericVector, Rcpp::NumericVector, double, int, int)': peakpicking.cpp:392:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector^~~~~~ g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c plotDataReduction.cpp -o plotDataReduction.o g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c progressbar.cpp -o progressbar.o g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c pugixml.cpp -o pugixml.o g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c rMSIXBin.cpp -o rMSIXBin.o rMSIXBin.cpp: In member function 'rMSIXBin::ImgStreamEncoder_result rMSIXBin::encodeBuffer2SingleImgStream(imgstreamencoding_type^~~~~~ rMSIXBin.cpp: In member function 'void rMSIXBin::storeNormalizations2Binary()': rMSIXBin.cpp:427:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 427 | for(int i=0; i<n_norms; i++) | ~^~~~ rMSIXBin.cpp:432:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 432 | if(i < (n_norms - 1) ) |^~~~~ rMSIXBin.cpp: In member function 'void rMSIXBin::loadNormalizationFromBinary()': rMSIXBin.cpp:450:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string^~~~~~~ rMSIXBin.cpp: In member function 'bool rMSIXBin::writeXrMSIfile()': rMSIXBin.cpp:636:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 636 | for( int i = 0; i < _rMSIXBin->numOfPixels; i++) |^~~~~~~ rMSIXBin.cpp:696:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 696 | for( int i = 0; i < n_norms; i++) |^~~ rMSIXBin.cpp: In member function 'Rcpp::NumericMatrix rMSIXBin::decodeImgStream2IonImages(unsigned int, unsigned int, Rcpp::NumericVector)': rMSIXBin.cpp:1179:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1179 | for(int i=ionIndex; i < (ionIndex+ionCount); i++) |^~~~~~~ rMSIXBin.cpp:1238:66: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1238 | while((running_threads < number_of_encoding_threads) && (i < ionCount)) |^~~~ rMSIXBin.cpp:1271:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1271 | for(int i = 0; i < _rMSIXBin->numOfPixels; i++) |^~~~~~ rMSIXBin.cpp: In member function 'void rMSIXBin::startThreadIonImageDecoding(char, long unsigned int, long unsigned int, Rcpp::NumericMatrix)': rMSIXBin.cpp:1322:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1322 | for( int iPixel = 0; iPixel < img_width img_height; iPixel++) |~^~~~~~~ In file included from rMSIXBin.cpp:31: progressbar.h: At global scope: progressbar.h:9:15: warning: 'std::string {anonymous}::makeBar(std::string)' defined but not used [-Wunused-function] 9 | std::string makeBar(std::string b) { | ^~~ rMSIXBin.cpp: In member function 'void rMSIXBin::CreateImgStream()': rMSIXBin.cpp:190:12: warning: 'imzMLReader' may be used uninitialized [-Wmaybe-uninitialized] 190 | delete imzMLReader; | ^~~rMSIXBin.cpp:172:17: note: 'imzMLReader' was declared here 172 | ImzMLBinRead imzMLReader; | ^~~g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c rmsicdatacubeio.cpp -o rmsicdatacubeio.o In file included from rmsicdatacubeio.cpp:25: rmsicdatacubeio.h: In constructor 'CrMSIDataCubeIO::CrMSIDataCubeIO(Rcpp::NumericVector, double, DataCubeIOMode, Rcpp::String)': rmsicdatacubeio.h:125:25: warning: 'CrMSIDataCubeIO::mass' will be initialized after [-Wreorder] 125 | Rcpp::NumericVector mass; //A common mass axis for all images to process | ^~~~ rmsicdatacubeio.h:122:20: warning: 'DataCubeIOMode CrMSIDataCubeIO::dataMode' [-Wreorder] 122 | DataCubeIOMode dataMode; //An enum to set the data mode. | ^~~~ rmsicdatacubeio.cpp:28:1: warning: when initialized here [-Wreorder] 28 | CrMSIDataCubeIO::CrMSIDataCubeIO(Rcpp::NumericVector massAxis, double cubeMemoryLimitMB, DataCubeIOMode dataModeEnum, Rcpp::String imzMLOutputPath) | ^~~~~~~ rmsicdatacubeio.cpp: In destructor 'CrMSIDataCubeIO::~CrMSIDataCubeIO()': rmsicdatacubeio.cpp:43:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<ImzMLBinRead>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 43 | for( int i = 0; i < imzMLReaders.size(); i++) |^~~~~~~ rmsicdatacubeio.cpp:48:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<ImzMLBinWrite>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 48 | for( int i = 0; i < imzMLWriters.size(); i++) |^~~~~~~ rmsicdatacubeio.cpp:53:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<ImzMLBinRead>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 53 | for( int i = 0; i < imzMLPeaksReaders.size(); i++) |^~~~~~~~ rmsicdatacubeio.cpp: In member function 'CrMSIDataCubeIO::DataCube CrMSIDataCubeIO::loadDataCube(int)': rmsicdatacubeio.cpp:236:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector~~^~~~~~~ rmsicdatacubeio.cpp:262:29: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 262 | for(unsigned int i = 0; i < data_ptr->nrows; i++) //For each spectrum belonging to the selected datacube |^~~~~~~ rmsicdatacubeio.cpp: In member function 'void CrMSIDataCubeIO::interpolateDataCube(DataCube)': rmsicdatacubeio.cpp:358:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector~~~^~~~~rmsicdatacubeio.cpp:364:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 364 | for(unsigned int i = 0; i < data_ptr->nrows; i++) //For each spectrum belonging to the selected datacube |^~~~~~~ rmsicdatacubeio.cpp: In member function 'void CrMSIDataCubeIO::storeDataCube(DataCube~~~^~~~~rmsicdatacubeio.cpp:382:29: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 382 | for(unsigned int i = 0; i < data_ptr->nrows; i++) //For each spectrum belonging to the selected datacube |^~~~~~~ rmsicdatacubeio.cpp: In member function 'int CrMSIDataCubeIO::getNumberOfPixelsInCube(int)': rmsicdatacubeio.cpp:454:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector~~^~~~~~~ rmsicdatacubeio.cpp: In member function 'int CrMSIDataCubeIO::getImageIndex(int, int)': rmsicdatacubeio.cpp:478:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector~~^~~~~~~ rmsicdatacubeio.cpp:482:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector~~^~~~~~~~ rmsicdatacubeio.cpp: In member function 'int CrMSIDataCubeIO::getPixelId(int, int)': rmsicdatacubeio.cpp:491:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector~~^~~~~~~ rmsicdatacubeio.cpp:495:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector~~^~~~~~~~ rmsicdatacubeio.cpp: In member function 'unsigned int CrMSIDataCubeIO::getPeakMatrixRow(int, int)': rmsicdatacubeio.cpp:504:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector~~^~~~~~~ rmsicdatacubeio.cpp:508:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector~~^~~~~~~~ rmsicdatacubeio.cpp: In member function 'bool CrMSIDataCubeIO::get_all_peakLists_are_rMSIformated()': rmsicdatacubeio.cpp:546:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<ImzMLBinRead>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 546 | for(int i = 0; i < imzMLPeaksReaders.size(); i++) |^~~~~~~~ rmsicdatacubeio.cpp: In member function 'CrMSIDataCubeIO::DataCube CrMSIDataCubeIO::loadDataCube(int)': rmsicdatacubeio.cpp:317:39: warning: 'current_imzML_id' may be used uninitialized [-Wmaybe-uninitialized] 317 | imzMLPeaksReaders[current_imzML_id]->close(); | ^ rmsicdatacubeio.cpp:260:7: note: 'current_imzML_id' was declared here 260 | int current_imzML_id; | ^~~~rmsicdatacubeio.cpp: In member function 'void CrMSIDataCubeIO::storeDataCube(DataCube)': rmsicdatacubeio.cpp:439:32: warning: 'current_imzML_id' may be used uninitialized [-Wmaybe-uninitialized] 439 | imzMLWriters[current_imzML_id]->close(); //Force to close the last opened imzML | ^ rmsicdatacubeio.cpp:379:7: note: 'current_imzML_id' was declared here 379 | int current_imzML_id; | ^~~~g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c smoothing.cpp -o smoothing.o smoothing.cpp: In member function 'void Smoothing::smoothSavitzkyGolay(double, int)': smoothing.cpp:132:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector^~~~~~~~~ smoothing.cpp:134:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector^~~~~~ g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -Ifftw3_win -I'C:/Users/dell/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c threadingmsiproc.cpp -o threadingmsiproc.o In file included from threadingmsiproc.cpp:19: threadingmsiproc.h: In constructor 'ThreadingMsiProc::ThreadingMsiProc(Rcpp::List, int, double, Rcpp::NumericVector, DataCubeIOMode, Rcpp::StringVector, Rcpp::String, Rcpp::StringVector)': threadingmsiproc.h:54:20: warning: 'ThreadingMsiProc::dataStoreMode' will be initialized after [-Wreorder] 54 | DataCubeIOMode dataStoreMode; //It is protected to be accesed from fill peaks | ^~~~~ threadingmsiproc.h:53:25: warning: 'Rcpp::NumericVector ThreadingMsiProc::massAxis' [-Wreorder] 53 | Rcpp::NumericVector massAxis; //Local copy of the common mass axis. | ^~~~ threadingmsiproc.cpp:25:1: warning: when initialized here [-Wreorder] 25 | ThreadingMsiProc::ThreadingMsiProc(Rcpp::List rMSIObj_list, int numberOfThreads, double memoryPerThreadMB, Rcpp::NumericVector commonMassAxis, | ^~~~In file included from threadingmsiproc.cpp:20: progressbar.h: At global scope: progressbar.h:9:15: warning: 'std::string {anonymous}::makeBar(std::string)' defined but not used [-Wunused-function] 9 | std::string makeBar(std::string b) { | ^~~ g++ -shared -s -static-libgcc -o rMSI2.dll tmp.def MTNormalizationMeanSpectra.o RcppExports.o brukerXMLparser.o common_methods.o imzMLBin.o imzMLparser.o labelfreealign.o lodepng.o mergeTwoMassAxes.o mtaverage.o mtcommonmass.o mtfillpeaks.o mtinternalref.o mtpeakpicking.o mtpreprocessing.o noiseestimation.o peakbinning.o peakpicking.o plotDataReduction.o progressbar.o pugixml.o rMSIXBin.o rmsicdatacubeio.o smoothing.o threadingmsiproc.o -lfftw3-3 -lm -LC:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -LC:/rtools43/x86_64-w64-mingw32.static.posix/lib -LC:/PROGRA~1/R/R-43~1.1/bin/x64 -lR C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: cannot find -lfftw3-3: No such file or directory collect2.exe: error: ld returned 1 exit status installing via 'install.libs.R' to C:/Users/dell/AppData/Local/R/win-library/4.3/00LOCK-rMSI2/00new/rMSI2 R inst byte-compile and prepare package for lazy loading help * installing help indices building package indices ** testing if installed package can be loaded from temporary location Error: package or namespace load failed for 'rMSI2' in library.dynam(lib, package, package.lib): DLL 'rMSI2' not found: maybe not installed for this architecture? Error: loading failed Execution halted ERROR: loading failed