* installing *source* package 'redist' ...
** this is package 'redist' version '4.3.1'
** package 'redist' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 14.2.0'
using C++17
make[1]: Entering directory '/d/temp/2025_10_14_01_50_00_4128/RtmpaAiV2E/R.INSTALL19a1477fd58ce/redist/src'
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.6/cli/include' -I'D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DARMA_64BIT_WORD=1 -g0 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32,
from RcppExports.cpp:5:
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
| ^
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.6/cli/include' -I'D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DARMA_64BIT_WORD=1 -g0 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c adj_reduce.cpp -o adj_reduce.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32,
from smc_base.h:10,
from tree_op.h:1,
from adj_reduce.cpp:1:
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
| ^
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.6/cli/include' -I'D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DARMA_64BIT_WORD=1 -g0 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c check_contiguity.cpp -o check_contiguity.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32,
from smc_base.h:10,
from check_contiguity.cpp:1:
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
| ^
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.6/cli/include' -I'D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DARMA_64BIT_WORD=1 -g0 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c coarsen.cpp -o coarsen.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32,
from smc_base.h:10,
from coarsen.cpp:1:
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
| ^
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.6/cli/include' -I'D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DARMA_64BIT_WORD=1 -g0 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c coloring.cpp -o coloring.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.6/cli/include' -I'D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DARMA_64BIT_WORD=1 -g0 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c compact_vectorized.cpp -o compact_vectorized.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32,
from smc_base.h:10,
from compact_vectorized.cpp:1:
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
| ^
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.6/cli/include' -I'D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DARMA_64BIT_WORD=1 -g0 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c constraint_calc_helper.cpp -o constraint_calc_helper.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32,
from constraint_calc_helper.cpp:11:
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
| ^
constraint_calc_helper.cpp: In function 'arma::uvec getIn(arma::ivec, arma::ivec)':
constraint_calc_helper.cpp:107:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const long long unsigned int'} [-Wsign-compare]
107 | for(i = 0; i < vec1.n_elem; i++){
| ~~^~~~~~~~~~~~~
constraint_calc_helper.cpp:109:18: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const long long unsigned int'} [-Wsign-compare]
109 | for(j = 0; j < vec2.n_elem; j++){
| ~~^~~~~~~~~~~~~
constraint_calc_helper.cpp: In function 'arma::uvec get_in_index(arma::vec, arma::vec)':
constraint_calc_helper.cpp:125:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const long long unsigned int'} [-Wsign-compare]
125 | for(i = 0; i < vec1.n_elem; i++){
| ~~^~~~~~~~~~~~~
constraint_calc_helper.cpp:127:18: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const long long unsigned int'} [-Wsign-compare]
127 | for(j = 0; j < vec2.n_elem; j++){
| ~~^~~~~~~~~~~~~
constraint_calc_helper.cpp:124:22: warning: variable 'match' set but not used [-Wunused-but-set-variable]
124 | int i; int j; bool match; arma::uvec store_in(vec1.n_elem);
| ^~~~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.6/cli/include' -I'D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DARMA_64BIT_WORD=1 -g0 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c contiguity.cpp -o contiguity.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.6/cli/include' -I'D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DARMA_64BIT_WORD=1 -g0 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c cores.cpp -o cores.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32,
from smc_base.h:10,
from cores.cpp:1:
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
| ^
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.6/cli/include' -I'D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DARMA_64BIT_WORD=1 -g0 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c crsg.cpp -o crsg.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32,
from crsg.cpp:1:
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
| ^
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.6/cli/include' -I'D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DARMA_64BIT_WORD=1 -g0 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c distance_helpers.cpp -o distance_helpers.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.6/cli/include' -I'D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DARMA_64BIT_WORD=1 -g0 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c kirchhoff.cpp -o kirchhoff.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32,
from smc_base.h:10,
from kirchhoff.cpp:3:
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
| ^
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.6/cli/include' -I'D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DARMA_64BIT_WORD=1 -g0 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c make_swaps_helper.cpp -o make_swaps_helper.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32,
from make_swaps_helper.cpp:10:
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
| ^
make_swaps_helper.cpp: In function 'Rcpp::NumericVector distParity(Rcpp::NumericMatrix, Rcpp::NumericVector)':
make_swaps_helper.cpp:412:24: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'long long unsigned int'} [-Wsign-compare]
412 | for(int k = 0; k < assignments.size(); k++){
| ~~^~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.6/cli/include' -I'D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DARMA_64BIT_WORD=1 -g0 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c map_calc.cpp -o map_calc.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32,
from smc_base.h:10,
from map_calc.h:4,
from map_calc.cpp:2:
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
| ^
map_calc.cpp: In function 'double log_boundary(const Graph&, const arma::subview_col<long long unsigned int>&, int, int)':
map_calc.cpp:16:26: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
16 | if (districts(i) != distr_root) continue; // same side of boundary as root
| ~~~~~~~~~~~~~^~~~~~~~~~~~~
map_calc.cpp:18:33: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
18 | if (districts(nbor) != distr_other)
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
map_calc.cpp: In function 'double eval_sq_entropy(const arma::subview_col<long long unsigned int>&, const arma::uvec&, int, const arma::uvec&, int, int, int)':
map_calc.cpp:38:28: warning: comparison of integer expressions of different signedness: 'const long long unsigned int' and 'int' [-Wsign-compare]
38 | if (current[k] != j) continue;
map_calc.cpp:41:30: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
41 | if (districts[k] == distr)
| ~~~~~~~~~~~~~^~~~~~~~
map_calc.cpp: In function 'double eval_inc(const arma::subview_col<long long unsigned int>&, int, const arma::uvec&)':
map_calc.cpp:114:42: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
114 | if (districts[incumbents[i] - 1] == distr)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
map_calc.cpp: In function 'double eval_polsby(const arma::subview_col<long long unsigned int>&, int, const arma::ivec&, const arma::ivec&, const arma::vec&, const arma::vec&)':
map_calc.cpp:242:23: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'long long unsigned int'} [-Wsign-compare]
242 | for (int e = 0; e < idx.size(); e++) {
| ~~^~~~~~~~~~~~
map_calc.cpp:246:41: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
246 | if (districts(from(idx(e))) != distr) {
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
map_calc.cpp: In function 'double eval_fry_hold(const arma::subview_col<long long unsigned int>&, int, const arma::uvec&, arma::mat, double)':
map_calc.cpp:264:23: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'long long unsigned int'} [-Wsign-compare]
264 | for (int i = 0; i < idxs.size() - 1; i++) {
| ~~^~~~~~~~~~~~~~~~~
map_calc.cpp:265:31: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'long long unsigned int'} [-Wsign-compare]
265 | for (int k = i + 1; k < idxs.size(); k++) {
| ~~^~~~~~~~~~~~~
map_calc.cpp: In function 'double eval_grp_hinge(const arma::subview_col<long long unsigned int>&, int, const arma::vec&, const arma::uvec&, const arma::uvec&)':
map_calc.cpp:71:43: warning: 'target' may be used uninitialized [-Wmaybe-uninitialized]
71 | return std::sqrt(std::max(0.0, target - frac));
| ~~~~~~~^~~~~~
map_calc.cpp:60:12: note: 'target' was declared here
60 | double target;
| ^~~~~~
map_calc.cpp: In function 'double eval_grp_inv_hinge(const arma::subview_col<long long unsigned int>&, int, const arma::vec&, const arma::uvec&, const arma::uvec&)':
map_calc.cpp:93:41: warning: 'target' may be used uninitialized [-Wmaybe-uninitialized]
93 | return std::sqrt(std::max(0.0, frac - target));
| ~~~~~^~~~~~~~
map_calc.cpp:82:12: note: 'target' was declared here
82 | double target;
| ^~~~~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.6/cli/include' -I'D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DARMA_64BIT_WORD=1 -g0 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c mcmc_gibbs.cpp -o mcmc_gibbs.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32,
from mcmc_gibbs.h:4,
from mcmc_gibbs.cpp:1:
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
| ^
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.6/cli/include' -I'D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DARMA_64BIT_WORD=1 -g0 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c merge_split.cpp -o merge_split.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32,
from smc_base.h:10,
from merge_split.h:4,
from merge_split.cpp:9:
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
| ^
In file included from merge_split.h:14:
D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include/kirchhoff_inline.h: In function 'double log_st_distr(const Graph&, const arma::umat&, const arma::uvec&, int, int, int)':
D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include/kirchhoff_inline.h:25:27: warning: comparison of integer expressions of different signedness: 'const long long unsigned int' and 'int' [-Wsign-compare]
25 | if (districts(i, idx) == district && counties(i) == county) {
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include/kirchhoff_inline.h:25:54: warning: comparison of integer expressions of different signedness: 'const long long unsigned int' and 'int' [-Wsign-compare]
25 | if (districts(i, idx) == district && counties(i) == county) {
| ~~~~~~~~~~~~^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include/kirchhoff_inline.h:34:27: warning: comparison of integer expressions of different signedness: 'const long long unsigned int' and 'int' [-Wsign-compare]
34 | if (districts(i, idx) != district || counties(i) != county) continue;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include/kirchhoff_inline.h:34:54: warning: comparison of integer expressions of different signedness: 'const long long unsigned int' and 'int' [-Wsign-compare]
34 | if (districts(i, idx) != district || counties(i) != county) continue;
| ~~~~~~~~~~~~^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include/kirchhoff_inline.h:43:32: warning: comparison of integer expressions of different signedness: 'const long long unsigned int' and 'int' [-Wsign-compare]
43 | if (districts(nbor, idx) != district || counties(nbor) != county) continue;
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include/kirchhoff_inline.h:43:62: warning: comparison of integer expressions of different signedness: 'const long long unsigned int' and 'int' [-Wsign-compare]
43 | if (districts(nbor, idx) != district || counties(nbor) != county) continue;
| ~~~~~~~~~~~~~~~^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include/kirchhoff_inline.h: In function 'double log_st_contr(const Graph&, const arma::umat&, const arma::uvec&, int, int, int)':
D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include/kirchhoff_inline.h:70:27: warning: comparison of integer expressions of different signedness: 'const long long unsigned int' and 'int' [-Wsign-compare]
70 | if (districts(i, idx) != district) continue;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include/kirchhoff_inline.h:85:27: warning: comparison of integer expressions of different signedness: 'const long long unsigned int' and 'int' [-Wsign-compare]
85 | if (districts(i, idx) != district) continue;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include/kirchhoff_inline.h:93:32: warning: comparison of integer expressions of different signedness: 'const long long unsigned int' and 'int' [-Wsign-compare]
93 | if (districts(nbor, idx) != district || pos.at(nbor) == cty) continue;
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
merge_split.cpp: In function 'double split_map_ms(const Graph&, Tree&, const arma::uvec&, Multigraph&, arma::subview_col<long long unsigned int>, int, int, std::vector<bool>&, std::vector<bool>&, const arma::uvec&, double, double, double, int)':
merge_split.cpp:186:26: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
186 | if (districts(i) == distr_1 || districts(i) == distr_2) {
| ~~~~~~~~~~~~~^~~~~~~~~~
merge_split.cpp:186:53: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
186 | if (districts(i) == distr_1 || districts(i) == distr_2) {
| ~~~~~~~~~~~~~^~~~~~~~~~
merge_split.cpp: In function 'bool cut_districts_ms(Tree&, int, int, arma::subview_col<long long unsigned int>&, int, int, const arma::uvec&, double, double, double, double)':
merge_split.cpp:230:26: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
230 | if (districts(i) != distr_root || i == root) continue;
| ~~~~~~~~~~~~~^~~~~~~~~~~~~
merge_split.cpp: In function 'void adapt_ms_parameters(const Graph&, int, int&, double, double, const arma::uvec&, const arma::uvec&, Multigraph&, const arma::uvec&, double)':
merge_split.cpp:299:25: warning: comparison of integer expressions of different signedness: 'const long long unsigned int' and 'int' [-Wsign-compare]
299 | if (plan(j) == distr_1 || plan(j) == distr_2) {
| ~~~~~~~~^~~~~~~~~~
merge_split.cpp:299:47: warning: comparison of integer expressions of different signedness: 'const long long unsigned int' and 'int' [-Wsign-compare]
299 | if (plan(j) == distr_1 || plan(j) == distr_2) {
| ~~~~~~~~^~~~~~~~~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.6/cli/include' -I'D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DARMA_64BIT_WORD=1 -g0 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c pareto.cpp -o pareto.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32,
from smc_base.h:10,
from pareto.cpp:1:
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
| ^
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.6/cli/include' -I'D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DARMA_64BIT_WORD=1 -g0 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c pop_helpers.cpp -o pop_helpers.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32,
from smc_base.h:10,
from pop_helpers.cpp:1:
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
| ^
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.6/cli/include' -I'D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DARMA_64BIT_WORD=1 -g0 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c random.cpp -o random.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32,
from random.h:4,
from random.cpp:1:
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
| ^
In function 'int find_u(double, int, arma::vec)',
inlined from 'int r_int_wgt(int, arma::vec)' at random.cpp:143:18:
random.cpp:125:21: warning: '*out_memptr' may be used uninitialized [-Wmaybe-uninitialized]
125 | if (cum_wgts[0] > u)
In function 'int find_u(double, int, arma::vec)',
inlined from 'int r_int_mixstrat(int, int, double, arma::vec)' at random.cpp:157:18:
random.cpp:125:21: warning: '*out_memptr' may be used uninitialized [-Wmaybe-uninitialized]
125 | if (cum_wgts[0] > u)
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.6/cli/include' -I'D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DARMA_64BIT_WORD=1 -g0 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c renumber.cpp -o renumber.o
In file included from renumber.cpp:4:
hungarian.h: In member function 'void HungarianAlgorithm::assignmentoptimal(int*, double*, double*, int, int)':
hungarian.h:169:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
169 | if (fabs(distMatrix[row + nOfRows*col]) < DBL_EPSILON)
| ^~
hungarian.h:177:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
177 | for (row = 0; row<nOfRows; row++)
| ^~~
hungarian.h: In member function 'void HungarianAlgorithm::step2b(int*, double*, bool*, bool*, bool*, bool*, bool*, int, int, int)':
hungarian.h:254:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
254 | for (col = 0; col<nOfColumns; col++)
| ^~~
hungarian.h:258:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
258 | if (nOfCoveredColumns == minDim)
| ^~
hungarian.h: In member function 'void HungarianAlgorithm::step3(int*, double*, bool*, bool*, bool*, bool*, bool*, int, int, int)':
hungarian.h:288:29: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
288 | for (starCol = 0; starCol<nOfColumns; starCol++)
| ^~~
hungarian.h:292:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
292 | if (starCol == nOfColumns) /* no starred zero found */
| ^~
hungarian.h: In member function 'void HungarianAlgorithm::step4(int*, double*, bool*, bool*, bool*, bool*, bool*, int, int, int, int, int)':
hungarian.h:326:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
326 | for (starRow = 0; starRow<nOfRows; starRow++)
| ^~~
hungarian.h:330:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
330 | while (starRow<nOfRows)
| ^~~~~
hungarian.h:337:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
337 | for (primeCol = 0; primeCol<nOfColumns; primeCol++)
| ^~~
hungarian.h:342:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
342 | newStarMatrix[primeRow + nOfRows*primeCol] = true;
| ^~~~~~~~~~~~~
hungarian.h: In member function 'void HungarianAlgorithm::step5(int*, double*, bool*, bool*, bool*, bool*, bool*, int, int, int)':
hungarian.h:374:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
374 | for (col = 0; col<nOfColumns; col++)
| ^~~
hungarian.h:383:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
383 | for (row = 0; row<nOfRows; row++)
| ^~~
hungarian.h:383:21: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
hungarian.h:389:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
389 | for (col = 0; col<nOfColumns; col++)
| ^~~
hungarian.h:389:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
hungarian.h:395:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
395 | step3(assignment, distMatrix, starMatrix, newStarMatrix, primeMatrix, coveredColumns, coveredRows, nOfRows, nOfColumns, minDim);
| ^~~~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.6/cli/include' -I'D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DARMA_64BIT_WORD=1 -g0 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c rsg.cpp -o rsg.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32,
from rsg.cpp:2:
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
| ^
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.6/cli/include' -I'D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DARMA_64BIT_WORD=1 -g0 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c scorer_helpers.cpp -o scorer_helpers.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32,
from scorer_helpers.cpp:3:
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
| ^
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.6/cli/include' -I'D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DARMA_64BIT_WORD=1 -g0 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c shatter_search.cpp -o shatter_search.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.6/cli/include' -I'D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DARMA_64BIT_WORD=1 -g0 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c smc.cpp -o smc.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32,
from smc_base.h:10,
from smc.h:7,
from smc.cpp:8:
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
| ^
In file included from smc.h:15:
D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include/kirchhoff_inline.h: In function 'double log_st_distr(const Graph&, const arma::umat&, const arma::uvec&, int, int, int)':
D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include/kirchhoff_inline.h:25:27: warning: comparison of integer expressions of different signedness: 'const long long unsigned int' and 'int' [-Wsign-compare]
25 | if (districts(i, idx) == district && counties(i) == county) {
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include/kirchhoff_inline.h:25:54: warning: comparison of integer expressions of different signedness: 'const long long unsigned int' and 'int' [-Wsign-compare]
25 | if (districts(i, idx) == district && counties(i) == county) {
| ~~~~~~~~~~~~^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include/kirchhoff_inline.h:34:27: warning: comparison of integer expressions of different signedness: 'const long long unsigned int' and 'int' [-Wsign-compare]
34 | if (districts(i, idx) != district || counties(i) != county) continue;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include/kirchhoff_inline.h:34:54: warning: comparison of integer expressions of different signedness: 'const long long unsigned int' and 'int' [-Wsign-compare]
34 | if (districts(i, idx) != district || counties(i) != county) continue;
| ~~~~~~~~~~~~^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include/kirchhoff_inline.h:43:32: warning: comparison of integer expressions of different signedness: 'const long long unsigned int' and 'int' [-Wsign-compare]
43 | if (districts(nbor, idx) != district || counties(nbor) != county) continue;
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include/kirchhoff_inline.h:43:62: warning: comparison of integer expressions of different signedness: 'const long long unsigned int' and 'int' [-Wsign-compare]
43 | if (districts(nbor, idx) != district || counties(nbor) != county) continue;
| ~~~~~~~~~~~~~~~^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include/kirchhoff_inline.h: In function 'double log_st_contr(const Graph&, const arma::umat&, const arma::uvec&, int, int, int)':
D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include/kirchhoff_inline.h:70:27: warning: comparison of integer expressions of different signedness: 'const long long unsigned int' and 'int' [-Wsign-compare]
70 | if (districts(i, idx) != district) continue;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include/kirchhoff_inline.h:85:27: warning: comparison of integer expressions of different signedness: 'const long long unsigned int' and 'int' [-Wsign-compare]
85 | if (districts(i, idx) != district) continue;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include/kirchhoff_inline.h:93:32: warning: comparison of integer expressions of different signedness: 'const long long unsigned int' and 'int' [-Wsign-compare]
93 | if (districts(nbor, idx) != district || pos.at(nbor) == cty) continue;
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
smc.cpp: In function 'Rcpp::List smc_plans(int, Rcpp::List, const arma::uvec&, const arma::uvec&, int, double, double, double, double, arma::umat, int, int, Rcpp::List, Rcpp::List, int)':
smc.cpp:38:26: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const long long unsigned int'} and 'int' [-Wsign-compare]
38 | if (districts.n_rows != V || districts.n_cols != N)
| ~~~~~~~~~~~~~~~~~^~~~
smc.cpp:38:51: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const long long unsigned int'} and 'int' [-Wsign-compare]
38 | if (districts.n_rows != V || districts.n_cols != N)
| ~~~~~~~~~~~~~~~~~^~~~
smc.cpp: In function 'double cut_districts(Tree&, int, int, arma::subview_col<long long unsigned int>&, int, const arma::uvec&, double, double, double, double)':
smc.cpp:528:30: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
528 | if (districts(i - 1) != distr_root || i - 1 == root) continue;
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.6/cli/include' -I'D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DARMA_64BIT_WORD=1 -g0 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c smc_base.cpp -o smc_base.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32,
from smc_base.h:10,
from smc_base.cpp:1:
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
| ^
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.6/cli/include' -I'D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DARMA_64BIT_WORD=1 -g0 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c splits.cpp -o splits.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32,
from smc_base.h:10,
from splits.cpp:1:
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
| ^
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.6/cli/include' -I'D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DARMA_64BIT_WORD=1 -g0 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c sw_mh_alg.cpp -o sw_mh_alg.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32,
from sw_mh_alg.cpp:10:
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
| ^
sw_mh_alg.cpp: In function 'Rcpp::List vector_to_list(arma::uvec)':
sw_mh_alg.cpp:26:22: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const long long unsigned int'} [-Wsign-compare]
26 | for(int i = 0; i < vecname.n_elem; i++) {
| ~~^~~~~~~~~~~~~~~~
sw_mh_alg.cpp: In function 'arma::uvec get_not_in(arma::uvec, arma::uvec)':
sw_mh_alg.cpp:35:18: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const long long unsigned int'} [-Wsign-compare]
35 | for(i = 0; i < vec1.n_elem; i++) {
| ~~^~~~~~~~~~~~~
sw_mh_alg.cpp: In function 'Rcpp::List swMH(Rcpp::List, Rcpp::NumericVector, Rcpp::NumericVector, int, Rcpp::List, double, double, Rcpp::NumericVector, Rcpp::NumericVector, int, double, std::string, int, int, int, int, int, int, int, bool)':
sw_mh_alg.cpp:365:37: warning: 'start_anneal' may be used uninitialized [-Wmaybe-uninitialized]
365 | if ((k >= start_anneal) & (k < start_cold)) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
sw_mh_alg.cpp:131:9: note: 'start_anneal' was declared here
131 | int start_anneal;
| ^~~~~~~~~~~~
sw_mh_alg.cpp:365:37: warning: 'start_cold' may be used uninitialized [-Wmaybe-uninitialized]
365 | if ((k >= start_anneal) & (k < start_cold)) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
sw_mh_alg.cpp:132:9: note: 'start_cold' was declared here
132 | int start_cold;
| ^~~~~~~~~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.6/cli/include' -I'D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DARMA_64BIT_WORD=1 -g0 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c sw_mh_helper.cpp -o sw_mh_helper.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32,
from sw_mh_helper.h:12,
from sw_mh_helper.cpp:10:
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
| ^
sw_mh_helper.cpp: In function 'Rcpp::NumericVector init_pop(Rcpp::NumericVector, arma::vec)':
sw_mh_helper.cpp:42:18: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const long long unsigned int'} [-Wsign-compare]
42 | for(j = 0; j < cd_i_ind.n_elem; j++){
| ~~^~~~~~~~~~~~~~~~~
sw_mh_helper.cpp: In function 'int count_valid(Rcpp::List, Rcpp::List, Rcpp::NumericVector)':
sw_mh_helper.cpp:309:18: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const long long unsigned int'} [-Wsign-compare]
309 | for(j = 0; j < find_cds.n_elem; j++){
| ~~^~~~~~~~~~~~~~~~~
sw_mh_helper.cpp: In function 'Rcpp::List changeBeta(arma::vec, double, double, Rcpp::NumericVector, int)':
sw_mh_helper.cpp:793:70: warning: 'wj' may be used uninitialized [-Wmaybe-uninitialized]
793 | double mhprobGT = (double)exp(-1 * constraint * (propBeta - beta)) * wj / wi * qji / qij;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
sw_mh_helper.cpp:737:10: note: 'wj' was declared here
737 | double wj;
| ^~
sw_mh_helper.cpp:793:61: warning: 'propBeta' may be used uninitialized [-Wmaybe-uninitialized]
793 | double mhprobGT = (double)exp(-1 * constraint * (propBeta - beta)) * wj / wi * qji / qij;
| ~~~~~~~~~~^~~~~~~
sw_mh_helper.cpp:738:10: note: 'propBeta' was declared here
738 | double propBeta;
| ^~~~~~~~
sw_mh_helper.cpp: In function 'Rcpp::List make_swaps(Rcpp::List, Rcpp::List, Rcpp::NumericVector, Rcpp::NumericVector, Rcpp::NumericVector, Rcpp::List, Rcpp::CharacterVector, double, double, double, int, double, double, const Graph&)':
sw_mh_helper.cpp:599:16: warning: 'curr_cd' may be used uninitialized [-Wmaybe-uninitialized]
599 | cd_pair(0) = curr_cd;
| ~~~~~~~~~~~^~~~~~~~~
sw_mh_helper.cpp:473:9: note: 'curr_cd' was declared here
473 | int curr_cd;
| ^~~~~~~
sw_mh_helper.cpp:600:16: warning: 'prop_cd' may be used uninitialized [-Wmaybe-uninitialized]
600 | cd_pair(1) = prop_cd;
| ~~~~~~~~~~~^~~~~~~~~
sw_mh_helper.cpp:474:9: note: 'prop_cd' was declared here
474 | int prop_cd;
| ^~~~~~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.6/cli/include' -I'D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DARMA_64BIT_WORD=1 -g0 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tree_op.cpp -o tree_op.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32,
from smc_base.h:10,
from tree_op.h:1,
from tree_op.cpp:1:
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
| ^
tree_op.cpp: In function 'int find_subroot(const Tree&, const std::vector<bool>&)':
tree_op.cpp:186:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int, std::allocator<int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
186 | for (int k = 0; k < nbors->size(); k++) {
| ~~^~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.6/cli/include' -I'D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DARMA_64BIT_WORD=1 -g0 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c varinfo.cpp -o varinfo.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32,
from varinfo.cpp:1:
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
| ^
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.6/cli/include' -I'D:/RCompile/CRANpkg/lib/4.6/redistmetrics/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DARMA_64BIT_WORD=1 -g0 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c wilson.cpp -o wilson.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32,
from smc_base.h:10,
from tree_op.h:1,
from wilson.h:1,
from wilson.cpp:1:
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
| ^
wilson.cpp: In function 'int walk_until(const Graph&, int, std::vector<int, std::allocator<int> >&, int, const std::vector<bool>&, const std::vector<bool>&, const arma::uvec&)':
wilson.cpp:208:52: warning: comparison of integer expressions of different signedness: 'const long long unsigned int' and 'int' [-Wsign-compare]
208 | if (ignore[proposal] || counties[proposal] != county) {
g++ -shared -s -static-libgcc -o redist.dll tmp.def RcppExports.o adj_reduce.o check_contiguity.o coarsen.o coloring.o compact_vectorized.o constraint_calc_helper.o contiguity.o cores.o crsg.o distance_helpers.o kirchhoff.o make_swaps_helper.o map_calc.o mcmc_gibbs.o merge_split.o pareto.o pop_helpers.o random.o renumber.o rsg.o scorer_helpers.o shatter_search.o smc.o smc_base.o splits.o sw_mh_alg.o sw_mh_helper.o tree_op.o varinfo.o wilson.o -LD:/RCompile/recent/R/bin/x64 -lRlapack -LD:/RCompile/recent/R/bin/x64 -lRblas -lgfortran -lquadmath -fopenmp -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2025_10_14_01_50_00_4128/RtmpaAiV2E/R.INSTALL19a1477fd58ce/redist/src'
make[1]: Entering directory '/d/temp/2025_10_14_01_50_00_4128/RtmpaAiV2E/R.INSTALL19a1477fd58ce/redist/src'
make[1]: Leaving directory '/d/temp/2025_10_14_01_50_00_4128/RtmpaAiV2E/R.INSTALL19a1477fd58ce/redist/src'
installing to d:/Rcompile/CRANpkg/lib/4.6/00LOCK-redist/00new/redist/libs/x64
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** 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 'redist' as redist_4.3.1.zip
* DONE (redist)