* installing *source* package 'mombf' ... ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 12.3.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:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1388 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | 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:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | 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:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1388 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | 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:2148:15: cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void mahaldist(double*, int, int, double**, bool, double*)': cstat.cpp:2126:13: note: returned from 'double** dmatrix(int, int, int, int)' 2126 | 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:2148:15: cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1388 | 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:3093:37: cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)b + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1388 | 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:3135:17: cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void inv_posdef_upper(double**, int, double**, bool*)': cstat.cpp:3121:16: note: returned from 'double** dmatrix(int, int, int, int)' 3121 | 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:3135:17: cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1388 | 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:3179:17: cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1388 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void invdet_posdef(double**, int, double**, double*)': cstat.cpp:3157:16: note: returned from 'double** dmatrix(int, int, int, int)' 3157 | 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:3179:17: cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void invdet_posdef(double**, int, double**, double*)': cstat.cpp:3157:16: note: returned from 'double** dmatrix(int, int, int, int)' 3157 | 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:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | 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:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1388 | 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:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | 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:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1388 | 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:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | 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:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1388 | 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:3568:15: cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1388 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void eigenvals(double**, int, double*)': cstat.cpp:3559:13: note: returned from 'double** dmatrix(int, int, int, int)' 3559 | 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:3569:15: cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1388 | 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:3568:15: cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void eigenvals(double**, int, double*)': cstat.cpp:3559:13: note: returned from 'double** dmatrix(int, int, int, int)' 3559 | 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:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | 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:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1388 | 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:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | 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:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1388 | 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:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | 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:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1388 | 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:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | 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:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1388 | 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:6036:17: cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*)cholans + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1388 | 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:6038:15: cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1388 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rwishartC(double**, int, double**, int, bool)': cstat.cpp:6024:13: note: returned from 'double** dmatrix(int, int, int, int)' 6024 | 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:6036:17: cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rwishartC(double**, int, double**, int, bool)': cstat.cpp:6025:60: note: returned from 'double** dmatrix(int, int, int, int)' 6025 | 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:6545:15: cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1388 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)': cstat.cpp:6532:13: note: returned from 'double** dmatrix(int, int, int, int)' 6532 | 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:6545:40: cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)': cstat.cpp:6532:37: note: returned from 'double** dmatrix(int, int, int, int)' 6532 | 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:6545:68: cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)': cstat.cpp:6532:65: note: returned from 'double** dmatrix(int, int, int, int)' 6532 | 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:6545:100: cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)': cstat.cpp:6532:97: note: returned from 'double** dmatrix(int, int, int, int)' 6532 | 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:6545:136: cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)': cstat.cpp:6532:118: note: returned from 'double** dmatrix(int, int, int, int)' 6532 | 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:6545:15: cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)': cstat.cpp:6532:13: note: returned from 'double** dmatrix(int, int, int, int)' 6532 | 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:6545:40: cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1388 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)': cstat.cpp:6532:37: note: returned from 'double** dmatrix(int, int, int, int)' 6532 | 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:6545:68: cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1388 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)': cstat.cpp:6532:65: note: returned from 'double** dmatrix(int, int, int, int)' 6532 | 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:6545:100: cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1388 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)': cstat.cpp:6532:97: note: returned from 'double** dmatrix(int, int, int, int)' 6532 | 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:6545:136: cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1388 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)': cstat.cpp:6532:118: note: returned from 'double** dmatrix(int, int, int, int)' 6532 | 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:6546:15: cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1388 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rnlp(double*, int, int, int, double*, double*, int, int, double, int)': cstat.cpp:6533:13: note: returned from 'double** dmatrix(int, int, int, int)' 6533 | 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:6451:15: cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1388 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | 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:6397:13: note: returned from 'double** dmatrix(int, int, int, int)' 6397 | 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:6451:40: cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | 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:6397:37: note: returned from 'double** dmatrix(int, int, int, int)' 6397 | 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:6451:68: cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | 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:6397:65: note: returned from 'double** dmatrix(int, int, int, int)' 6397 | 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:6451:100: cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | 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:6397:97: note: returned from 'double** dmatrix(int, int, int, int)' 6397 | 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:6451:136: cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | 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:6397:118: note: returned from 'double** dmatrix(int, int, int, int)' 6397 | 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:6451:15: cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | 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:6397:13: note: returned from 'double** dmatrix(int, int, int, int)' 6397 | 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:6451:40: cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1388 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | 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:6397:37: note: returned from 'double** dmatrix(int, int, int, int)' 6397 | 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:6451:68: cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1388 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | 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:6397:65: note: returned from 'double** dmatrix(int, int, int, int)' 6397 | 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:6451:100: cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1388 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | 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:6397:97: note: returned from 'double** dmatrix(int, int, int, int)' 6397 | 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:6451:136: cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1388 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | 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:6397:118: note: returned from 'double** dmatrix(int, int, int, int)' 6397 | 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:6452:15: cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1388 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | 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:6398:13: note: returned from 'double** dmatrix(int, int, int, int)' 6398 | 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:5161:38: cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1388 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rtmvnormProd(double*, int, int, double*, double**, int, double, double, int, int, int)': cstat.cpp:5157:32: note: returned from 'double** dmatrix(int, int, int, int)' 5157 | 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:5161:38: cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rtmvnormProd(double*, int, int, double*, double**, int, double, double, int, int, int)': cstat.cpp:5157:32: note: returned from 'double** dmatrix(int, int, int, int)' 5157 | 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:5161:63: cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1388 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rtmvnormProd(double*, int, int, double*, double**, int, double, double, int, int, int)': cstat.cpp:5157:57: note: returned from 'double** dmatrix(int, int, int, int)' 5157 | 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:5178:15: cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1388 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'SEXPREC* rtmvnormProdCI(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': cstat.cpp:5171:13: note: returned from 'double** dmatrix(int, int, int, int)' 5171 | 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:5184:15: cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'SEXPREC* rtmvnormProdCI(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': cstat.cpp:5171:37: note: returned from 'double** dmatrix(int, int, int, int)' 5171 | 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:5184:15: cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1388 | 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:4878:15: cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1388 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rtmvnorm(double*, int, int, double*, double**, double*, double*, int, int)': cstat.cpp:4855:13: note: returned from 'double** dmatrix(int, int, int, int)' 4855 | 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:4878:15: cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rtmvnorm(double*, int, int, double*, double**, double*, double*, int, int)': cstat.cpp:4855:13: note: returned from 'double** dmatrix(int, int, int, int)' 4855 | 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:4878:40: cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1388 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void rtmvnorm(double*, int, int, double*, double**, double*, double*, int, int)': cstat.cpp:4855:34: note: returned from 'double** dmatrix(int, int, int, int)' 4855 | 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:4897:15: cstat.cpp:1388:17: warning: 'void free(void*)' called on pointer '*(double**)((char*) + *8)' with nonzero offset 8 [-Wfree-nonheap-object] 1388 | free((char *) (m[i]+ncl)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ cstat.cpp:1392:13: warning: 'void free(void*)' called on pointer '' with nonzero offset 8 [-Wfree-nonheap-object] 1392 | free((char *) (m+nrl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'SEXPREC* rtmvnormCI(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': cstat.cpp:4888:13: note: returned from 'double** dmatrix(int, int, int, int)' 4888 | 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:9555:17: cstat.cpp:1356:13: warning: 'void free(void*)' called on pointer 'xicom' with nonzero offset 8 [-Wfree-nonheap-object] 1356 | free((char *) (v+nl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void dirmin(double*, double*, int, double*, double (*)(double*), int, double)': cstat.cpp:9487:9: note: declared here 9487 | 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:9556:17: cstat.cpp:1356:13: warning: 'void free(void*)' called on pointer 'pcom' with nonzero offset 8 [-Wfree-nonheap-object] 1356 | free((char *) (v+nl)); | ~~~~^~~~~~~~~~~~~~~~~~ cstat.cpp: In function 'void dirmin(double*, double*, int, double*, double (*)(double*), int, double)': cstat.cpp:9486:9: note: declared here 9486 | 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 ggm.cpp -o ggm.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 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_regression.cpp -o modelSel_regression.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++ -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 survival.cpp -o survival.o g++ -shared -s -static-libgcc -o mombf.dll tmp.def Polynomial.o PolynomialRootFinder.o RcppExports.o covariancemat.o crossprodmat.o cstat.o ggm.o glm.o mixtures.o modelSel_regression.o modselFunction.o modselIntegrals.o nlpMarg.o survival.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)