* installing *source* package 'phreeqc' ... ** package 'phreeqc' successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: 'gcc.exe (GCC) 13.2.0' using C++ compiler: 'g++.exe (GCC) 13.2.0' make[1]: Entering directory '/d/temp/RtmpshXtZN/R.INSTALL1c1c032913931/phreeqc/src' g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c CSelectedOutput.cpp -o CSelectedOutput.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c IPhreeqcLib.cpp -o IPhreeqcLib.o IPhreeqcLib.cpp: In function 'void OutputAccumulatedLines(int)': IPhreeqcLib.cpp:716:27: warning: unused variable 'err_msg' [-Wunused-variable] 716 | static const char err_msg[] = "OutputAccumulatedLines: Invalid instance id.\n"; | ^~~~~~~ IPhreeqcLib.cpp: In function 'void OutputErrorString(int)': IPhreeqcLib.cpp:731:27: warning: unused variable 'err_msg' [-Wunused-variable] 731 | static const char err_msg[] = "OutputErrorString: Invalid instance id.\n"; | ^~~~~~~ IPhreeqcLib.cpp: In function 'void OutputWarningString(int)': IPhreeqcLib.cpp:746:27: warning: unused variable 'err_msg' [-Wunused-variable] 746 | static const char err_msg[] = "OutputWarningString: Invalid instance id.\n"; | ^~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c IPhreeqc.cpp -o IPhreeqc.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c R.cpp -o R.o gcc -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Var.c -o Var.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/advection.cpp -o phreeqcpp/advection.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/basicsubs.cpp -o phreeqcpp/basicsubs.o phreeqcpp/basicsubs.cpp: In member function 'double Phreeqc::calc_SC()': phreeqcpp/basicsubs.cpp:353:23: warning: unused variable 'eps_c' [-Wunused-variable] 353 | LDBLE eps_c = eps_r; // Cl concentration corrected eps_r | ^~~~~ phreeqcpp/basicsubs.cpp:249:56: warning: unused variable 'v_Cl' [-Wunused-variable] 249 | LDBLE ka, l_z, Dw, ff, sqrt_mu, a, a2, a3, av, v_Cl = 1; | ^~~~ phreeqcpp/basicsubs.cpp: In member function 'double Phreeqc::calc_solution_volume()': phreeqcpp/basicsubs.cpp:668:15: warning: unused variable 'rho' [-Wunused-variable] 668 | LDBLE rho = calc_dens(); | ^~~ phreeqcpp/basicsubs.cpp: In member function 'double Phreeqc::calc_surface_charge(const char*)': phreeqcpp/basicsubs.cpp:907:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 907 | for (i = 1; i < count_trxn; i++) | ~~^~~~~~~~~~~~ phreeqcpp/basicsubs.cpp: In member function 'double Phreeqc::diff_layer_total(const char*, const char*)': phreeqcpp/basicsubs.cpp:961:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 961 | for (j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/basicsubs.cpp:997:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 997 | if (j >= count_unknowns) | ~~^~~~~~~~~~~~~~~~~ phreeqcpp/basicsubs.cpp:1203:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1203 | for (j = 0; j < count_elts; j++) | ~~^~~~~~~~~~~~ phreeqcpp/basicsubs.cpp: In member function 'double Phreeqc::equi_phase(const char*)': phreeqcpp/basicsubs.cpp:1263:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1263 | for (j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/basicsubs.cpp:1276:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1276 | if (j == count_unknowns) | ~~^~~~~~~~~~~~~~~~~ phreeqcpp/basicsubs.cpp: In member function 'double Phreeqc::equi_phase_delta(const char*)': phreeqcpp/basicsubs.cpp:1308:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1308 | for (j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/basicsubs.cpp:1321:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1321 | if (j == count_unknowns) | ~~^~~~~~~~~~~~~~~~~ phreeqcpp/basicsubs.cpp: In member function 'double Phreeqc::surf_total(const char*, const char*)': phreeqcpp/basicsubs.cpp:2360:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2360 | for (j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/basicsubs.cpp:2375:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2375 | if (j >= count_unknowns) | ~~^~~~~~~~~~~~~~~~~ phreeqcpp/basicsubs.cpp: In member function 'double Phreeqc::surf_total_no_redox(const char*, const char*)': phreeqcpp/basicsubs.cpp:2488:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2488 | for (j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/basicsubs.cpp:2506:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2506 | if (j >= count_unknowns) | ~~^~~~~~~~~~~~~~~~~ phreeqcpp/basicsubs.cpp:2541:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2541 | for (j = 0; j < count_elts; j++) | ~~^~~~~~~~~~~~ phreeqcpp/basicsubs.cpp: In member function 'double Phreeqc::total(const char*)': phreeqcpp/basicsubs.cpp:2605:36: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 2605 | (i < (int)master.size() && master[i]->elt->primary == master_ptr); | ~~^~~~~~~~~~~~~~~~~~~~ phreeqcpp/basicsubs.cpp: In member function 'int Phreeqc::system_total_elt(const char*)': phreeqcpp/basicsubs.cpp:3485:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3485 | for (j = 0; j < count_elts; j++) | ~~^~~~~~~~~~~~ phreeqcpp/basicsubs.cpp:3535:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3535 | for (k = 0; k < count_unknowns; k++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/basicsubs.cpp:3568:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3568 | for (j = 0; j < count_elts; j++) | ~~^~~~~~~~~~~~ phreeqcpp/basicsubs.cpp:3590:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3590 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/basicsubs.cpp:3607:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3607 | for (j = 0; j < count_elts; j++) | ~~^~~~~~~~~~~~ phreeqcpp/basicsubs.cpp:3643:55: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3643 | for (j = 0; j < count_elts; j++) | ~~^~~~~~~~~~~~ phreeqcpp/basicsubs.cpp:3681:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3681 | for (j = 0; j < count_elts; j++) | ~~^~~~~~~~~~~~ phreeqcpp/basicsubs.cpp: In member function 'int Phreeqc::system_total_elt_secondary(const char*)': phreeqcpp/basicsubs.cpp:3731:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3731 | for (j = 0; j < count_elts; j++) | ~~^~~~~~~~~~~~ phreeqcpp/basicsubs.cpp:3776:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3776 | for (k = 0; k < count_unknowns; k++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/basicsubs.cpp:3800:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3800 | for (l = 0; l < count_elts; l++) | ~~^~~~~~~~~~~~ phreeqcpp/basicsubs.cpp:3817:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3817 | if (l >= count_elts) | ~~^~~~~~~~~~~~~ phreeqcpp/basicsubs.cpp:3836:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3836 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/basicsubs.cpp:3853:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3853 | for (j = 0; j < count_elts; j++) | ~~^~~~~~~~~~~~ phreeqcpp/basicsubs.cpp:3890:55: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3890 | for (j = 0; j < count_elts; j++) | ~~^~~~~~~~~~~~ phreeqcpp/basicsubs.cpp: In member function 'double Phreeqc::solution_sum_secondary(const char*)': phreeqcpp/basicsubs.cpp:4017:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 4017 | for (j = 0; j < count_elts; j++) | ~~^~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/ChartHandler.cpp -o phreeqcpp/ChartHandler.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/ChartObject.cpp -o phreeqcpp/ChartObject.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/cl1.cpp -o phreeqcpp/cl1.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/CurveObject.cpp -o phreeqcpp/CurveObject.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/cvdense.cpp -o phreeqcpp/cvdense.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/cvode.cpp -o phreeqcpp/cvode.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/cxxKinetics.cpp -o phreeqcpp/cxxKinetics.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/cxxMix.cpp -o phreeqcpp/cxxMix.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/dense.cpp -o phreeqcpp/dense.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/Dictionary.cpp -o phreeqcpp/Dictionary.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/dumper.cpp -o phreeqcpp/dumper.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/Exchange.cpp -o phreeqcpp/Exchange.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/ExchComp.cpp -o phreeqcpp/ExchComp.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/GasComp.cpp -o phreeqcpp/GasComp.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/gases.cpp -o phreeqcpp/gases.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/GasPhase.cpp -o phreeqcpp/GasPhase.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/input.cpp -o phreeqcpp/input.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/integrate.cpp -o phreeqcpp/integrate.o phreeqcpp/integrate.cpp: In member function 'int Phreeqc::calc_all_g()': phreeqcpp/integrate.cpp:43:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 43 | for (int j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/integrate.cpp: In member function 'void Phreeqc::polint(double*, double*, int, double, double*, double*)': phreeqcpp/integrate.cpp:334:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 334 | for (size_t i = 1; i <= n - m; i++) | ~~^~~~~~~~ phreeqcpp/integrate.cpp: In member function 'int Phreeqc::calc_init_g()': phreeqcpp/integrate.cpp:461:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 461 | for (int j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/integrate.cpp: In member function 'int Phreeqc::initial_surface_water()': phreeqcpp/integrate.cpp:572:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 572 | for (int i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/integrate.cpp:586:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 586 | for (int i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/integrate.cpp:617:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 617 | for (int i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/integrate.cpp:645:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 645 | for (int i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/integrate.cpp:660:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 660 | for (int i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/integrate.cpp: In member function 'int Phreeqc::calc_all_donnan()': phreeqcpp/integrate.cpp:796:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 796 | for (int j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/integrate.cpp:737:67: warning: variable 'viscos' set but not used [-Wunused-but-set-variable] 737 | LDBLE new_g2, f_psi2, surf_chrg_eq2, psi_avg2, dif, var1, viscos; | ^~~~~~ phreeqcpp/integrate.cpp: In member function 'int Phreeqc::calc_init_donnan()': phreeqcpp/integrate.cpp:984:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 984 | for (int j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/integrate.cpp: In member function 'double Phreeqc::calc_psi_avg(cxxSurfaceCharge*, double, double, double, std::vector<double>&)': phreeqcpp/integrate.cpp:1179:53: warning: 'z_2' may be used uninitialized [-Wmaybe-uninitialized] 1179 | sum_co += z * temp; | ~~^~~~~~ phreeqcpp/integrate.cpp:1070:28: note: 'z_2' was declared here 1070 | LDBLE z1, z2, z_1, z_2; | ^~~ phreeqcpp/integrate.cpp:1173:58: warning: 'z2' may be used uninitialized [-Wmaybe-uninitialized] 1173 | sum_counter += z * temp; | ~~^~~~~~ phreeqcpp/integrate.cpp:1070:19: note: 'z2' was declared here 1070 | LDBLE z1, z2, z_1, z_2; | ^~ phreeqcpp/integrate.cpp:1216:89: warning: 'Z1_c' may be used uninitialized [-Wmaybe-uninitialized] 1216 | l_iter, (double)(exp(-p) - 1), (double)surf_chrg_eq, (double)(p * Z1_c * p_psi))); | ~~^~~~~~ phreeqcpp/integrate.cpp:1069:103: note: 'Z1_c' was declared here 1069 | LDBLE fd, fd1, p, /*psi_DL, */p_psi = R_KJ_DEG_MOL * tk_x / F_KJ_V_EQ, temp, ratio_aq, z, Z1, Z1_c, eq, co_ion, sum_counter, sum_co; | ^~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/inverse.cpp -o phreeqcpp/inverse.o phreeqcpp/inverse.cpp: In member function 'int Phreeqc::setup_inverse(inverse*)': phreeqcpp/inverse.cpp:284:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 284 | for (i = 0; i < max_row_count; i++) | ~~^~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:302:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 302 | for (i = 0; i < count_optimize; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:329:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<inv_elts>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 329 | for (i = 0; i < inv_ptr->elts.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:341:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 341 | for (i = 0; i < inv_ptr->count_solns; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:369:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 369 | if (i == (inv_ptr->count_solns - 1)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:467:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<inv_elts>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 467 | for (i = 0; i < inv_ptr->elts.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:524:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<inv_elts>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 524 | for (i = 0; i < inv_ptr->elts.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:527:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 527 | for (j = 0; j < inv_ptr->count_solns; j++) | ~~^~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:529:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 529 | if (j < (inv_ptr->count_solns - 1)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:550:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 550 | for (i = 0; i < inv_ptr->count_solns; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:563:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 563 | for (i = 0; i < inv_ptr->count_solns; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:565:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<isotope>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 565 | for (j = 0; j < inv_ptr->isotope_unknowns.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:582:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<inv_isotope>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 582 | for (j = 0; j < inv_ptr->isotopes.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:596:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 596 | for (i = 0; i < inv_ptr->count_solns; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:599:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 599 | if (i < inv_ptr->count_solns - 1) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:632:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 632 | for (i = 0; i < inv_ptr->count_solns; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:636:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<inv_elts>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 636 | for (j = 0; j < inv_ptr->elts.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:662:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 662 | for (i = 0; i < inv_ptr->count_solns; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:701:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 701 | for (i = 0; i < inv_ptr->count_solns; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:703:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<inv_elts>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 703 | for (j = 0; j < inv_ptr->elts.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:729:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 729 | for (k = 0; k < count_rows; k++) | ~~^~~~~~~~~~~~ phreeqcpp/inverse.cpp:810:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 810 | for (i = 0; i < inv_ptr->count_solns; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:866:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 866 | for (i = 0; i < inv_ptr->count_solns; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:869:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<isotope>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 869 | for (j = 0; j < inv_ptr->isotope_unknowns.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:938:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 938 | for (i = 0; i < (inv_ptr->count_solns - 1); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:945:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 945 | for (i = 0; i < max_column_count; i++) | ~~^~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:954:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 954 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:958:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 958 | for (i = 0; i < count_rows; i++) | ~~^~~~~~~~~~~~ phreeqcpp/inverse.cpp:962:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 962 | for (j = 0; j < count_unknowns + 1; j++) | ~~^~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp: In member function 'int Phreeqc::save_minimal(long unsigned int)': phreeqcpp/inverse.cpp:1513:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1513 | if (count_minimal >= max_minimal) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ phreeqcpp/inverse.cpp: In member function 'int Phreeqc::save_good(long unsigned int)': phreeqcpp/inverse.cpp:1531:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1531 | if (count_good >= max_good) | ~~~~~~~~~~~^~~~~~~~~~~ phreeqcpp/inverse.cpp: In member function 'int Phreeqc::save_bad(long unsigned int)': phreeqcpp/inverse.cpp:1549:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1549 | if (count_bad >= max_bad) | ~~~~~~~~~~^~~~~~~~~~ phreeqcpp/inverse.cpp: In member function 'int Phreeqc::print_model(inverse*)': phreeqcpp/inverse.cpp:1663:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1663 | for (i = 0; i < inv_ptr->count_solns; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:1708:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<inv_elts>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1708 | for (j = 0; j < inv_ptr->elts.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:1758:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<isotope>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1758 | for (j = 0; j < inv_ptr->isotope_unknowns.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:1898:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1898 | for (i = 0; i < inv_ptr->count_solns; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:1923:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1923 | for (i = 0; i < inv_ptr->count_solns - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp: In member function 'int Phreeqc::punch_model_heading(inverse*)': phreeqcpp/inverse.cpp:2061:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2061 | for (i = 0; i < inv_ptr->count_solns; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp: In member function 'int Phreeqc::punch_model(inverse*)': phreeqcpp/inverse.cpp:2150:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2150 | for (i = 0; i < inv_ptr->count_solns; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp: In member function 'int Phreeqc::range(inverse*, long unsigned int)': phreeqcpp/inverse.cpp:2355:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2355 | for (i = 0; i < inv_ptr->count_solns + inv_ptr->phases.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:2357:42: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 2357 | if (inv_ptr->count_solns == i + 1) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ phreeqcpp/inverse.cpp: In member function 'int Phreeqc::shrink(inverse*, double*, double*, int*, int*, int*, int*, long unsigned int, double*, int*, int*)': phreeqcpp/inverse.cpp:2537:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<inv_phases>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2537 | for (i = 0; i < inv_ptr->phases.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:2545:47: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<inv_isotope>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2545 | for (j = 0; j < inv_ptr->isotopes.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:2557:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2557 | for (i = 0; i < (inv_ptr->count_solns - 1); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:2563:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<inv_elts>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2563 | for (j = 0; j < inv_ptr->elts.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:2612:29: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 2612 | if (cur_col == col_back_l[i]) | ~~~~~~~~^~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp: In member function 'int Phreeqc::check_solns(inverse*)': phreeqcpp/inverse.cpp:2791:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2791 | for (i = 0; i < inv_ptr->count_solns; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:2850:31: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 2850 | if (j == i) | ~~^~~~ phreeqcpp/inverse.cpp: In member function 'bool Phreeqc::test_cl1_solution()': phreeqcpp/inverse.cpp:3077:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3077 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp: In member function 'int Phreeqc::carbon_derivs(inverse*)': phreeqcpp/inverse.cpp:3116:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3116 | for (i = 0; i < inv_ptr->count_solns; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:3130:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<inv_elts>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 3130 | for (j = 0; j < inv_ptr->elts.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp: In member function 'int Phreeqc::isotope_balance_equation(inverse*, int, int)': phreeqcpp/inverse.cpp:3293:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3293 | for (i = 0; i < inv_ptr->count_solns; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:3295:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3295 | if (i == (inv_ptr->count_solns - 1)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:3332:47: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<inv_elts>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 3332 | for (k = 0; k < inv_ptr->elts.size(); k++) | ~~^~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:3354:47: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<isotope>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 3354 | for (k = 0; k < inv_ptr->isotope_unknowns.size(); k++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:3374:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<inv_phases>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 3374 | for (i = 0; i < inv_ptr->phases.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:3379:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<isotope>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 3379 | for (j = 0; j < inv_ptr->phases[i].isotopes.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp: In member function 'bool Phreeqc::set_isotope_unknowns(inverse*)': phreeqcpp/inverse.cpp:3421:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<inv_isotope>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 3421 | for (i = 0; i < inv_ptr->isotopes.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp: In member function 'int Phreeqc::check_isotopes(inverse*)': phreeqcpp/inverse.cpp:3502:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3502 | for (j = 0; j < inv_ptr->count_solns; j++) | ~~^~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:3511:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<inv_isotope>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 3511 | for (i = 0; i < inv_ptr->isotopes.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:3566:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<inv_isotope>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 3566 | for (i = 0; i < inv_ptr->i_u.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:3585:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 3585 | if (j < inv_ptr->i_u[i].uncertainties.size() | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:3642:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<inv_phases>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 3642 | for (j = 0; j < inv_ptr->phases.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:3644:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<inv_isotope>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 3644 | for (i = 0; i < inv_ptr->isotopes.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:3649:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<isotope>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 3649 | for (k = 0; k < inv_ptr->phases[j].isotopes.size(); k++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp: In member function 'int Phreeqc::write_optimize_names(inverse*)': phreeqcpp/inverse.cpp:3810:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<inv_elts>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 3810 | for (j = 0; j < inv_ptr->elts.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:3812:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3812 | for (i = 0; i < inv_ptr->count_solns; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:3825:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3825 | for (i = 0; i < inv_ptr->count_solns; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:3841:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3841 | for (i = 0; i < inv_ptr->count_solns; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:3843:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<isotope>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 3843 | for (j = 0; j < inv_ptr->isotope_unknowns.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:3856:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<inv_phases>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 3856 | for (i = 0; i < inv_ptr->phases.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:3858:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<inv_isotope>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 3858 | for (j = 0; j < inv_ptr->isotopes.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp: In member function 'int Phreeqc::dump_netpath_pat(inverse*)': phreeqcpp/inverse.cpp:4256:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 4256 | for (i = 0; i < inv_ptr->count_solns; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:4286:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<inv_elts>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 4286 | for (j = 0; j < inv_ptr->elts.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:4311:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<isotope>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 4311 | for (j = 0; j < inv_ptr->isotope_unknowns.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:4714:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 4714 | for (i = 0; i < count_current_solutions; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:4727:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<inv_elts>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 4727 | for (j = 0; j < inv_ptr->elts.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:4756:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<inv_isotope>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 4756 | for (j = 0; j < inv_ptr->isotopes.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:4921:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<isotope>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 4921 | for (k = 0; k < inv_ptr->phases[i].isotopes.size(); k++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/inverse.cpp:5007:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 5007 | for (i = 0; i < count_current_solutions - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/ISolutionComp.cpp -o phreeqcpp/ISolutionComp.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/ISolution.cpp -o phreeqcpp/ISolution.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/isotopes.cpp -o phreeqcpp/isotopes.o phreeqcpp/isotopes.cpp: In member function 'int Phreeqc::calculate_values()': phreeqcpp/isotopes.cpp:1094:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<calculate_value*>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1094 | for (j = 0; j < calculate_value.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/Keywords.cpp -o phreeqcpp/Keywords.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/KineticsComp.cpp -o phreeqcpp/KineticsComp.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/kinetics.cpp -o phreeqcpp/kinetics.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/mainsubs.cpp -o phreeqcpp/mainsubs.o phreeqcpp/mainsubs.cpp: In member function 'int Phreeqc::xpp_assemblage_save(int)': phreeqcpp/mainsubs.cpp:1225:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1225 | for (int j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/mainsubs.cpp: In member function 'int Phreeqc::xsurface_save(int)': phreeqcpp/mainsubs.cpp:1463:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1463 | for (int i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/mainsubs.cpp: In member function 'int Phreeqc::copy_entities()': phreeqcpp/mainsubs.cpp:1868:67: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} [-Wsign-compare] 1868 | for (size_t i = copy_solution.start[j]; i <= copy_solution.end[j]; i++) phreeqcpp/mainsubs.cpp:1870:39: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} [-Wsign-compare] 1870 | if (i == copy_solution.n_user[j]) phreeqcpp/mainsubs.cpp:1882:72: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} [-Wsign-compare] 1882 | for (size_t i = copy_pp_assemblage.start[j]; i <= copy_pp_assemblage.end[j]; i++) phreeqcpp/mainsubs.cpp:1884:39: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} [-Wsign-compare] 1884 | if (i == copy_pp_assemblage.n_user[j]) phreeqcpp/mainsubs.cpp:1896:67: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} [-Wsign-compare] 1896 | for (size_t i = copy_reaction.start[j]; i <= copy_reaction.end[j]; i++) phreeqcpp/mainsubs.cpp:1898:39: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} [-Wsign-compare] 1898 | if (i == copy_reaction.n_user[j]) phreeqcpp/mainsubs.cpp:1910:62: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} [-Wsign-compare] 1910 | for (size_t i = copy_mix.start[j]; i <= copy_mix.end[j]; i++) phreeqcpp/mainsubs.cpp:1912:39: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} [-Wsign-compare] 1912 | if (i != copy_mix.n_user[j]) phreeqcpp/mainsubs.cpp:1925:67: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} [-Wsign-compare] 1925 | for (size_t i = copy_exchange.start[j]; i <= copy_exchange.end[j]; i++) phreeqcpp/mainsubs.cpp:1927:39: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} [-Wsign-compare] 1927 | if (i == copy_exchange.n_user[j]) continue; phreeqcpp/mainsubs.cpp:1938:66: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} [-Wsign-compare] 1938 | for (size_t i = copy_surface.start[j]; i <= copy_surface.end[j]; i++) phreeqcpp/mainsubs.cpp:1940:39: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} [-Wsign-compare] 1940 | if (i == copy_surface.n_user[j]) phreeqcpp/mainsubs.cpp:1952:70: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} [-Wsign-compare] 1952 | for (size_t i = copy_temperature.start[j]; i <= copy_temperature.end[j]; i++) phreeqcpp/mainsubs.cpp:1954:39: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} [-Wsign-compare] 1954 | if (i != copy_temperature.n_user[j]) phreeqcpp/mainsubs.cpp:1967:67: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} [-Wsign-compare] 1967 | for (size_t i = copy_pressure.start[j]; i <= copy_pressure.end[j]; i++) phreeqcpp/mainsubs.cpp:1969:39: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} [-Wsign-compare] 1969 | if (i != copy_pressure.n_user[j]) phreeqcpp/mainsubs.cpp:1982:68: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} [-Wsign-compare] 1982 | for (size_t i = copy_gas_phase.start[j]; i <= copy_gas_phase.end[j]; i++) phreeqcpp/mainsubs.cpp:1984:39: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} [-Wsign-compare] 1984 | if (i == copy_gas_phase.n_user[j]) phreeqcpp/mainsubs.cpp:1996:67: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} [-Wsign-compare] 1996 | for (size_t i = copy_kinetics.start[j]; i <= copy_kinetics.end[j]; i++) phreeqcpp/mainsubs.cpp:1998:39: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} [-Wsign-compare] 1998 | if (i == copy_kinetics.n_user[j]) phreeqcpp/mainsubs.cpp:2010:72: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} [-Wsign-compare] 2010 | for (size_t i = copy_ss_assemblage.start[j]; i <= copy_ss_assemblage.end[j]; i++) phreeqcpp/mainsubs.cpp:2012:39: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} [-Wsign-compare] 2012 | if (i == copy_ss_assemblage.n_user[j]) g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/model.cpp -o phreeqcpp/model.o phreeqcpp/model.cpp: In member function 'int Phreeqc::check_residuals()': phreeqcpp/model.cpp:291:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 291 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp: In member function 'int Phreeqc::ineq(int)': phreeqcpp/model.cpp:971:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 971 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:1009:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1009 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:1016:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1016 | for (j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:1020:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1020 | for (j = 0; j < count_unknowns + 1; j++) | ~~^~~~~~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:1033:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1033 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:1044:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1044 | for (j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:1084:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1084 | for (j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:1111:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1111 | for (j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:1136:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1136 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:1191:55: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1191 | for (j = 0; j < count_unknowns + 1; j++) | ~~^~~~~~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:1253:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1253 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:1326:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1326 | for (j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:1349:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1349 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:1407:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1407 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:1415:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1415 | for (j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:1442:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1442 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:1479:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1479 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:1497:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1497 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:1541:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1541 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:1641:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1641 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:1649:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1649 | for (j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:1674:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1674 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:1855:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1855 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:1859:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1859 | for (j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:1892:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1892 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp: In member function 'int Phreeqc::jacobian_sums()': phreeqcpp/model.cpp:1936:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1936 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:1940:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1940 | for (i = 1; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:1974:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1974 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:2005:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2005 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:2023:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2023 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:2049:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2049 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:2058:55: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2058 | for (j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:2076:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2076 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:2085:55: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2085 | for (j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp: In member function 'int Phreeqc::mb_sums()': phreeqcpp/model.cpp:2116:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2116 | for (k = 0; k < count_unknowns; k++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp: In member function 'int Phreeqc::reset()': phreeqcpp/model.cpp:2985:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2985 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:3120:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3120 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:3139:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3139 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:3154:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3154 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:3169:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3169 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:3308:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3308 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:3315:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3315 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:3334:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3334 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:3742:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3742 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp: In member function 'int Phreeqc::residuals()': phreeqcpp/model.cpp:3797:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3797 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp: In member function 'int Phreeqc::initial_guesses()': phreeqcpp/model.cpp:4618:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 4618 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp: In member function 'int Phreeqc::revise_guesses()': phreeqcpp/model.cpp:4716:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 4716 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:4729:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 4729 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp: In member function 'int Phreeqc::sum_species()': phreeqcpp/model.cpp:4957:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 4957 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp: In member function 'int Phreeqc::numerical_jacobian()': phreeqcpp/model.cpp:5614:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 5614 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:5661:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 5661 | for (j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:5673:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 5673 | for (j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp:5708:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 5708 | for (j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp: In member function 'void Phreeqc::set_inert_moles()': phreeqcpp/model.cpp:5813:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 5813 | for (j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/model.cpp: In member function 'void Phreeqc::unset_inert_moles()': phreeqcpp/model.cpp:5832:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 5832 | for (j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/NameDouble.cpp -o phreeqcpp/NameDouble.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/NumKeyword.cpp -o phreeqcpp/NumKeyword.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/nvector.cpp -o phreeqcpp/nvector.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/nvector_serial.cpp -o phreeqcpp/nvector_serial.o phreeqcpp/nvector_serial.cpp: In function 'void N_VPrint_Serial(N_Vector)': phreeqcpp/nvector_serial.cpp:850:21: warning: variable 'N' set but not used [-Wunused-but-set-variable] 850 | integertype N; | ^ phreeqcpp/nvector_serial.cpp:851:19: warning: variable 'xd' set but not used [-Wunused-but-set-variable] 851 | realtype *xd; | ^~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/parse.cpp -o phreeqcpp/parse.o phreeqcpp/parse.cpp: In member function 'int Phreeqc::parse_eq(char*, std::vector<elt_list>&, int)': phreeqcpp/parse.cpp:157:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 157 | for (i = 0; i < count_elts; i++) | ~~^~~~~~~~~~~~ phreeqcpp/parse.cpp: In member function 'int Phreeqc::check_eqn(int)': phreeqcpp/parse.cpp:213:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 213 | for (i = 0; i < count_trxn; i++) | ~~^~~~~~~~~~~~ phreeqcpp/parse.cpp:239:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 239 | for (i = 0; i < count_elts; i++) | ~~^~~~~~~~~~~~ phreeqcpp/parse.cpp: In member function 'int Phreeqc::get_elts_in_species(const char**, double)': phreeqcpp/parse.cpp:606:40: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 606 | if (count_elts >= (int)elt_list.size()) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/parse.cpp:620:40: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 620 | if (count_elts >= (int)elt_list.size()) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/parse.cpp: In member function 'int Phreeqc::get_secondary_in_species(const char**, double)': phreeqcpp/parse.cpp:873:40: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 873 | if (count_elts >= (int)elt_list.size()) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/Parser.cpp -o phreeqcpp/Parser.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/PBasic.cpp -o phreeqcpp/PBasic.o phreeqcpp/PBasic.cpp:3522:17: warning: multi-line comment [-Wcomment] 3522 | // # affinity m ^ 2 / mol roughness, temperature_factors(TABLE 4) : e_H e_H2O e_CO2 e_OA e_OH, \ | ^ phreeqcpp/PBasic.cpp: In member function 'valrec PBasic::factor(LOC_exec*)': phreeqcpp/PBasic.cpp:3500:24: warning: unused variable 'pk_Org' [-Wunused-variable] 3500 | double pk_Org = pkOrg - 3.0 + e_OA * dif_temp; | ^~~~~~ phreeqcpp/PBasic.cpp:3612:24: warning: unused variable 'lgk_H' [-Wunused-variable] 3612 | double lgk_H = it->second[0]; | ^~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/phqalloc.cpp -o phreeqcpp/phqalloc.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/Phreeqc.cpp -o phreeqcpp/Phreeqc.o phreeqcpp/Phreeqc.cpp: In member function 'void Phreeqc::InternalCopy(const Phreeqc*)': phreeqcpp/Phreeqc.cpp:1691:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<calculate_value*>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1691 | for (int i = 0; i < pSrc->calculate_value.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/PHRQ_base.cpp -o phreeqcpp/PHRQ_base.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/PHRQ_io.cpp -o phreeqcpp/PHRQ_io.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/PHRQ_io_output.cpp -o phreeqcpp/PHRQ_io_output.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/pitzer.cpp -o phreeqcpp/pitzer.o phreeqcpp/pitzer.cpp: In member function 'int Phreeqc::pitzer_initial_guesses()': phreeqcpp/pitzer.cpp:1738:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1738 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/pitzer.cpp: In member function 'int Phreeqc::pitzer_revise_guesses()': phreeqcpp/pitzer.cpp:1841:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1841 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/pitzer.cpp:1854:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1854 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/pitzer.cpp: In member function 'int Phreeqc::jacobian_pz()': phreeqcpp/pitzer.cpp:1988:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1988 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/pitzer.cpp:1995:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1995 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/pitzer.cpp:2074:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2074 | for (j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/pitzer.cpp:2096:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2096 | for (j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/pitzer.cpp: In member function 'int Phreeqc::check_gammas_pz()': phreeqcpp/pitzer.cpp:2450:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2450 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/pitzer_structures.cpp -o phreeqcpp/pitzer_structures.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/PPassemblageComp.cpp -o phreeqcpp/PPassemblageComp.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/PPassemblage.cpp -o phreeqcpp/PPassemblage.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/prep.cpp -o phreeqcpp/prep.o phreeqcpp/prep.cpp: In member function 'int Phreeqc::prep()': phreeqcpp/prep.cpp:92:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 92 | for (int j = 0; j < max_unknowns; j++) | ~~^~~~~~~~~~~~~~ phreeqcpp/prep.cpp:115:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 115 | for (int i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/prep.cpp: In member function 'int Phreeqc::quick_setup()': phreeqcpp/prep.cpp:197:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 197 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/prep.cpp:261:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 261 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/prep.cpp:302:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 302 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/prep.cpp:309:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 309 | for (; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/prep.cpp: In member function 'int Phreeqc::build_gas_phase()': phreeqcpp/prep.cpp:408:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 408 | for (int j = 0; j < count_elts; j++) | ~~^~~~~~~~~~~~ phreeqcpp/prep.cpp:455:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 455 | for (int j = 0; j < count_elts; j++) | ~~^~~~~~~~~~~~ phreeqcpp/prep.cpp: In member function 'int Phreeqc::build_ss_assemblage()': phreeqcpp/prep.cpp:651:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 651 | for (int i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/prep.cpp:756:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 756 | for (int j = 0; j < count_elts; j++) | ~~^~~~~~~~~~~~ phreeqcpp/prep.cpp:815:59: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 815 | for (int k = 0; k < count_unknowns; k++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/prep.cpp: In member function 'int Phreeqc::build_jacobian_sums(int)': phreeqcpp/prep.cpp:905:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 905 | for (j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/prep.cpp:927:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 927 | for (j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/prep.cpp:971:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 971 | for (j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/prep.cpp: In member function 'int Phreeqc::build_model()': phreeqcpp/prep.cpp:1190:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1190 | for (j = 0; j < count_elts; j++) | ~~^~~~~~~~~~~~ phreeqcpp/prep.cpp:1250:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1250 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/prep.cpp: In member function 'int Phreeqc::build_pure_phases()': phreeqcpp/prep.cpp:1363:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1363 | for (int i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/prep.cpp:1379:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1379 | for (int i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/prep.cpp:1430:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1430 | for (int j = 0; j < count_elts; j++) | ~~^~~~~~~~~~~~ phreeqcpp/prep.cpp:1496:59: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1496 | for (int k = 0; k < count_unknowns; k++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/prep.cpp: In member function 'int Phreeqc::build_solution_phase_boundaries()': phreeqcpp/prep.cpp:1539:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1539 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/prep.cpp:1566:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1566 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/prep.cpp: In member function 'int Phreeqc::build_species_list(int)': phreeqcpp/prep.cpp:1622:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1622 | for (j = 0; j < count_elts; j++) | ~~^~~~~~~~~~~~ phreeqcpp/prep.cpp:1644:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1644 | for (j = 0; j < count_elts; j++) | ~~^~~~~~~~~~~~ phreeqcpp/prep.cpp:1662:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1662 | for (j = 0; j < count_elts; j++) | ~~^~~~~~~~~~~~ phreeqcpp/prep.cpp: In member function 'int Phreeqc::inout()': phreeqcpp/prep.cpp:2073:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2073 | for (i = 1; i < count_trxn; i++) | ~~^~~~~~~~~~~~ phreeqcpp/prep.cpp: In member function 'int Phreeqc::mb_for_species_aq(int)': phreeqcpp/prep.cpp:2233:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2233 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/prep.cpp:2251:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2251 | for (i = 0; i < count_elts; i++) | ~~^~~~~~~~~~~~ phreeqcpp/prep.cpp: In member function 'int Phreeqc::mb_for_species_ex(int)': phreeqcpp/prep.cpp:2356:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2356 | for (i = 0; i < count_elts; i++) | ~~^~~~~~~~~~~~ phreeqcpp/prep.cpp: In member function 'int Phreeqc::mb_for_species_surf(int)': phreeqcpp/prep.cpp:2447:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2447 | for (i = 0; i < count_elts; i++) | ~~^~~~~~~~~~~~ phreeqcpp/prep.cpp: In member function 'int Phreeqc::resetup_master()': phreeqcpp/prep.cpp:2586:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2586 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/prep.cpp:2591:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<master*>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2591 | for (j = 0; j < x[i]->master.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~ phreeqcpp/prep.cpp: In member function 'int Phreeqc::write_mass_action_eqn_x(int)': phreeqcpp/prep.cpp:2663:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2663 | for (i = 1; i < count_rxn_orig; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/prep.cpp: In member function 'int Phreeqc::add_potential_factor()': phreeqcpp/prep.cpp:2731:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2731 | for (i = 1; i < count_trxn; i++) | ~~^~~~~~~~~~~~ phreeqcpp/prep.cpp:2755:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2755 | for (i = 1; i < count_trxn; i++) | ~~^~~~~~~~~~~~ phreeqcpp/prep.cpp: In member function 'int Phreeqc::add_cd_music_factors(int)': phreeqcpp/prep.cpp:2829:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2829 | for (i = 1; i < count_trxn; i++) | ~~^~~~~~~~~~~~ phreeqcpp/prep.cpp:2848:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2848 | for (i = 1; i < count_trxn; i++) | ~~^~~~~~~~~~~~ phreeqcpp/prep.cpp: In member function 'int Phreeqc::add_surface_charge_balance()': phreeqcpp/prep.cpp:2957:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2957 | for (i = 0; i < count_elts; i++) | ~~^~~~~~~~~~~~ phreeqcpp/prep.cpp:2965:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2965 | if (i >= count_elts) | ~~^~~~~~~~~~~~~ phreeqcpp/prep.cpp: In member function 'int Phreeqc::add_cd_music_charge_balances(int)': phreeqcpp/prep.cpp:3024:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3024 | for (i = 0; i < count_elts; i++) | ~~^~~~~~~~~~~~ phreeqcpp/prep.cpp:3032:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3032 | if (i >= count_elts || master_ptr == NULL) | ~~^~~~~~~~~~~~~ phreeqcpp/prep.cpp: In member function 'int Phreeqc::setup_surface()': phreeqcpp/prep.cpp:3533:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3533 | for (int i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/prep.cpp:3538:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3538 | for (int j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/prep.cpp:3595:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3595 | for (int i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/prep.cpp:3600:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3600 | for (int j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/prep.cpp: In member function 'unknown* Phreeqc::find_surface_charge_unknown(std::string&, int)': phreeqcpp/prep.cpp:3667:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3667 | for (int i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/prep.cpp: In member function 'int Phreeqc::adjust_setup_pure_phases()': phreeqcpp/prep.cpp:4111:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 4111 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/prep.cpp: In member function 'int Phreeqc::adjust_setup_solution()': phreeqcpp/prep.cpp:4507:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 4507 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/prep.cpp: In member function 'int Phreeqc::setup_unknowns()': phreeqcpp/prep.cpp:4657:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 4657 | for (i = 0; i < max_unknowns; i++) | ~~^~~~~~~~~~~~~~ phreeqcpp/prep.cpp: In member function 'int Phreeqc::switch_bases()': phreeqcpp/prep.cpp:4864:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 4864 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/prep.cpp: In member function 'int Phreeqc::write_mb_eqn_x()': phreeqcpp/prep.cpp:5063:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 5063 | for (i = 1; i < count_rxn_orig; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/prep.cpp: In member function 'int Phreeqc::write_mb_for_species_list(int)': phreeqcpp/prep.cpp:5137:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 5137 | for (i = 1; i < count_trxn; i++) | ~~^~~~~~~~~~~~ phreeqcpp/prep.cpp:5155:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 5155 | for (i = 0; i < count_elts; i++) | ~~^~~~~~~~~~~~ phreeqcpp/prep.cpp:5159:40: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 5159 | if (count_elts >= (int)elt_list.size()) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/prep.cpp: In member function 'int Phreeqc::write_phase_sys_total(int)': phreeqcpp/prep.cpp:5194:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 5194 | for (i = 1; i < count_trxn; i++) | ~~^~~~~~~~~~~~ phreeqcpp/prep.cpp:5207:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 5207 | for (i = 0; i < count_elts; i++) | ~~^~~~~~~~~~~~ phreeqcpp/prep.cpp:5211:40: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 5211 | if (count_elts >= (int)elt_list.size()) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/prep.cpp: In member function 'int Phreeqc::check_same_model()': phreeqcpp/prep.cpp:5754:49: warning: comparison of integer expressions of different signedness: 'std::vector<phase*>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 5754 | if (last_model.gas_phase.size() != (int)gas_phase_ptr->Get_gas_comps().size()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/prep.cpp:5782:53: warning: comparison of integer expressions of different signedness: 'std::vector<const char*>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 5782 | if (last_model.ss_assemblage.size() != (int) use.Get_ss_assemblage_ptr()->Get_SSs().size()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/prep.cpp:5804:53: warning: comparison of integer expressions of different signedness: 'std::vector<phase*>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 5804 | if (last_model.pp_assemblage.size() != (int) pp_assemblage_ptr->Get_pp_assemblage_comps().size()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/prep.cpp:5843:52: warning: comparison of integer expressions of different signedness: 'std::vector<const char*>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 5843 | if (last_model.surface_comp.size() != (int) use.Get_surface_ptr()->Get_surface_comps().size()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/prep.cpp:5845:54: warning: comparison of integer expressions of different signedness: 'std::vector<const char*>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 5845 | if (last_model.surface_charge.size() != (int) use.Get_surface_ptr()->Get_surface_charges().size()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/prep.cpp: In member function 'int Phreeqc::build_min_exch()': phreeqcpp/prep.cpp:6009:33: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 6009 | for (jj = 0; jj < count_elts; jj++) | ~~~^~~~~~~~~~~~ phreeqcpp/prep.cpp: In member function 'int Phreeqc::build_min_surface()': phreeqcpp/prep.cpp:6119:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 6119 | if (j < count_unknowns - 1 && x[(size_t)j + 1]->type == SURFACE_CB) | ~~^~~~~~~~~~~~~~~~~~~~ phreeqcpp/prep.cpp:6139:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 6139 | for (int jj = 0; jj < count_elts; jj++) | ~~~^~~~~~~~~~~~ phreeqcpp/prep.cpp: In member function 'int Phreeqc::setup_related_surface()': phreeqcpp/prep.cpp:6215:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 6215 | for (int i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/Pressure.cpp -o phreeqcpp/Pressure.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/print.cpp -o phreeqcpp/print.o phreeqcpp/print.cpp: In member function 'int Phreeqc::set_pr_in_false()': phreeqcpp/print.cpp:66:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 66 | for (int i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/print.cpp: In member function 'int Phreeqc::print_diffuse_layer(cxxSurfaceCharge*)': phreeqcpp/print.cpp:240:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 240 | for (j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/print.cpp:250:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 250 | if (j >= count_unknowns) | ~~^~~~~~~~~~~~~~~~~ phreeqcpp/print.cpp:286:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 286 | for (j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/print.cpp:368:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 368 | for (j = 0; j < count_elts; j++) | ~~^~~~~~~~~~~~ phreeqcpp/print.cpp: In member function 'int Phreeqc::print_eh()': phreeqcpp/print.cpp:428:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 428 | for (j = 1; j < count_trxn; j++) | ~~^~~~~~~~~~~~ phreeqcpp/print.cpp: In member function 'int Phreeqc::print_saturation_indices()': phreeqcpp/print.cpp:1292:51: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1292 | for (int j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/print.cpp: In member function 'int Phreeqc::print_pp_assemblage()': phreeqcpp/print.cpp:1345:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1345 | for (j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/print.cpp: In member function 'int Phreeqc::print_surface()': phreeqcpp/print.cpp:1598:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1598 | for (int j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/print.cpp:1741:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1741 | for (int k = j - 1; k < count_unknowns; k++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/print.cpp: In member function 'int Phreeqc::print_surface_cd_music()': phreeqcpp/print.cpp:1880:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1880 | for (int j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/print.cpp:2038:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2038 | for (int k = j - 1; k < count_unknowns; k++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/print.cpp: In member function 'int Phreeqc::print_totals()': phreeqcpp/print.cpp:2123:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2123 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/print.cpp: In member function 'int Phreeqc::punch_pp_assemblage()': phreeqcpp/print.cpp:2827:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2827 | for (int j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/Reaction.cpp -o phreeqcpp/Reaction.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/ReadClass.cpp -o phreeqcpp/ReadClass.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/read.cpp -o phreeqcpp/read.o phreeqcpp/read.cpp: In member function 'int Phreeqc::read_exchange_species()': phreeqcpp/read.cpp:748:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 748 | for (i = 1; i < count_trxn; i++) | ~~^~~~~~~~~~~~ phreeqcpp/read.cpp: In member function 'int Phreeqc::read_inv_isotopes(inverse*, const char*)': phreeqcpp/read.cpp:1711:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<inv_isotope>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1711 | for (i = 0; i < inverse_ptr->isotopes.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/read.cpp:1716:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<inv_isotope>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1716 | if (i == inverse_ptr->isotopes.size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/read.cpp: In member function 'int Phreeqc::read_phases()': phreeqcpp/read.cpp:4058:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 4058 | for (i = 1; i < count_trxn; i++) | ~~^~~~~~~~~~~~ phreeqcpp/read.cpp: In member function 'int Phreeqc::read_species()': phreeqcpp/read.cpp:5926:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 5926 | for (i = 1; i < count_trxn; i++) | ~~^~~~~~~~~~~~ phreeqcpp/read.cpp: In member function 'int Phreeqc::read_surface_species()': phreeqcpp/read.cpp:6547:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 6547 | for (i = 1; i < count_trxn; i++) | ~~^~~~~~~~~~~~ phreeqcpp/read.cpp: In member function 'int Phreeqc::read_advection()': phreeqcpp/read.cpp:7676:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 7676 | for (size_t i = 0; i < count_ad_cells; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/read.cpp:7695:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 7695 | for (size_t i = 0; i < count_ad_cells; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/read.cpp:7705:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 7705 | for (size_t i = 0; i < count_ad_cells; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/read.cpp:7724:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 7724 | for (size_t i = 0; i < count_ad_cells; i++) | ~~^~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/readtr.cpp -o phreeqcpp/readtr.o phreeqcpp/readtr.cpp: In member function 'int Phreeqc::read_transport()': phreeqcpp/readtr.cpp:823:57: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 823 | for (size_t i = count_length; i <= max_cells; i++) | ~~^~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/runner.cpp -o phreeqcpp/runner.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/SelectedOutput.cpp -o phreeqcpp/SelectedOutput.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/Serializer.cpp -o phreeqcpp/Serializer.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/sit.cpp -o phreeqcpp/sit.o phreeqcpp/sit.cpp: In member function 'int Phreeqc::sit_initial_guesses()': phreeqcpp/sit.cpp:593:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 593 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/sit.cpp: In member function 'int Phreeqc::sit_revise_guesses()': phreeqcpp/sit.cpp:695:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 695 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/sit.cpp:708:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 708 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/sit.cpp: In member function 'int Phreeqc::jacobian_sit()': phreeqcpp/sit.cpp:1002:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1002 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/sit.cpp:1081:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1081 | for (j = 0; j < count_unknowns; j++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/sit.cpp: In member function 'int Phreeqc::check_gammas_sit()': phreeqcpp/sit.cpp:1416:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1416 | for (i = 0; i < count_unknowns; i++) | ~~^~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/smalldense.cpp -o phreeqcpp/smalldense.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/SolutionIsotope.cpp -o phreeqcpp/SolutionIsotope.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/Solution.cpp -o phreeqcpp/Solution.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/spread.cpp -o phreeqcpp/spread.o phreeqcpp/spread.cpp: In member function 'int Phreeqc::read_solution_spread()': phreeqcpp/spread.cpp:96:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'const int' [-Wsign-compare] 96 | for (size_t i = 0; i < count_iso_defaults; ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ phreeqcpp/spread.cpp:178:70: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 178 | if (count == 2 || count == 3 && (num == TRUE || token[0] == 'c' || token[0] == 'C')) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/spread.cpp:269:51: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 269 | for (int i = 0; i < row_ptr->count; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/spread.cpp:520:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 520 | for (i = 0; i < heading->count; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/spread.cpp: In member function 'int Phreeqc::spread_row_to_solution(spread_row*, spread_row*, spread_row*, defaults)': phreeqcpp/spread.cpp:591:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 591 | for (i = 0; i < heading->count; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/spread.cpp:598:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 598 | if (i == heading->count || data->type_vector[i] == EMPTY | ~~^~~~~~~~~~~~~~~~~ phreeqcpp/spread.cpp:599:40: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 599 | || data->count <= i) | ~~~~~~~~~~~~^~~~ phreeqcpp/spread.cpp:665:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 665 | for (int i = 0; i < heading->count; i++) | ~~^~~~~~~~~~~~~~~~ phreeqcpp/spread.cpp:686:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 686 | if (i >= data->count || data->type_vector[i] == EMPTY) | ~~^~~~~~~~~~~~~~ phreeqcpp/spread.cpp:693:40: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 693 | if (units != NULL && i < units->count | ~~^~~~~~~~~~~~~~ phreeqcpp/spread.cpp:846:69: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 846 | for (int ii = 0; ii < heading->count; ii++) | ~~~^~~~~~~~~~~~~~~~ phreeqcpp/spread.cpp:861:69: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 861 | for (int ii = 0; ii < data->count; ii++) | ~~~^~~~~~~~~~~~~ phreeqcpp/spread.cpp:875:69: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 875 | for (int ii = 0; ii < units->count; ii++) | ~~~^~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/SSassemblage.cpp -o phreeqcpp/SSassemblage.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/SScomp.cpp -o phreeqcpp/SScomp.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/SS.cpp -o phreeqcpp/SS.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/step.cpp -o phreeqcpp/step.o phreeqcpp/step.cpp: In member function 'int Phreeqc::add_pp_assemblage(cxxPPassemblage*)': phreeqcpp/step.cpp:723:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 723 | for (i = 0; i < count_elts; i++) | ~~^~~~~~~~~~~~ phreeqcpp/step.cpp:759:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 759 | for (i = 0; i < count_elts; i++) | ~~^~~~~~~~~~~~ phreeqcpp/step.cpp: In member function 'int Phreeqc::reaction_calc(cxxReaction*)': phreeqcpp/step.cpp:992:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 992 | for (int i = 0; i < count_elts; i++) | ~~^~~~~~~~~~~~ phreeqcpp/step.cpp: In member function 'int Phreeqc::add_gas_phase(cxxGasPhase*)': phreeqcpp/step.cpp:1049:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1049 | for (i = 0; i < count_elts; i++) | ~~^~~~~~~~~~~~ phreeqcpp/step.cpp: In member function 'int Phreeqc::add_ss_assemblage(cxxSSassemblage*)': phreeqcpp/step.cpp:1111:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1111 | for (k = 0; k < count_elts; k++) | ~~^~~~~~~~~~~~ phreeqcpp/step.cpp:1148:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1148 | for (k = 0; k < count_elts; k++) | ~~^~~~~~~~~~~~ phreeqcpp/step.cpp: In member function 'int Phreeqc::gas_phase_check(cxxGasPhase*)': phreeqcpp/step.cpp:1246:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1246 | for (int j = 0; j < count_elts; j++) | ~~^~~~~~~~~~~~ phreeqcpp/step.cpp: In member function 'int Phreeqc::pp_assemblage_check(cxxPPassemblage*)': phreeqcpp/step.cpp:1318:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1318 | for (int i = 0; i < count_elts; i++) | ~~^~~~~~~~~~~~ phreeqcpp/step.cpp: In member function 'int Phreeqc::ss_assemblage_check(cxxSSassemblage*)': phreeqcpp/step.cpp:1392:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1392 | for (l = 0; l < count_elts; l++) | ~~^~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/StorageBinList.cpp -o phreeqcpp/StorageBinList.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/StorageBin.cpp -o phreeqcpp/StorageBin.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/structures.cpp -o phreeqcpp/structures.o phreeqcpp/structures.cpp: In member function 'int Phreeqc::add_elt_list(const cxxNameDouble&, double)': phreeqcpp/structures.cpp:400:32: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 400 | if (count_elts >= (int)elt_list.size()) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/structures.cpp: In member function 'int Phreeqc::change_hydrogen_in_elt_list(double)': phreeqcpp/structures.cpp:441:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 441 | for (j = 0; j < count_elts; j++) | ~~^~~~~~~~~~~~ phreeqcpp/structures.cpp: In member function 'int Phreeqc::elt_list_combine()': phreeqcpp/structures.cpp:494:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 494 | for (i = 1; i < count_elts; i++) | ~~^~~~~~~~~~~~ phreeqcpp/structures.cpp: In member function 'cxxNameDouble Phreeqc::elt_list_NameDouble()': phreeqcpp/structures.cpp:582:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 582 | for (int i = 0; i < count_elts; i++) | ~~^~~~~~~~~~~~ phreeqcpp/structures.cpp: In member function 'int Phreeqc::inverse_free(inverse*)': phreeqcpp/structures.cpp:682:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<inv_elts>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 682 | for (i = 0; i < inverse_ptr->elts.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/structures.cpp:689:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<inv_isotope>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 689 | for (i = 0; i < inverse_ptr->isotopes.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/structures.cpp:695:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<inv_isotope>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 695 | for (i = 0; i < inverse_ptr->i_u.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/structures.cpp:702:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<inv_phases>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 702 | for (i = 0; i < inverse_ptr->phases.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/structures.cpp: In member function 'master* Phreeqc::master_bsearch_secondary(const char*)': phreeqcpp/structures.cpp:996:49: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 996 | if ((master_ptr_primary->number >= (int)master.size() - 1) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/structures.cpp: In member function 'int Phreeqc::trxn_combine()': phreeqcpp/structures.cpp:2127:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2127 | for (k = 2; k < count_trxn; k++) | ~~^~~~~~~~~~~~ phreeqcpp/structures.cpp: In member function 'double Phreeqc::trxn_find_coef(const char*, int)': phreeqcpp/structures.cpp:2238:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2238 | for (i = start; i < count_trxn; i++) | ~~^~~~~~~~~~~~ phreeqcpp/structures.cpp: In member function 'int Phreeqc::trxn_multiply(double)': phreeqcpp/structures.cpp:2278:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2278 | for (i = 0; i < count_trxn; i++) | ~~^~~~~~~~~~~~ phreeqcpp/structures.cpp: In member function 'int Phreeqc::trxn_print()': phreeqcpp/structures.cpp:2316:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2316 | for (i = 0; i < count_trxn; i++) | ~~^~~~~~~~~~~~ phreeqcpp/structures.cpp: In member function 'int Phreeqc::trxn_swap(const char*)': phreeqcpp/structures.cpp:2383:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2383 | for (j = 0; j < count_trxn; j++) | ~~^~~~~~~~~~~~ phreeqcpp/structures.cpp:2388:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2388 | if (j >= count_trxn) | ~~^~~~~~~~~~~~~ phreeqcpp/structures.cpp:2393:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2393 | for (i = 0; i < count_trxn; i++) | ~~^~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/sundialsmath.cpp -o phreeqcpp/sundialsmath.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/SurfaceCharge.cpp -o phreeqcpp/SurfaceCharge.o phreeqcpp/SurfaceCharge.cpp: In member function 'void cxxSurfaceCharge::read_raw(CParser&, bool)': phreeqcpp/SurfaceCharge.cpp:163:14: warning: variable 'DDL_viscosity_defined' set but not used [-Wunused-but-set-variable] 163 | bool DDL_viscosity_defined(false); | ^~~~~~~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/SurfaceComp.cpp -o phreeqcpp/SurfaceComp.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/Surface.cpp -o phreeqcpp/Surface.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/System.cpp -o phreeqcpp/System.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/tally.cpp -o phreeqcpp/tally.o phreeqcpp/tally.cpp: In member function 'int Phreeqc::store_tally_table(double*, int, int, double)': phreeqcpp/tally.cpp:183:36: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 183 | if (count_tally_table_rows > row_dim) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ phreeqcpp/tally.cpp:191:39: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 191 | if (count_tally_table_columns > col_dim) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ phreeqcpp/tally.cpp:202:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 202 | for (j = 0; j < count_tally_table_rows; j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/tally.cpp:209:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 209 | for (j = 0; j < count_tally_table_rows; j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/tally.cpp:222:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 222 | for (i = 2; i < count_tally_table_columns; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/tally.cpp:224:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 224 | for (j = 0; j < count_tally_table_rows; j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/tally.cpp: In member function 'int Phreeqc::get_tally_table_row_heading(int, char*)': phreeqcpp/tally.cpp:277:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 277 | if (row >= count_tally_table_rows) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/tally.cpp: In member function 'int Phreeqc::get_tally_table_column_heading(int, int*, char*)': phreeqcpp/tally.cpp:306:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 306 | if (column >= count_tally_table_columns) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/tally.cpp: In member function 'int Phreeqc::free_tally_table()': phreeqcpp/tally.cpp:327:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 327 | for (i = 0; i < count_tally_table_columns; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/tally.cpp: In member function 'int Phreeqc::zero_tally_table()': phreeqcpp/tally.cpp:348:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 348 | for (i = 0; i < count_tally_table_columns; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/tally.cpp:351:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 351 | for (j = 0; j < count_tally_table_rows; j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/tally.cpp: In member function 'int Phreeqc::diff_tally_table()': phreeqcpp/tally.cpp:371:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 371 | for (i = 0; i < count_tally_table_columns; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/tally.cpp:373:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 373 | for (j = 0; j < count_tally_table_rows; j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/tally.cpp: In member function 'int Phreeqc::print_tally_table()': phreeqcpp/tally.cpp:397:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 397 | for (i = 0; i < count_tally_table_columns; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/tally.cpp:404:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 404 | for (j = 0; j < count_tally_table_rows; j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/tally.cpp: In member function 'int Phreeqc::fill_tally_table(int*, int, int)': phreeqcpp/tally.cpp:431:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 431 | for (int i = 0; i < count_tally_table_columns; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/tally.cpp: In member function 'int Phreeqc::elt_list_to_tally_table(tally_buffer*)': phreeqcpp/tally.cpp:707:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 707 | for (i = 0; i < count_tally_table_rows; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/tally.cpp:716:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 716 | for (j = 0; j < count_elts; j++) | ~~^~~~~~~~~~~~ phreeqcpp/tally.cpp:726:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 726 | for (i = 0; i < count_tally_table_rows; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/tally.cpp:738:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 738 | if (i >= count_tally_table_rows) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/tally.cpp: In member function 'int Phreeqc::master_to_tally_table(tally_buffer*)': phreeqcpp/tally.cpp:752:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 752 | for (i = 0; i < count_tally_table_rows; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/tally.cpp:772:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 772 | for (i = 0; i < count_tally_table_rows; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/tally.cpp:780:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 780 | if (i >= count_tally_table_rows) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/tally.cpp: In member function 'int Phreeqc::build_tally_table()': phreeqcpp/tally.cpp:894:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 894 | for (k = 1; k < count_tally_table_columns; k++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/tally.cpp:902:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 902 | if (k < count_tally_table_columns) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/tally.cpp:956:55: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 956 | for (l = 1; l < count_tally_table_columns; l++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/tally.cpp:962:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 962 | if (l < count_tally_table_columns) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/tally.cpp:998:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 998 | for (l = 1; l < count_tally_table_columns; l++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/tally.cpp:1004:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1004 | if (l < count_tally_table_columns) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/tally.cpp: In member function 'int Phreeqc::extend_tally_table()': phreeqcpp/tally.cpp:1229:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1229 | for (j = 0; j < count_tally_table_rows; j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/Temperature.cpp -o phreeqcpp/Temperature.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/tidy.cpp -o phreeqcpp/tidy.o phreeqcpp/tidy.cpp: In member function 'int Phreeqc::rewrite_eqn_to_secondary()': phreeqcpp/tidy.cpp:748:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 748 | for (i = 1; i < count_trxn; i++) | ~~^~~~~~~~~~~~ phreeqcpp/tidy.cpp: In member function 'int Phreeqc::replace_solids_gases()': phreeqcpp/tidy.cpp:813:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 813 | for (i = 1; i < count_trxn; i++) | ~~^~~~~~~~~~~~ phreeqcpp/tidy.cpp: In member function 'int Phreeqc::rewrite_eqn_to_primary()': phreeqcpp/tidy.cpp:909:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 909 | for (j = 1; j < count_trxn; j++) | ~~^~~~~~~~~~~~ phreeqcpp/tidy.cpp: In member function 'int Phreeqc::tidy_inverse()': phreeqcpp/tidy.cpp:1175:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<inv_elts>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1175 | for (j = 0; j < inverse[i].elts.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/tidy.cpp:1192:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1192 | for (k = 0; k < inverse[i].count_solns; k++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/tidy.cpp:1213:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<inv_phases>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1213 | for (j = 0; j < inverse[i].phases.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/tidy.cpp:1230:47: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<isotope>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1230 | for (k = 0; k < inverse[i].phases[j].isotopes.size(); k++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/tidy.cpp:1299:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1299 | for (j = 0; j < count_elts; j++) | ~~^~~~~~~~~~~~ phreeqcpp/tidy.cpp:1304:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<inv_elts>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1304 | for (j = 0; j < inverse[i].elts.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/tidy.cpp:1374:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1374 | for (k = 0; k < inverse[i].count_solns; k++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/tidy.cpp:1394:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<inv_elts>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1394 | for (j = 0; j < inverse[i].elts.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/tidy.cpp:1412:55: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1412 | for (l = 0; l < inverse[i].count_solns; l++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/tidy.cpp:1422:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<inv_elts>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1422 | for (j = 0; j < inverse[i].elts.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/tidy.cpp:1440:55: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 1440 | for (l = 0; l < inverse[i].count_solns; l++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/tidy.cpp:1456:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<inv_elts>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1456 | for (j = 0; j < inverse[i].elts.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/tidy.cpp: In member function 'int Phreeqc::tidy_species()': phreeqcpp/tidy.cpp:2385:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2385 | for (j = 1; j < count_trxn; j++) | ~~^~~~~~~~~~~~ phreeqcpp/tidy.cpp: In member function 'int Phreeqc::tidy_isotopes()': phreeqcpp/tidy.cpp:2951:79: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 2951 | for (size_t k = primary_number + 1; k < (int)master.size(); k++) | ~~^~~~~~~~~~~~~~~~~~~~ phreeqcpp/tidy.cpp: In member function 'int Phreeqc::tidy_min_exchange()': phreeqcpp/tidy.cpp:3405:41: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3405 | for (jj = 0; jj < count_elts; jj++) | ~~~^~~~~~~~~~~~ phreeqcpp/tidy.cpp: In member function 'int Phreeqc::update_min_exchange()': phreeqcpp/tidy.cpp:3575:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3575 | for (jj = 0; jj < count_elts; jj++) | ~~~^~~~~~~~~~~~ phreeqcpp/tidy.cpp: In member function 'int Phreeqc::tidy_min_surface()': phreeqcpp/tidy.cpp:3808:45: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3808 | for (int jj = 0; jj < count_elts; jj++) | ~~~^~~~~~~~~~~~ phreeqcpp/tidy.cpp: In member function 'int Phreeqc::tidy_kin_surface()': phreeqcpp/tidy.cpp:4196:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 4196 | for (int j = 0; j < count_elts; j++) | ~~^~~~~~~~~~~~ phreeqcpp/tidy.cpp:4229:55: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 4229 | for (l = 0; l < count_elts_kinetics; l++) | ~~^~~~~~~~~~~~~~~~~~~~~ phreeqcpp/tidy.cpp:4236:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 4236 | if (l == count_elts_kinetics) | ~~^~~~~~~~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/transport.cpp -o phreeqcpp/transport.o phreeqcpp/transport.cpp: In member function 'void Phreeqc::diffuse_implicit(double, int)': phreeqcpp/transport.cpp:2828:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 2828 | for (int k = 0; k < count_elts; k++) | ~~^~~~~~~~~~~~ phreeqcpp/transport.cpp: In member function 'int Phreeqc::fill_m_s(J_ij*, int, int, int)': phreeqcpp/transport.cpp:3685:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3685 | for (k = 0; k < count_elts; k++) | ~~^~~~~~~~~~~~ phreeqcpp/transport.cpp:3708:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 3708 | for (k = 0; k < count_elts; k++) | ~~^~~~~~~~~~~~ In file included from D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/map:62, from phreeqcpp/Utils.h:8, from phreeqcpp/transport.cpp:1: In member function 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::find(const _Key&) [with _Key = int; _Val = std::pair<const int, std::map<std::__cxx11::basic_string<char>, double> >; _KeyOfValue = std::_Select1st<std::pair<const int, std::map<std::__cxx11::basic_string<char>, double> > >; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int, std::map<std::__cxx11::basic_string<char>, double> > >]', inlined from 'std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::find(const key_type&) [with _Key = int; _Tp = std::map<std::__cxx11::basic_string<char>, double>; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int, std::map<std::__cxx11::basic_string<char>, double> > >]' at D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/bits/stl_map.h:1220:25, inlined from 'void Phreeqc::diffuse_implicit(double, int)' at phreeqcpp/transport.cpp:3149:31: D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/bits/stl_tree.h:2534:15: warning: 'i1' may be used uninitialized [-Wmaybe-uninitialized] 2533 | return (__j == end() | ~~~~~~~~~~~~~ 2534 | || _M_impl._M_key_compare(__k, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2535 | _S_key(__j._M_node))) ? end() : __j; | ~~~~~~~~~~~~~~~~~~~~~ phreeqcpp/transport.cpp: In member function 'void Phreeqc::diffuse_implicit(double, int)': phreeqcpp/transport.cpp:2249:22: note: 'i1' was declared here 2249 | int i_1, i0, i1, i2 = 0; | ^~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/Use.cpp -o phreeqcpp/Use.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/UserPunch.cpp -o phreeqcpp/UserPunch.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/utilities.cpp -o phreeqcpp/utilities.o phreeqcpp/utilities.cpp: In member function 'int Phreeqc::compute_gfw(const char*, double*)': phreeqcpp/utilities.cpp:247:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 247 | for (i = 0; i < count_elts; i++) | ~~^~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.1/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phreeqcpp/Utils.cpp -o phreeqcpp/Utils.o g++ -std=gnu++17 -shared -s -static-libgcc -o phreeqc.dll tmp.def CSelectedOutput.o IPhreeqcLib.o IPhreeqc.o R.o Var.o phreeqcpp/advection.o phreeqcpp/basicsubs.o phreeqcpp/ChartHandler.o phreeqcpp/ChartObject.o phreeqcpp/cl1.o phreeqcpp/CurveObject.o phreeqcpp/cvdense.o phreeqcpp/cvode.o phreeqcpp/cxxKinetics.o phreeqcpp/cxxMix.o phreeqcpp/dense.o phreeqcpp/Dictionary.o phreeqcpp/dumper.o phreeqcpp/Exchange.o phreeqcpp/ExchComp.o phreeqcpp/GasComp.o phreeqcpp/gases.o phreeqcpp/GasPhase.o phreeqcpp/input.o phreeqcpp/integrate.o phreeqcpp/inverse.o phreeqcpp/ISolutionComp.o phreeqcpp/ISolution.o phreeqcpp/isotopes.o phreeqcpp/Keywords.o phreeqcpp/KineticsComp.o phreeqcpp/kinetics.o phreeqcpp/mainsubs.o phreeqcpp/model.o phreeqcpp/NameDouble.o phreeqcpp/NumKeyword.o phreeqcpp/nvector.o phreeqcpp/nvector_serial.o phreeqcpp/parse.o phreeqcpp/Parser.o phreeqcpp/PBasic.o phreeqcpp/phqalloc.o phreeqcpp/Phreeqc.o phreeqcpp/PHRQ_base.o phreeqcpp/PHRQ_io.o phreeqcpp/PHRQ_io_output.o phreeqcpp/pitzer.o phreeqcpp/pitzer_structures.o phreeqcpp/PPassemblageComp.o phreeqcpp/PPassemblage.o phreeqcpp/prep.o phreeqcpp/Pressure.o phreeqcpp/print.o phreeqcpp/Reaction.o phreeqcpp/ReadClass.o phreeqcpp/read.o phreeqcpp/readtr.o phreeqcpp/runner.o phreeqcpp/SelectedOutput.o phreeqcpp/Serializer.o phreeqcpp/sit.o phreeqcpp/smalldense.o phreeqcpp/SolutionIsotope.o phreeqcpp/Solution.o phreeqcpp/spread.o phreeqcpp/SSassemblage.o phreeqcpp/SScomp.o phreeqcpp/SS.o phreeqcpp/step.o phreeqcpp/StorageBinList.o phreeqcpp/StorageBin.o phreeqcpp/structures.o phreeqcpp/sundialsmath.o phreeqcpp/SurfaceCharge.o phreeqcpp/SurfaceComp.o phreeqcpp/Surface.o phreeqcpp/System.o phreeqcpp/tally.o phreeqcpp/Temperature.o phreeqcpp/tidy.o phreeqcpp/transport.o phreeqcpp/Use.o phreeqcpp/UserPunch.o phreeqcpp/utilities.o phreeqcpp/Utils.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.1/bin/x64 -lR make[1]: Leaving directory '/d/temp/RtmpshXtZN/R.INSTALL1c1c032913931/phreeqc/src' make[1]: Entering directory '/d/temp/RtmpshXtZN/R.INSTALL1c1c032913931/phreeqc/src' make[1]: Leaving directory '/d/temp/RtmpshXtZN/R.INSTALL1c1c032913931/phreeqc/src' installing to d:/Rcompile/CRANpkg/lib/4.4/00LOCK-phreeqc/00new/phreeqc/libs/x64 ** R ** data *** moving datasets to lazyload DB ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** testing if installed package can be loaded from temporary location ** 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 'phreeqc' as phreeqc_3.8.0.zip * DONE (phreeqc)