* installing *source* package 'mombf' ... ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 12.2.0' using C++17 g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Polynomial.cpp -o Polynomial.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c PolynomialRootFinder.cpp -o PolynomialRootFinder.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -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.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c covariancemat.cpp -o covariancemat.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c crossprodmat.cpp -o crossprodmat.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c cstat.cpp -o cstat.o In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void sumsqbyclus(double*, int, int, int*, int, bool, double***)' at cstat.cpp:511:46: cstat.cpp:1854:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1854 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void sumsqbyclus(double*, int, int, int*, int, bool, double***)': cstat.cpp:482:16: note: returned from 'double** dmatrix(int, int, int, int)' 482 | xbar= dmatrix(1,nclus,1,p); m2= dmatrix(1,nclus,1,p); | ~~~~~~~^~~~~~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void sumsqbyclus(double*, int, int, int*, int, bool, double***)' at cstat.cpp:511:46: cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void sumsqbyclus(double*, int, int, int*, int, bool, double***)': cstat.cpp:482:16: note: returned from 'double** dmatrix(int, int, int, int)' 482 | xbar= dmatrix(1,nclus,1,p); m2= dmatrix(1,nclus,1,p); | ~~~~~~~^~~~~~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void sumsqbyclus(double*, int, int, int*, int, bool, double***)' at cstat.cpp:511:78: cstat.cpp:1854:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1854 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void sumsqbyclus(double*, int, int, int*, int, bool, double***)': cstat.cpp:482:42: note: returned from 'double** dmatrix(int, int, int, int)' 482 | xbar= dmatrix(1,nclus,1,p); m2= dmatrix(1,nclus,1,p); | ~~~~~~~^~~~~~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void mahaldist(double*, int, int, double**, bool, double*)' at cstat.cpp:2614:15: cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void mahaldist(double*, int, int, double**, bool, double*)': cstat.cpp:2592:13: note: returned from 'double** dmatrix(int, int, int, int)' 2592 | z= dmatrix(1,n,1,p); | ~~~~~~~^~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void mahaldist(double*, int, int, double**, bool, double*)' at cstat.cpp:2614:15: cstat.cpp:1854:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1854 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void inv_posdef(double**, int, double**, bool*, double**, double**)' at cstat.cpp:3559:37: cstat.cpp:1854:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)b + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1854 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void inv_posdef_upper(double**, int, double**, bool*)' at cstat.cpp:3601:17: cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void inv_posdef_upper(double**, int, double**, bool*)': cstat.cpp:3587:16: note: returned from 'double** dmatrix(int, int, int, int)' 3587 | b = dmatrix(1, n, 1, n); | ~~~~~~~^~~~~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void inv_posdef_upper(double**, int, double**, bool*)' at cstat.cpp:3601:17: cstat.cpp:1854:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1854 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void invdet_posdef(double**, int, double**, double*)' at cstat.cpp:3645:17: cstat.cpp:1854:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1854 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void invdet_posdef(double**, int, double**, double*)': cstat.cpp:3623:16: note: returned from 'double** dmatrix(int, int, int, int)' 3623 | b = dmatrix(1, n, 1, n); | ~~~~~~~^~~~~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void invdet_posdef(double**, int, double**, double*)' at cstat.cpp:3645:17: cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void invdet_posdef(double**, int, double**, double*)': cstat.cpp:3623:16: note: returned from 'double** dmatrix(int, int, int, int)' 3623 | b = dmatrix(1, n, 1, n); | ~~~~~~~^~~~~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'double nn_integral(const double*, const double*, double**, const double*, const double*, const double*, double**, const double*, const int*, const int*)' at cstat.cpp:715:17: cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'double nn_integral(const double*, const double*, double**, const double*, const double*, const double*, double**, const double*, const int*, const int*)': cstat.cpp:694:19: note: returned from 'double** dmatrix(int, int, int, int)' 694 | Vsum = dmatrix(1, *p, 1, *p); | ~~~~~~~^~~~~~~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'double nn_integral(const double*, const double*, double**, const double*, const double*, const double*, double**, const double*, const int*, const int*)' at cstat.cpp:715:17: cstat.cpp:1854:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1854 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'double nn_integral(const double*, const double*, double**, const double*, const double*, const double*, double**, const double*, const int*, const int*)' at cstat.cpp:716:17: cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'double nn_integral(const double*, const double*, double**, const double*, const double*, const double*, double**, const double*, const int*, const int*)': cstat.cpp:695:22: note: returned from 'double** dmatrix(int, int, int, int)' 695 | Vsuminv = dmatrix(1, *p, 1, *p); | ~~~~~~~^~~~~~~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'double nn_integral(const double*, const double*, double**, const double*, const double*, const double*, double**, const double*, const int*, const int*)' at cstat.cpp:716:17: cstat.cpp:1854:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1854 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'double nn_integral(const double*, const double*, double**, const double*, const double*, const double*, double**, const double*, const int*, const int*)' at cstat.cpp:717:17: cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'double nn_integral(const double*, const double*, double**, const double*, const double*, const double*, double**, const double*, const int*, const int*)': cstat.cpp:696:23: note: returned from 'double** dmatrix(int, int, int, int)' 696 | cholVsum = dmatrix(1, *p, 1, *p); | ~~~~~~~^~~~~~~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'double nn_integral(const double*, const double*, double**, const double*, const double*, const double*, double**, const double*, const int*, const int*)' at cstat.cpp:717:17: cstat.cpp:1854:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1854 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void eigenvals(double**, int, double*)' at cstat.cpp:3950:15: cstat.cpp:1854:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1854 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void eigenvals(double**, int, double*)': cstat.cpp:3941:13: note: returned from 'double** dmatrix(int, int, int, int)' 3941 | b= dmatrix(1,n,1,n); | ~~~~~~~^~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void eigenvals(double**, int, double*)' at cstat.cpp:3951:15: cstat.cpp:1854:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1854 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void eigenvals(double**, int, double*)' at cstat.cpp:3950:15: cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void eigenvals(double**, int, double*)': cstat.cpp:3941:13: note: returned from 'double** dmatrix(int, int, int, int)' 3941 | b= dmatrix(1,n,1,n); | ~~~~~~~^~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void lmbayes_knownvar(double*, double*, double**, double**, double**, double*, double*, int*, double*, double**, int*, int*, int*, double*, double**, double*)' at cstat.cpp:1031:21: cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void lmbayes_knownvar(double*, double*, double**, double**, double**, double*, double*, int*, double*, double**, int*, int*, int*, double*, double**, double*)': cstat.cpp:1016:25: note: returned from 'double** dmatrix(int, int, int, int)' 1016 | cholVb = dmatrix(1, *p, 1, *p); | ~~~~~~~^~~~~~~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void lmbayes_knownvar(double*, double*, double**, double**, double**, double*, double*, int*, double*, double**, int*, int*, int*, double*, double**, double*)' at cstat.cpp:1031:21: cstat.cpp:1854:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1854 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void lmbayes_knownvar(double*, double*, double**, double**, double**, double*, double*, int*, double*, double**, int*, int*, int*, double*, double**, double*)' at cstat.cpp:1035:17: cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void lmbayes_knownvar(double*, double*, double**, double**, double**, double*, double*, int*, double*, double**, int*, int*, int*, double*, double**, double*)': cstat.cpp:1004:21: note: returned from 'double** dmatrix(int, int, int, int)' 1004 | Vb_inv = dmatrix(1, *p, 1, *p); //posterior for beta | ~~~~~~~^~~~~~~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void lmbayes_knownvar(double*, double*, double**, double**, double**, double*, double*, int*, double*, double**, int*, int*, int*, double*, double**, double*)' at cstat.cpp:1035:17: cstat.cpp:1854:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1854 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void lmbayes(double*, double*, double*, double**, double*, double*, double**, double**, double*, int*, double*, double**, int*, int*, int*, double*, double**, double*, double*, double*)' at cstat.cpp:916:21: cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void lmbayes(double*, double*, double*, double**, double*, double*, double**, double**, double*, int*, double*, double**, int*, int*, int*, double*, double**, double*, double*, double*)': cstat.cpp:902:25: note: returned from 'double** dmatrix(int, int, int, int)' 902 | cholVb = dmatrix(1, *p, 1, *p); | ~~~~~~~^~~~~~~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void lmbayes(double*, double*, double*, double**, double*, double*, double**, double**, double*, int*, double*, double**, int*, int*, int*, double*, double**, double*, double*, double*)' at cstat.cpp:916:21: cstat.cpp:1854:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1854 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void lmbayes(double*, double*, double*, double**, double*, double*, double**, double**, double*, int*, double*, double**, int*, int*, int*, double*, double**, double*, double*, double*)' at cstat.cpp:920:17: cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void lmbayes(double*, double*, double*, double**, double*, double*, double**, double**, double*, int*, double*, double**, int*, int*, int*, double*, double**, double*, double*, double*)': cstat.cpp:890:21: note: returned from 'double** dmatrix(int, int, int, int)' 890 | Vb_inv = dmatrix(1, *p, 1, *p); | ~~~~~~~^~~~~~~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void lmbayes(double*, double*, double*, double**, double*, double*, double**, double**, double*, int*, double*, double**, int*, int*, int*, double*, double**, double*, double*, double*)' at cstat.cpp:920:17: cstat.cpp:1854:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1854 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void rwishartC(double**, int, double**, int, bool)' at cstat.cpp:6303:17: cstat.cpp:1854:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)cholans + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1854 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void rwishartC(double**, int, double**, int, bool)' at cstat.cpp:6305:15: cstat.cpp:1854:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1854 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rwishartC(double**, int, double**, int, bool)': cstat.cpp:6291:13: note: returned from 'double** dmatrix(int, int, int, int)' 6291 | Z= dmatrix(1,p,1,p); | ~~~~~~~^~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void rwishartC(double**, int, double**, int, bool)' at cstat.cpp:6303:17: cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rwishartC(double**, int, double**, int, bool)': cstat.cpp:6292:60: note: returned from 'double** dmatrix(int, int, int, int)' 6292 | if (returnChol) { cholans= ans; } else { cholans= dmatrix(1,p,1,p); } | ~~~~~~~^~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)' at cstat.cpp:6812:15: cstat.cpp:1854:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1854 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)': cstat.cpp:6799:13: note: returned from 'double** dmatrix(int, int, int, int)' 6799 | S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p); | ~~~~~~~^~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)' at cstat.cpp:6812:40: cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)': cstat.cpp:6799:37: note: returned from 'double** dmatrix(int, int, int, int)' 6799 | S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p); | ~~~~~~~^~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)' at cstat.cpp:6812:68: cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)': cstat.cpp:6799:65: note: returned from 'double** dmatrix(int, int, int, int)' 6799 | S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p); | ~~~~~~~^~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)' at cstat.cpp:6812:100: cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)': cstat.cpp:6799:97: note: returned from 'double** dmatrix(int, int, int, int)' 6799 | S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p); | ~~~~~~~^~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)' at cstat.cpp:6812:136: cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)': cstat.cpp:6799:118: note: returned from 'double** dmatrix(int, int, int, int)' 6799 | S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p); | ~~~~~~~^~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)' at cstat.cpp:6812:15: cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)': cstat.cpp:6799:13: note: returned from 'double** dmatrix(int, int, int, int)' 6799 | S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p); | ~~~~~~~^~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)' at cstat.cpp:6812:40: cstat.cpp:1854:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1854 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)': cstat.cpp:6799:37: note: returned from 'double** dmatrix(int, int, int, int)' 6799 | S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p); | ~~~~~~~^~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)' at cstat.cpp:6812:68: cstat.cpp:1854:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1854 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)': cstat.cpp:6799:65: note: returned from 'double** dmatrix(int, int, int, int)' 6799 | S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p); | ~~~~~~~^~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)' at cstat.cpp:6812:100: cstat.cpp:1854:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1854 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)': cstat.cpp:6799:97: note: returned from 'double** dmatrix(int, int, int, int)' 6799 | S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p); | ~~~~~~~^~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)' at cstat.cpp:6812:136: cstat.cpp:1854:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1854 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)': cstat.cpp:6799:118: note: returned from 'double** dmatrix(int, int, int, int)' 6799 | S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p); | ~~~~~~~^~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)' at cstat.cpp:6813:15: cstat.cpp:1854:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1854 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)': cstat.cpp:6800:13: note: returned from 'double** dmatrix(int, int, int, int)' 6800 | D= dmatrix(1,p,1,p); | ~~~~~~~^~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)' at cstat.cpp:6718:15: cstat.cpp:1854:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1854 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)': cstat.cpp:6664:13: note: returned from 'double** dmatrix(int, int, int, int)' 6664 | S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p); | ~~~~~~~^~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)' at cstat.cpp:6718:40: cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)': cstat.cpp:6664:37: note: returned from 'double** dmatrix(int, int, int, int)' 6664 | S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p); | ~~~~~~~^~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)' at cstat.cpp:6718:68: cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)': cstat.cpp:6664:65: note: returned from 'double** dmatrix(int, int, int, int)' 6664 | S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p); | ~~~~~~~^~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)' at cstat.cpp:6718:100: cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)': cstat.cpp:6664:97: note: returned from 'double** dmatrix(int, int, int, int)' 6664 | S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p); | ~~~~~~~^~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)' at cstat.cpp:6718:136: cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)': cstat.cpp:6664:118: note: returned from 'double** dmatrix(int, int, int, int)' 6664 | S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p); | ~~~~~~~^~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)' at cstat.cpp:6718:15: cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)': cstat.cpp:6664:13: note: returned from 'double** dmatrix(int, int, int, int)' 6664 | S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p); | ~~~~~~~^~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)' at cstat.cpp:6718:40: cstat.cpp:1854:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1854 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)': cstat.cpp:6664:37: note: returned from 'double** dmatrix(int, int, int, int)' 6664 | S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p); | ~~~~~~~^~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)' at cstat.cpp:6718:68: cstat.cpp:1854:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1854 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)': cstat.cpp:6664:65: note: returned from 'double** dmatrix(int, int, int, int)' 6664 | S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p); | ~~~~~~~^~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)' at cstat.cpp:6718:100: cstat.cpp:1854:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1854 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)': cstat.cpp:6664:97: note: returned from 'double** dmatrix(int, int, int, int)' 6664 | S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p); | ~~~~~~~^~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)' at cstat.cpp:6718:136: cstat.cpp:1854:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1854 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)': cstat.cpp:6664:118: note: returned from 'double** dmatrix(int, int, int, int)' 6664 | S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); cholSinv= dmatrix(1,p,1,p); inv_cholSinv= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p); | ~~~~~~~^~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)' at cstat.cpp:6719:15: cstat.cpp:1854:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1854 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rnlpPost_lm(double*, int, int, int, double*, double*, int, int, int, double, double, double, int)': cstat.cpp:6665:13: note: returned from 'double** dmatrix(int, int, int, int)' 6665 | D= dmatrix(1,p,1,p); | ~~~~~~~^~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void rtmvnormProd(double*, int, int, double*, double**, int, double, double, int, int, int)' at cstat.cpp:5441:38: cstat.cpp:1854:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1854 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rtmvnormProd(double*, int, int, double*, double**, int, double, double, int, int, int)': cstat.cpp:5437:32: note: returned from 'double** dmatrix(int, int, int, int)' 5437 | y= dvector(1,p); S= dmatrix(1,p,1,p); cholS= dmatrix(1,p,1,p); | ~~~~~~~^~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void rtmvnormProd(double*, int, int, double*, double**, int, double, double, int, int, int)' at cstat.cpp:5441:38: cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rtmvnormProd(double*, int, int, double*, double**, int, double, double, int, int, int)': cstat.cpp:5437:32: note: returned from 'double** dmatrix(int, int, int, int)' 5437 | y= dvector(1,p); S= dmatrix(1,p,1,p); cholS= dmatrix(1,p,1,p); | ~~~~~~~^~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void rtmvnormProd(double*, int, int, double*, double**, int, double, double, int, int, int)' at cstat.cpp:5441:63: cstat.cpp:1854:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1854 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rtmvnormProd(double*, int, int, double*, double**, int, double, double, int, int, int)': cstat.cpp:5437:57: note: returned from 'double** dmatrix(int, int, int, int)' 5437 | y= dvector(1,p); S= dmatrix(1,p,1,p); cholS= dmatrix(1,p,1,p); | ~~~~~~~^~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'SEXPREC* rtmvnormProdCI(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)' at cstat.cpp:5458:15: cstat.cpp:1854:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1854 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'SEXPREC* rtmvnormProdCI(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': cstat.cpp:5451:13: note: returned from 'double** dmatrix(int, int, int, int)' 5451 | S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); | ~~~~~~~^~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'SEXPREC* rtmvnormProdCI(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)' at cstat.cpp:5464:15: cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'SEXPREC* rtmvnormProdCI(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': cstat.cpp:5451:37: note: returned from 'double** dmatrix(int, int, int, int)' 5451 | S= dmatrix(1,p,1,p); Sinv= dmatrix(1,p,1,p); | ~~~~~~~^~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'SEXPREC* rtmvnormProdCI(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)' at cstat.cpp:5464:15: cstat.cpp:1854:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1854 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void rtmvnorm(double*, int, int, double*, double**, double*, double*, int, int)' at cstat.cpp:5158:15: cstat.cpp:1854:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1854 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rtmvnorm(double*, int, int, double*, double**, double*, double*, int, int)': cstat.cpp:5135:13: note: returned from 'double** dmatrix(int, int, int, int)' 5135 | D= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p); | ~~~~~~~^~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void rtmvnorm(double*, int, int, double*, double**, double*, double*, int, int)' at cstat.cpp:5158:15: cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rtmvnorm(double*, int, int, double*, double**, double*, double*, int, int)': cstat.cpp:5135:13: note: returned from 'double** dmatrix(int, int, int, int)' 5135 | D= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p); | ~~~~~~~^~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'void rtmvnorm(double*, int, int, double*, double**, double*, double*, int, int)' at cstat.cpp:5158:40: cstat.cpp:1854:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1854 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rtmvnorm(double*, int, int, double*, double**, double*, double*, int, int)': cstat.cpp:5135:34: note: returned from 'double** dmatrix(int, int, int, int)' 5135 | D= dmatrix(1,p,1,p); K= dmatrix(1,p,1,p); | ~~~~~~~^~~~~~~~~ In function 'void free_dmatrix(double**, int, int, int, int)', inlined from 'SEXPREC* rtmvnormCI(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)' at cstat.cpp:5177:15: cstat.cpp:1854:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1854 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1858:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1858 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'SEXPREC* rtmvnormCI(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': cstat.cpp:5168:13: note: returned from 'double** dmatrix(int, int, int, int)' 5168 | S= dmatrix(1,p,1,p); | ~~~~~~~^~~~~~~~~ In function 'void free_dvector(double*, int, int)', inlined from 'void dirmin(double*, double*, int, double*, double (*)(double*), int, double)' at cstat.cpp:9822:17: cstat.cpp:1822:13: warning: 'void free(void*)' called on pointer 'xicom' with nonzero offset 8 [-Wfree-nonheap-object] 1822 | free((char *) (v+nl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void dirmin(double*, double*, int, double*, double (*)(double*), int, double)': cstat.cpp:9754:9: note: declared here 9754 | double *xicom; | ^~~~~ In function 'void free_dvector(double*, int, int)', inlined from 'void dirmin(double*, double*, int, double*, double (*)(double*), int, double)' at cstat.cpp:9823:17: cstat.cpp:1822:13: warning: 'void free(void*)' called on pointer 'pcom' with nonzero offset 8 [-Wfree-nonheap-object] 1822 | free((char *) (v+nl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void dirmin(double*, double*, int, double*, double (*)(double*), int, double)': cstat.cpp:9753:9: note: declared here 9753 | double *pcom; | ^~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c glm.cpp -o glm.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c mixtures.cpp -o mixtures.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c modelSel.cpp -o modelSel.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c modselFunction.cpp -o modselFunction.o modselFunction.cpp: In member function 'double modselFunction::laplaceapprox(double*, double*, double**, double**, bool, std::map, double*>*)': modselFunction.cpp:826:33: warning: 'mycholH' may be used uninitialized [-Wmaybe-uninitialized] 826 | if (cholH== NULL) free_dmatrix(mycholH, 1,this->thlength,1,this->thlength); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modselFunction.cpp:798:26: note: 'mycholH' was declared here 798 | double ans, logdetH, **mycholH; | ^~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c modselIntegrals.cpp -o modselIntegrals.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c nlpMarg.cpp -o nlpMarg.o g++ -shared -s -static-libgcc -o mombf.dll tmp.def Polynomial.o PolynomialRootFinder.o RcppExports.o covariancemat.o crossprodmat.o cstat.o glm.o mixtures.o modelSel.o modselFunction.o modselIntegrals.o nlpMarg.o -LD:/RCompile/recent/R/bin/x64 -lRlapack -LD:/RCompile/recent/R/bin/x64 -lRblas -lgfortran -lm -lquadmath -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR installing to d:/RCompile/CRANincoming/R-devel/lib/00LOCK-mombf/00new/mombf/libs/x64 ** R ** data ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (mombf)