* installing *source* package 'SemiCompRisks' ... ** package 'SemiCompRisks' successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: 'gcc.exe (GCC) 12.3.0' make[1]: Entering directory '/d/temp/2024_12_08_01_50_00_8402/Rtmps3nLN1/R.INSTALL20d8050f9492b/SemiCompRisks/src' gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BAFT_DPscr.c -o BAFT_DPscr.o BAFT_DPscr.c: In function 'BAFT_DPscrmcmc': BAFT_DPscr.c:120:22: warning: 'nP1' may be used uninitialized [-Wmaybe-uninitialized] 120 | gsl_matrix *X1 = gsl_matrix_calloc(*n, (nP1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BAFT_DPscr.c:111:9: note: 'nP1' was declared here 111 | int nP1, nP2, nP3; | ^~~ BAFT_DPscr.c:121:22: warning: 'nP2' may be used uninitialized [-Wmaybe-uninitialized] 121 | gsl_matrix *X2 = gsl_matrix_calloc(*n, (nP2)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BAFT_DPscr.c:111:14: note: 'nP2' was declared here 111 | int nP1, nP2, nP3; | ^~~ BAFT_DPscr.c:122:22: warning: 'nP3' may be used uninitialized [-Wmaybe-uninitialized] 122 | gsl_matrix *X3 = gsl_matrix_calloc(*n, (nP3)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BAFT_DPscr.c:111:19: note: 'nP3' was declared here 111 | int nP1, nP2, nP3; | ^~~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BAFT_DPscr_Updates.c -o BAFT_DPscr_Updates.o BAFT_DPscr_Updates.c: In function 'BAFT_DPscr_update_mu_zeta3': BAFT_DPscr_Updates.c:1574:42: warning: variable 'LL_negInf' set but not used [-Wunused-but-set-variable] 1574 | int i, j, k, n_ir, r_ind, wh_ri, u_, LL_negInf; | ^~~~~~~~~ BAFT_DPscr_Updates.c: In function 'BAFT_DPscr_update_beta1': BAFT_DPscr_Updates.c:78:22: warning: 'ii' may be used uninitialized [-Wmaybe-uninitialized] 78 | mean = eta + gsl_vector_get(mu1_all, ii); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BAFT_DPscr_Updates.c:43:22: note: 'ii' was declared here 43 | int i, j, uu, k, ii; | ^~ BAFT_DPscr_Updates.c: In function 'BAFT_DPscr_update_beta2': BAFT_DPscr_Updates.c:178:22: warning: 'ii' may be used uninitialized [-Wmaybe-uninitialized] 178 | mean = eta + gsl_vector_get(mu2_all, ii); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BAFT_DPscr_Updates.c:143:22: note: 'ii' was declared here 143 | int i, j, uu, k, ii; | ^~ BAFT_DPscr_Updates.c: In function 'BAFT_DPscr_update_beta3': BAFT_DPscr_Updates.c:286:30: warning: 'ii' may be used uninitialized [-Wmaybe-uninitialized] 286 | mean = eta + gsl_vector_get(mu3_all, ii); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BAFT_DPscr_Updates.c:244:22: note: 'ii' was declared here 244 | int i, j, uu, k, ii; | ^~ BAFT_DPscr_Updates.c: In function 'BAFT_DPscr_update_mu_zeta1': BAFT_DPscr_Updates.c:1029:31: warning: 'temp_prop' may be used uninitialized [-Wmaybe-uninitialized] 1029 | temp_prop -= pnorm(gsl_vector_get(c0, i), mean_prop, sd, 0, 1); | ^~ BAFT_DPscr_Updates.c:990:56: note: 'temp_prop' was declared here 990 | double mu_prop, zeta_prop, mu_ini, zeta_ini, temp, temp_prop; | ^~~~~~~~~ BAFT_DPscr_Updates.c:1028:26: warning: 'temp' may be used uninitialized [-Wmaybe-uninitialized] 1028 | temp -= pnorm(gsl_vector_get(c0, i), mean, sd, 0, 1); | ^~ BAFT_DPscr_Updates.c:990:50: note: 'temp' was declared here 990 | double mu_prop, zeta_prop, mu_ini, zeta_ini, temp, temp_prop; | ^~~~ BAFT_DPscr_Updates.c:827:29: warning: 'val' may be used uninitialized [-Wmaybe-uninitialized] 827 | val /= pnorm(gsl_vector_get(c0, i), mean, sd, 0, 0); | ^~ BAFT_DPscr_Updates.c:742:28: note: 'val' was declared here 742 | double b_mc, sum_prob, val, mu, zeta, eta, cond; | ^~~ BAFT_DPscr_Updates.c:778:12: warning: 'wh_ri' may be used uninitialized [-Wmaybe-uninitialized] 778 | if(gsl_vector_get(r1Uniq_count, wh_ri) > 1) /* not singleton */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BAFT_DPscr_Updates.c:741:31: note: 'wh_ri' was declared here 741 | int i, j, k, n_ir, r_ind, wh_ri, u_, LL_negInf; | ^~~~~ BAFT_DPscr_Updates.c: In function 'BAFT_DPscr_update_mu_zeta2': BAFT_DPscr_Updates.c:1449:31: warning: 'temp_prop' may be used uninitialized [-Wmaybe-uninitialized] 1449 | temp_prop -= pnorm(gsl_vector_get(c0, i), mean_prop, sd, 0, 1); | ^~ BAFT_DPscr_Updates.c:1410:56: note: 'temp_prop' was declared here 1410 | double mu_prop, zeta_prop, mu_ini, zeta_ini, temp, temp_prop; | ^~~~~~~~~ BAFT_DPscr_Updates.c:1448:26: warning: 'temp' may be used uninitialized [-Wmaybe-uninitialized] 1448 | temp -= pnorm(gsl_vector_get(c0, i), mean, sd, 0, 1); | ^~ BAFT_DPscr_Updates.c:1410:50: note: 'temp' was declared here 1410 | double mu_prop, zeta_prop, mu_ini, zeta_ini, temp, temp_prop; | ^~~~ BAFT_DPscr_Updates.c:1247:29: warning: 'val' may be used uninitialized [-Wmaybe-uninitialized] 1247 | val /= pnorm(gsl_vector_get(c0, i), mean, sd, 0, 0); | ^~ BAFT_DPscr_Updates.c:1160:28: note: 'val' was declared here 1160 | double b_mc, sum_prob, val, mu, zeta, eta, cond; | ^~~ BAFT_DPscr_Updates.c:1196:12: warning: 'wh_ri' may be used uninitialized [-Wmaybe-uninitialized] 1196 | if(gsl_vector_get(r2Uniq_count, wh_ri) > 1) /* not singleton */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BAFT_DPscr_Updates.c:1159:31: note: 'wh_ri' was declared here 1159 | int i, j, k, n_ir, r_ind, wh_ri, u_, LL_negInf; | ^~~~~ BAFT_DPscr_Updates.c: In function 'BAFT_DPscr_update_mu_zeta3': BAFT_DPscr_Updates.c:1713:23: warning: 'wh_ri' may be used uninitialized [-Wmaybe-uninitialized] 1713 | if(j == wh_ri) | ^ BAFT_DPscr_Updates.c:1574:31: note: 'wh_ri' was declared here 1574 | int i, j, k, n_ir, r_ind, wh_ri, u_, LL_negInf; | ^~~~~ In file included from BAFT_DPscr_Updates.c:16: D:/RCompile/recent/R-4.3.3/include/Rmath.h: In function 'BAFT_DPscr_update_gamma': D:/RCompile/recent/R-4.3.3/include/Rmath.h:230:25: warning: 'sd3' may be used uninitialized [-Wmaybe-uninitialized] 230 | #define dnorm4 Rf_dnorm4 | ^~~~~~~~~ BAFT_DPscr_Updates.c:1962:31: note: 'sd3' was declared here 1962 | double mean3, mean3_prop, sd3; | ^~~ D:/RCompile/recent/R-4.3.3/include/Rmath.h:230:25: warning: 'mean3_prop' may be used uninitialized [-Wmaybe-uninitialized] 230 | #define dnorm4 Rf_dnorm4 | ^~~~~~~~~ BAFT_DPscr_Updates.c:1962:19: note: 'mean3_prop' was declared here 1962 | double mean3, mean3_prop, sd3; | ^~~~~~~~~~ D:/RCompile/recent/R-4.3.3/include/Rmath.h:230:25: warning: 'mean3' may be used uninitialized [-Wmaybe-uninitialized] 230 | #define dnorm4 Rf_dnorm4 | ^~~~~~~~~ BAFT_DPscr_Updates.c:1962:12: note: 'mean3' was declared here 1962 | double mean3, mean3_prop, sd3; | ^~~~~ BAFT_DPscr_Updates.c:2020:32: warning: 'ii3' may be used uninitialized [-Wmaybe-uninitialized] 2020 | mean3 = eta3 + gsl_vector_get(mu3_all, ii3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BAFT_DPscr_Updates.c:1956:29: note: 'ii3' was declared here 1956 | int i, uu, k, ii1, ii2, ii3; | ^~~ BAFT_DPscr_Updates.c:2005:24: warning: 'ii2' may be used uninitialized [-Wmaybe-uninitialized] 2005 | mean2 = eta2 + gsl_vector_get(mu2_all, ii2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BAFT_DPscr_Updates.c:1956:24: note: 'ii2' was declared here 1956 | int i, uu, k, ii1, ii2, ii3; | ^~~ BAFT_DPscr_Updates.c:2001:24: warning: 'ii1' may be used uninitialized [-Wmaybe-uninitialized] 2001 | mean1 = eta1 + gsl_vector_get(mu1_all, ii1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BAFT_DPscr_Updates.c:1956:19: note: 'ii1' was declared here 1956 | int i, uu, k, ii1, ii2, ii3; | ^~~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BAFT_DPsurv.c -o BAFT_DPsurv.o BAFT_DPsurv.c: In function 'BAFT_DPunimcmc': BAFT_DPsurv.c:74:21: warning: 'nP' may be used uninitialized [-Wmaybe-uninitialized] 74 | gsl_matrix *X = gsl_matrix_calloc(*n, (nP)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BAFT_DPsurv.c:69:9: note: 'nP' was declared here 69 | int nP; | ^~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BAFT_DPsurv_Updates.c -o BAFT_DPsurv_Updates.o BAFT_DPsurv_Updates.c: In function 'BAFT_DPsurv_update_mu_zeta': BAFT_DPsurv_Updates.c:88:12: warning: 'wh_ri' may be used uninitialized [-Wmaybe-uninitialized] 88 | if(gsl_vector_get(rUniq_count, wh_ri) > 1) /* not singleton */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BAFT_DPsurv_Updates.c:48:31: note: 'wh_ri' was declared here 48 | int i, j, k, n_ir, r_ind, wh_ri, u_, LL_negInf; | ^~~~~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BAFT_LNscr.c -o BAFT_LNscr.o BAFT_LNscr.c: In function 'BAFTscrmcmc': BAFT_LNscr.c:101:22: warning: 'nP1' may be used uninitialized [-Wmaybe-uninitialized] 101 | gsl_matrix *X1 = gsl_matrix_calloc(*n, (nP1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BAFT_LNscr.c:92:9: note: 'nP1' was declared here 92 | int nP1, nP2, nP3; | ^~~ BAFT_LNscr.c:102:22: warning: 'nP2' may be used uninitialized [-Wmaybe-uninitialized] 102 | gsl_matrix *X2 = gsl_matrix_calloc(*n, (nP2)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BAFT_LNscr.c:92:14: note: 'nP2' was declared here 92 | int nP1, nP2, nP3; | ^~~ BAFT_LNscr.c:103:22: warning: 'nP3' may be used uninitialized [-Wmaybe-uninitialized] 103 | gsl_matrix *X3 = gsl_matrix_calloc(*n, (nP3)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BAFT_LNscr.c:92:19: note: 'nP3' was declared here 92 | int nP1, nP2, nP3; | ^~~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BAFT_LNscr_Updates.c -o BAFT_LNscr_Updates.o gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BAFT_LNsurv.c -o BAFT_LNsurv.o BAFT_LNsurv.c: In function 'BAFTunimcmc': BAFT_LNsurv.c:70:21: warning: 'nP' may be used uninitialized [-Wmaybe-uninitialized] 70 | gsl_matrix *X = gsl_matrix_calloc(*n, (nP)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BAFT_LNsurv.c:65:9: note: 'nP' was declared here 65 | int nP; | ^~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BAFT_LNsurv_Updates.c -o BAFT_LNsurv_Updates.o BAFT_LNsurv_Updates.c: In function 'BAFT_LNsurv_update_beta0': BAFT_LNsurv_Updates.c:140:74: warning: variable 'logprior_prop' set but not used [-Wunused-but-set-variable] 140 | double eta, eta_prop, loglh, loglh_prop, logR, beta0_prop, logprior, logprior_prop; | ^~~~~~~~~~~~~ BAFT_LNsurv_Updates.c:140:64: warning: variable 'logprior' set but not used [-Wunused-but-set-variable] 140 | double eta, eta_prop, loglh, loglh_prop, logR, beta0_prop, logprior, logprior_prop; | ^~~~~~~~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BpeDpCorScr.c -o BpeDpCorScr.o BpeDpCorScr.c: In function 'BpeDpCorScrmcmc': BpeDpCorScr.c:127:32: warning: 'nP1' may be used uninitialized [-Wmaybe-uninitialized] 127 | gsl_matrix *survCov1 = gsl_matrix_calloc(*n, nP1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BpeDpCorScr.c:118:9: note: 'nP1' was declared here 118 | int nP1, nP2, nP3; | ^~~ BpeDpCorScr.c:128:32: warning: 'nP2' may be used uninitialized [-Wmaybe-uninitialized] 128 | gsl_matrix *survCov2 = gsl_matrix_calloc(*n, nP2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BpeDpCorScr.c:118:14: note: 'nP2' was declared here 118 | int nP1, nP2, nP3; | ^~~ BpeDpCorScr.c:129:32: warning: 'nP3' may be used uninitialized [-Wmaybe-uninitialized] 129 | gsl_matrix *survCov3 = gsl_matrix_calloc(*n, nP3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BpeDpCorScr.c:118:19: note: 'nP3' was declared here 118 | int nP1, nP2, nP3; | ^~~ BpeDpCorScr.c:614:98: warning: 'pDI3' may be used uninitialized [-Wmaybe-uninitialized] 614 | if(choice > pRP1+pRP2+pRP3+pBH1+pBH2+pBH3+pSP1+pSP2+pSP3+pFP+pDP+pBI1+pBI2+pBI3+pDI1+pDI2+pDI3) move = 18; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BpeDpCorScr.c:483:96: note: 'pDI3' was declared here 483 | double pRP1, pRP2, pRP3, pBH1, pBH2, pBH3, pSP1, pSP2, pSP3, pBI1, pBI2, pBI3, pDI1, pDI2, pDI3, pFP, pDP, pMP, pCP, choice; | ^~~~ BpeDpCorScr.c:613:93: warning: 'pDI2' may be used uninitialized [-Wmaybe-uninitialized] 613 | if(choice > pRP1+pRP2+pRP3+pBH1+pBH2+pBH3+pSP1+pSP2+pSP3+pFP+pDP+pBI1+pBI2+pBI3+pDI1+pDI2) move = 17; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BpeDpCorScr.c:483:90: note: 'pDI2' was declared here 483 | double pRP1, pRP2, pRP3, pBH1, pBH2, pBH3, pSP1, pSP2, pSP3, pBI1, pBI2, pBI3, pDI1, pDI2, pDI3, pFP, pDP, pMP, pCP, choice; | ^~~~ BpeDpCorScr.c:612:88: warning: 'pDI1' may be used uninitialized [-Wmaybe-uninitialized] 612 | if(choice > pRP1+pRP2+pRP3+pBH1+pBH2+pBH3+pSP1+pSP2+pSP3+pFP+pDP+pBI1+pBI2+pBI3+pDI1) move = 16; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BpeDpCorScr.c:483:84: note: 'pDI1' was declared here 483 | double pRP1, pRP2, pRP3, pBH1, pBH2, pBH3, pSP1, pSP2, pSP3, pBI1, pBI2, pBI3, pDI1, pDI2, pDI3, pFP, pDP, pMP, pCP, choice; | ^~~~ BpeDpCorScr.c:573:61: warning: 'pBI3' may be used uninitialized [-Wmaybe-uninitialized] 573 | double probSub = (1 - pMP - pDP - pCP - pBI1 - pBI2 - pBI3 - pDI1 - pDI2 - pDI3)/(numUpdate-9); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ BpeDpCorScr.c:483:78: note: 'pBI3' was declared here 483 | double pRP1, pRP2, pRP3, pBH1, pBH2, pBH3, pSP1, pSP2, pSP3, pBI1, pBI2, pBI3, pDI1, pDI2, pDI3, pFP, pDP, pMP, pCP, choice; | ^~~~ BpeDpCorScr.c:573:54: warning: 'pBI2' may be used uninitialized [-Wmaybe-uninitialized] 573 | double probSub = (1 - pMP - pDP - pCP - pBI1 - pBI2 - pBI3 - pDI1 - pDI2 - pDI3)/(numUpdate-9); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ BpeDpCorScr.c:483:72: note: 'pBI2' was declared here 483 | double pRP1, pRP2, pRP3, pBH1, pBH2, pBH3, pSP1, pSP2, pSP3, pBI1, pBI2, pBI3, pDI1, pDI2, pDI3, pFP, pDP, pMP, pCP, choice; | ^~~~ BpeDpCorScr.c:573:47: warning: 'pBI1' may be used uninitialized [-Wmaybe-uninitialized] 573 | double probSub = (1 - pMP - pDP - pCP - pBI1 - pBI2 - pBI3 - pDI1 - pDI2 - pDI3)/(numUpdate-9); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ BpeDpCorScr.c:483:66: note: 'pBI1' was declared here 483 | double pRP1, pRP2, pRP3, pBH1, pBH2, pBH3, pSP1, pSP2, pSP3, pBI1, pBI2, pBI3, pDI1, pDI2, pDI3, pFP, pDP, pMP, pCP, choice; | ^~~~ BpeDpCorScr.c:1041:24: warning: 'theta_mean' may be used uninitialized [-Wmaybe-uninitialized] 1041 | theta_mean = ((double) StoreInx - 1) * theta_mean; | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BpeDpCorScr.c:477:12: note: 'theta_mean' was declared here 477 | double theta_mean; | ^~~~~~~~~~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BpeDpCorScrSM.c -o BpeDpCorScrSM.o BpeDpCorScrSM.c: In function 'BpeDpCorScrSMmcmc': BpeDpCorScrSM.c:128:32: warning: 'nP1' may be used uninitialized [-Wmaybe-uninitialized] 128 | gsl_matrix *survCov1 = gsl_matrix_calloc(*n, nP1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BpeDpCorScrSM.c:119:9: note: 'nP1' was declared here 119 | int nP1, nP2, nP3; | ^~~ BpeDpCorScrSM.c:129:32: warning: 'nP2' may be used uninitialized [-Wmaybe-uninitialized] 129 | gsl_matrix *survCov2 = gsl_matrix_calloc(*n, nP2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BpeDpCorScrSM.c:119:14: note: 'nP2' was declared here 119 | int nP1, nP2, nP3; | ^~~ BpeDpCorScrSM.c:130:32: warning: 'nP3' may be used uninitialized [-Wmaybe-uninitialized] 130 | gsl_matrix *survCov3 = gsl_matrix_calloc(*n, nP3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BpeDpCorScrSM.c:119:19: note: 'nP3' was declared here 119 | int nP1, nP2, nP3; | ^~~ BpeDpCorScrSM.c:620:98: warning: 'pDI3' may be used uninitialized [-Wmaybe-uninitialized] 620 | if(choice > pRP1+pRP2+pRP3+pBH1+pBH2+pBH3+pSP1+pSP2+pSP3+pFP+pDP+pBI1+pBI2+pBI3+pDI1+pDI2+pDI3) move = 18; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BpeDpCorScrSM.c:489:96: note: 'pDI3' was declared here 489 | double pRP1, pRP2, pRP3, pBH1, pBH2, pBH3, pSP1, pSP2, pSP3, pBI1, pBI2, pBI3, pDI1, pDI2, pDI3, pFP, pDP, pMP, pCP, choice; | ^~~~ BpeDpCorScrSM.c:619:93: warning: 'pDI2' may be used uninitialized [-Wmaybe-uninitialized] 619 | if(choice > pRP1+pRP2+pRP3+pBH1+pBH2+pBH3+pSP1+pSP2+pSP3+pFP+pDP+pBI1+pBI2+pBI3+pDI1+pDI2) move = 17; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BpeDpCorScrSM.c:489:90: note: 'pDI2' was declared here 489 | double pRP1, pRP2, pRP3, pBH1, pBH2, pBH3, pSP1, pSP2, pSP3, pBI1, pBI2, pBI3, pDI1, pDI2, pDI3, pFP, pDP, pMP, pCP, choice; | ^~~~ BpeDpCorScrSM.c:618:88: warning: 'pDI1' may be used uninitialized [-Wmaybe-uninitialized] 618 | if(choice > pRP1+pRP2+pRP3+pBH1+pBH2+pBH3+pSP1+pSP2+pSP3+pFP+pDP+pBI1+pBI2+pBI3+pDI1) move = 16; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BpeDpCorScrSM.c:489:84: note: 'pDI1' was declared here 489 | double pRP1, pRP2, pRP3, pBH1, pBH2, pBH3, pSP1, pSP2, pSP3, pBI1, pBI2, pBI3, pDI1, pDI2, pDI3, pFP, pDP, pMP, pCP, choice; | ^~~~ BpeDpCorScrSM.c:579:61: warning: 'pBI3' may be used uninitialized [-Wmaybe-uninitialized] 579 | double probSub = (1 - pMP - pDP - pCP - pBI1 - pBI2 - pBI3 - pDI1 - pDI2 - pDI3)/(numUpdate-9); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ BpeDpCorScrSM.c:489:78: note: 'pBI3' was declared here 489 | double pRP1, pRP2, pRP3, pBH1, pBH2, pBH3, pSP1, pSP2, pSP3, pBI1, pBI2, pBI3, pDI1, pDI2, pDI3, pFP, pDP, pMP, pCP, choice; | ^~~~ BpeDpCorScrSM.c:579:54: warning: 'pBI2' may be used uninitialized [-Wmaybe-uninitialized] 579 | double probSub = (1 - pMP - pDP - pCP - pBI1 - pBI2 - pBI3 - pDI1 - pDI2 - pDI3)/(numUpdate-9); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ BpeDpCorScrSM.c:489:72: note: 'pBI2' was declared here 489 | double pRP1, pRP2, pRP3, pBH1, pBH2, pBH3, pSP1, pSP2, pSP3, pBI1, pBI2, pBI3, pDI1, pDI2, pDI3, pFP, pDP, pMP, pCP, choice; | ^~~~ BpeDpCorScrSM.c:579:47: warning: 'pBI1' may be used uninitialized [-Wmaybe-uninitialized] 579 | double probSub = (1 - pMP - pDP - pCP - pBI1 - pBI2 - pBI3 - pDI1 - pDI2 - pDI3)/(numUpdate-9); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ BpeDpCorScrSM.c:489:66: note: 'pBI1' was declared here 489 | double pRP1, pRP2, pRP3, pBH1, pBH2, pBH3, pSP1, pSP2, pSP3, pBI1, pBI2, pBI3, pDI1, pDI2, pDI3, pFP, pDP, pMP, pCP, choice; | ^~~~ BpeDpCorScrSM.c:1055:24: warning: 'theta_mean' may be used uninitialized [-Wmaybe-uninitialized] 1055 | theta_mean = ((double) StoreInx - 1) * theta_mean; | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BpeDpCorScrSM.c:482:13: note: 'theta_mean' was declared here 482 | double theta_mean; | ^~~~~~~~~~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BpeDpCorScrSM_Updates.c -o BpeDpCorScrSM_Updates.o BpeDpCorScrSM_Updates.c: In function 'BpeDpCorScrSM_updateBH1': BpeDpCorScrSM_Updates.c:507:20: warning: variable 'nu_lam_prop' set but not used [-Wunused-but-set-variable] 507 | double nu_lam, nu_lam_prop; | ^~~~~~~~~~~ BpeDpCorScrSM_Updates.c: In function 'BpeDpCorScrSM_updateBH2': BpeDpCorScrSM_Updates.c:734:20: warning: variable 'nu_lam_prop' set but not used [-Wunused-but-set-variable] 734 | double nu_lam, nu_lam_prop; | ^~~~~~~~~~~ BpeDpCorScrSM_Updates.c: In function 'BpeDpCorScrSM_updateBH3': BpeDpCorScrSM_Updates.c:948:20: warning: variable 'nu_lam_prop' set but not used [-Wunused-but-set-variable] 948 | double nu_lam, nu_lam_prop; | ^~~~~~~~~~~ BpeDpCorScrSM_Updates.c: In function 'BpeDpCorScrSM_updateBH1': BpeDpCorScrSM_Updates.c:567:25: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 567 | inc = - gam * Del * exp(gsl_vector_get(lambda1, j))*exp(gsl_vector_get(xbeta1, i)+gsl_vector_get(V1, jj)); | ~~~~~~^~~~~ BpeDpCorScrSM_Updates.c:498:27: note: 'Del' was declared here 498 | double D1, D2, logLH, Del, inc, gam; | ^~~ BpeDpCorScrSM_Updates.c:577:86: warning: 'nu_lam' may be used uninitialized [-Wmaybe-uninitialized] 577 | D1 += -1/(sigSq_lam1 * gsl_matrix_get(Q1, j, j))*(gsl_vector_get(lambda1, j)-nu_lam); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ BpeDpCorScrSM_Updates.c:507:12: note: 'nu_lam' was declared here 507 | double nu_lam, nu_lam_prop; | ^~~~~~ BpeDpCorScrSM_Updates.c: In function 'BpeDpCorScrSM_updateBH2': BpeDpCorScrSM_Updates.c:793:35: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 793 | inc = - pow(gam, nu2) * Del * exp(gsl_vector_get(lambda2, j))*exp(gsl_vector_get(xbeta2, i)+gsl_vector_get(V2, jj)); | ~~~~~~~~~~~~~~~~^~~~~ BpeDpCorScrSM_Updates.c:725:27: note: 'Del' was declared here 725 | double D1, D2, logLH, Del, inc, gam; | ^~~ BpeDpCorScrSM_Updates.c:803:86: warning: 'nu_lam' may be used uninitialized [-Wmaybe-uninitialized] 803 | D1 += -1/(sigSq_lam2 * gsl_matrix_get(Q2, j, j))*(gsl_vector_get(lambda2, j)-nu_lam); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ BpeDpCorScrSM_Updates.c:734:12: note: 'nu_lam' was declared here 734 | double nu_lam, nu_lam_prop; | ^~~~~~ BpeDpCorScrSM_Updates.c: In function 'BpeDpCorScrSM_updateBH3': BpeDpCorScrSM_Updates.c:1008:35: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 1008 | inc = - pow(gam, nu3) * Del * exp(gsl_vector_get(lambda3, j))*exp(gsl_vector_get(xbeta3, i)+gsl_vector_get(V3, jj)); | ~~~~~~~~~~~~~~~~^~~~~ BpeDpCorScrSM_Updates.c:939:27: note: 'Del' was declared here 939 | double D1, D2, logLH, Del, inc, gam; | ^~~ BpeDpCorScrSM_Updates.c:1016:86: warning: 'nu_lam' may be used uninitialized [-Wmaybe-uninitialized] 1016 | D1 += -1/(sigSq_lam3 * gsl_matrix_get(Q3, j, j))*(gsl_vector_get(lambda3, j)-nu_lam); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ BpeDpCorScrSM_Updates.c:948:12: note: 'nu_lam' was declared here 948 | double nu_lam, nu_lam_prop; | ^~~~~~ BpeDpCorScrSM_Updates.c: In function 'BpeDpCorScrSM_updateDI1': BpeDpCorScrSM_Updates.c:1833:55: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 1833 | logLH += - gsl_vector_get(gamma, i) * Del*exp(gsl_vector_get(lambda1, j))*exp(gsl_vector_get(xbeta1, i)+gsl_vector_get(V1, jj)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BpeDpCorScrSM_Updates.c:1751:31: note: 'Del' was declared here 1751 | double logLH, logLH_prop, Del; | ^~~ BpeDpCorScrSM_Updates.c: In function 'BpeDpCorScrSM_updateDI2': BpeDpCorScrSM_Updates.c:2422:55: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 2422 | logLH += - gsl_vector_get(gamma, i) * Del*exp(gsl_vector_get(lambda2, j))*exp(gsl_vector_get(xbeta2, i)+gsl_vector_get(V2, jj)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BpeDpCorScrSM_Updates.c:2339:31: note: 'Del' was declared here 2339 | double logLH, logLH_prop, Del; | ^~~ BpeDpCorScrSM_Updates.c: In function 'BpeDpCorScrSM_updateDI3': BpeDpCorScrSM_Updates.c:2998:55: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 2998 | logLH += - gsl_vector_get(gamma, i) * Del*exp(gsl_vector_get(lambda3, j))*exp(gsl_vector_get(xbeta3, i)+gsl_vector_get(V3, jj)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BpeDpCorScrSM_Updates.c:2917:31: note: 'Del' was declared here 2917 | double logLH, logLH_prop, Del; | ^~~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BpeDpCorScr_Updates.c -o BpeDpCorScr_Updates.o BpeDpCorScr_Updates.c: In function 'BpeDpCorScr_updateBH1': BpeDpCorScr_Updates.c:514:20: warning: variable 'nu_lam_prop' set but not used [-Wunused-but-set-variable] 514 | double nu_lam, nu_lam_prop; | ^~~~~~~~~~~ BpeDpCorScr_Updates.c: In function 'BpeDpCorScr_updateBH2': BpeDpCorScr_Updates.c:746:20: warning: variable 'nu_lam_prop' set but not used [-Wunused-but-set-variable] 746 | double nu_lam, nu_lam_prop; | ^~~~~~~~~~~ BpeDpCorScr_Updates.c: In function 'BpeDpCorScr_updateBH3': BpeDpCorScr_Updates.c:965:20: warning: variable 'nu_lam_prop' set but not used [-Wunused-but-set-variable] 965 | double nu_lam, nu_lam_prop; | ^~~~~~~~~~~ BpeDpCorScr_Updates.c: In function 'BpeDpCorScr_updateBH1': BpeDpCorScr_Updates.c:577:25: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 577 | inc = - gam * Del * exp(gsl_vector_get(lambda1, j))*exp(gsl_vector_get(xbeta1, i)+gsl_vector_get(V1, jj)); | ~~~~~~^~~~~ BpeDpCorScr_Updates.c:505:27: note: 'Del' was declared here 505 | double D1, D2, logLH, Del, inc, gam; | ^~~ BpeDpCorScr_Updates.c:587:86: warning: 'nu_lam' may be used uninitialized [-Wmaybe-uninitialized] 587 | D1 += -1/(sigSq_lam1 * gsl_matrix_get(Q1, j, j))*(gsl_vector_get(lambda1, j)-nu_lam); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ BpeDpCorScr_Updates.c:514:12: note: 'nu_lam' was declared here 514 | double nu_lam, nu_lam_prop; | ^~~~~~ BpeDpCorScr_Updates.c: In function 'BpeDpCorScr_updateBH2': BpeDpCorScr_Updates.c:804:35: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 804 | inc = - pow(gam, nu2) * Del * exp(gsl_vector_get(lambda2, j))*exp(gsl_vector_get(xbeta2, i)+gsl_vector_get(V2, jj)); | ~~~~~~~~~~~~~~~~^~~~~ BpeDpCorScr_Updates.c:737:27: note: 'Del' was declared here 737 | double D1, D2, logLH, Del, inc, gam; | ^~~ BpeDpCorScr_Updates.c:814:86: warning: 'nu_lam' may be used uninitialized [-Wmaybe-uninitialized] 814 | D1 += -1/(sigSq_lam2 * gsl_matrix_get(Q2, j, j))*(gsl_vector_get(lambda2, j)-nu_lam); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ BpeDpCorScr_Updates.c:746:12: note: 'nu_lam' was declared here 746 | double nu_lam, nu_lam_prop; | ^~~~~~ BpeDpCorScr_Updates.c: In function 'BpeDpCorScr_updateBH3': BpeDpCorScr_Updates.c:1026:35: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 1026 | inc = - pow(gam, nu3) * Del * exp(gsl_vector_get(lambda3, j))*exp(gsl_vector_get(xbeta3, i)+gsl_vector_get(V3, jj)); | ~~~~~~~~~~~~~~~~^~~~~ BpeDpCorScr_Updates.c:956:27: note: 'Del' was declared here 956 | double D1, D2, logLH, Del, inc, gam; | ^~~ BpeDpCorScr_Updates.c:1034:86: warning: 'nu_lam' may be used uninitialized [-Wmaybe-uninitialized] 1034 | D1 += -1/(sigSq_lam3 * gsl_matrix_get(Q3, j, j))*(gsl_vector_get(lambda3, j)-nu_lam); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ BpeDpCorScr_Updates.c:965:12: note: 'nu_lam' was declared here 965 | double nu_lam, nu_lam_prop; | ^~~~~~ BpeDpCorScr_Updates.c: In function 'BpeDpCorScr_updateDI1': BpeDpCorScr_Updates.c:1844:55: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 1844 | logLH += - gsl_vector_get(gamma, i) * Del*exp(gsl_vector_get(lambda1, j))*exp(gsl_vector_get(xbeta1, i)+gsl_vector_get(V1, jj)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BpeDpCorScr_Updates.c:1763:31: note: 'Del' was declared here 1763 | double logLH, logLH_prop, Del; | ^~~ BpeDpCorScr_Updates.c: In function 'BpeDpCorScr_updateDI2': BpeDpCorScr_Updates.c:2436:55: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 2436 | logLH += - gsl_vector_get(gamma, i) * Del*exp(gsl_vector_get(lambda2, j))*exp(gsl_vector_get(xbeta2, i)+gsl_vector_get(V2, jj)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BpeDpCorScr_Updates.c:2352:31: note: 'Del' was declared here 2352 | double logLH, logLH_prop, Del; | ^~~ BpeDpCorScr_Updates.c: In function 'BpeDpCorScr_updateDI3': BpeDpCorScr_Updates.c:3021:55: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 3021 | logLH += - gsl_vector_get(gamma, i) * Del*exp(gsl_vector_get(lambda3, j))*exp(gsl_vector_get(xbeta3, i)+gsl_vector_get(V3, jj)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BpeDpCorScr_Updates.c:2939:31: note: 'Del' was declared here 2939 | double logLH, logLH_prop, Del; | ^~~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BpeDpCorSurv.c -o BpeDpCorSurv.o BpeDpCorSurv.c: In function 'BpeDpCorSurvmcmc': BpeDpCorSurv.c:233:37: warning: variable 'pCP' set but not used [-Wunused-but-set-variable] 233 | double pRP, pBH, pSP, pBI, pDI, pCP, choice; | ^~~ BpeDpCorSurv.c:95:31: warning: 'nP' may be used uninitialized [-Wmaybe-uninitialized] 95 | gsl_matrix *survCov = gsl_matrix_calloc(*n, nP); | ^~~~~~~~~~~~~~~~~~~~~~~~~ BpeDpCorSurv.c:90:9: note: 'nP' was declared here 90 | int nP; | ^~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BpeDpCorSurv_Updates.c -o BpeDpCorSurv_Updates.o BpeDpCorSurv_Updates.c: In function 'BpeDpCorSurv_updateBH': BpeDpCorSurv_Updates.c:186:20: warning: variable 'nu_lam_prop' set but not used [-Wunused-but-set-variable] 186 | double nu_lam, nu_lam_prop; | ^~~~~~~~~~~ BpeDpCorSurv_Updates.c: In function 'BpeDpCorSurv_updateCP': BpeDpCorSurv_Updates.c:1261:18: warning: variable 'mu_temp' set but not used [-Wunused-but-set-variable] 1261 | double logR, mu_temp, zeta_temp; | ^~~~~~~ BpeDpCorSurv_Updates.c: In function 'BpeDpCorSurv_updateBH': BpeDpCorSurv_Updates.c:244:19: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 244 | inc = - Del * exp(gsl_vector_get(lambda, j))*exp(gsl_vector_get(xbeta, i)+gsl_vector_get(V, jj)); | ^~~~~ BpeDpCorSurv_Updates.c:177:27: note: 'Del' was declared here 177 | double D1, D2, logLH, Del, inc; | ^~~ BpeDpCorSurv_Updates.c:254:83: warning: 'nu_lam' may be used uninitialized [-Wmaybe-uninitialized] 254 | D1 += -1/(sigSq_lam * gsl_matrix_get(Q, j, j))*(gsl_vector_get(lambda, j)-nu_lam); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ BpeDpCorSurv_Updates.c:186:12: note: 'nu_lam' was declared here 186 | double nu_lam, nu_lam_prop; | ^~~~~~ BpeDpCorSurv_Updates.c: In function 'BpeDpCorSurv_updateDI': BpeDpCorSurv_Updates.c:812:28: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 812 | logLH += - Del*exp(gsl_vector_get(lambda, j))*exp(gsl_vector_get(xbeta, i)+gsl_vector_get(V, jj)); | ^~~~~ BpeDpCorSurv_Updates.c:731:31: note: 'Del' was declared here 731 | double logLH, logLH_prop, Del; | ^~~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BpeMvnCorScr.c -o BpeMvnCorScr.o BpeMvnCorScr.c: In function 'BpeMvnCorScrmcmc': BpeMvnCorScr.c:108:32: warning: 'nP1' may be used uninitialized [-Wmaybe-uninitialized] 108 | gsl_matrix *survCov1 = gsl_matrix_calloc(*n, nP1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BpeMvnCorScr.c:99:9: note: 'nP1' was declared here 99 | int nP1, nP2, nP3; | ^~~ BpeMvnCorScr.c:109:32: warning: 'nP2' may be used uninitialized [-Wmaybe-uninitialized] 109 | gsl_matrix *survCov2 = gsl_matrix_calloc(*n, nP2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BpeMvnCorScr.c:99:14: note: 'nP2' was declared here 99 | int nP1, nP2, nP3; | ^~~ BpeMvnCorScr.c:110:32: warning: 'nP3' may be used uninitialized [-Wmaybe-uninitialized] 110 | gsl_matrix *survCov3 = gsl_matrix_calloc(*n, nP3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BpeMvnCorScr.c:99:19: note: 'nP3' was declared here 99 | int nP1, nP2, nP3; | ^~~ BpeMvnCorScr.c:551:98: warning: 'pDI3' may be used uninitialized [-Wmaybe-uninitialized] 551 | if(choice > pRP1+pRP2+pRP3+pBH1+pBH2+pBH3+pSP1+pSP2+pSP3+pFP+pDP+pBI1+pBI2+pBI3+pDI1+pDI2+pDI3) move = 18; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BpeMvnCorScr.c:418:96: note: 'pDI3' was declared here 418 | double pRP1, pRP2, pRP3, pBH1, pBH2, pBH3, pSP1, pSP2, pSP3, pBI1, pBI2, pBI3, pDI1, pDI2, pDI3, pFP, pDP; | ^~~~ BpeMvnCorScr.c:550:93: warning: 'pDI2' may be used uninitialized [-Wmaybe-uninitialized] 550 | if(choice > pRP1+pRP2+pRP3+pBH1+pBH2+pBH3+pSP1+pSP2+pSP3+pFP+pDP+pBI1+pBI2+pBI3+pDI1+pDI2) move = 17; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BpeMvnCorScr.c:418:90: note: 'pDI2' was declared here 418 | double pRP1, pRP2, pRP3, pBH1, pBH2, pBH3, pSP1, pSP2, pSP3, pBI1, pBI2, pBI3, pDI1, pDI2, pDI3, pFP, pDP; | ^~~~ BpeMvnCorScr.c:549:88: warning: 'pDI1' may be used uninitialized [-Wmaybe-uninitialized] 549 | if(choice > pRP1+pRP2+pRP3+pBH1+pBH2+pBH3+pSP1+pSP2+pSP3+pFP+pDP+pBI1+pBI2+pBI3+pDI1) move = 16; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BpeMvnCorScr.c:418:84: note: 'pDI1' was declared here 418 | double pRP1, pRP2, pRP3, pBH1, pBH2, pBH3, pSP1, pSP2, pSP3, pBI1, pBI2, pBI3, pDI1, pDI2, pDI3, pFP, pDP; | ^~~~ BpeMvnCorScr.c:506:55: warning: 'pBI3' may be used uninitialized [-Wmaybe-uninitialized] 506 | double probSub = (1 - pMP - pDP - pBI1 - pBI2 - pBI3 - pDI1 - pDI2 - pDI3)/(numUpdate-8); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ BpeMvnCorScr.c:418:78: note: 'pBI3' was declared here 418 | double pRP1, pRP2, pRP3, pBH1, pBH2, pBH3, pSP1, pSP2, pSP3, pBI1, pBI2, pBI3, pDI1, pDI2, pDI3, pFP, pDP; | ^~~~ BpeMvnCorScr.c:506:48: warning: 'pBI2' may be used uninitialized [-Wmaybe-uninitialized] 506 | double probSub = (1 - pMP - pDP - pBI1 - pBI2 - pBI3 - pDI1 - pDI2 - pDI3)/(numUpdate-8); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BpeMvnCorScr.c:418:72: note: 'pBI2' was declared here 418 | double pRP1, pRP2, pRP3, pBH1, pBH2, pBH3, pSP1, pSP2, pSP3, pBI1, pBI2, pBI3, pDI1, pDI2, pDI3, pFP, pDP; | ^~~~ BpeMvnCorScr.c:506:41: warning: 'pBI1' may be used uninitialized [-Wmaybe-uninitialized] 506 | double probSub = (1 - pMP - pDP - pBI1 - pBI2 - pBI3 - pDI1 - pDI2 - pDI3)/(numUpdate-8); | ~~~~~~~~~~~~~~^~~~~~ BpeMvnCorScr.c:418:66: note: 'pBI1' was declared here 418 | double pRP1, pRP2, pRP3, pBH1, pBH2, pBH3, pSP1, pSP2, pSP3, pBI1, pBI2, pBI3, pDI1, pDI2, pDI3, pFP, pDP; | ^~~~ BpeMvnCorScr.c:1003:24: warning: 'theta_mean' may be used uninitialized [-Wmaybe-uninitialized] 1003 | theta_mean = ((double) StoreInx - 1) * theta_mean; | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BpeMvnCorScr.c:413:12: note: 'theta_mean' was declared here 413 | double theta_mean; | ^~~~~~~~~~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BpeMvnCorScrSM.c -o BpeMvnCorScrSM.o BpeMvnCorScrSM.c: In function 'BpeMvnCorScrSMmcmc': BpeMvnCorScrSM.c:109:32: warning: 'nP1' may be used uninitialized [-Wmaybe-uninitialized] 109 | gsl_matrix *survCov1 = gsl_matrix_calloc(*n, nP1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BpeMvnCorScrSM.c:100:9: note: 'nP1' was declared here 100 | int nP1, nP2, nP3; | ^~~ BpeMvnCorScrSM.c:110:32: warning: 'nP2' may be used uninitialized [-Wmaybe-uninitialized] 110 | gsl_matrix *survCov2 = gsl_matrix_calloc(*n, nP2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BpeMvnCorScrSM.c:100:14: note: 'nP2' was declared here 100 | int nP1, nP2, nP3; | ^~~ BpeMvnCorScrSM.c:111:32: warning: 'nP3' may be used uninitialized [-Wmaybe-uninitialized] 111 | gsl_matrix *survCov3 = gsl_matrix_calloc(*n, nP3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BpeMvnCorScrSM.c:100:19: note: 'nP3' was declared here 100 | int nP1, nP2, nP3; | ^~~ BpeMvnCorScrSM.c:601:98: warning: 'pDI3' may be used uninitialized [-Wmaybe-uninitialized] 601 | if(choice > pRP1+pRP2+pRP3+pBH1+pBH2+pBH3+pSP1+pSP2+pSP3+pFP+pDP+pBI1+pBI2+pBI3+pDI1+pDI2+pDI3) move = 18; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BpeMvnCorScrSM.c:456:96: note: 'pDI3' was declared here 456 | double pRP1, pRP2, pRP3, pBH1, pBH2, pBH3, pSP1, pSP2, pSP3, pBI1, pBI2, pBI3, pDI1, pDI2, pDI3, pFP, pDP; | ^~~~ BpeMvnCorScrSM.c:600:93: warning: 'pDI2' may be used uninitialized [-Wmaybe-uninitialized] 600 | if(choice > pRP1+pRP2+pRP3+pBH1+pBH2+pBH3+pSP1+pSP2+pSP3+pFP+pDP+pBI1+pBI2+pBI3+pDI1+pDI2) move = 17; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BpeMvnCorScrSM.c:456:90: note: 'pDI2' was declared here 456 | double pRP1, pRP2, pRP3, pBH1, pBH2, pBH3, pSP1, pSP2, pSP3, pBI1, pBI2, pBI3, pDI1, pDI2, pDI3, pFP, pDP; | ^~~~ BpeMvnCorScrSM.c:599:88: warning: 'pDI1' may be used uninitialized [-Wmaybe-uninitialized] 599 | if(choice > pRP1+pRP2+pRP3+pBH1+pBH2+pBH3+pSP1+pSP2+pSP3+pFP+pDP+pBI1+pBI2+pBI3+pDI1) move = 16; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BpeMvnCorScrSM.c:456:84: note: 'pDI1' was declared here 456 | double pRP1, pRP2, pRP3, pBH1, pBH2, pBH3, pSP1, pSP2, pSP3, pBI1, pBI2, pBI3, pDI1, pDI2, pDI3, pFP, pDP; | ^~~~ BpeMvnCorScrSM.c:556:55: warning: 'pBI3' may be used uninitialized [-Wmaybe-uninitialized] 556 | double probSub = (1 - pMP - pDP - pBI1 - pBI2 - pBI3 - pDI1 - pDI2 - pDI3)/(numUpdate-8); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ BpeMvnCorScrSM.c:456:78: note: 'pBI3' was declared here 456 | double pRP1, pRP2, pRP3, pBH1, pBH2, pBH3, pSP1, pSP2, pSP3, pBI1, pBI2, pBI3, pDI1, pDI2, pDI3, pFP, pDP; | ^~~~ BpeMvnCorScrSM.c:556:48: warning: 'pBI2' may be used uninitialized [-Wmaybe-uninitialized] 556 | double probSub = (1 - pMP - pDP - pBI1 - pBI2 - pBI3 - pDI1 - pDI2 - pDI3)/(numUpdate-8); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BpeMvnCorScrSM.c:456:72: note: 'pBI2' was declared here 456 | double pRP1, pRP2, pRP3, pBH1, pBH2, pBH3, pSP1, pSP2, pSP3, pBI1, pBI2, pBI3, pDI1, pDI2, pDI3, pFP, pDP; | ^~~~ BpeMvnCorScrSM.c:556:41: warning: 'pBI1' may be used uninitialized [-Wmaybe-uninitialized] 556 | double probSub = (1 - pMP - pDP - pBI1 - pBI2 - pBI3 - pDI1 - pDI2 - pDI3)/(numUpdate-8); | ~~~~~~~~~~~~~~^~~~~~ BpeMvnCorScrSM.c:456:66: note: 'pBI1' was declared here 456 | double pRP1, pRP2, pRP3, pBH1, pBH2, pBH3, pSP1, pSP2, pSP3, pBI1, pBI2, pBI3, pDI1, pDI2, pDI3, pFP, pDP; | ^~~~ BpeMvnCorScrSM.c:1058:24: warning: 'theta_mean' may be used uninitialized [-Wmaybe-uninitialized] 1058 | theta_mean = ((double) StoreInx - 1) * theta_mean; | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BpeMvnCorScrSM.c:446:12: note: 'theta_mean' was declared here 446 | double theta_mean; | ^~~~~~~~~~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BpeMvnCorScrSM_Updates.c -o BpeMvnCorScrSM_Updates.o BpeMvnCorScrSM_Updates.c: In function 'BpeMvnCorScrSM_updateBH1': BpeMvnCorScrSM_Updates.c:503:20: warning: variable 'nu_lam_prop' set but not used [-Wunused-but-set-variable] 503 | double nu_lam, nu_lam_prop; | ^~~~~~~~~~~ BpeMvnCorScrSM_Updates.c: In function 'BpeMvnCorScrSM_updateBH2': BpeMvnCorScrSM_Updates.c:731:20: warning: variable 'nu_lam_prop' set but not used [-Wunused-but-set-variable] 731 | double nu_lam, nu_lam_prop; | ^~~~~~~~~~~ BpeMvnCorScrSM_Updates.c: In function 'BpeMvnCorScrSM_updateBH3': BpeMvnCorScrSM_Updates.c:954:20: warning: variable 'nu_lam_prop' set but not used [-Wunused-but-set-variable] 954 | double nu_lam, nu_lam_prop; | ^~~~~~~~~~~ BpeMvnCorScrSM_Updates.c: In function 'BpeMvnCorScrSM_updateBH1': BpeMvnCorScrSM_Updates.c:563:25: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 563 | inc = - gam * Del * exp(gsl_vector_get(lambda1, j))*exp(gsl_vector_get(xbeta1, i)+gsl_vector_get(V1, jj)); | ~~~~~~^~~~~ BpeMvnCorScrSM_Updates.c:494:27: note: 'Del' was declared here 494 | double D1, D2, logLH, Del, inc, gam; | ^~~ BpeMvnCorScrSM_Updates.c:573:86: warning: 'nu_lam' may be used uninitialized [-Wmaybe-uninitialized] 573 | D1 += -1/(sigSq_lam1 * gsl_matrix_get(Q1, j, j))*(gsl_vector_get(lambda1, j)-nu_lam); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ BpeMvnCorScrSM_Updates.c:503:12: note: 'nu_lam' was declared here 503 | double nu_lam, nu_lam_prop; | ^~~~~~ BpeMvnCorScrSM_Updates.c: In function 'BpeMvnCorScrSM_updateBH2': BpeMvnCorScrSM_Updates.c:792:35: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 792 | inc = - pow(gam, nu2) * Del * exp(gsl_vector_get(lambda2, j))*exp(gsl_vector_get(xbeta2, i)+gsl_vector_get(V2, jj)); | ~~~~~~~~~~~~~~~~^~~~~ BpeMvnCorScrSM_Updates.c:722:27: note: 'Del' was declared here 722 | double D1, D2, logLH, Del, inc, gam; | ^~~ BpeMvnCorScrSM_Updates.c:802:86: warning: 'nu_lam' may be used uninitialized [-Wmaybe-uninitialized] 802 | D1 += -1/(sigSq_lam2 * gsl_matrix_get(Q2, j, j))*(gsl_vector_get(lambda2, j)-nu_lam); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ BpeMvnCorScrSM_Updates.c:731:12: note: 'nu_lam' was declared here 731 | double nu_lam, nu_lam_prop; | ^~~~~~ BpeMvnCorScrSM_Updates.c: In function 'BpeMvnCorScrSM_updateBH3': BpeMvnCorScrSM_Updates.c:1014:35: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 1014 | inc = - pow(gam, nu3) * Del * exp(gsl_vector_get(lambda3, j))*exp(gsl_vector_get(xbeta3, i)+gsl_vector_get(V3, jj)); | ~~~~~~~~~~~~~~~~^~~~~ BpeMvnCorScrSM_Updates.c:945:27: note: 'Del' was declared here 945 | double D1, D2, logLH, Del, inc, gam; | ^~~ BpeMvnCorScrSM_Updates.c:1023:86: warning: 'nu_lam' may be used uninitialized [-Wmaybe-uninitialized] 1023 | D1 += -1/(sigSq_lam3 * gsl_matrix_get(Q3, j, j))*(gsl_vector_get(lambda3, j)-nu_lam); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ BpeMvnCorScrSM_Updates.c:954:12: note: 'nu_lam' was declared here 954 | double nu_lam, nu_lam_prop; | ^~~~~~ BpeMvnCorScrSM_Updates.c: In function 'BpeMvnCorScrSM_updateDI1': BpeMvnCorScrSM_Updates.c:1833:55: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 1833 | logLH += - gsl_vector_get(gamma, i) * Del*exp(gsl_vector_get(lambda1, j))*exp(gsl_vector_get(xbeta1, i)+gsl_vector_get(V1, jj)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BpeMvnCorScrSM_Updates.c:1748:31: note: 'Del' was declared here 1748 | double logLH, logLH_prop, Del; | ^~~ BpeMvnCorScrSM_Updates.c: In function 'BpeMvnCorScrSM_updateDI2': BpeMvnCorScrSM_Updates.c:2425:55: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 2425 | logLH += - gsl_vector_get(gamma, i) * Del*exp(gsl_vector_get(lambda2, j))*exp(gsl_vector_get(xbeta2, i)+gsl_vector_get(V2, jj)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BpeMvnCorScrSM_Updates.c:2342:31: note: 'Del' was declared here 2342 | double logLH, logLH_prop, Del; | ^~~ BpeMvnCorScrSM_Updates.c: In function 'BpeMvnCorScrSM_updateDI3': BpeMvnCorScrSM_Updates.c:2996:55: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 2996 | logLH += - gsl_vector_get(gamma, i) * Del*exp(gsl_vector_get(lambda3, j))*exp(gsl_vector_get(xbeta3, i)+gsl_vector_get(V3, jj)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BpeMvnCorScrSM_Updates.c:2915:31: note: 'Del' was declared here 2915 | double logLH, logLH_prop, Del; | ^~~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BpeMvnCorScr_Updates.c -o BpeMvnCorScr_Updates.o BpeMvnCorScr_Updates.c: In function 'BpeMvnCorScr_updateBH1': BpeMvnCorScr_Updates.c:503:20: warning: variable 'nu_lam_prop' set but not used [-Wunused-but-set-variable] 503 | double nu_lam, nu_lam_prop; | ^~~~~~~~~~~ BpeMvnCorScr_Updates.c: In function 'BpeMvnCorScr_updateBH2': BpeMvnCorScr_Updates.c:732:20: warning: variable 'nu_lam_prop' set but not used [-Wunused-but-set-variable] 732 | double nu_lam, nu_lam_prop; | ^~~~~~~~~~~ BpeMvnCorScr_Updates.c: In function 'BpeMvnCorScr_updateBH3': BpeMvnCorScr_Updates.c:955:20: warning: variable 'nu_lam_prop' set but not used [-Wunused-but-set-variable] 955 | double nu_lam, nu_lam_prop; | ^~~~~~~~~~~ BpeMvnCorScr_Updates.c: In function 'BpeMvnCorScr_updateBH1': BpeMvnCorScr_Updates.c:563:25: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 563 | inc = - gam * Del * exp(gsl_vector_get(lambda1, j))*exp(gsl_vector_get(xbeta1, i)+gsl_vector_get(V1, jj)); | ~~~~~~^~~~~ BpeMvnCorScr_Updates.c:494:27: note: 'Del' was declared here 494 | double D1, D2, logLH, Del, inc, gam; | ^~~ BpeMvnCorScr_Updates.c:573:86: warning: 'nu_lam' may be used uninitialized [-Wmaybe-uninitialized] 573 | D1 += -1/(sigSq_lam1 * gsl_matrix_get(Q1, j, j))*(gsl_vector_get(lambda1, j)-nu_lam); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ BpeMvnCorScr_Updates.c:503:12: note: 'nu_lam' was declared here 503 | double nu_lam, nu_lam_prop; | ^~~~~~ BpeMvnCorScr_Updates.c: In function 'BpeMvnCorScr_updateBH2': BpeMvnCorScr_Updates.c:793:35: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 793 | inc = - pow(gam, nu2) * Del * exp(gsl_vector_get(lambda2, j))*exp(gsl_vector_get(xbeta2, i)+gsl_vector_get(V2, jj)); | ~~~~~~~~~~~~~~~~^~~~~ BpeMvnCorScr_Updates.c:723:27: note: 'Del' was declared here 723 | double D1, D2, logLH, Del, inc, gam; | ^~~ BpeMvnCorScr_Updates.c:803:86: warning: 'nu_lam' may be used uninitialized [-Wmaybe-uninitialized] 803 | D1 += -1/(sigSq_lam2 * gsl_matrix_get(Q2, j, j))*(gsl_vector_get(lambda2, j)-nu_lam); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ BpeMvnCorScr_Updates.c:732:12: note: 'nu_lam' was declared here 732 | double nu_lam, nu_lam_prop; | ^~~~~~ BpeMvnCorScr_Updates.c: In function 'BpeMvnCorScr_updateBH3': BpeMvnCorScr_Updates.c:1015:35: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 1015 | inc = - pow(gam, nu3) * Del * exp(gsl_vector_get(lambda3, j))*exp(gsl_vector_get(xbeta3, i)+gsl_vector_get(V3, jj)); | ~~~~~~~~~~~~~~~~^~~~~ BpeMvnCorScr_Updates.c:946:27: note: 'Del' was declared here 946 | double D1, D2, logLH, Del, inc, gam; | ^~~ BpeMvnCorScr_Updates.c:1024:86: warning: 'nu_lam' may be used uninitialized [-Wmaybe-uninitialized] 1024 | D1 += -1/(sigSq_lam3 * gsl_matrix_get(Q3, j, j))*(gsl_vector_get(lambda3, j)-nu_lam); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ BpeMvnCorScr_Updates.c:955:12: note: 'nu_lam' was declared here 955 | double nu_lam, nu_lam_prop; | ^~~~~~ BpeMvnCorScr_Updates.c: In function 'BpeMvnCorScr_updateDI1': BpeMvnCorScr_Updates.c:1850:55: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 1850 | logLH += - gsl_vector_get(gamma, i) * Del*exp(gsl_vector_get(lambda1, j))*exp(gsl_vector_get(xbeta1, i)+gsl_vector_get(V1, jj)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BpeMvnCorScr_Updates.c:1764:31: note: 'Del' was declared here 1764 | double logLH, logLH_prop, Del; | ^~~ BpeMvnCorScr_Updates.c: In function 'BpeMvnCorScr_updateDI2': BpeMvnCorScr_Updates.c:2461:55: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 2461 | logLH += - gsl_vector_get(gamma, i) * Del*exp(gsl_vector_get(lambda2, j))*exp(gsl_vector_get(xbeta2, i)+gsl_vector_get(V2, jj)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BpeMvnCorScr_Updates.c:2375:31: note: 'Del' was declared here 2375 | double logLH, logLH_prop, Del; | ^~~ BpeMvnCorScr_Updates.c: In function 'BpeMvnCorScr_updateDI3': BpeMvnCorScr_Updates.c:3058:55: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 3058 | logLH += - gsl_vector_get(gamma, i) * Del*exp(gsl_vector_get(lambda3, j))*exp(gsl_vector_get(xbeta3, i)+gsl_vector_get(V3, jj)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BpeMvnCorScr_Updates.c:2969:31: note: 'Del' was declared here 2969 | double logLH, logLH_prop, Del; | ^~~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BpeMvnCorSurv.c -o BpeMvnCorSurv.o BpeMvnCorSurv.c: In function 'BpeMvnCorSurvmcmc': BpeMvnCorSurv.c:201:42: warning: variable 'pVP' set but not used [-Wunused-but-set-variable] 201 | double pRP, pBH, pSP, pBI, pDI, pCP, pVP, choice; | ^~~ BpeMvnCorSurv.c:78:31: warning: 'nP' may be used uninitialized [-Wmaybe-uninitialized] 78 | gsl_matrix *survCov = gsl_matrix_calloc(*n, nP); | ^~~~~~~~~~~~~~~~~~~~~~~~~ BpeMvnCorSurv.c:73:9: note: 'nP' was declared here 73 | int nP; | ^~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BpeMvnCorSurv_Updates.c -o BpeMvnCorSurv_Updates.o BpeMvnCorSurv_Updates.c: In function 'BpeMvnCorSurv_updateBH': BpeMvnCorSurv_Updates.c:181:20: warning: variable 'nu_lam_prop' set but not used [-Wunused-but-set-variable] 181 | double nu_lam, nu_lam_prop; | ^~~~~~~~~~~ BpeMvnCorSurv_Updates.c:239:19: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 239 | inc = - Del * exp(gsl_vector_get(lambda, j))*exp(gsl_vector_get(xbeta, i)+gsl_vector_get(V, jj)); | ^~~~~ BpeMvnCorSurv_Updates.c:172:27: note: 'Del' was declared here 172 | double D1, D2, logLH, Del, inc; | ^~~ BpeMvnCorSurv_Updates.c:249:83: warning: 'nu_lam' may be used uninitialized [-Wmaybe-uninitialized] 249 | D1 += -1/(sigSq_lam * gsl_matrix_get(Q, j, j))*(gsl_vector_get(lambda, j)-nu_lam); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ BpeMvnCorSurv_Updates.c:181:12: note: 'nu_lam' was declared here 181 | double nu_lam, nu_lam_prop; | ^~~~~~ BpeMvnCorSurv_Updates.c: In function 'BpeMvnCorSurv_updateDI': BpeMvnCorSurv_Updates.c:822:28: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 822 | logLH += - Del*exp(gsl_vector_get(lambda, j))*exp(gsl_vector_get(xbeta, i)+gsl_vector_get(V, jj)); | ^~~~~ BpeMvnCorSurv_Updates.c:740:31: note: 'Del' was declared here 740 | double logLH, logLH_prop, Del; | ^~~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BpeScr.c -o BpeScr.o BpeScr.c: In function 'BpeScrmcmc': BpeScr.c:91:32: warning: 'nP1' may be used uninitialized [-Wmaybe-uninitialized] 91 | gsl_matrix *survCov1 = gsl_matrix_calloc(*n, nP1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BpeScr.c:82:9: note: 'nP1' was declared here 82 | int nP1, nP2, nP3; | ^~~ BpeScr.c:92:32: warning: 'nP2' may be used uninitialized [-Wmaybe-uninitialized] 92 | gsl_matrix *survCov2 = gsl_matrix_calloc(*n, nP2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BpeScr.c:82:14: note: 'nP2' was declared here 82 | int nP1, nP2, nP3; | ^~~ BpeScr.c:93:32: warning: 'nP3' may be used uninitialized [-Wmaybe-uninitialized] 93 | gsl_matrix *survCov3 = gsl_matrix_calloc(*n, nP3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BpeScr.c:82:19: note: 'nP3' was declared here 82 | int nP1, nP2, nP3; | ^~~ BpeScr.c:398:70: warning: 'pDI3' may be used uninitialized [-Wmaybe-uninitialized] 398 | double probSub = (1 - pDP - pBI1 - pBI2 - pBI3 - pDI1 - pDI2 - pDI3)/(numUpdate-7); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ BpeScr.c:316:96: note: 'pDI3' was declared here 316 | double pRP1, pRP2, pRP3, pBH1, pBH2, pBH3, pSP1, pSP2, pSP3, pBI1, pBI2, pBI3, pDI1, pDI2, pDI3, pFP, pDP, choice; | ^~~~ BpeScr.c:432:93: warning: 'pDI2' may be used uninitialized [-Wmaybe-uninitialized] 432 | if(choice > pRP1+pRP2+pRP3+pBH1+pBH2+pBH3+pSP1+pSP2+pSP3+pFP+pDP+pBI1+pBI2+pBI3+pDI1+pDI2) move = 17; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BpeScr.c:316:90: note: 'pDI2' was declared here 316 | double pRP1, pRP2, pRP3, pBH1, pBH2, pBH3, pSP1, pSP2, pSP3, pBI1, pBI2, pBI3, pDI1, pDI2, pDI3, pFP, pDP, choice; | ^~~~ BpeScr.c:431:88: warning: 'pDI1' may be used uninitialized [-Wmaybe-uninitialized] 431 | if(choice > pRP1+pRP2+pRP3+pBH1+pBH2+pBH3+pSP1+pSP2+pSP3+pFP+pDP+pBI1+pBI2+pBI3+pDI1) move = 16; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BpeScr.c:316:84: note: 'pDI1' was declared here 316 | double pRP1, pRP2, pRP3, pBH1, pBH2, pBH3, pSP1, pSP2, pSP3, pBI1, pBI2, pBI3, pDI1, pDI2, pDI3, pFP, pDP, choice; | ^~~~ BpeScr.c:398:49: warning: 'pBI3' may be used uninitialized [-Wmaybe-uninitialized] 398 | double probSub = (1 - pDP - pBI1 - pBI2 - pBI3 - pDI1 - pDI2 - pDI3)/(numUpdate-7); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ BpeScr.c:316:78: note: 'pBI3' was declared here 316 | double pRP1, pRP2, pRP3, pBH1, pBH2, pBH3, pSP1, pSP2, pSP3, pBI1, pBI2, pBI3, pDI1, pDI2, pDI3, pFP, pDP, choice; | ^~~~ BpeScr.c:398:42: warning: 'pBI2' may be used uninitialized [-Wmaybe-uninitialized] 398 | double probSub = (1 - pDP - pBI1 - pBI2 - pBI3 - pDI1 - pDI2 - pDI3)/(numUpdate-7); | ~~~~~~~~~~~~~~~^~~~~~ BpeScr.c:316:72: note: 'pBI2' was declared here 316 | double pRP1, pRP2, pRP3, pBH1, pBH2, pBH3, pSP1, pSP2, pSP3, pBI1, pBI2, pBI3, pDI1, pDI2, pDI3, pFP, pDP, choice; | ^~~~ BpeScr.c:398:35: warning: 'pBI1' may be used uninitialized [-Wmaybe-uninitialized] 398 | double probSub = (1 - pDP - pBI1 - pBI2 - pBI3 - pDI1 - pDI2 - pDI3)/(numUpdate-7); | ~~~~~~~~^~~~~~ BpeScr.c:316:66: note: 'pBI1' was declared here 316 | double pRP1, pRP2, pRP3, pBH1, pBH2, pBH3, pSP1, pSP2, pSP3, pBI1, pBI2, pBI3, pDI1, pDI2, pDI3, pFP, pDP, choice; | ^~~~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BpeScrSM.c -o BpeScrSM.o BpeScrSM.c: In function 'BpeScrSMmcmc': BpeScrSM.c:92:32: warning: 'nP1' may be used uninitialized [-Wmaybe-uninitialized] 92 | gsl_matrix *survCov1 = gsl_matrix_calloc(*n, nP1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BpeScrSM.c:83:9: note: 'nP1' was declared here 83 | int nP1, nP2, nP3; | ^~~ BpeScrSM.c:93:32: warning: 'nP2' may be used uninitialized [-Wmaybe-uninitialized] 93 | gsl_matrix *survCov2 = gsl_matrix_calloc(*n, nP2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BpeScrSM.c:83:14: note: 'nP2' was declared here 83 | int nP1, nP2, nP3; | ^~~ BpeScrSM.c:94:32: warning: 'nP3' may be used uninitialized [-Wmaybe-uninitialized] 94 | gsl_matrix *survCov3 = gsl_matrix_calloc(*n, nP3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BpeScrSM.c:83:19: note: 'nP3' was declared here 83 | int nP1, nP2, nP3; | ^~~ BpeScrSM.c:408:70: warning: 'pDI3' may be used uninitialized [-Wmaybe-uninitialized] 408 | double probSub = (1 - pDP - pBI1 - pBI2 - pBI3 - pDI1 - pDI2 - pDI3)/(numUpdate-7); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ BpeScrSM.c:326:96: note: 'pDI3' was declared here 326 | double pRP1, pRP2, pRP3, pBH1, pBH2, pBH3, pSP1, pSP2, pSP3, pBI1, pBI2, pBI3, pDI1, pDI2, pDI3, pFP, pDP, choice; | ^~~~ BpeScrSM.c:442:93: warning: 'pDI2' may be used uninitialized [-Wmaybe-uninitialized] 442 | if(choice > pRP1+pRP2+pRP3+pBH1+pBH2+pBH3+pSP1+pSP2+pSP3+pFP+pDP+pBI1+pBI2+pBI3+pDI1+pDI2) move = 17; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BpeScrSM.c:326:90: note: 'pDI2' was declared here 326 | double pRP1, pRP2, pRP3, pBH1, pBH2, pBH3, pSP1, pSP2, pSP3, pBI1, pBI2, pBI3, pDI1, pDI2, pDI3, pFP, pDP, choice; | ^~~~ BpeScrSM.c:441:88: warning: 'pDI1' may be used uninitialized [-Wmaybe-uninitialized] 441 | if(choice > pRP1+pRP2+pRP3+pBH1+pBH2+pBH3+pSP1+pSP2+pSP3+pFP+pDP+pBI1+pBI2+pBI3+pDI1) move = 16; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BpeScrSM.c:326:84: note: 'pDI1' was declared here 326 | double pRP1, pRP2, pRP3, pBH1, pBH2, pBH3, pSP1, pSP2, pSP3, pBI1, pBI2, pBI3, pDI1, pDI2, pDI3, pFP, pDP, choice; | ^~~~ BpeScrSM.c:408:49: warning: 'pBI3' may be used uninitialized [-Wmaybe-uninitialized] 408 | double probSub = (1 - pDP - pBI1 - pBI2 - pBI3 - pDI1 - pDI2 - pDI3)/(numUpdate-7); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ BpeScrSM.c:326:78: note: 'pBI3' was declared here 326 | double pRP1, pRP2, pRP3, pBH1, pBH2, pBH3, pSP1, pSP2, pSP3, pBI1, pBI2, pBI3, pDI1, pDI2, pDI3, pFP, pDP, choice; | ^~~~ BpeScrSM.c:408:42: warning: 'pBI2' may be used uninitialized [-Wmaybe-uninitialized] 408 | double probSub = (1 - pDP - pBI1 - pBI2 - pBI3 - pDI1 - pDI2 - pDI3)/(numUpdate-7); | ~~~~~~~~~~~~~~~^~~~~~ BpeScrSM.c:326:72: note: 'pBI2' was declared here 326 | double pRP1, pRP2, pRP3, pBH1, pBH2, pBH3, pSP1, pSP2, pSP3, pBI1, pBI2, pBI3, pDI1, pDI2, pDI3, pFP, pDP, choice; | ^~~~ BpeScrSM.c:408:35: warning: 'pBI1' may be used uninitialized [-Wmaybe-uninitialized] 408 | double probSub = (1 - pDP - pBI1 - pBI2 - pBI3 - pDI1 - pDI2 - pDI3)/(numUpdate-7); | ~~~~~~~~^~~~~~ BpeScrSM.c:326:66: note: 'pBI1' was declared here 326 | double pRP1, pRP2, pRP3, pBH1, pBH2, pBH3, pSP1, pSP2, pSP3, pBI1, pBI2, pBI3, pDI1, pDI2, pDI3, pFP, pDP, choice; | ^~~~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BpeScrSM_Updates.c -o BpeScrSM_Updates.o BpeScrSM_Updates.c: In function 'BscrSM_updateBH1': BpeScrSM_Updates.c:519:20: warning: variable 'nu_lam_prop' set but not used [-Wunused-but-set-variable] 519 | double nu_lam, nu_lam_prop; | ^~~~~~~~~~~ BpeScrSM_Updates.c: In function 'BscrSM_updateBH2': BpeScrSM_Updates.c:728:20: warning: variable 'nu_lam_prop' set but not used [-Wunused-but-set-variable] 728 | double nu_lam, nu_lam_prop; | ^~~~~~~~~~~ BpeScrSM_Updates.c: In function 'BscrSM_updateBH3': BpeScrSM_Updates.c:949:20: warning: variable 'nu_lam_prop' set but not used [-Wunused-but-set-variable] 949 | double nu_lam, nu_lam_prop; | ^~~~~~~~~~~ BpeScrSM_Updates.c: In function 'BscrSM_updateBH1': BpeScrSM_Updates.c:578:25: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 578 | inc = - gam * Del * exp(gsl_vector_get(lambda1, j))*exp(gsl_vector_get(xbeta1, i)); | ~~~~~~^~~~~ BpeScrSM_Updates.c:510:27: note: 'Del' was declared here 510 | double D1, D2, logLH, Del, inc, gam; | ^~~ BpeScrSM_Updates.c:588:86: warning: 'nu_lam' may be used uninitialized [-Wmaybe-uninitialized] 588 | D1 += -1/(sigSq_lam1 * gsl_matrix_get(Q1, j, j))*(gsl_vector_get(lambda1, j)-nu_lam); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ BpeScrSM_Updates.c:519:12: note: 'nu_lam' was declared here 519 | double nu_lam, nu_lam_prop; | ^~~~~~ BpeScrSM_Updates.c: In function 'BscrSM_updateBH2': BpeScrSM_Updates.c:785:25: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 785 | inc = - gam * Del * exp(gsl_vector_get(lambda2, j))*exp(gsl_vector_get(xbeta2, i)); | ~~~~~~^~~~~ BpeScrSM_Updates.c:719:27: note: 'Del' was declared here 719 | double D1, D2, logLH, Del, inc, gam; | ^~~ BpeScrSM_Updates.c:795:86: warning: 'nu_lam' may be used uninitialized [-Wmaybe-uninitialized] 795 | D1 += -1/(sigSq_lam2 * gsl_matrix_get(Q2, j, j))*(gsl_vector_get(lambda2, j)-nu_lam); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ BpeScrSM_Updates.c:728:12: note: 'nu_lam' was declared here 728 | double nu_lam, nu_lam_prop; | ^~~~~~ BpeScrSM_Updates.c: In function 'BscrSM_updateDI1': BpeScrSM_Updates.c:1842:55: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 1842 | logLH += - gsl_vector_get(gamma, i) * Del*exp(gsl_vector_get(lambda1, j))*exp(gsl_vector_get(xbeta1, i)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BpeScrSM_Updates.c:1760:31: note: 'Del' was declared here 1760 | double logLH, logLH_prop, Del; | ^~~ BpeScrSM_Updates.c: In function 'BscrSM_updateDI2': BpeScrSM_Updates.c:2380:55: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 2380 | logLH += - gsl_vector_get(gamma, i) * Del*exp(gsl_vector_get(lambda2, j))*exp(gsl_vector_get(xbeta2, i)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BpeScrSM_Updates.c:2298:31: note: 'Del' was declared here 2298 | double logLH, logLH_prop, Del; | ^~~ BpeScrSM_Updates.c: In function 'BscrSM_updateDI3': BpeScrSM_Updates.c:2918:55: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 2918 | logLH += - gsl_vector_get(gamma, i) * Del*exp(gsl_vector_get(lambda3, j))*exp(gsl_vector_get(xbeta3, i)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BpeScrSM_Updates.c:2837:31: note: 'Del' was declared here 2837 | double logLH, logLH_prop, Del; | ^~~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BpeScr_Updates.c -o BpeScr_Updates.o BpeScr_Updates.c: In function 'Bscr_updateBH1': BpeScr_Updates.c:520:20: warning: variable 'nu_lam_prop' set but not used [-Wunused-but-set-variable] 520 | double nu_lam, nu_lam_prop; | ^~~~~~~~~~~ BpeScr_Updates.c: In function 'Bscr_updateBH2': BpeScr_Updates.c:736:20: warning: variable 'nu_lam_prop' set but not used [-Wunused-but-set-variable] 736 | double nu_lam, nu_lam_prop; | ^~~~~~~~~~~ BpeScr_Updates.c: In function 'Bscr_updateBH3': BpeScr_Updates.c:958:20: warning: variable 'nu_lam_prop' set but not used [-Wunused-but-set-variable] 958 | double nu_lam, nu_lam_prop; | ^~~~~~~~~~~ BpeScr_Updates.c: In function 'Bscr_updateBH1': BpeScr_Updates.c:579:25: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 579 | inc = - gam * Del * exp(gsl_vector_get(lambda1, j))*exp(gsl_vector_get(xbeta1, i)); | ~~~~~~^~~~~ BpeScr_Updates.c:511:27: note: 'Del' was declared here 511 | double D1, D2, logLH, Del, inc, gam; | ^~~ BpeScr_Updates.c:589:86: warning: 'nu_lam' may be used uninitialized [-Wmaybe-uninitialized] 589 | D1 += -1/(sigSq_lam1 * gsl_matrix_get(Q1, j, j))*(gsl_vector_get(lambda1, j)-nu_lam); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ BpeScr_Updates.c:520:12: note: 'nu_lam' was declared here 520 | double nu_lam, nu_lam_prop; | ^~~~~~ BpeScr_Updates.c: In function 'Bscr_updateBH2': BpeScr_Updates.c:794:25: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 794 | inc = - gam * Del * exp(gsl_vector_get(lambda2, j))*exp(gsl_vector_get(xbeta2, i)); | ~~~~~~^~~~~ BpeScr_Updates.c:727:27: note: 'Del' was declared here 727 | double D1, D2, logLH, Del, inc, gam; | ^~~ BpeScr_Updates.c:804:86: warning: 'nu_lam' may be used uninitialized [-Wmaybe-uninitialized] 804 | D1 += -1/(sigSq_lam2 * gsl_matrix_get(Q2, j, j))*(gsl_vector_get(lambda2, j)-nu_lam); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ BpeScr_Updates.c:736:12: note: 'nu_lam' was declared here 736 | double nu_lam, nu_lam_prop; | ^~~~~~ BpeScr_Updates.c: In function 'Bscr_updateBH3': BpeScr_Updates.c:1017:25: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 1017 | inc = - gam * Del * exp(gsl_vector_get(lambda3, j))*exp(gsl_vector_get(xbeta3, i)); | ~~~~~~^~~~~ BpeScr_Updates.c:949:27: note: 'Del' was declared here 949 | double D1, D2, logLH, Del, inc, gam; | ^~~ BpeScr_Updates.c:1027:86: warning: 'nu_lam' may be used uninitialized [-Wmaybe-uninitialized] 1027 | D1 += -1/(sigSq_lam3 * gsl_matrix_get(Q3, j, j))*(gsl_vector_get(lambda3, j)-nu_lam); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ BpeScr_Updates.c:958:12: note: 'nu_lam' was declared here 958 | double nu_lam, nu_lam_prop; | ^~~~~~ BpeScr_Updates.c: In function 'Bscr_updateDI1': BpeScr_Updates.c:1863:55: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 1863 | logLH += - gsl_vector_get(gamma, i) * Del*exp(gsl_vector_get(lambda1, j))*exp(gsl_vector_get(xbeta1, i)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BpeScr_Updates.c:1779:31: note: 'Del' was declared here 1779 | double logLH, logLH_prop, Del; | ^~~ BpeScr_Updates.c: In function 'Bscr_updateDI2': BpeScr_Updates.c:2423:55: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 2423 | logLH += - gsl_vector_get(gamma, i) * Del*exp(gsl_vector_get(lambda2, j))*exp(gsl_vector_get(xbeta2, i)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BpeScr_Updates.c:2340:31: note: 'Del' was declared here 2340 | double logLH, logLH_prop, Del; | ^~~ BpeScr_Updates.c: In function 'Bscr_updateDI3': BpeScr_Updates.c:2964:55: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 2964 | logLH += - gsl_vector_get(gamma, i) * Del*exp(gsl_vector_get(lambda3, j))*exp(gsl_vector_get(xbeta3, i)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BpeScr_Updates.c:2883:31: note: 'Del' was declared here 2883 | double logLH, logLH_prop, Del; | ^~~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BpeSurv.c -o BpeSurv.o BpeSurv.c: In function 'BpeSurvmcmc': BpeSurv.c:64:27: warning: 'nP' may be used uninitialized [-Wmaybe-uninitialized] 64 | gsl_matrix *survCov = gsl_matrix_calloc(*n, nP); | ^~~~~~~~~~~~~~~~~~~~~~~~~ BpeSurv.c:59:9: note: 'nP' was declared here 59 | int nP; | ^~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BpeSurv_Updates.c -o BpeSurv_Updates.o BpeSurv_Updates.c: In function 'BpeSur_updateBH2': BpeSurv_Updates.c:313:20: warning: variable 'nu_lam_prop' set but not used [-Wunused-but-set-variable] 313 | double nu_lam, nu_lam_prop; | ^~~~~~~~~~~ BpeSurv_Updates.c: In function 'BpeSur_updateBH1': BpeSurv_Updates.c:518:20: warning: variable 'nu_lam_prop' set but not used [-Wunused-but-set-variable] 518 | double nu_lam, nu_lam_prop; | ^~~~~~~~~~~ BpeSurv_Updates.c: In function 'BpeSur_updateBH2': BpeSurv_Updates.c:366:19: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 366 | inc = - Del*exp(gsl_vector_get(lambda, j))*exp(gsl_vector_get(xbeta, i)); | ^~~~~ BpeSurv_Updates.c:304:27: note: 'Del' was declared here 304 | double D1, D2, logLH, Del, inc; | ^~~ BpeSurv_Updates.c:374:83: warning: 'nu_lam' may be used uninitialized [-Wmaybe-uninitialized] 374 | D1 += -1/(sigSq_lam * gsl_matrix_get(Q, j, j))*(gsl_vector_get(lambda, j)-nu_lam); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ BpeSurv_Updates.c:313:12: note: 'nu_lam' was declared here 313 | double nu_lam, nu_lam_prop; | ^~~~~~ BpeSurv_Updates.c: In function 'BpeSur_updateBH1': BpeSurv_Updates.c:552:108: warning: 'nu_lam' may be used uninitialized [-Wmaybe-uninitialized] 552 | D1 += gsl_vector_get(nEvent, j)-1/(sigSq_lam * gsl_matrix_get(Q, j, j))*(gsl_vector_get(lambda, j)-nu_lam); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ BpeSurv_Updates.c:518:12: note: 'nu_lam' was declared here 518 | double nu_lam, nu_lam_prop; | ^~~~~~ BpeSurv_Updates.c: In function 'BpeSur_updateDI2': BpeSurv_Updates.c:1362:28: warning: 'Del' may be used uninitialized [-Wmaybe-uninitialized] 1362 | logLH += - Del*exp(gsl_vector_get(lambda, j))*exp(gsl_vector_get(xbeta, i)); | ^~~~~ BpeSurv_Updates.c:1283:31: note: 'Del' was declared here 1283 | double logLH, logLH_prop, Del; | ^~~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BweibCorSurv.c -o BweibCorSurv.o BweibCorSurv.c: In function 'BweibCorSurvmcmc': BweibCorSurv.c:144:32: warning: variable 'pVP' set but not used [-Wunused-but-set-variable] 144 | double pRP, pSH, pSC, pCP, pVP, choice; | ^~~ BweibCorSurv.c:71:31: warning: 'nP' may be used uninitialized [-Wmaybe-uninitialized] 71 | gsl_matrix *survCov = gsl_matrix_calloc(*n, nP); | ^~~~~~~~~~~~~~~~~~~~~~~~~ BweibCorSurv.c:66:9: note: 'nP' was declared here 66 | int nP; | ^~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BweibCorSurv_Updates.c -o BweibCorSurv_Updates.o gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BweibDpCorScr.c -o BweibDpCorScr.o BweibDpCorScr.c: In function 'BweibDpCorScrmcmc': BweibDpCorScr.c:118:32: warning: 'nP1' may be used uninitialized [-Wmaybe-uninitialized] 118 | gsl_matrix *survCov1 = gsl_matrix_calloc(*n, nP1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BweibDpCorScr.c:109:9: note: 'nP1' was declared here 109 | int nP1, nP2, nP3; | ^~~ BweibDpCorScr.c:119:32: warning: 'nP2' may be used uninitialized [-Wmaybe-uninitialized] 119 | gsl_matrix *survCov2 = gsl_matrix_calloc(*n, nP2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BweibDpCorScr.c:109:14: note: 'nP2' was declared here 109 | int nP1, nP2, nP3; | ^~~ BweibDpCorScr.c:120:32: warning: 'nP3' may be used uninitialized [-Wmaybe-uninitialized] 120 | gsl_matrix *survCov3 = gsl_matrix_calloc(*n, nP3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BweibDpCorScr.c:109:19: note: 'nP3' was declared here 109 | int nP1, nP2, nP3; | ^~~ BweibDpCorScr.c:745:24: warning: 'theta_mean' may be used uninitialized [-Wmaybe-uninitialized] 745 | theta_mean = ((double) StoreInx - 1) * theta_mean; | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BweibDpCorScr.c:348:12: note: 'theta_mean' was declared here 348 | double theta_mean; | ^~~~~~~~~~ BweibDpCorScr.c:741:25: warning: 'kappa3_mean' may be used uninitialized [-Wmaybe-uninitialized] 741 | kappa3_mean = ((double) StoreInx - 1) * kappa3_mean; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BweibDpCorScr.c:346:38: note: 'kappa3_mean' was declared here 346 | double kappa1_mean, kappa2_mean, kappa3_mean; | ^~~~~~~~~~~ BweibDpCorScr.c:737:25: warning: 'kappa2_mean' may be used uninitialized [-Wmaybe-uninitialized] 737 | kappa2_mean = ((double) StoreInx - 1) * kappa2_mean; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BweibDpCorScr.c:346:25: note: 'kappa2_mean' was declared here 346 | double kappa1_mean, kappa2_mean, kappa3_mean; | ^~~~~~~~~~~ BweibDpCorScr.c:733:25: warning: 'kappa1_mean' may be used uninitialized [-Wmaybe-uninitialized] 733 | kappa1_mean = ((double) StoreInx - 1) * kappa1_mean; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BweibDpCorScr.c:346:12: note: 'kappa1_mean' was declared here 346 | double kappa1_mean, kappa2_mean, kappa3_mean; | ^~~~~~~~~~~ BweibDpCorScr.c:729:25: warning: 'alpha3_mean' may be used uninitialized [-Wmaybe-uninitialized] 729 | alpha3_mean = ((double) StoreInx - 1) * alpha3_mean; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BweibDpCorScr.c:345:38: note: 'alpha3_mean' was declared here 345 | double alpha1_mean, alpha2_mean, alpha3_mean; | ^~~~~~~~~~~ BweibDpCorScr.c:725:25: warning: 'alpha2_mean' may be used uninitialized [-Wmaybe-uninitialized] 725 | alpha2_mean = ((double) StoreInx - 1) * alpha2_mean; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BweibDpCorScr.c:345:25: note: 'alpha2_mean' was declared here 345 | double alpha1_mean, alpha2_mean, alpha3_mean; | ^~~~~~~~~~~ BweibDpCorScr.c:721:25: warning: 'alpha1_mean' may be used uninitialized [-Wmaybe-uninitialized] 721 | alpha1_mean = ((double) StoreInx - 1) * alpha1_mean; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BweibDpCorScr.c:345:12: note: 'alpha1_mean' was declared here 345 | double alpha1_mean, alpha2_mean, alpha3_mean; | ^~~~~~~~~~~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BweibDpCorScrSM.c -o BweibDpCorScrSM.o BweibDpCorScrSM.c: In function 'BweibDpCorScrSMmcmc': BweibDpCorScrSM.c:120:32: warning: 'nP1' may be used uninitialized [-Wmaybe-uninitialized] 120 | gsl_matrix *survCov1 = gsl_matrix_calloc(*n, nP1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BweibDpCorScrSM.c:111:9: note: 'nP1' was declared here 111 | int nP1, nP2, nP3; | ^~~ BweibDpCorScrSM.c:121:32: warning: 'nP2' may be used uninitialized [-Wmaybe-uninitialized] 121 | gsl_matrix *survCov2 = gsl_matrix_calloc(*n, nP2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BweibDpCorScrSM.c:111:14: note: 'nP2' was declared here 111 | int nP1, nP2, nP3; | ^~~ BweibDpCorScrSM.c:122:32: warning: 'nP3' may be used uninitialized [-Wmaybe-uninitialized] 122 | gsl_matrix *survCov3 = gsl_matrix_calloc(*n, nP3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BweibDpCorScrSM.c:111:19: note: 'nP3' was declared here 111 | int nP1, nP2, nP3; | ^~~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BweibDpCorScrSM_Updates.c -o BweibDpCorScrSM_Updates.o gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BweibDpCorScr_Updates.c -o BweibDpCorScr_Updates.o gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BweibDpCorSurv.c -o BweibDpCorSurv.o BweibDpCorSurv.c: In function 'BweibDpCorSurvmcmc': BweibDpCorSurv.c:88:31: warning: 'nP' may be used uninitialized [-Wmaybe-uninitialized] 88 | gsl_matrix *survCov = gsl_matrix_calloc(*n, nP); | ^~~~~~~~~~~~~~~~~~~~~~~~~ BweibDpCorSurv.c:83:9: note: 'nP' was declared here 83 | int nP; | ^~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BweibDpCorSurv_Updates.c -o BweibDpCorSurv_Updates.o BweibDpCorSurv_Updates.c: In function 'BweibDpCorSurv_updateCP': BweibDpCorSurv_Updates.c:553:18: warning: variable 'mu_temp' set but not used [-Wunused-but-set-variable] 553 | double logR, mu_temp, zeta_temp; | ^~~~~~~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BweibMvnCorScr.c -o BweibMvnCorScr.o BweibMvnCorScr.c: In function 'BweibMvnCorScrmcmc': BweibMvnCorScr.c:320:99: warning: variable 'pVP' set but not used [-Wunused-but-set-variable] 320 | double pRP1, pRP2, pRP3, pSH1, pSH2, pSH3, pSC1, pSC2, pSC3, pDP, pFP, pMP, pCP1, pCP2, pCP3, pVP, choice; | ^~~ BweibMvnCorScr.c:102:32: warning: 'nP1' may be used uninitialized [-Wmaybe-uninitialized] 102 | gsl_matrix *survCov1 = gsl_matrix_calloc(*n, nP1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BweibMvnCorScr.c:93:9: note: 'nP1' was declared here 93 | int nP1, nP2, nP3; | ^~~ BweibMvnCorScr.c:103:32: warning: 'nP2' may be used uninitialized [-Wmaybe-uninitialized] 103 | gsl_matrix *survCov2 = gsl_matrix_calloc(*n, nP2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BweibMvnCorScr.c:93:14: note: 'nP2' was declared here 93 | int nP1, nP2, nP3; | ^~~ BweibMvnCorScr.c:104:32: warning: 'nP3' may be used uninitialized [-Wmaybe-uninitialized] 104 | gsl_matrix *survCov3 = gsl_matrix_calloc(*n, nP3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BweibMvnCorScr.c:93:19: note: 'nP3' was declared here 93 | int nP1, nP2, nP3; | ^~~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BweibMvnCorScrSM.c -o BweibMvnCorScrSM.o BweibMvnCorScrSM.c: In function 'BweibMvnCorScrSMmcmc': BweibMvnCorScrSM.c:335:99: warning: variable 'pVP' set but not used [-Wunused-but-set-variable] 335 | double pRP1, pRP2, pRP3, pSH1, pSH2, pSH3, pSC1, pSC2, pSC3, pDP, pFP, pMP, pCP1, pCP2, pCP3, pVP, choice; | ^~~ BweibMvnCorScrSM.c:102:32: warning: 'nP1' may be used uninitialized [-Wmaybe-uninitialized] 102 | gsl_matrix *survCov1 = gsl_matrix_calloc(*n, nP1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BweibMvnCorScrSM.c:93:9: note: 'nP1' was declared here 93 | int nP1, nP2, nP3; | ^~~ BweibMvnCorScrSM.c:103:32: warning: 'nP2' may be used uninitialized [-Wmaybe-uninitialized] 103 | gsl_matrix *survCov2 = gsl_matrix_calloc(*n, nP2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BweibMvnCorScrSM.c:93:14: note: 'nP2' was declared here 93 | int nP1, nP2, nP3; | ^~~ BweibMvnCorScrSM.c:104:32: warning: 'nP3' may be used uninitialized [-Wmaybe-uninitialized] 104 | gsl_matrix *survCov3 = gsl_matrix_calloc(*n, nP3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BweibMvnCorScrSM.c:93:19: note: 'nP3' was declared here 93 | int nP1, nP2, nP3; | ^~~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BweibMvnCorScrSM_Updates.c -o BweibMvnCorScrSM_Updates.o gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BweibMvnCorScr_Updates.c -o BweibMvnCorScr_Updates.o gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BweibScr.c -o BweibScr.o BweibScr.c: In function 'BweibScrmcmc': BweibScr.c:231:71: warning: variable 'pFP' set but not used [-Wunused-but-set-variable] 231 | double pRP1, pRP2, pRP3, pSH1, pSH2, pSH3, pSC1, pSC2, pSC3, pDP, pFP, choice; | ^~~ BweibScr.c:85:32: warning: 'nP1' may be used uninitialized [-Wmaybe-uninitialized] 85 | gsl_matrix *survCov1 = gsl_matrix_calloc(*n, nP1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BweibScr.c:76:9: note: 'nP1' was declared here 76 | int nP1, nP2, nP3; | ^~~ BweibScr.c:86:32: warning: 'nP2' may be used uninitialized [-Wmaybe-uninitialized] 86 | gsl_matrix *survCov2 = gsl_matrix_calloc(*n, nP2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BweibScr.c:76:14: note: 'nP2' was declared here 76 | int nP1, nP2, nP3; | ^~~ BweibScr.c:87:32: warning: 'nP3' may be used uninitialized [-Wmaybe-uninitialized] 87 | gsl_matrix *survCov3 = gsl_matrix_calloc(*n, nP3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BweibScr.c:76:19: note: 'nP3' was declared here 76 | int nP1, nP2, nP3; | ^~~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BweibScrSM.c -o BweibScrSM.o BweibScrSM.c: In function 'BweibScrSMmcmc': BweibScrSM.c:237:71: warning: variable 'pFP' set but not used [-Wunused-but-set-variable] 237 | double pRP1, pRP2, pRP3, pSH1, pSH2, pSH3, pSC1, pSC2, pSC3, pDP, pFP, choice; | ^~~ BweibScrSM.c:85:32: warning: 'nP1' may be used uninitialized [-Wmaybe-uninitialized] 85 | gsl_matrix *survCov1 = gsl_matrix_calloc(*n, nP1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BweibScrSM.c:76:9: note: 'nP1' was declared here 76 | int nP1, nP2, nP3; | ^~~ BweibScrSM.c:86:32: warning: 'nP2' may be used uninitialized [-Wmaybe-uninitialized] 86 | gsl_matrix *survCov2 = gsl_matrix_calloc(*n, nP2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BweibScrSM.c:76:14: note: 'nP2' was declared here 76 | int nP1, nP2, nP3; | ^~~ BweibScrSM.c:87:32: warning: 'nP3' may be used uninitialized [-Wmaybe-uninitialized] 87 | gsl_matrix *survCov3 = gsl_matrix_calloc(*n, nP3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BweibScrSM.c:76:19: note: 'nP3' was declared here 76 | int nP1, nP2, nP3; | ^~~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BweibScrSM_Updates.c -o BweibScrSM_Updates.o gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BweibScr_Updates.c -o BweibScr_Updates.o gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BweibSurv.c -o BweibSurv.o BweibSurv.c: In function 'BweibSurvmcmc': BweibSurv.c:109:22: warning: variable 'pSC' set but not used [-Wunused-but-set-variable] 109 | double pRP, pSH, pSC, choice; | ^~~ BweibSurv.c:62:27: warning: 'nP' may be used uninitialized [-Wmaybe-uninitialized] 62 | gsl_matrix *survCov = gsl_matrix_calloc(*n, nP); | ^~~~~~~~~~~~~~~~~~~~~~~~~ BweibSurv.c:57:9: note: 'nP' was declared here 57 | int nP; | ^~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BweibSurv_Updates.c -o BweibSurv_Updates.o gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Utilities.c -o Utilities.o Utilities.c: In function 'log_fg_BAFT_DP': Utilities.c:6029:64: warning: variable 'temp' set but not used [-Wunused-but-set-variable] 6029 | double mu_k, sigSq_k, mixProb_den, val1, val2, log1, logk, temp; | ^~~~ Utilities.c:6029:58: warning: variable 'logk' set but not used [-Wunused-but-set-variable] 6029 | double mu_k, sigSq_k, mixProb_den, val1, val2, log1, logk, temp; | ^~~~ Utilities.c:6029:52: warning: variable 'log1' set but not used [-Wunused-but-set-variable] 6029 | double mu_k, sigSq_k, mixProb_den, val1, val2, log1, logk, temp; | ^~~~ Utilities.c: In function 'log_Jpdf_Upper_BAFT_LN': Utilities.c:6382:35: warning: variable 'y2_temp' set but not used [-Wunused-but-set-variable] 6382 | double eta1, eta2, eta3, gam, y2_temp; | ^~~~~~~ Utilities.c: In function 'c_multinom_sample': Utilities.c:3487:5: warning: '<unknown>' may be used uninitialized [-Wmaybe-uninitialized] 3487 | gsl_ran_multinomial(rr, KK, 1, probK, samples); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Utilities.c:14: d:\rtools43\x86_64-w64-mingw32.static.posix\include\gsl\gsl_randist.h:154:6: note: by argument 4 of type 'const double[]' to 'gsl_ran_multinomial' declared here 154 | void gsl_ran_multinomial (const gsl_rng * r, const size_t K, | ^~~~~~~~~~~~~~~~~~~ Utilities.c:3494:12: warning: 'val' may be used uninitialized [-Wmaybe-uninitialized] 3494 | return val; | ^~~ Utilities.c:3476:13: note: 'val' was declared here 3476 | int ii, val; | ^~~ Utilities.c: In function 'BweibMvnCorScr_logMLH_DIC': Utilities.c:6630:32: warning: 'nP1' may be used uninitialized [-Wmaybe-uninitialized] 6630 | gsl_matrix *survCov1 = gsl_matrix_calloc(*n, nP1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Utilities.c:6621:9: note: 'nP1' was declared here 6621 | int nP1, nP2, nP3; | ^~~ Utilities.c:6631:32: warning: 'nP2' may be used uninitialized [-Wmaybe-uninitialized] 6631 | gsl_matrix *survCov2 = gsl_matrix_calloc(*n, nP2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Utilities.c:6621:14: note: 'nP2' was declared here 6621 | int nP1, nP2, nP3; | ^~~ Utilities.c:6632:32: warning: 'nP3' may be used uninitialized [-Wmaybe-uninitialized] 6632 | gsl_matrix *survCov3 = gsl_matrix_calloc(*n, nP3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Utilities.c:6621:19: note: 'nP3' was declared here 6621 | int nP1, nP2, nP3; | ^~~ Utilities.c: In function 'BweibMvnCorScrSM_logMLH_DIC': Utilities.c:6813:32: warning: 'nP1' may be used uninitialized [-Wmaybe-uninitialized] 6813 | gsl_matrix *survCov1 = gsl_matrix_calloc(*n, nP1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Utilities.c:6804:9: note: 'nP1' was declared here 6804 | int nP1, nP2, nP3; | ^~~ Utilities.c:6814:32: warning: 'nP2' may be used uninitialized [-Wmaybe-uninitialized] 6814 | gsl_matrix *survCov2 = gsl_matrix_calloc(*n, nP2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Utilities.c:6804:14: note: 'nP2' was declared here 6804 | int nP1, nP2, nP3; | ^~~ Utilities.c:6815:32: warning: 'nP3' may be used uninitialized [-Wmaybe-uninitialized] 6815 | gsl_matrix *survCov3 = gsl_matrix_calloc(*n, nP3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Utilities.c:6804:19: note: 'nP3' was declared here 6804 | int nP1, nP2, nP3; | ^~~ Utilities.c: In function 'BpeMvnCorScr_logMLH_DIC': Utilities.c:7364:32: warning: 'nP1' may be used uninitialized [-Wmaybe-uninitialized] 7364 | gsl_matrix *survCov1 = gsl_matrix_calloc(*n, nP1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Utilities.c:7355:9: note: 'nP1' was declared here 7355 | int nP1, nP2, nP3; | ^~~ Utilities.c:7365:32: warning: 'nP2' may be used uninitialized [-Wmaybe-uninitialized] 7365 | gsl_matrix *survCov2 = gsl_matrix_calloc(*n, nP2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Utilities.c:7355:14: note: 'nP2' was declared here 7355 | int nP1, nP2, nP3; | ^~~ Utilities.c:7366:32: warning: 'nP3' may be used uninitialized [-Wmaybe-uninitialized] 7366 | gsl_matrix *survCov3 = gsl_matrix_calloc(*n, nP3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Utilities.c:7355:19: note: 'nP3' was declared here 7355 | int nP1, nP2, nP3; | ^~~ Utilities.c: In function 'BpeMvnCorScrSM_logMLH_DIC': Utilities.c:7595:32: warning: 'nP1' may be used uninitialized [-Wmaybe-uninitialized] 7595 | gsl_matrix *survCov1 = gsl_matrix_calloc(*n, nP1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Utilities.c:7586:9: note: 'nP1' was declared here 7586 | int nP1, nP2, nP3; | ^~~ Utilities.c:7596:32: warning: 'nP2' may be used uninitialized [-Wmaybe-uninitialized] 7596 | gsl_matrix *survCov2 = gsl_matrix_calloc(*n, nP2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Utilities.c:7586:14: note: 'nP2' was declared here 7586 | int nP1, nP2, nP3; | ^~~ Utilities.c:7597:32: warning: 'nP3' may be used uninitialized [-Wmaybe-uninitialized] 7597 | gsl_matrix *survCov3 = gsl_matrix_calloc(*n, nP3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Utilities.c:7586:19: note: 'nP3' was declared here 7586 | int nP1, nP2, nP3; | ^~~ Utilities.c: In function 'BweibScr_logMLH_DIC': Utilities.c:8450:32: warning: 'nP1' may be used uninitialized [-Wmaybe-uninitialized] 8450 | gsl_matrix *survCov1 = gsl_matrix_calloc(*n, nP1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Utilities.c:8441:9: note: 'nP1' was declared here 8441 | int nP1, nP2, nP3; | ^~~ Utilities.c:8451:32: warning: 'nP2' may be used uninitialized [-Wmaybe-uninitialized] 8451 | gsl_matrix *survCov2 = gsl_matrix_calloc(*n, nP2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Utilities.c:8441:14: note: 'nP2' was declared here 8441 | int nP1, nP2, nP3; | ^~~ Utilities.c:8452:32: warning: 'nP3' may be used uninitialized [-Wmaybe-uninitialized] 8452 | gsl_matrix *survCov3 = gsl_matrix_calloc(*n, nP3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Utilities.c:8441:19: note: 'nP3' was declared here 8441 | int nP1, nP2, nP3; | ^~~ Utilities.c: In function 'BweibScrSM_logMLH_DIC': Utilities.c:8619:32: warning: 'nP1' may be used uninitialized [-Wmaybe-uninitialized] 8619 | gsl_matrix *survCov1 = gsl_matrix_calloc(*n, nP1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Utilities.c:8610:9: note: 'nP1' was declared here 8610 | int nP1, nP2, nP3; | ^~~ Utilities.c:8620:32: warning: 'nP2' may be used uninitialized [-Wmaybe-uninitialized] 8620 | gsl_matrix *survCov2 = gsl_matrix_calloc(*n, nP2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Utilities.c:8610:14: note: 'nP2' was declared here 8610 | int nP1, nP2, nP3; | ^~~ Utilities.c:8621:32: warning: 'nP3' may be used uninitialized [-Wmaybe-uninitialized] 8621 | gsl_matrix *survCov3 = gsl_matrix_calloc(*n, nP3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Utilities.c:8610:19: note: 'nP3' was declared here 8610 | int nP1, nP2, nP3; | ^~~ Utilities.c: In function 'BpeScr_logMLH_DIC': Utilities.c:9128:32: warning: 'nP1' may be used uninitialized [-Wmaybe-uninitialized] 9128 | gsl_matrix *survCov1 = gsl_matrix_calloc(*n, nP1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Utilities.c:9119:9: note: 'nP1' was declared here 9119 | int nP1, nP2, nP3; | ^~~ Utilities.c:9129:32: warning: 'nP2' may be used uninitialized [-Wmaybe-uninitialized] 9129 | gsl_matrix *survCov2 = gsl_matrix_calloc(*n, nP2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Utilities.c:9119:14: note: 'nP2' was declared here 9119 | int nP1, nP2, nP3; | ^~~ Utilities.c:9130:32: warning: 'nP3' may be used uninitialized [-Wmaybe-uninitialized] 9130 | gsl_matrix *survCov3 = gsl_matrix_calloc(*n, nP3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Utilities.c:9119:19: note: 'nP3' was declared here 9119 | int nP1, nP2, nP3; | ^~~ Utilities.c: In function 'BpeScrSM_logMLH_DIC': Utilities.c:9709:32: warning: 'nP1' may be used uninitialized [-Wmaybe-uninitialized] 9709 | gsl_matrix *survCov1 = gsl_matrix_calloc(*n, nP1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Utilities.c:9700:9: note: 'nP1' was declared here 9700 | int nP1, nP2, nP3; | ^~~ Utilities.c:9710:32: warning: 'nP2' may be used uninitialized [-Wmaybe-uninitialized] 9710 | gsl_matrix *survCov2 = gsl_matrix_calloc(*n, nP2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Utilities.c:9700:14: note: 'nP2' was declared here 9700 | int nP1, nP2, nP3; | ^~~ Utilities.c:9711:32: warning: 'nP3' may be used uninitialized [-Wmaybe-uninitialized] 9711 | gsl_matrix *survCov3 = gsl_matrix_calloc(*n, nP3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Utilities.c:9700:19: note: 'nP3' was declared here 9700 | int nP1, nP2, nP3; | ^~~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c registerDynamicSymbol.c -o registerDynamicSymbol.o gcc -shared -s -static-libgcc -o SemiCompRisks.dll tmp.def BAFT_DPscr.o BAFT_DPscr_Updates.o BAFT_DPsurv.o BAFT_DPsurv_Updates.o BAFT_LNscr.o BAFT_LNscr_Updates.o BAFT_LNsurv.o BAFT_LNsurv_Updates.o BpeDpCorScr.o BpeDpCorScrSM.o BpeDpCorScrSM_Updates.o BpeDpCorScr_Updates.o BpeDpCorSurv.o BpeDpCorSurv_Updates.o BpeMvnCorScr.o BpeMvnCorScrSM.o BpeMvnCorScrSM_Updates.o BpeMvnCorScr_Updates.o BpeMvnCorSurv.o BpeMvnCorSurv_Updates.o BpeScr.o BpeScrSM.o BpeScrSM_Updates.o BpeScr_Updates.o BpeSurv.o BpeSurv_Updates.o BweibCorSurv.o BweibCorSurv_Updates.o BweibDpCorScr.o BweibDpCorScrSM.o BweibDpCorScrSM_Updates.o BweibDpCorScr_Updates.o BweibDpCorSurv.o BweibDpCorSurv_Updates.o BweibMvnCorScr.o BweibMvnCorScrSM.o BweibMvnCorScrSM_Updates.o BweibMvnCorScr_Updates.o BweibScr.o BweibScrSM.o BweibScrSM_Updates.o BweibScr_Updates.o BweibSurv.o BweibSurv_Updates.o Utilities.o registerDynamicSymbol.o -L/usr/local/lib -lgsl -lgslcblas -lm -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.3.3/bin/x64 -lR make[1]: Leaving directory '/d/temp/2024_12_08_01_50_00_8402/Rtmps3nLN1/R.INSTALL20d8050f9492b/SemiCompRisks/src' make[1]: Entering directory '/d/temp/2024_12_08_01_50_00_8402/Rtmps3nLN1/R.INSTALL20d8050f9492b/SemiCompRisks/src' make[1]: Leaving directory '/d/temp/2024_12_08_01_50_00_8402/Rtmps3nLN1/R.INSTALL20d8050f9492b/SemiCompRisks/src' installing to d:/Rcompile/CRANpkg/lib/4.3/00LOCK-SemiCompRisks/00new/SemiCompRisks/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 * MD5 sums packaged installation of 'SemiCompRisks' as SemiCompRisks_3.4.zip * DONE (SemiCompRisks)