* installing *source* package 'gapr' ... ** this is package 'gapr' version '0.1.0' ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 14.2.0' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c hctree_R.cpp -o hctree_R.o In file included from hctree_R.cpp:7: ordering.h:9:15: warning: 'double select_average_list(double**, List*, List*)' declared 'static' but never defined [-Wunused-function] 9 | static double select_average_list(double **data,List *rlist,List *clist); | ^~~~~~~~~~~~~~~~~~~ ordering.h:10:15: warning: 'double select_average(double**, List*)' declared 'static' but never defined [-Wunused-function] 10 | static double select_average(double **data,List *list); | ^~~~~~~~~~~~~~ hctree_R.cpp: In function 'void free_ivector1(int*)': hctree_R.cpp:33:12: warning: 'void operator delete [](void*)' called on pointer 'vec' with nonzero offset 4 [-Wfree-nonheap-object] 33 | delete[] vec; | ^~~ hctree_R.cpp: In function 'void free_dvector1(double*)': hctree_R.cpp:47:12: warning: 'void operator delete [](void*)' called on pointer 'vec' with nonzero offset 8 [-Wfree-nonheap-object] 47 | delete[] vec; | ^~~ hctree_R.cpp: In function 'void free_imatrix1(int**, int)': hctree_R.cpp:68:19: warning: 'void operator delete [](void*)' called on pointer '*(int**)((char*) +8)' with nonzero offset 4 [-Wfree-nonheap-object] 68 | delete[] mat[i]; | ^ hctree_R.cpp:70:12: warning: 'void operator delete [](void*)' called on pointer 'mat' with nonzero offset 8 [-Wfree-nonheap-object] 70 | delete[] mat; | ^~~ hctree_R.cpp: In function 'void free_dmatrix1(double**, int)': hctree_R.cpp:92:19: warning: 'void operator delete [](void*)' called on pointer '*(double**)((char*) +8)' with nonzero offset 8 [-Wfree-nonheap-object] 92 | delete[] mat[i]; | ^ hctree_R.cpp:94:12: warning: 'void operator delete [](void*)' called on pointer 'mat' with nonzero offset 8 [-Wfree-nonheap-object] 94 | delete[] mat; | ^~~ In function 'void free_dmatrix1(double**, int)', inlined from 'void htree_single_s(double**, int, int**, double*)' at hctree_R.cpp:472:16: hctree_R.cpp:92:19: warning: 'void operator delete [](void*)' called on pointer '*(double**)((char*) + *8 +8)' with nonzero offset 8 [-Wfree-nonheap-object] 92 | delete[] mat[i]; | ^ hctree_R.cpp:94:12: warning: 'void operator delete [](void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 94 | delete[] mat; | ^~~ hctree_R.cpp: In function 'void htree_single_s(double**, int, int**, double*)': hctree_R.cpp:393:16: note: returned from 'double** dmatrix1(int, int)' 393 | data=dmatrix1(n2,n2); | ~~~~~~~~^~~~~~~ In function 'void free_dmatrix1(double**, int)', inlined from 'void htree_complete_s(double**, int, int**, double*)' at hctree_R.cpp:772:16: hctree_R.cpp:92:19: warning: 'void operator delete [](void*)' called on pointer '*(double**)((char*) + *8 +8)' with nonzero offset 8 [-Wfree-nonheap-object] 92 | delete[] mat[i]; | ^ hctree_R.cpp:94:12: warning: 'void operator delete [](void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 94 | delete[] mat; | ^~~ hctree_R.cpp: In function 'void htree_complete_s(double**, int, int**, double*)': hctree_R.cpp:684:16: note: returned from 'double** dmatrix1(int, int)' 684 | data=dmatrix1(n2,n2); | ~~~~~~~~^~~~~~~ In function 'void free_dmatrix1(double**, int)', inlined from 'void htree_average_s(double**, int, int**, double*)' at hctree_R.cpp:1122:16: hctree_R.cpp:92:19: warning: 'void operator delete [](void*)' called on pointer '*(double**)((char*) + *8 +8)' with nonzero offset 8 [-Wfree-nonheap-object] 92 | delete[] mat[i]; | ^ hctree_R.cpp:94:12: warning: 'void operator delete [](void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 94 | delete[] mat; | ^~~ hctree_R.cpp: In function 'void htree_average_s(double**, int, int**, double*)': hctree_R.cpp:1038:16: note: returned from 'double** dmatrix1(int, int)' 1038 | data=dmatrix1(n2,n2); | ~~~~~~~~^~~~~~~ In function 'void free_dmatrix1(double**, int)', inlined from 'void htree_upgma_d(double**, int, int**, double*)' at hctree_R.cpp:1229:16: hctree_R.cpp:92:19: warning: 'void operator delete [](void*)' called on pointer '*(double**)((char*) + *8 +8)' with nonzero offset 8 [-Wfree-nonheap-object] 92 | delete[] mat[i]; | ^ hctree_R.cpp:94:12: warning: 'void operator delete [](void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 94 | delete[] mat; | ^~~ hctree_R.cpp: In function 'void htree_upgma_d(double**, int, int**, double*)': hctree_R.cpp:1138:16: note: returned from 'double** dmatrix1(int, int)' 1138 | data=dmatrix1(n2,n2); | ~~~~~~~~^~~~~~~ In function 'void free_dmatrix1(double**, int)', inlined from 'void htree_upgma_s(double**, int, int**, double*)' at hctree_R.cpp:1334:16: hctree_R.cpp:92:19: warning: 'void operator delete [](void*)' called on pointer '*(double**)((char*) + *8 +8)' with nonzero offset 8 [-Wfree-nonheap-object] 92 | delete[] mat[i]; | ^ hctree_R.cpp:94:12: warning: 'void operator delete [](void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 94 | delete[] mat; | ^~~ hctree_R.cpp: In function 'void htree_upgma_s(double**, int, int**, double*)': hctree_R.cpp:1244:16: note: returned from 'double** dmatrix1(int, int)' 1244 | data=dmatrix1(n2,n2); | ~~~~~~~~^~~~~~~ In function 'void free_dmatrix1(double**, int)', inlined from 'void hctree_sort(double*, int*, int*, int*, double*, int*, int, int, int, int)' at hctree_R.cpp:1428:18: hctree_R.cpp:92:19: warning: 'void operator delete [](void*)' called on pointer '*(double**)((char*) + *8 +8)' with nonzero offset 8 [-Wfree-nonheap-object] 92 | delete[] mat[i]; | ^ hctree_R.cpp:94:12: warning: 'void operator delete [](void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 94 | delete[] mat; | ^~~ hctree_R.cpp: In function 'void hctree_sort(double*, int*, int*, int*, double*, int*, int, int, int, int)': hctree_R.cpp:1345:38: note: returned from 'double** fun1dto2dArray(double*, int, int)' 1345 | double **alldata = fun1dto2dArray(alldataPtr,nrow,ncol); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In function 'void free_imatrix1(int**, int)', inlined from 'void hctree_sort(double*, int*, int*, int*, double*, int*, int, int, int, int)' at hctree_R.cpp:1429:18: hctree_R.cpp:68:19: warning: 'void operator delete [](void*)' called on pointer '*(int**)((char*) + *8)' with nonzero offset 4 [-Wfree-nonheap-object] 68 | delete[] mat[i]; | ^ In function 'void free_ivector1(int*)', inlined from 'void hctree_sort(double*, int*, int*, int*, double*, int*, int, int, int, int)' at hctree_R.cpp:1431:18: hctree_R.cpp:33:12: warning: 'void operator delete [](void*)' called on pointer '' with nonzero offset 4 [-Wfree-nonheap-object] 33 | delete[] vec; | ^~~ hctree_R.cpp: In function 'void hctree_sort(double*, int*, int*, int*, double*, int*, int, int, int, int)': hctree_R.cpp:1411:34: note: returned from 'int* list2vector(List*)' 1411 | int* obj_ordering=list2vector(ol); | ~~~~~~~~~~~^~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c list.cpp -o list.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c ordering.cpp -o ordering.o In function 'void free_ivector1_3(int*)', inlined from 'double select_average(double**, List*)' at ordering.cpp:105:18: ordering.cpp:25:12: warning: 'void operator delete [](void*)' called on pointer '' with nonzero offset 4 [-Wfree-nonheap-object] 25 | delete[] vec; | ^~~ ordering.cpp: In function 'double select_average(double**, List*)': ordering.cpp:97:18: note: returned from 'int* list2vector(List*)' 97 | row=list2vector(list); | ~~~~~~~~~~~^~~~~~ ordering.cpp: In function 'void free_ivector1_3(int*)': ordering.cpp:25:12: warning: 'void operator delete [](void*)' called on pointer 'vec' with nonzero offset 4 [-Wfree-nonheap-object] 25 | delete[] vec; | ^~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c proximity_R.cpp -o proximity_R.o proximity_R.cpp: In function 'double* corr_dataT(double**, int, int, bool)': proximity_R.cpp:177:16: warning: unused variable 'sum' [-Wunused-variable] 177 | double sum; | ^~~ proximity_R.cpp: In function 'double* corr_data(double**, int, int, bool)': proximity_R.cpp:260:16: warning: unused variable 'sum' [-Wunused-variable] 260 | double sum; | ^~~ proximity_R.cpp: In function 'double* atan_data(double**, int, int)': proximity_R.cpp:676:16: warning: unused variable 'sum' [-Wunused-variable] 676 | double sum; | ^~~ proximity_R.cpp: In function 'double* atan_dataT(double**, int, int)': proximity_R.cpp:752:16: warning: unused variable 'sum' [-Wunused-variable] 752 | double sum; | ^~~ proximity_R.cpp: In function 'double* Ucorr_data(double**, int, int, bool)': proximity_R.cpp:941:16: warning: unused variable 'sum' [-Wunused-variable] 941 | double sum; | ^~~ proximity_R.cpp: In function 'double* Ucorr_dataT(double**, int, int, bool)': proximity_R.cpp:1002:13: warning: variable 'new_count' set but not used [-Wunused-but-set-variable] 1002 | int new_count; | ^~~~~~~~~ proximity_R.cpp:1003:16: warning: unused variable 'sum' [-Wunused-variable] 1003 | double sum; | ^~~ proximity_R.cpp: In function 'double* cov_data(double**, int, int, bool)': proximity_R.cpp:1070:16: warning: unused variable 'sum' [-Wunused-variable] 1070 | double sum; | ^~~ proximity_R.cpp: In function 'double* cov_dataT(double**, int, int, bool)': proximity_R.cpp:1134:16: warning: unused variable 'sum' [-Wunused-variable] 1134 | double sum; | ^~~ proximity_R.cpp: In function 'void computeProximity(double*, double*, int, int, int, int, int)': proximity_R.cpp:1580:38: warning: 'proxArray' may be used uninitialized [-Wmaybe-uninitialized] 1580 | outputProx[i] = proxArray[i]; | ~~~~~~~~~~~^ proximity_R.cpp:1439:13: note: 'proxArray' was declared here 1439 | double *proxArray; | ^~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c r2e_R.cpp -o r2e_R.o r2e_R.cpp: In function 'int* ellipse_sort_d(double**, int, int, double**, int)': r2e_R.cpp:179:12: warning: unused variable 'zoomratio' [-Wunused-variable] 179 | double zoomratio; | ^~~~~~~~~ r2e_R.cpp:302:9: warning: variable 'tempmaxi' set but not used [-Wunused-but-set-variable] 302 | int tempmaxi; | ^~~~~~~~ r2e_R.cpp:215:17: warning: 'min_i' may be used uninitialized [-Wmaybe-uninitialized] 215 | if(corr_row[min_i][min_j]>0) | ^~~~~ r2e_R.cpp:169:9: note: 'min_i' was declared here 169 | int min_i,min_j; | ^~~~~ r2e_R.cpp:215:24: warning: 'min_j' may be used uninitialized [-Wmaybe-uninitialized] 215 | if(corr_row[min_i][min_j]>0) | ^~~~~ r2e_R.cpp:169:15: note: 'min_j' was declared here 169 | int min_i,min_j; | ^~~~~ r2e_R.cpp:390:25: warning: 'startang' may be used uninitialized [-Wmaybe-uninitialized] 390 | for(i=startang;i