* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘ganGenerativeData’ ...
** package ‘ganGenerativeData’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-13 (Debian 13.2.0-24) 13.2.0’
using C++17
make[1]: Entering directory '/tmp/RtmpVE5A9v/R.INSTALL17fb46208a9bf1/ganGenerativeData/src'
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c RcppExports.cpp -o RcppExports.o
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c dsInt.cpp -o dsInt.o
In file included from numberColumn.h:8,
                 from dataSource.h:12,
                 from normalizeData.h:9,
                 from dsInt.cpp:8:
utils.h: In member function ‘std::vector<int> RandomIndicesWithoutReplacement::operator()(int, float, int)’:
utils.h:123:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  123 |         for(int i = 0; i < indices.size(); i++) {
      |                        ~~^~~~~~~~~~~~~~~~
dataSource.h: In copy constructor ‘DataSource::DataSource(const DataSource&)’:
dataSource.h:40:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Column*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   40 |             for(int i = 0; i < dataSource.getColumnVector().size(); i++) {
      |                            ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dataSource.h: In constructor ‘DataSource::DataSource(const std::vector<Column::COLUMN_TYPE>&, const std::vector<std::__cxx11::basic_string<wchar_t> >&)’:
dataSource.h:58:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Column::COLUMN_TYPE>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   58 |         for(int i = 0; i < columnTypes.size(); i++) {
      |                        ~~^~~~~~~~~~~~~~~~~~~~
dataSource.h: In destructor ‘DataSource::~DataSource()’:
dataSource.h:71:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Column*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   71 |                 for(int i = 0; i < _columnVector.size(); i++) {
      |                                ~~^~~~~~~~~~~~~~~~~~~~~~
dataSource.h: In member function ‘virtual void DataSource::clear()’:
dataSource.h:77:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Column*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   77 |         for(int i = 0; i < _columnVector.size(); i++) {
      |                        ~~^~~~~~~~~~~~~~~~~~~~~~
dataSource.h: In member function ‘virtual int DataSource::getDimension(int)’:
dataSource.h:93:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Column*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   93 |         if(i < 0 || i > _columnVector.size() - 1) {
      |                     ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
dataSource.h: In member function ‘DataSource& DataSource::addData(const DataSource&)’:
dataSource.h:100:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Column*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  100 |                 for(int i = 0; i < _columnVector.size(); i++) {
      |                                ~~^~~~~~~~~~~~~~~~~~~~~~
dataSource.h:106:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  106 |                                 for(int j = 0; j < pStringColumnB->getValueVector().size(); j++) {
      |                                                ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dataSource.h:114:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<float>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  114 |                                 for(int j = 0; j < pNumberColumnB->getValueVector().size(); j++) {
      |                                                ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dataSource.h: In member function ‘DataSource& DataSource::addData(const DataSource&, const std::vector<int>&)’:
dataSource.h:125:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Column*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  125 |         for(int i = 0; i < _columnVector.size(); i++) {
      |                        ~~^~~~~~~~~~~~~~~~~~~~~~
dataSource.h:131:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  131 |                 for(int j = 0; j < indexVector.size(); j++) {
      |                                ~~^~~~~~~~~~~~~~~~~~~~
dataSource.h:139:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<float>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  139 |                 for(int j = 0; j < pNumberColumnB->getValueVector().size(); j++) {
      |                                ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dataSource.h: In member function ‘float DataSource::getFloatValue(const std::wstring&)’:
dataSource.h:175:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<wchar_t>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  175 |             for(int i = 0; i < stringValue.length(); i++) {
      |                            ~~^~~~~~~~~~~~~~~~~~~~~~
dataSource.h: In member function ‘int DataSource::getColumnIndex(int)’:
dataSource.h:251:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Column*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  251 |         for(i = 0; i < _columnVector.size(); i++) {
      |                    ~~^~~~~~~~~~~~~~~~~~~~~~
dataSource.h:248:13: warning: unused variable ‘columnIndex’ [-Wunused-variable]
  248 |         int columnIndex = 0;
      |             ^~~~~~~~~~~
dataSource.h: In member function ‘std::wstring DataSource::getNumberVectorIndexName(int)’:
dataSource.h:275:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Column*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  275 |         for(i = 0; i < _columnVector.size(); i++) {
      |                    ~~^~~~~~~~~~~~~~~~~~~~~~
dataSource.h:272:13: warning: unused variable ‘columnIndex’ [-Wunused-variable]
  272 |         int columnIndex = 0;
      |             ^~~~~~~~~~~
dataSource.h: In member function ‘std::vector<std::__cxx11::basic_string<wchar_t> > DataSource::getNumbeVectorIndexNames(std::vector<int>)’:
dataSource.h:312:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  312 |             for(int i = 0; i < numberVectorIndices.size(); i++) {
      |                            ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
dataSource.h: In member function ‘std::vector<std::__cxx11::basic_string<wchar_t> > DataSource::getColumnNames(std::vector<int>)’:
dataSource.h:320:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  320 |         for(int i = 0; i < indexVector.size(); i++) {
      |                        ~~^~~~~~~~~~~~~~~~~~~~
dataSource.h: In member function ‘int DataSource::getSize()’:
dataSource.h:335:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Column*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  335 |         for(int i = 0; i < _columnVector.size(); i++) {
      |                        ~~^~~~~~~~~~~~~~~~~~~~~~
dataSource.h: In member function ‘int DataSource::getNormalizedSize()’:
dataSource.h:348:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Column*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  348 |             for(int i = 0; i < _columnVector.size(); i++) {
      |                            ~~^~~~~~~~~~~~~~~~~~~~~~
dataSource.h: In member function ‘void DataSource::setColumnsActive(std::vector<int>, bool)’:
dataSource.h:435:60: warning: comparison of integer expressions of different signedness: ‘__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type’ {aka ‘int’} and ‘std::vector<Column*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  435 |                     if(indexVector[i] < 0 ||indexVector[i] > _columnVector.size() - 1) {
dataSource.h: In member function ‘void DataSource::write(std::ofstream&, int)’:
dataSource.h:450:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Column*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  450 |                 for(int i = 0; i < _columnVector.size(); i++) {
      |                                ~~^~~~~~~~~~~~~~~~~~~~~~
normalizeData.h: In member function ‘void NormalizeData::normalize(Column*, bool)’:
normalizeData.h:39:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<float>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   39 |             for(int i = 0; i < pNumberColumn->getValueVector().size(); i++) {
      |                            ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
normalizeData.h:98:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<wchar_t>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   98 |             for(int i = 0; i < pColumn->getName().length(); i++) {
      |                            ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
normalizeData.h:107:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<wchar_t>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  107 |             for(int i = 0; i < pColumn->getName().length(); i++) {
      |                            ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
normalizeData.h: In member function ‘std::vector<float> NormalizeData::getNormalizedNumberVector(DataSource&, std::vector<float>&)’:
normalizeData.h:118:38: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<float>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  118 |         if(dataSource.getDimension() != numberVector.size()) {
      |            ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
dsInt.cpp: In function ‘void dsRead(const std::string&)’:
dsInt.cpp:78:9: warning: deleting object of polymorphic class type ‘DataSource’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
   78 |         delete dsInt::pDataSource;
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
dsInt.cpp: In function ‘void dsCreate(const std::vector<std::__cxx11::basic_string<wchar_t> >&, const std::vector<std::__cxx11::basic_string<wchar_t> >&)’:
dsInt.cpp:93:9: warning: deleting object of polymorphic class type ‘DataSource’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
   93 |         delete dsInt::pDataSource;
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
dsInt.cpp: In function ‘Rcpp::List dsGetRow(int)’:
dsInt.cpp:305:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Column*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  305 |         for(int j = 0; j < columnVector.size(); j++) {
      |                        ~~^~~~~~~~~~~~~~~~~~~~~
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c gdInt.cpp -o gdInt.o
In file included from numberColumn.h:8,
                 from dataSource.h:12,
                 from generativeData.h:7,
                 from density.h:10,
                 from gdInt.cpp:9:
utils.h: In member function ‘std::vector<int> RandomIndicesWithoutReplacement::operator()(int, float, int)’:
utils.h:123:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  123 |         for(int i = 0; i < indices.size(); i++) {
      |                        ~~^~~~~~~~~~~~~~~~
dataSource.h: In copy constructor ‘DataSource::DataSource(const DataSource&)’:
dataSource.h:40:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Column*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   40 |             for(int i = 0; i < dataSource.getColumnVector().size(); i++) {
      |                            ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dataSource.h: In constructor ‘DataSource::DataSource(const std::vector<Column::COLUMN_TYPE>&, const std::vector<std::__cxx11::basic_string<wchar_t> >&)’:
dataSource.h:58:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Column::COLUMN_TYPE>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   58 |         for(int i = 0; i < columnTypes.size(); i++) {
      |                        ~~^~~~~~~~~~~~~~~~~~~~
dataSource.h: In destructor ‘DataSource::~DataSource()’:
dataSource.h:71:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Column*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   71 |                 for(int i = 0; i < _columnVector.size(); i++) {
      |                                ~~^~~~~~~~~~~~~~~~~~~~~~
dataSource.h: In member function ‘virtual void DataSource::clear()’:
dataSource.h:77:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Column*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   77 |         for(int i = 0; i < _columnVector.size(); i++) {
      |                        ~~^~~~~~~~~~~~~~~~~~~~~~
dataSource.h: In member function ‘virtual int DataSource::getDimension(int)’:
dataSource.h:93:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Column*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   93 |         if(i < 0 || i > _columnVector.size() - 1) {
      |                     ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
dataSource.h: In member function ‘DataSource& DataSource::addData(const DataSource&)’:
dataSource.h:100:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Column*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  100 |                 for(int i = 0; i < _columnVector.size(); i++) {
      |                                ~~^~~~~~~~~~~~~~~~~~~~~~
dataSource.h:106:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  106 |                                 for(int j = 0; j < pStringColumnB->getValueVector().size(); j++) {
      |                                                ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dataSource.h:114:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<float>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  114 |                                 for(int j = 0; j < pNumberColumnB->getValueVector().size(); j++) {
      |                                                ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dataSource.h: In member function ‘DataSource& DataSource::addData(const DataSource&, const std::vector<int>&)’:
dataSource.h:125:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Column*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  125 |         for(int i = 0; i < _columnVector.size(); i++) {
      |                        ~~^~~~~~~~~~~~~~~~~~~~~~
dataSource.h:131:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  131 |                 for(int j = 0; j < indexVector.size(); j++) {
      |                                ~~^~~~~~~~~~~~~~~~~~~~
dataSource.h:139:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<float>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  139 |                 for(int j = 0; j < pNumberColumnB->getValueVector().size(); j++) {
      |                                ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dataSource.h: In member function ‘float DataSource::getFloatValue(const std::wstring&)’:
dataSource.h:175:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<wchar_t>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  175 |             for(int i = 0; i < stringValue.length(); i++) {
      |                            ~~^~~~~~~~~~~~~~~~~~~~~~
dataSource.h: In member function ‘int DataSource::getColumnIndex(int)’:
dataSource.h:251:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Column*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  251 |         for(i = 0; i < _columnVector.size(); i++) {
      |                    ~~^~~~~~~~~~~~~~~~~~~~~~
dataSource.h:248:13: warning: unused variable ‘columnIndex’ [-Wunused-variable]
  248 |         int columnIndex = 0;
      |             ^~~~~~~~~~~
dataSource.h: In member function ‘std::wstring DataSource::getNumberVectorIndexName(int)’:
dataSource.h:275:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Column*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  275 |         for(i = 0; i < _columnVector.size(); i++) {
      |                    ~~^~~~~~~~~~~~~~~~~~~~~~
dataSource.h:272:13: warning: unused variable ‘columnIndex’ [-Wunused-variable]
  272 |         int columnIndex = 0;
      |             ^~~~~~~~~~~
dataSource.h: In member function ‘std::vector<std::__cxx11::basic_string<wchar_t> > DataSource::getNumbeVectorIndexNames(std::vector<int>)’:
dataSource.h:312:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  312 |             for(int i = 0; i < numberVectorIndices.size(); i++) {
      |                            ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
dataSource.h: In member function ‘std::vector<std::__cxx11::basic_string<wchar_t> > DataSource::getColumnNames(std::vector<int>)’:
dataSource.h:320:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  320 |         for(int i = 0; i < indexVector.size(); i++) {
      |                        ~~^~~~~~~~~~~~~~~~~~~~
dataSource.h: In member function ‘int DataSource::getSize()’:
dataSource.h:335:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Column*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  335 |         for(int i = 0; i < _columnVector.size(); i++) {
      |                        ~~^~~~~~~~~~~~~~~~~~~~~~
dataSource.h: In member function ‘int DataSource::getNormalizedSize()’:
dataSource.h:348:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Column*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  348 |             for(int i = 0; i < _columnVector.size(); i++) {
      |                            ~~^~~~~~~~~~~~~~~~~~~~~~
dataSource.h: In member function ‘void DataSource::setColumnsActive(std::vector<int>, bool)’:
dataSource.h:435:60: warning: comparison of integer expressions of different signedness: ‘__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type’ {aka ‘int’} and ‘std::vector<Column*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  435 |                     if(indexVector[i] < 0 ||indexVector[i] > _columnVector.size() - 1) {
dataSource.h: In member function ‘void DataSource::write(std::ofstream&, int)’:
dataSource.h:450:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Column*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  450 |                 for(int i = 0; i < _columnVector.size(); i++) {
      |                                ~~^~~~~~~~~~~~~~~~~~~~~~
generativeData.h: In constructor ‘GenerativeData::GenerativeData(const DataSource&)’:
generativeData.h:31:44: warning: unused variable ‘scaleType’ [-Wunused-variable]
   31 |                         Column::SCALE_TYPE scaleType = ((dataSource.getColumnVector())[i])->getScaleType();
      |                                            ^~~~~~~~~
In file included from density.h:11:
vpTree.h: In member function ‘virtual float L1Distance::operator()(const std::vector<float>&, const std::vector<float>&)’:
vpTree.h:41:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<float>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   41 |         for(int i = 0; i < a.size(); i++) {
      |                        ~~^~~~~~~~~~
vpTree.h: In member function ‘virtual float L2Distance::operator()(const std::vector<float>&, const std::vector<float>&)’:
vpTree.h:58:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<float>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   58 |         for(int i = 0; i < a.size(); i++) {
      |                        ~~^~~~~~~~~~
vpTree.h: In member function ‘virtual float L2DistanceNan::operator()(const std::vector<float>&, const std::vector<float>&)’:
vpTree.h:75:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<float>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   75 |         for(int i = 0; i < a.size(); i++) {
      |                        ~~^~~~~~~~~~
vpTree.h: In member function ‘virtual float L2DistanceNanIndexed::operator()(const std::vector<float>&, const std::vector<float>&)’:
vpTree.h:99:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<float>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   99 |         for(int i = 0; i < a.size(); i++) {
      |                        ~~^~~~~~~~~~
vpTree.h: In member function ‘std::vector<VpElement> VpTree::kNearestNeighbors(int, std::vector<VpElement>&)’:
vpTree.h:349:36: warning: comparison of integer expressions of different signedness: ‘std::vector<VpElement>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  349 |         if(nearestNeighbors.size() > k) {
      |            ~~~~~~~~~~~~~~~~~~~~~~~~^~~
vpTree.h: In member function ‘void VpTree::search(VpNode*, const std::vector<float>&, int, std::priority_queue<VpElement>&)’:
vpTree.h:380:31: warning: comparison of integer expressions of different signedness: ‘std::set<float>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  380 |             if(_unique.size() > k || priorityQueue.size() > cMaxNearestNeighbors) {
      |                ~~~~~~~~~~~~~~~^~~
vpTree.h:380:59: warning: comparison of integer expressions of different signedness: ‘std::priority_queue<VpElement>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  380 |             if(_unique.size() > k || priorityQueue.size() > cMaxNearestNeighbors) {
      |                                      ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
vpTree.h: In member function ‘void VpTree::linearSearch(const std::vector<float>&, int, std::vector<VpElement>&)’:
vpTree.h:417:35: warning: comparison of integer expressions of different signedness: ‘std::set<float>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  417 |                 if(_unique.size() > k) {
      |                    ~~~~~~~~~~~~~~~^~~
vpTree.h:410:15: warning: unused variable ‘tau’ [-Wunused-variable]
  410 |         float tau = numeric_limits<float>::max();
      |               ^~~
In file included from density.h:12:
normalizeData.h: In member function ‘void NormalizeData::normalize(Column*, bool)’:
normalizeData.h:39:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<float>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   39 |             for(int i = 0; i < pNumberColumn->getValueVector().size(); i++) {
      |                            ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
normalizeData.h:98:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<wchar_t>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   98 |             for(int i = 0; i < pColumn->getName().length(); i++) {
      |                            ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
normalizeData.h:107:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<wchar_t>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  107 |             for(int i = 0; i < pColumn->getName().length(); i++) {
      |                            ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
normalizeData.h: In member function ‘std::vector<float> NormalizeData::getNormalizedNumberVector(DataSource&, std::vector<float>&)’:
normalizeData.h:118:38: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<float>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  118 |         if(dataSource.getDimension() != numberVector.size()) {
      |            ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
density.h: In member function ‘float Density::calculateDensityValue(std::vector<VpElement>)’:
density.h:50:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<VpElement>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   50 |         for(int i = 0; (int)i < nearestNeighbours.size(); i++) {
      |                        ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
gdInt.cpp: In function ‘void gdReset()’:
gdInt.cpp:42:9: warning: deleting object of polymorphic class type ‘DataSource’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
   42 |         delete gdInt::pDataSource;
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
gdInt.cpp:44:9: warning: deleting object of polymorphic class type ‘GenerativeData’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
   44 |         delete gdInt::pGenerativeData;
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gdInt.cpp: In function ‘void gdDataSourceRead(const std::string&)’:
gdInt.cpp:192:9: warning: deleting object of polymorphic class type ‘DataSource’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
  192 |         delete gdInt::pDataSource;
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
gdInt.cpp: In function ‘bool gdGenerativeDataRead(const std::string&)’:
gdInt.cpp:215:9: warning: deleting object of polymorphic class type ‘GenerativeData’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
  215 |         delete gdInt::pGenerativeData;
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gdInt.cpp: In function ‘void gdCreateGenerativeData()’:
gdInt.cpp:314:9: warning: deleting object of polymorphic class type ‘GenerativeData’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
  314 |         delete gdInt::pGenerativeData;
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gdInt.cpp: In function ‘void gdCreateDataSourceFromGenerativeModel()’:
gdInt.cpp:330:9: warning: deleting object of polymorphic class type ‘DataSource’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
  330 |         delete gdInt::pDataSource;
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
gdInt.cpp: In function ‘std::vector<std::__cxx11::basic_string<wchar_t> > gdGetColumnNames(std::vector<int>&)’:
gdInt.cpp:534:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  534 |         for(int i = 0; i < indexVector.size(); i++) {
      |                        ~~^~~~~~~~~~~~~~~~~~~~
gdInt.cpp: In function ‘std::vector<std::__cxx11::basic_string<wchar_t> > gdGetNumberVectorIndexNames(std::vector<int>&)’:
gdInt.cpp:569:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  569 |         for(int i = 0; i < indexVector.size(); i++) {
      |                        ~~^~~~~~~~~~~~~~~~~~~~
gdInt.cpp: In function ‘Rcpp::List gdGetRow(int)’:
gdInt.cpp:603:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Column*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  603 |         for(int i = 0; i < columnVector.size(); i++) {
      |                        ~~^~~~~~~~~~~~~~~~~~~~~
gdInt.cpp: In function ‘Rcpp::List gdKNearestNeighbors(Rcpp::List, int, bool)’:
gdInt.cpp:866:51: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<float>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  866 |         if(gdInt::pGenerativeData->getDimension() != numberVector.size()) {
      |            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
gdInt.cpp:925:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Column*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  925 |             for(int j = 0; j < columnVector.size(); j++) {
      |                            ~~^~~~~~~~~~~~~~~~~~~~~
g++-13 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o ganGenerativeData.so RcppExports.o dsInt.o gdInt.o -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpVE5A9v/R.INSTALL17fb46208a9bf1/ganGenerativeData/src'
make[1]: Entering directory '/tmp/RtmpVE5A9v/R.INSTALL17fb46208a9bf1/ganGenerativeData/src'
make[1]: Leaving directory '/tmp/RtmpVE5A9v/R.INSTALL17fb46208a9bf1/ganGenerativeData/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-ganGenerativeData/00new/ganGenerativeData/libs
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘ganGenerativeData’
    finding HTML links ... done
    dsActivateColumns                       html  
    dsCreateWithDataFrame                   html  
    dsDeactivateColumns                     html  
    dsGetActiveColumnNames                  html  
    dsGetInactiveColumnNames                html  
    dsGetNumberOfRows                       html  
    dsGetRow                                html  
    dsRead                                  html  
    dsWrite                                 html  
    ganGenerativeData-package               html  
    gdCalculateDensityValue                 html  
    gdCalculateDensityValueQuantile         html  
    gdCalculateDensityValues                html  
    gdComplete                              html  
    gdGenerate                              html  
    gdGenerateParameters                    html  
    gdGetNumberOfRows                       html  
    gdGetRow                                html  
    gdKNearestNeighbors                     html  
    gdPlotDataSourceParameters              html  
    gdPlotParameters                        html  
    gdPlotProjection                        html  
    gdRead                                  html  
    gdTrain                                 html  
    gdTrainParameters                       html  
    gdWriteSubset                           html  
*** copying figures
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* creating tarball
packaged installation of ‘ganGenerativeData’ as ‘ganGenerativeData_1.5.7_R_x86_64-pc-linux-gnu.tar.gz’
* DONE (ganGenerativeData)