Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [kasra545@gra-login2 build]$ cmake -DBUILD_WITH_LIBLAS=OFF ..
- -- The C compiler identification is GNU 9.3.0
- -- The CXX compiler identification is GNU 9.3.0
- -- Check for working C compiler: /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/bin/cc
- -- Check for working C compiler: /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/bin/cc -- works
- -- Detecting C compiler ABI info
- -- Detecting C compiler ABI info - done
- -- Detecting C compile features
- -- Detecting C compile features - done
- -- Check for working CXX compiler: /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/bin/c++
- -- Check for working CXX compiler: /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/bin/c++ -- works
- -- Detecting CXX compiler ABI info
- -- Detecting CXX compiler ABI info - done
- -- Detecting CXX compile features
- -- Detecting CXX compile features - done
- -- Performing Test COMPILER_SUPPORTS_CXX11
- -- Performing Test COMPILER_SUPPORTS_CXX11 - Success
- -- Performing Test COMPILER_SUPPORTS_CXX0X
- -- Performing Test COMPILER_SUPPORTS_CXX0X - Success
- -- The compiler /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/bin/c++ has C++11 support.
- -- Found GDAL: /cvmfs/soft.computecanada.ca/easybuild/software/2020/avx2/Compiler/intel2020/gdal/3.0.4/lib/libgdal.so (found suitable version "3.0.4", minimum required is "1.10")
- -- Using GSL from /cvmfs/soft.computecanada.ca/easybuild/software/2020/avx2/Compiler/intel2020/gsl/2.6
- -- Found FANN: /cvmfs/soft.computecanada.ca/easybuild/software/2020/avx2/Core/fann/2.2.0/lib/libfloatfann.so
- -- Configuring done
- -- Generating done
- -- Build files have been written to: /home/kasra545/github-repos/pktools/build
- [kasra545@gra-login2 build]$ make
- Scanning dependencies of target pktools
- [ 1%] Building CXX object src/CMakeFiles/pktools.dir/imageclasses/ImgRasterGdal.cc.o
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.cc:76:4: warning: "/*" within comment [-Wcomment]
- 76 | /**
- |
- In file included from /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:43,
- from /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.cc:30:
- /home/kasra545/github-repos/pktools/src/apps/AppFactory.h: In member function ‘void app::AppFactory::showOptions() const’:
- /home/kasra545/github-repos/pktools/src/apps/AppFactory.h:124:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
- 124 | for(int iarg=1;iarg<m_argv.size();++iarg)
- | ~~~~^~~~~~~~~~~~~~
- In file included from /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.cc:30:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setScale(double, int)’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:191:22: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 191 | if(m_scale.size()!=nrOfBand()){//initialize
- | ~~~~~~~~~~~~~~^~~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:200:23: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 200 | if(m_offset.size()!=nrOfBand()){
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.cc: In member function ‘void ImgRasterGdal::freeMem()’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.cc:81:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<void*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
- 81 | for(int iband=0;iband<m_data.size();++iband){
- | ~~~~~^~~~~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.cc: In constructor ‘ImgRasterGdal::ImgRasterGdal(const app::AppFactory&)’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.cc:834:35: warning: comparison of integer expressions of different signedness: unsigned int’ and ‘int’ [-Wsign-compare]
- 834 | for(unsigned int iband=0;iband<nrOfBand();++iband){
- | ~~~~~^~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.cc:835:35: warning: comparison of integer expressions of different signedness: unsigned int’ and ‘int’ [-Wsign-compare]
- 835 | for(unsigned int irow=0;irow<nrOfRow();++irow){
- | ~~~~^~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.cc:836:37: warning: comparison of integer expressions of different signedness: unsigned int’ and ‘int’ [-Wsign-compare]
- 836 | for(unsigned int icol=0;icol<nrOfCol();++icol){
- | ~~~~^~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.cc:851:28: warning: comparison of integer expressions of different signedness: std::vector<int>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 851 | while(band_opt.size()<nrOfBand())
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.cc: In member function ‘void ImgRasterGdal::getMinMax(int, int, int, int, int, double&, double&)’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.cc:997:24: warning: comparison of integer expressions of different signedness: int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
- 997 | for(int icol=0;icol<lineBuffer.size();++icol){
- | ~~~~^~~~~~~~~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.cc: In member function ‘double ImgRasterGdal::getHistogram(std::vector<double>&, double&, double&, int&, int, bool)’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.cc:1114:22: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 1114 | if(m_scale.size()>theBand){
- | ~~~~~~~~~~~~~~^~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.cc:1130:23: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 1130 | if(histvector.size()!=nbin){
- | ~~~~~~~~~~~~~~~~~^~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.cc: In member function ‘void ImgRasterGdal::rasterizeOgr(ImgReaderOgr&, const std::vector<double>&, const std::vector<std::__cxx11::basic_string<char> >&, const std::vector<std::__cxx11::basic_string<char> >&)’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.cc:1669:27: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 1669 | while(burnBands.size()<nrOfBand())
- | ~~~~~~~~~~~~~~~~^~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.cc: In member function ‘void ImgRasterGdal::rasterizeBuf(ImgReaderOgr&, double, const std::vector<std::__cxx11::basic_string<char> >&)’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.cc:1723:25: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 1723 | while(burnBands.size()<nrOfBand())
- | ~~~~~~~~~~~~~~~~^~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.cc:1738:19: warning: comparison of integer expressions of different signedness: ‘std::vector<void*>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 1738 | if(m_data.size()!=nrOfBand()){
- | ~~~~~~~~~~~~~^~~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.cc: In member function ‘void ImgRasterGdal::rasterizeBuf(ImgReaderOgr&, const std::vector<std::__cxx11::basic_string<char> >&, const std::vector<std::__cxx11::basic_string<char> >&)’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.cc:1792:19: warning: comparison of integer expressions of different signedness: ‘std::vector<void*>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 1792 | if(m_data.size()!=nrOfBand()){
- | ~~~~~~~~~~~~~^~~~~~~~~~~~
- In file included from /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.cc:30:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h: In instantiation of ‘CPLErr ImgRasterGdal::readData(T&, int, int, int) [with T = double]’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:363:35: required from here
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:567:22: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 567 | if(m_scale.size()>band||m_offset.size()>band){
- | ~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:567:44: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 567 | if(m_scale.size()>band||m_offset.size()>band){
- | ~~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:568:24: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 568 | if(m_scale.size()>band)
- | ~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:570:25: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 570 | if(m_offset.size()>band)
- | ~~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h: In instantiation of ‘CPLErr ImgRasterGdal::readData(std::vector<T>&, int, int, int, int) [with T = double]’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.cc:996:50: required from here
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:669:22: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 669 | if(m_scale.size()>band||m_offset.size()>band){
- | ~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:669:44: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 669 | if(m_scale.size()>band||m_offset.size()>band){
- | ~~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:670:24: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 670 | if(m_scale.size()>band)
- | ~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:672:25: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 672 | if(m_offset.size()>band)
- | ~~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:676:23: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 676 | if(buffer.size()!=maxCol-minCol+1)
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:729:23: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 729 | if(buffer.size()!=maxCol-minCol+1)
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:732:24: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 732 | if(m_scale.size()>band||m_offset.size()>band){
- | ~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:732:46: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 732 | if(m_scale.size()>band||m_offset.size()>band){
- | ~~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:733:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
- 733 | for(int index=0;index<buffer.size();++index)
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h: In instantiation of ‘CPLErr ImgRasterGdal::writeDataBlock(Vector2d<T>&, int, int, int, int, int) [with T = double]’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.cc:1748:63: required from here
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:1303:20: warning: comparison of integer expressions of different signedness: std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 1303 | if(m_scale.size()>band)
- | ~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:1305:21: warning: comparison of integer expressions of different signedness: std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 1305 | if(m_offset.size()>band)
- | ~~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:1307:21: warning: comparison of integer expressions of different signedness: std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 1307 | if(buffer2d.size()!=maxRow-minRow+1){
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h: In instantiation of ‘CPLErr ImgRasterGdal::writeData(std::vector<T>&, int, int, int, int) [with T = double]’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:1287:49: required from ‘CPLErr ImgRasterGdal::writeData(std::vector<T>&, int, int) [with T = double]’
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.cc:842:40: required from here
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:1188:19: warning: comparison of integer expressions of different signedness: std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 1188 | if(buffer.size()!=maxCol-minCol+1){
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:1229:22: warning: comparison of integer expressions of different signedness: std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 1229 | if(m_scale.size()>band)
- | ~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:1231:23: warning: comparison of integer expressions of different signedness: std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 1231 | if(m_offset.size()>band)
- | ~~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h: In instantiation of ‘CPLErr ImgRasterGdal::readData(std::vector<T>&, int, int, int, int) [with T = short int]’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:1079:49: required from ‘CPLErr ImgRasterGdal::readData(std::vector<T>&, int, int) [with T = short int]’
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.cc:1188:34: required from here
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:669:22: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 669 | if(m_scale.size()>band||m_offset.size()>band){
- | ~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:669:44: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 669 | if(m_scale.size()>band||m_offset.size()>band){
- | ~~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:670:24: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 670 | if(m_scale.size()>band)
- | ~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:672:25: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 672 | if(m_offset.size()>band)
- | ~~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:676:23: warning: comparison of integer expressions of different signedness: ‘std::vector<short int>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 676 | if(buffer.size()!=maxCol-minCol+1)
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:729:23: warning: comparison of integer expressions of different signedness: ‘std::vector<short int>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 729 | if(buffer.size()!=maxCol-minCol+1)
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:732:24: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 732 | if(m_scale.size()>band||m_offset.size()>band){
- | ~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:732:46: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 732 | if(m_scale.size()>band||m_offset.size()>band){
- | ~~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:733:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<short int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
- 733 | for(int index=0;index<buffer.size();++index)
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.cc: In member function ‘double ImgRasterGdal::getHistogram(std::vector<double>&, double&, double&, int&, int, bool)’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.cc:1109:34: warning: ‘pfnProgress’ may be used uninitialized in this function [-Wmaybe-uninitialized]
- 1109 | rasterBand->ComputeStatistics(0,&minValue,&maxValue,&meanValue,&stdDev,pfnProgress,pProgressData);
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.cc:1109:34: warning: ‘pProgressData’ may be used uninitialized in this function [-Wmaybe-uninitialized]
- [ 2%] Building CXX object src/CMakeFiles/pktools.dir/imageclasses/ImgCollection.cc.o
- In file included from /home/kasra545/github-repos/pktools/src/imageclasses/ImgCollection.cc:27:
- /home/kasra545/github-repos/pktools/src/apps/AppFactory.h: In member function ‘void app::AppFactory::showOptions() const’:
- /home/kasra545/github-repos/pktools/src/apps/AppFactory.h:124:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
- 124 | for(int iarg=1;iarg<m_argv.size();++iarg)
- | ~~~~^~~~~~~~~~~~~~
- In file included from /home/kasra545/github-repos/pktools/src/imageclasses/ImgCollection.h:28,
- from /home/kasra545/github-repos/pktools/src/imageclasses/ImgCollection.cc:28:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setScale(double, int)’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:191:22: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 191 | if(m_scale.size()!=nrOfBand()){//initialize
- | ~~~~~~~~~~~~~~^~~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:200:23: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 200 | if(m_offset.size()!=nrOfBand()){
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h: In instantiation of ‘CPLErr ImgRasterGdal::readData(T&, int, int, int) [with T = double]’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:363:35: required from here
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:567:22: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 567 | if(m_scale.size()>band||m_offset.size()>band){
- | ~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:567:44: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 567 | if(m_scale.size()>band||m_offset.size()>band){
- | ~~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:568:24: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 568 | if(m_scale.size()>band)
- | ~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:570:25: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 570 | if(m_offset.size()>band)
- | ~~~~~~~~~~~~~~~^~~~~
- In file included from /home/kasra545/github-repos/pktools/src/imageclasses/ImgCollection.h:28,
- from /home/kasra545/github-repos/pktools/src/imageclasses/ImgCollection.cc:28:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h: At global scope:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:105:27: warning: ‘GDALRIOResampleAlg getGDALResample(const string&)’ defined but not used [-Wunused-function]
- 105 | static GDALRIOResampleAlg getGDALResample(const std::string &resampleString){
- | ^~~~~~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:81:21: warning: ‘GDALDataType getGDALDataType(const string&)’ defined but not used [-Wunused-function]
- 81 | static GDALDataType getGDALDataType(const std::string &typeString){
- | ^~~~~~~~~~~~~~~
- [ 3%] Building CXX object src/CMakeFiles/pktools.dir/imageclasses/ImgReaderOgr.cc.o
- In file included from /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:43,
- from /home/kasra545/github-repos/pktools/src/imageclasses/ImgWriterOgr.h:30,
- from /home/kasra545/github-repos/pktools/src/imageclasses/ImgReaderOgr.cc:23:
- /home/kasra545/github-repos/pktools/src/apps/AppFactory.h: In member function ‘void app::AppFactory::showOptions() const’:
- /home/kasra545/github-repos/pktools/src/apps/AppFactory.h:124:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
- 124 | for(int iarg=1;iarg<m_argv.size();++iarg)
- | ~~~~^~~~~~~~~~~~~~
- In file included from /home/kasra545/github-repos/pktools/src/imageclasses/ImgWriterOgr.h:30,
- from /home/kasra545/github-repos/pktools/src/imageclasses/ImgReaderOgr.cc:23:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setScale(double, int)’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:191:22: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 191 | if(m_scale.size()!=nrOfBand()){//initialize
- | ~~~~~~~~~~~~~~^~~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:200:23: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 200 | if(m_offset.size()!=nrOfBand()){
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h: In instantiation of ‘CPLErr ImgRasterGdal::readData(T&, int, int, int) [with T = double]’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:363:35: required from here
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:567:22: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 567 | if(m_scale.size()>band||m_offset.size()>band){
- | ~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:567:44: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 567 | if(m_scale.size()>band||m_offset.size()>band){
- | ~~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:568:24: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 568 | if(m_scale.size()>band)
- | ~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:570:25: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 570 | if(m_offset.size()>band)
- | ~~~~~~~~~~~~~~~^~~~~
- In file included from /home/kasra545/github-repos/pktools/src/imageclasses/ImgReaderOgr.cc:22:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgReaderOgr.h: In instantiation of ‘int ImgReaderOgr::readData(std::map<std::__cxx11::basic_string<char>, Vector2d<T> >&, const OGRFieldType&, std::vector<std::__cxx11::basic_string<char> >&, const string&, int, bool, bool) [with T = float; std::string = std::__cxx11::basic_string<char>]’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgReaderOgr.cc:340:77: required from here
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgReaderOgr.h:312:29: warning: comparison of integer expressions of different signedness: ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 312 | if(fields.size()<poFDefn->GetFieldCount()){
- | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgReaderOgr.h:322:29: warning: comparison of integer expressions of different signedness: ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 322 | if(fields.size()<poFDefn->GetFieldCount()){
- | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /home/kasra545/github-repos/pktools/src/imageclasses/ImgWriterOgr.h:30,
- from /home/kasra545/github-repos/pktools/src/imageclasses/ImgReaderOgr.cc:23:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h: At global scope:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:105:27: warning: ‘GDALRIOResampleAlg getGDALResample(const string&)’ defined but not used [-Wunused-function]
- 105 | static GDALRIOResampleAlg getGDALResample(const std::string &resampleString){
- | ^~~~~~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:81:21: warning: ‘GDALDataType getGDALDataType(const string&)’ defined but not used [-Wunused-function]
- 81 | static GDALDataType getGDALDataType(const std::string &typeString){
- | ^~~~~~~~~~~~~~~
- [ 4%] Building CXX object src/CMakeFiles/pktools.dir/imageclasses/ImgWriterOgr.cc.o
- In file included from /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:43,
- from /home/kasra545/github-repos/pktools/src/imageclasses/ImgWriterOgr.h:30,
- from /home/kasra545/github-repos/pktools/src/imageclasses/ImgWriterOgr.cc:24:
- /home/kasra545/github-repos/pktools/src/apps/AppFactory.h: In member function ‘void app::AppFactory::showOptions() const’:
- /home/kasra545/github-repos/pktools/src/apps/AppFactory.h:124:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
- 124 | for(int iarg=1;iarg<m_argv.size();++iarg)
- | ~~~~^~~~~~~~~~~~~~
- In file included from /home/kasra545/github-repos/pktools/src/imageclasses/ImgWriterOgr.h:30,
- from /home/kasra545/github-repos/pktools/src/imageclasses/ImgWriterOgr.cc:24:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setScale(double, int)’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:191:22: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 191 | if(m_scale.size()!=nrOfBand()){//initialize
- | ~~~~~~~~~~~~~~^~~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:200:23: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 200 | if(m_offset.size()!=nrOfBand()){
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgWriterOgr.cc: In member function ‘void ImgWriterOgr::addPoint(double, double, const std::map<std::__cxx11::basic_string<char>, double>&, std::string, int, int)’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgWriterOgr.cc:391:30: warning: comparison of integer expressions of different signedness: ‘std::map<std::__cxx11::basic_string<char>, double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 391 | if(pointAttributes.size()+1!=poFeature->GetFieldCount()){
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgWriterOgr.cc: In member function ‘int ImgWriterOgr::addData(ImgRasterGdal&, int, bool)’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgWriterOgr.cc:685:33: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
- 685 | for(unsigned int iband=0;iband<imgReader.nrOfBand();++iband){
- | ~~~~~^~~~~~~~~~~~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgWriterOgr.cc:702:35: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
- 702 | for(unsigned int iband=0;iband<imgReader.nrOfBand();++iband){
- | ~~~~~^~~~~~~~~~~~~~~~~~~~~
- In file included from /home/kasra545/github-repos/pktools/src/imageclasses/ImgWriterOgr.h:30,
- from /home/kasra545/github-repos/pktools/src/imageclasses/ImgWriterOgr.cc:24:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h: In instantiation of ‘CPLErr ImgRasterGdal::readData(T&, int, int, int) [with T = double]’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:363:35: required from here
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:567:22: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 567 | if(m_scale.size()>band||m_offset.size()>band){
- | ~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:567:44: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 567 | if(m_scale.size()>band||m_offset.size()>band){
- | ~~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:568:24: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 568 | if(m_scale.size()>band)
- | ~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:570:25: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 570 | if(m_offset.size()>band)
- | ~~~~~~~~~~~~~~~^~~~~
- In file included from /home/kasra545/github-repos/pktools/src/imageclasses/ImgWriterOgr.h:30,
- from /home/kasra545/github-repos/pktools/src/imageclasses/ImgWriterOgr.cc:24:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h: At global scope:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:105:27: warning: ‘GDALRIOResampleAlg getGDALResample(const string&)’ defined but not used [-Wunused-function]
- 105 | static GDALRIOResampleAlg getGDALResample(const std::string &resampleString){
- | ^~~~~~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:81:21: warning: ‘GDALDataType getGDALDataType(const string&)’ defined but not used [-Wunused-function]
- 81 | static GDALDataType getGDALDataType(const std::string &typeString){
- | ^~~~~~~~~~~~~~~
- [ 5%] Building CXX object src/CMakeFiles/pktools.dir/imageclasses/pkcomposite_lib.cc.o
- In file included from /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:43,
- from /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:25:
- /home/kasra545/github-repos/pktools/src/apps/AppFactory.h: In member function ‘void app::AppFactory::showOptions() const’:
- /home/kasra545/github-repos/pktools/src/apps/AppFactory.h:124:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
- 124 | for(int iarg=1;iarg<m_argv.size();++iarg)
- | ~~~~^~~~~~~~~~~~~~
- In file included from /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:25:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setScale(double, int)’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:191:22: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 191 | if(m_scale.size()!=nrOfBand()){//initialize
- | ~~~~~~~~~~~~~~^~~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:200:23: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 200 | if(m_offset.size()!=nrOfBand()){
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc: In member function ‘CPLErr ImgCollection::composite(ImgRasterGdal&, const app::AppFactory&)’:
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:283:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
- 283 | for(int iextent=0;iextent<extent_opt.size();++iextent){
- | ~~~~~~~^~~~~~~~~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:408:41: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
- 408 | for(unsigned int iband=0;iband<nband;++iband)
- | ~~~~~^~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:579:24: warning: comparison of integer expressions of different signedness: ‘__gnu_cxx::__alloc_traits<std::allocator<unsigned int>, unsigned int>::value_type’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
- 579 | if(mskband_opt[0]>=maskReader.nrOfBand()){
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:593:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::shared_ptr<ImgRasterGdal> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
- 593 | for(int ifile=0;ifile<size();++ifile)
- | ~~~~~^~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:601:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<short int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
- 601 | for(int iclass=0;iclass<class_opt.size();++iclass)
- | ~~~~~~^~~~~~~~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:613:33: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
- 613 | for(unsigned int irow=0;irow<imgWriter.nrOfRow();++irow){
- | ~~~~^~~~~~~~~~~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:631:35: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
- 631 | for(unsigned int icol=0;icol<imgWriter.nrOfCol();++icol){
- | ~~~~^~~~~~~~~~~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:639:41: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
- 639 | for(unsigned int iband=0;iband<nband;++iband)
- | ~~~~~^~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:686:39: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
- 686 | for(unsigned int iband=0;iband<nband;++iband){
- | ~~~~~^~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:712:38: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<float, std::allocator<float> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
- 712 | for(int ivalue=0;ivalue<msknodata_opt.size();++ivalue){
- | ~~~~~~^~~~~~~~~~~~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:740:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<unsigned int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
- 740 | for(int vband=0;vband<bndnodata_opt.size();++vband){
- | ~~~~~^~~~~~~~~~~~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:742:37: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 742 | if(minValue_opt.size()>vband){
- | ~~~~~~~~~~~~~~~~~~~^~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:748:37: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 748 | if(maxValue_opt.size()>vband){
- | ~~~~~~~~~~~~~~~~~~~^~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:754:38: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 754 | if(srcnodata_opt.size()>vband){
- | ~~~~~~~~~~~~~~~~~~~~^~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:764:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<unsigned int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
- 764 | for(int vband=0;vband<bndnodata_opt.size();++vband){
- | ~~~~~^~~~~~~~~~~~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:766:37: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 766 | if(minValue_opt.size()>vband){
- | ~~~~~~~~~~~~~~~~~~~^~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:772:37: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 772 | if(maxValue_opt.size()>vband){
- | ~~~~~~~~~~~~~~~~~~~^~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:778:38: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 778 | if(srcnodata_opt.size()>vband){
- | ~~~~~~~~~~~~~~~~~~~~^~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:817:38: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
- 817 | for(iband=0;iband<nband;++iband){
- | ~~~~~^~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:832:38: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
- 832 | for(iband=0;iband<nband;++iband){
- | ~~~~~^~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:860:36: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
- 860 | for(iband=0;iband<nband;++iband){
- | ~~~~~^~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:874:36: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
- 874 | for(iband=0;iband<nband;++iband){
- | ~~~~~^~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:896:36: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
- 896 | for(iband=0;iband<nband;++iband){
- | ~~~~~^~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:904:36: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
- 904 | for(iband=0;iband<nband;++iband){
- | ~~~~~^~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:927:36: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
- 927 | for(iband=0;iband<nband;++iband){
- | ~~~~~^~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:935:36: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
- 935 | for(iband=0;iband<nband;++iband){
- | ~~~~~^~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:960:36: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
- 960 | for(iband=0;iband<nband;++iband){
- | ~~~~~^~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:968:36: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
- 968 | for(iband=0;iband<nband;++iband){
- | ~~~~~^~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:1000:36: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
- 1000 | for(iband=0;iband<nband;++iband){
- | ~~~~~^~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:1008:36: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
- 1008 | for(iband=0;iband<nband;++iband){
- | ~~~~~^~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:1029:36: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
- 1029 | for(iband=0;iband<nband;++iband){
- | ~~~~~^~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:1037:36: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
- 1037 | for(iband=0;iband<nband;++iband){
- | ~~~~~^~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:1056:36: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
- 1056 | for(iband=0;iband<nband;++iband){
- | ~~~~~^~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:1064:36: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
- 1064 | for(iband=0;iband<nband;++iband){
- | ~~~~~^~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:1083:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<short int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
- 1083 | for(int iclass=0;iclass<class_opt.size();++iclass){
- | ~~~~~~^~~~~~~~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:1084:41: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
- 1084 | for(unsigned int icol=0;icol<imgWriter.nrOfCol();++icol)
- | ~~~~^~~~~~~~~~~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:1090:39: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
- 1090 | for(unsigned int icol=0;icol<imgWriter.nrOfCol();++icol){
- | ~~~~^~~~~~~~~~~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:1106:39: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
- 1106 | for(unsigned int icol=0;icol<imgWriter.nrOfCol();++icol){
- | ~~~~^~~~~~~~~~~~~~~~~~~~
- In file included from /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:25:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h: In instantiation of ‘CPLErr ImgRasterGdal::readData(T&, int, int, int) [with T = double]’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:363:35: required from here
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:567:22: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 567 | if(m_scale.size()>band||m_offset.size()>band){
- | ~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:567:44: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 567 | if(m_scale.size()>band||m_offset.size()>band){
- | ~~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:568:24: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 568 | if(m_scale.size()>band)
- | ~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:570:25: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 570 | if(m_offset.size()>band)
- | ~~~~~~~~~~~~~~~^~~~~
- In file included from /home/kasra545/github-repos/pktools/src/apps/AppFactory.h:26,
- from /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:43,
- from /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:25:
- /home/kasra545/github-repos/pktools/src/base/Optionpk.h: In instantiation of ‘std::ostream& operator<<(std::ostream&, const Optionpk<T1>&) [with T1 = short int; std::ostream = std::basic_ostream<char>]’:
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:512:20: required from here
- /home/kasra545/github-repos/pktools/src/base/Optionpk.h:196:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<short int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
- 196 | for(int index=0;index<theOption.size();++index)
- In file included from /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:25:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h: In instantiation of ‘CPLErr ImgRasterGdal::readData(std::vector<T>&, int, int, double, int, RESAMPLE) [with T = short unsigned int]’:
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:689:108: required from here
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:897:19: warning: comparison of integer expressions of different signedness: ‘std::vector<short unsigned int, std::allocator<short unsigned int> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 897 | if(buffer.size()!=maxCol-minCol+1)
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h: In instantiation of ‘CPLErr ImgRasterGdal::readData(std::vector<T>&, int, int, int, int) [with T = short unsigned int]’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:909:16: required from ‘CPLErr ImgRasterGdal::readData(std::vector<T>&, int, int, double, int, RESAMPLE) [with T = short unsigned int]’
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:689:108: required from here
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:669:22: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 669 | if(m_scale.size()>band||m_offset.size()>band){
- | ~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:669:44: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 669 | if(m_scale.size()>band||m_offset.size()>band){
- | ~~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:670:24: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 670 | if(m_scale.size()>band)
- | ~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:672:25: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 672 | if(m_offset.size()>band)
- | ~~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:676:23: warning: comparison of integer expressions of different signedness: ‘std::vector<short unsigned int, std::allocator<short unsigned int> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 676 | if(buffer.size()!=maxCol-minCol+1)
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:729:23: warning: comparison of integer expressions of different signedness: ‘std::vector<short unsigned int, std::allocator<short unsigned int> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 729 | if(buffer.size()!=maxCol-minCol+1)
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:732:24: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 732 | if(m_scale.size()>band||m_offset.size()>band){
- | ~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:732:46: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 732 | if(m_scale.size()>band||m_offset.size()>band){
- | ~~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:733:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<short unsigned int, std::allocator<short unsigned int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
- 733 | for(int index=0;index<buffer.size();++index)
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h: In instantiation of ‘CPLErr ImgRasterGdal::readData(std::vector<T>&, int, int, int, int) [with T = float]’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:1079:49: required from ‘CPLErr ImgRasterGdal::readData(std::vector<T>&, int, int) [with T = float]’
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:709:95: required from here
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:669:22: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 669 | if(m_scale.size()>band||m_offset.size()>band){
- | ~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:669:44: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 669 | if(m_scale.size()>band||m_offset.size()>band){
- | ~~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:670:24: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 670 | if(m_scale.size()>band)
- | ~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:672:25: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 672 | if(m_offset.size()>band)
- | ~~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:676:23: warning: comparison of integer expressions of different signedness: ‘std::vector<float, std::allocator<float> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 676 | if(buffer.size()!=maxCol-minCol+1)
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:729:23: warning: comparison of integer expressions of different signedness: ‘std::vector<float, std::allocator<float> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 729 | if(buffer.size()!=maxCol-minCol+1)
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:732:24: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 732 | if(m_scale.size()>band||m_offset.size()>band){
- | ~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:732:46: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 732 | if(m_scale.size()>band||m_offset.size()>band){
- | ~~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:733:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<float, std::allocator<float> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
- 733 | for(int index=0;index<buffer.size();++index)
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h: In instantiation of ‘CPLErr ImgRasterGdal::writeData(std::vector<T>&, int, int, int, int) [with T = short int]’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:1287:49: required from ‘CPLErr ImgRasterGdal::writeData(std::vector<T>&, int, int) [with T = short int]’
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:1086:56: required from here
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:1188:19: warning: comparison of integer expressions of different signedness: std::vector<short int>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 1188 | if(buffer.size()!=maxCol-minCol+1){
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:1229:22: warning: comparison of integer expressions of different signedness: std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 1229 | if(m_scale.size()>band)
- | ~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:1231:23: warning: comparison of integer expressions of different signedness: std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 1231 | if(m_offset.size()>band)
- | ~~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h: In instantiation of ‘CPLErr ImgRasterGdal::writeData(std::vector<T>&, int, int, int, int) [with T = double]’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:1287:49: required from ‘CPLErr ImgRasterGdal::writeData(std::vector<T>&, int, int) [with T = double]’
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:1097:52: required from here
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:1188:19: warning: comparison of integer expressions of different signedness: std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 1188 | if(buffer.size()!=maxCol-minCol+1){
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:1229:22: warning: comparison of integer expressions of different signedness: std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 1229 | if(m_scale.size()>band)
- | ~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:1231:23: warning: comparison of integer expressions of different signedness: std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 1231 | if(m_offset.size()>band)
- | ~~~~~~~~~~~~~~~^~~~~
- In file included from /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:25:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h: At global scope:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:105:27: warning: ‘GDALRIOResampleAlg getGDALResample(const string&)’ defined but not used [-Wunused-function]
- 105 | static GDALRIOResampleAlg getGDALResample(const std::string &resampleString){
- | ^~~~~~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc: In member function ‘CPLErr ImgCollection::composite(ImgRasterGdal&, const app::AppFactory&)’:
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcomposite_lib.cc:612:16: warning: ‘pszMessage’ may be used uninitialized in this function [-Wmaybe-uninitialized]
- 612 | pfnProgress(progress,pszMessage,pProgressArg);
- | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [ 6%] Building CXX object src/CMakeFiles/pktools.dir/imageclasses/pkcrop_lib.cc.o
- In file included from /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:43,
- from /home/kasra545/github-repos/pktools/src/imageclasses/pkcrop_lib.cc:25:
- /home/kasra545/github-repos/pktools/src/apps/AppFactory.h: In member function ‘void app::AppFactory::showOptions() const’:
- /home/kasra545/github-repos/pktools/src/apps/AppFactory.h:124:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
- 124 | for(int iarg=1;iarg<m_argv.size();++iarg)
- | ~~~~^~~~~~~~~~~~~~
- In file included from /home/kasra545/github-repos/pktools/src/imageclasses/pkcrop_lib.cc:25:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setScale(double, int)’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:191:22: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 191 | if(m_scale.size()!=nrOfBand()){//initialize
- | ~~~~~~~~~~~~~~^~~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h: In member function ‘void ImgRasterGdal::setOffset(double, int)’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:200:23: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 200 | if(m_offset.size()!=nrOfBand()){
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcrop_lib.cc: In member function ‘CPLErr ImgCollection::crop(ImgRasterGdal&, const app::AppFactory&)’:
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcrop_lib.cc:204:28: warning: comparison of integer expressions of different signedness: ‘in’ and ‘std::vector<unsigned int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
- 204 | for(int ipair=0;ipair<bstart_opt.size();++ipair){
- | ~~~~~^~~~~~~~~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcrop_lib.cc:271:30: warning: comparison of integer expressions of different signedness: ‘in’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
- 271 | for(int iextent=0;iextent<extent_opt.size();++iextent){
- | ~~~~~~~^~~~~~~~~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcrop_lib.cc:332:79: error: call of overloaded ‘abs(unsigned int)’ is ambiguous
- 332 | ncropcol=abs(static_cast<unsigned int>(ceil((lrx_opt[0]-ulx_opt[0])/dx)));
- | ^
- In file included from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/cstdlib:75,
- from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/ext/string_conversions.h:41,
- from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/basic_string.h:6493,
- from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/string:55,
- from /home/kasra545/github-repos/pktools/src/imageclasses/pkcrop_lib.cc:21:
- /cvmfs/soft.computecanada.ca/gentoo/2020/usr/include/stdlib.h:840:12: note: candidate: ‘int abs(int)’
- 840 | extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
- | ^~~
- In file included from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/cstdlib:77,
- from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/ext/string_conversions.h:41,
- from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/basic_string.h:6493,
- from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/string:55,
- from /home/kasra545/github-repos/pktools/src/imageclasses/pkcrop_lib.cc:21:
- /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/std_abs.h:79:3: note: candidate: ‘constexpr long double std::abs(long double)’
- 79 | abs(long double __x)
- | ^~~
- /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/std_abs.h:75:3: note: candidate: ‘constexpr float std::abs(float)’
- 75 | abs(float __x)
- | ^~~
- /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/std_abs.h:71:3: note: candidate: ‘constexpr double std::abs(double)’
- 71 | abs(double __x)
- | ^~~
- /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/std_abs.h:61:3: note: candidate: ‘long long int std::abs(long long int)’
- 61 | abs(long long __x) { return __builtin_llabs (__x); }
- | ^~~
- /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/std_abs.h:56:3: note: candidate: ‘long int std::abs(long int)’
- 56 | abs(long __i) { return __builtin_labs(__i); }
- | ^~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcrop_lib.cc:333:79: error: call of overloaded ‘abs(unsigned int)’ is ambiguous
- 333 | ncroprow=abs(static_cast<unsigned int>(ceil((uly_opt[0]-lry_opt[0])/dy)));
- | ^
- In file included from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/cstdlib:75,
- from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/ext/string_conversions.h:41,
- from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/basic_string.h:6493,
- from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/string:55,
- from /home/kasra545/github-repos/pktools/src/imageclasses/pkcrop_lib.cc:21:
- /cvmfs/soft.computecanada.ca/gentoo/2020/usr/include/stdlib.h:840:12: note: candidate: ‘int abs(int)’
- 840 | extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
- | ^~~
- In file included from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/cstdlib:77,
- from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/ext/string_conversions.h:41,
- from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/basic_string.h:6493,
- from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/string:55,
- from /home/kasra545/github-repos/pktools/src/imageclasses/pkcrop_lib.cc:21:
- /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/std_abs.h:79:3: note: candidate: ‘constexpr long double std::abs(long double)’
- 79 | abs(long double __x)
- | ^~~
- /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/std_abs.h:75:3: note: candidate: ‘constexpr float std::abs(float)’
- 75 | abs(float __x)
- | ^~~
- /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/std_abs.h:71:3: note: candidate: ‘constexpr double std::abs(double)’
- 71 | abs(double __x)
- | ^~~
- /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/std_abs.h:61:3: note: candidate: ‘long long int std::abs(long long int)’
- 61 | abs(long long __x) { return __builtin_llabs (__x); }
- | ^~~
- /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/std_abs.h:56:3: note: candidate: ‘long int std::abs(long int)’
- 56 | abs(long __i) { return __builtin_labs(__i); }
- | ^~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcrop_lib.cc:364:24: warning: comparison of integer expressions of different signedness: ‘__gnu_cxx::__alloc_traits<std::allocator<unsigned int>, unsigned int>::value_type’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
- 364 | if(mskband_opt[0]>=maskReader.nrOfBand()){
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcrop_lib.cc:428:73: error: call of overloaded ‘abs(unsigned int)’ is ambiguous
- 428 | ncropcol=abs(static_cast<unsigned int>(ceil((croplrx-cropulx)/dx)));
- | ^
- In file included from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/cstdlib:75,
- from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/ext/string_conversions.h:41,
- from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/basic_string.h:6493,
- from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/string:55,
- from /home/kasra545/github-repos/pktools/src/imageclasses/pkcrop_lib.cc:21:
- /cvmfs/soft.computecanada.ca/gentoo/2020/usr/include/stdlib.h:840:12: note: candidate: ‘int abs(int)’
- 840 | extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
- | ^~~
- In file included from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/cstdlib:77,
- from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/ext/string_conversions.h:41,
- from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/basic_string.h:6493,
- from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/string:55,
- from /home/kasra545/github-repos/pktools/src/imageclasses/pkcrop_lib.cc:21:
- /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/std_abs.h:79:3: note: candidate: ‘constexpr long double std::abs(long double)’
- 79 | abs(long double __x)
- | ^~~
- /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/std_abs.h:75:3: note: candidate: ‘constexpr float std::abs(float)’
- 75 | abs(float __x)
- | ^~~
- /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/std_abs.h:71:3: note: candidate: ‘constexpr double std::abs(double)’
- 71 | abs(double __x)
- | ^~~
- /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/std_abs.h:61:3: note: candidate: ‘long long int std::abs(long long int)’
- 61 | abs(long long __x) { return __builtin_llabs (__x); }
- | ^~~
- /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/std_abs.h:56:3: note: candidate: ‘long int std::abs(long int)’
- 56 | abs(long __i) { return __builtin_labs(__i); }
- | ^~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcrop_lib.cc:429:73: error: call of overloaded ‘abs(unsigned int)’ is ambiguous
- 429 | ncroprow=abs(static_cast<unsigned int>(ceil((cropuly-croplry)/dy)));
- | ^
- In file included from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/cstdlib:75,
- from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/ext/string_conversions.h:41,
- from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/basic_string.h:6493,
- from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/string:55,
- from /home/kasra545/github-repos/pktools/src/imageclasses/pkcrop_lib.cc:21:
- /cvmfs/soft.computecanada.ca/gentoo/2020/usr/include/stdlib.h:840:12: note: candidate: ‘int abs(int)’
- 840 | extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
- | ^~~
- In file included from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/cstdlib:77,
- from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/ext/string_conversions.h:41,
- from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/basic_string.h:6493,
- from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/string:55,
- from /home/kasra545/github-repos/pktools/src/imageclasses/pkcrop_lib.cc:21:
- /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/std_abs.h:79:3: note: candidate: ‘constexpr long double std::abs(long double)’
- 79 | abs(long double __x)
- | ^~~
- /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/std_abs.h:75:3: note: candidate: ‘constexpr float std::abs(float)’
- 75 | abs(float __x)
- | ^~~
- /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/std_abs.h:71:3: note: candidate: ‘constexpr double std::abs(double)’
- 71 | abs(double __x)
- | ^~~
- /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/std_abs.h:61:3: note: candidate: ‘long long int std::abs(long long int)’
- 61 | abs(long long __x) { return __builtin_llabs (__x); }
- | ^~~
- /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/std_abs.h:56:3: note: candidate: ‘long int std::abs(long int)’
- 56 | abs(long __i) { return __builtin_labs(__i); }
- | ^~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcrop_lib.cc:465:73: error: call of overloaded ‘abs(unsigned int)’ is ambiguous
- 465 | ncropcol=abs(static_cast<unsigned int>(ceil((croplrx-cropulx)/dx)));
- | ^
- In file included from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/cstdlib:75,
- from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/ext/string_conversions.h:41,
- from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/basic_string.h:6493,
- from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/string:55,
- from /home/kasra545/github-repos/pktools/src/imageclasses/pkcrop_lib.cc:21:
- /cvmfs/soft.computecanada.ca/gentoo/2020/usr/include/stdlib.h:840:12: note: candidate: ‘int abs(int)’
- 840 | extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
- | ^~~
- In file included from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/cstdlib:77,
- from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/ext/string_conversions.h:41,
- from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/basic_string.h:6493,
- from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/string:55,
- from /home/kasra545/github-repos/pktools/src/imageclasses/pkcrop_lib.cc:21:
- /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/std_abs.h:79:3: note: candidate: ‘constexpr long double std::abs(long double)’
- 79 | abs(long double __x)
- | ^~~
- /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/std_abs.h:75:3: note: candidate: ‘constexpr float std::abs(float)’
- 75 | abs(float __x)
- | ^~~
- /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/std_abs.h:71:3: note: candidate: ‘constexpr double std::abs(double)’
- 71 | abs(double __x)
- | ^~~
- /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/std_abs.h:61:3: note: candidate: ‘long long int std::abs(long long int)’
- 61 | abs(long long __x) { return __builtin_llabs (__x); }
- | ^~~
- /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/std_abs.h:56:3: note: candidate: ‘long int std::abs(long int)’
- 56 | abs(long __i) { return __builtin_labs(__i); }
- | ^~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcrop_lib.cc:466:73: error: call of overloaded ‘abs(unsigned int)’ is ambiguous
- 466 | ncroprow=abs(static_cast<unsigned int>(ceil((cropuly-croplry)/dy)));
- | ^
- In file included from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/cstdlib:75,
- from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/ext/string_conversions.h:41,
- from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/basic_string.h:6493,
- from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/string:55,
- from /home/kasra545/github-repos/pktools/src/imageclasses/pkcrop_lib.cc:21:
- /cvmfs/soft.computecanada.ca/gentoo/2020/usr/include/stdlib.h:840:12: note: candidate: ‘int abs(int)’
- 840 | extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
- | ^~~
- In file included from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/cstdlib:77,
- from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/ext/string_conversions.h:41,
- from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/basic_string.h:6493,
- from /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/string:55,
- from /home/kasra545/github-repos/pktools/src/imageclasses/pkcrop_lib.cc:21:
- /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/std_abs.h:79:3: note: candidate: ‘constexpr long double std::abs(long double)’
- 79 | abs(long double __x)
- | ^~~
- /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/std_abs.h:75:3: note: candidate: ‘constexpr float std::abs(float)’
- 75 | abs(float __x)
- | ^~~
- /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/std_abs.h:71:3: note: candidate: ‘constexpr double std::abs(double)’
- 71 | abs(double __x)
- | ^~~
- /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/std_abs.h:61:3: note: candidate: ‘long long int std::abs(long long int)’
- 61 | abs(long long __x) { return __builtin_llabs (__x); }
- | ^~~
- /cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/include/c++/9.3.0/bits/std_abs.h:56:3: note: candidate: ‘long int std::abs(long int)’
- 56 | abs(long __i) { return __builtin_labs(__i); }
- | ^~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcrop_lib.cc:656:44: warning: comparison of integer expressions of different signedness: ‘in’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
- 656 | for(int ivalue=0;ivalue<msknodata_opt.size();++ivalue){
- | ~~~~~~^~~~~~~~~~~~~~~~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcrop_lib.cc:658:45: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 658 | if(nodata_opt.size()>ivalue)
- | ~~~~~~~~~~~~~~~~~^~~~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcrop_lib.cc:696:30: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 696 | if(writeBuffer.size()!=imgWriter.nrOfCol())
- | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
- In file included from /home/kasra545/github-repos/pktools/src/imageclasses/pkcrop_lib.cc:25:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h: In instantiation of ‘CPLErr ImgRasterGdal::readData(T&, int, int, int) [with T = double]’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:363:35: required from here
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:567:22: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 567 | if(m_scale.size()>band||m_offset.size()>band){
- | ~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:567:44: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 567 | if(m_scale.size()>band||m_offset.size()>band){
- | ~~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:568:24: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 568 | if(m_scale.size()>band)
- | ~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:570:25: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 570 | if(m_offset.size()>band)
- | ~~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h: In instantiation of ‘CPLErr ImgRasterGdal::readData(std::vector<T>&, int, int, double, int, RESAMPLE) [with T = double]’:
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcrop_lib.cc:615:90: required from here
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:897:19: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 897 | if(buffer.size()!=maxCol-minCol+1)
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h: In instantiation of ‘CPLErr ImgRasterGdal::readData(std::vector<T>&, int, int, int, int) [with T = double]’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:909:16: required from ‘CPLErr ImgRasterGdal::readData(std::vector<T>&, int, int, double, int, RESAMPLE) [with T = double]’
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcrop_lib.cc:615:90: required from here
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:669:22: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 669 | if(m_scale.size()>band||m_offset.size()>band){
- | ~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:669:44: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 669 | if(m_scale.size()>band||m_offset.size()>band){
- | ~~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:670:24: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 670 | if(m_scale.size()>band)
- | ~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:672:25: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 672 | if(m_offset.size()>band)
- | ~~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:676:23: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 676 | if(buffer.size()!=maxCol-minCol+1)
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:729:23: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 729 | if(buffer.size()!=maxCol-minCol+1)
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:732:24: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 732 | if(m_scale.size()>band||m_offset.size()>band){
- | ~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:732:46: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 732 | if(m_scale.size()>band||m_offset.size()>band){
- | ~~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:733:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
- 733 | for(int index=0;index<buffer.size();++index)
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h: In instantiation of ‘CPLErr ImgRasterGdal::writeData(std::vector<T>&, int, int, int, int) [with T = double]’:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:1287:49: required from ‘CPLErr ImgRasterGdal::writeData(std::vector<T>&, int, int) [with T = double]’
- /home/kasra545/github-repos/pktools/src/imageclasses/pkcrop_lib.cc:701:57: required from here
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:1188:19: warning: comparison of integer expressions of different signedness: std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 1188 | if(buffer.size()!=maxCol-minCol+1){
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:1229:22: warning: comparison of integer expressions of different signedness: std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 1229 | if(m_scale.size()>band)
- | ~~~~~~~~~~~~~~^~~~~
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:1231:23: warning: comparison of integer expressions of different signedness: std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 1231 | if(m_offset.size()>band)
- | ~~~~~~~~~~~~~~~^~~~~
- In file included from /home/kasra545/github-repos/pktools/src/imageclasses/pkcrop_lib.cc:25:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h: At global scope:
- /home/kasra545/github-repos/pktools/src/imageclasses/ImgRasterGdal.h:105:27: warning: ‘GDALRIOResampleAlg getGDALResample(const string&)’ defined but not used [-Wunused-function]
- 105 | static GDALRIOResampleAlg getGDALResample(const std::string &resampleString){
- | ^~~~~~~~~~~~~~~
- make[2]: *** [src/CMakeFiles/pktools.dir/build.make:128: src/CMakeFiles/pktools.dir/imageclasses/pkcrop_lib.cc.o] Error 1
- make[1]: *** [CMakeFiles/Makefile2:1181: src/CMakeFiles/pktools.dir/all] Error 2
- make: *** [Makefile:152: all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement