* installing *source* package 'Ckmeans.1d.dp' ...
** package 'Ckmeans.1d.dp' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 13.3.0'
make[1]: Entering directory '/d/temp/2024_12_08_01_50_01_8405/RtmpMj63vz/R.INSTALL2c0343fea7dfa/Ckmeans.1d.dp/src'
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c Ckmeans.1d.dp.cpp -o Ckmeans.1d.dp.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c Ckmeans.1d.dp_main.cpp -o Ckmeans.1d.dp_main.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c EWL2_dynamic_prog.cpp -o EWL2_dynamic_prog.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c EWL2_fill_SMAWK.cpp -o EWL2_fill_SMAWK.o
EWL2_fill_SMAWK.cpp: In function 'void EWL2::reduce_in_place(int, int, int, int, const std::vector<long long unsigned int>&, std::vector<long long unsigned int>&, const std::vector<std::vector<double> >&, const std::vector<std::vector<long long unsigned int> >&, const std::vector<double>&, const std::vector<double>&)':
EWL2_fill_SMAWK.cpp:46:8: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long unsigned int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
   46 |   if(N >= js.size()) {
      |      ~~^~~~~~~~~~~~
EWL2_fill_SMAWK.cpp:56:11: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
   56 |   while(m > N) { // js_reduced has more than N positions / columns
      |         ~~^~~
EWL2_fill_SMAWK.cpp:90:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare]
   90 |   for(int r=(left+1); r < m; ++r) {
      |                       ~~^~~
EWL2_fill_SMAWK.cpp: In function 'void EWL2::fill_even_positions(int, int, int, int, const std::vector<long long unsigned int>&, std::vector<std::vector<double> >&, std::vector<std::vector<long long unsigned int> >&, const std::vector<double>&, const std::vector<double>&)':
EWL2_fill_SMAWK.cpp:135:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare]
  135 |     for(++ r; r < n && js[r]<=jmax; r++) {
      |               ~~^~~
EWL2_fill_SMAWK.cpp:135:29: warning: comparison of integer expressions of different signedness: 'const __gnu_cxx::__alloc_traits<std::allocator<long long unsigned int>, long long unsigned int>::value_type' {aka 'const long long unsigned int'} and 'int' [-Wsign-compare]
  135 |     for(++ r; r < n && js[r]<=jmax; r++) {
EWL2_fill_SMAWK.cpp:139:15: warning: comparison of integer expressions of different signedness: 'const size_t' {aka 'const long long unsigned int'} and 'int' [-Wsign-compare]
  139 |       if(jabs > i) break;
      |          ~~~~~^~~
EWL2_fill_SMAWK.cpp: In function 'void EWL2::find_min_from_candidates(int, int, int, int, const std::vector<long long unsigned int>&, std::vector<std::vector<double> >&, std::vector<std::vector<long long unsigned int> >&, const std::vector<double>&, const std::vector<double>&)':
EWL2_fill_SMAWK.cpp:187:16: warning: comparison of integer expressions of different signedness: 'const size_t' {aka 'const long long unsigned int'} and 'int' [-Wsign-compare]
  187 |       if(j_abs > i) break;
      |          ~~~~~~^~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c EWL2_fill_log_linear.cpp -o EWL2_fill_log_linear.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c EWL2_fill_quadratic.cpp -o EWL2_fill_quadratic.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c MCW_fill_SMAWK.cpp -o MCW_fill_SMAWK.o
MCW_fill_SMAWK.cpp: In function 'void MCW_reduce_in_place(int, int, int, int, const std::vector<long long unsigned int>&, std::vector<long long unsigned int>&, const std::vector<std::vector<double> >&, const std::vector<std::vector<long long unsigned int> >&, const std::vector<std::vector<double> >&, const std::vector<double>&, const std::vector<std::vector<double> >&)':
MCW_fill_SMAWK.cpp:25:8: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long unsigned int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
   25 |   if(N >= js.size()) {
      |      ~~^~~~~~~~~~~~
MCW_fill_SMAWK.cpp:35:11: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
   35 |   while(m > N) { // js_reduced has more than N positions / columns
      |         ~~^~~
MCW_fill_SMAWK.cpp:69:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare]
   69 |   for(int r=(left+1); r < m; ++r) {
      |                       ~~^~~
MCW_fill_SMAWK.cpp: In function 'void MCW_fill_even_positions(int, int, int, int, const std::vector<long long unsigned int>&, std::vector<std::vector<double> >&, std::vector<std::vector<long long unsigned int> >&, const std::vector<std::vector<double> >&, const std::vector<double>&, const std::vector<std::vector<double> >&)':
MCW_fill_SMAWK.cpp:116:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare]
  116 |     for(++ r; r < n && js[r]<=jmax; r++) {
      |               ~~^~~
MCW_fill_SMAWK.cpp:116:29: warning: comparison of integer expressions of different signedness: 'const __gnu_cxx::__alloc_traits<std::allocator<long long unsigned int>, long long unsigned int>::value_type' {aka 'const long long unsigned int'} and 'int' [-Wsign-compare]
  116 |     for(++ r; r < n && js[r]<=jmax; r++) {
MCW_fill_SMAWK.cpp:120:15: warning: comparison of integer expressions of different signedness: 'const size_t' {aka 'const long long unsigned int'} and 'int' [-Wsign-compare]
  120 |       if(jabs > i) break;
      |          ~~~~~^~~
MCW_fill_SMAWK.cpp: In function 'void MCW_find_min_from_candidates(int, int, int, int, const std::vector<long long unsigned int>&, std::vector<std::vector<double> >&, std::vector<std::vector<long long unsigned int> >&, const std::vector<std::vector<double> >&, const std::vector<double>&, const std::vector<std::vector<double> >&)':
MCW_fill_SMAWK.cpp:169:16: warning: comparison of integer expressions of different signedness: 'const size_t' {aka 'const long long unsigned int'} and 'int' [-Wsign-compare]
  169 |       if(j_abs > i) break;
      |          ~~~~~~^~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c MCW_functions.cpp -o MCW_functions.o
MCW_functions.cpp: In function 'void MCW_fill_dp_matrix(const std::vector<double>&, const std::vector<std::vector<double> >&, std::vector<std::vector<double> >&, std::vector<std::vector<long long unsigned int> >&, const std::string&)':
MCW_functions.cpp:101:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'const int' [-Wsign-compare]
  101 |     for (size_t l = 0; l < W; l++) {
      |                        ~~^~~
MCW_functions.cpp:113:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'const int' [-Wsign-compare]
  113 |         for (size_t l = 0; l < W; l++) {
      |                            ~~^~~
MCW_functions.cpp: In function 'void MCW_optimal_zoning(const std::vector<double>&, const std::vector<std::vector<double> >&, size_t, size_t, std::vector<int>&, std::vector<double>&, std::vector<double>&, std::vector<double>&, std::vector<double>&, std::string, std::string)':
MCW_functions.cpp:551:9: warning: storing the address of local variable 'x_sorted' in 'spx' [-Wdangling-pointer=]
  551 |     spx = & x_sorted;
      |     ~~~~^~~~~~~~~~~~
MCW_functions.cpp:542:23: note: 'x_sorted' declared here
  542 |   std::vector<double> x_sorted(x);
      |                       ^~~~~~~~
MCW_functions.cpp:509:36: note: 'spx' declared here
  509 | static const std::vector<double> * spx;
      |                                    ^~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c MCW_main.cpp -o MCW_main.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c dynamic_prog.cpp -o dynamic_prog.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c fill_SMAWK.cpp -o fill_SMAWK.o
fill_SMAWK.cpp: In function 'void reduce_in_place(int, int, int, int, const std::vector<long long unsigned int>&, std::vector<long long unsigned int>&, const std::vector<std::vector<double> >&, const std::vector<std::vector<long long unsigned int> >&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, DISSIMILARITY)':
fill_SMAWK.cpp:56:8: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long unsigned int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
   56 |   if(N >= js.size()) {
      |      ~~^~~~~~~~~~~~
fill_SMAWK.cpp:66:11: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
   66 |   while(m > N) { // js_reduced has more than N positions / columns
      |         ~~^~~
fill_SMAWK.cpp:100:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare]
  100 |   for(int r=(left+1); r < m; ++r) {
      |                       ~~^~~
fill_SMAWK.cpp: In function 'void fill_even_positions(int, int, int, int, const std::vector<long long unsigned int>&, std::vector<std::vector<double> >&, std::vector<std::vector<long long unsigned int> >&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, DISSIMILARITY)':
fill_SMAWK.cpp:148:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare]
  148 |     for(++ r; r < n && js[r]<=jmax; r++) {
      |               ~~^~~
fill_SMAWK.cpp:148:29: warning: comparison of integer expressions of different signedness: 'const __gnu_cxx::__alloc_traits<std::allocator<long long unsigned int>, long long unsigned int>::value_type' {aka 'const long long unsigned int'} and 'int' [-Wsign-compare]
  148 |     for(++ r; r < n && js[r]<=jmax; r++) {
fill_SMAWK.cpp:152:15: warning: comparison of integer expressions of different signedness: 'const size_t' {aka 'const long long unsigned int'} and 'int' [-Wsign-compare]
  152 |       if(jabs > i) break;
      |          ~~~~~^~~
fill_SMAWK.cpp: In function 'void find_min_from_candidates(int, int, int, int, const std::vector<long long unsigned int>&, std::vector<std::vector<double> >&, std::vector<std::vector<long long unsigned int> >&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, DISSIMILARITY)':
fill_SMAWK.cpp:203:16: warning: comparison of integer expressions of different signedness: 'const size_t' {aka 'const long long unsigned int'} and 'int' [-Wsign-compare]
  203 |       if(j_abs > i) break;
      |          ~~~~~~^~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c fill_log_linear.cpp -o fill_log_linear.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c fill_quadratic.cpp -o fill_quadratic.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c select_levels.cpp -o select_levels.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c weighted_select_levels.cpp -o weighted_select_levels.o
g++ -std=gnu++17 -shared -s -static-libgcc -o Ckmeans.1d.dp.dll tmp.def Ckmeans.1d.dp.o Ckmeans.1d.dp_main.o EWL2_dynamic_prog.o EWL2_fill_SMAWK.o EWL2_fill_log_linear.o EWL2_fill_quadratic.o MCW_fill_SMAWK.o MCW_functions.o MCW_main.o RcppExports.o dynamic_prog.o fill_SMAWK.o fill_log_linear.o fill_quadratic.o select_levels.o weighted_select_levels.o -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.4.2/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2024_12_08_01_50_01_8405/RtmpMj63vz/R.INSTALL2c0343fea7dfa/Ckmeans.1d.dp/src'
make[1]: Entering directory '/d/temp/2024_12_08_01_50_01_8405/RtmpMj63vz/R.INSTALL2c0343fea7dfa/Ckmeans.1d.dp/src'
make[1]: Leaving directory '/d/temp/2024_12_08_01_50_01_8405/RtmpMj63vz/R.INSTALL2c0343fea7dfa/Ckmeans.1d.dp/src'
installing to d:/Rcompile/CRANpkg/lib/4.4/00LOCK-Ckmeans.1d.dp/00new/Ckmeans.1d.dp/libs/x64
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* MD5 sums
packaged installation of 'Ckmeans.1d.dp' as Ckmeans.1d.dp_4.3.5.zip
* DONE (Ckmeans.1d.dp)