* installing *source* package ‘PRIMEplus’ ... ** using staged installation ** libs using C compiler: ‘Debian clang version 17.0.6 (3)’ clang-17 -I"/home/hornik/tmp/R-d-clang-17/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c PRIMEplus_init.c -o PRIMEplus_init.o clang-17 -I"/home/hornik/tmp/R-d-clang-17/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c prime.c -o prime.o prime.c:888:20: warning: unused variable 'trt' [-Wunused-variable] 888 | int N=mystr->N, *trt=mystr->trt, i; | ^~~ prime.c:888:36: warning: unused variable 'i' [-Wunused-variable] 888 | int N=mystr->N, *trt=mystr->trt, i; | ^ prime.c:908:72: warning: variable 'll_max' set but not used [-Wunused-but-set-variable] 908 | double *t_all, *Afn, *Bfn, *lam0, *M1fn, *Mstarfn, ll_marg, *lambda, ll_max, llmarg_max, llmarg0_max; | ^ 3 warnings generated. clang-17 -I"/home/hornik/tmp/R-d-clang-17/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c source.c -o source.o source.c:5:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 5 | void print_dVec(vec, n, name) | ^ source.c:17:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 17 | void print_iVec(vec, n, name) | ^ source.c:30:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 30 | void print_dMat(mat, nr, nc, name) | ^ source.c:44:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 44 | void print_iMat(mat, nr, nc, name) | ^ source.c:59:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 59 | void compare_dVec(v1, v2, n) | ^ source.c:75:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 75 | void compare_iVec(v1, v2, n) | ^ source.c:84:12: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 84 | diff = fabs(v1[i] - v2[i]); | ^ source.c:84:12: note: use function 'abs' instead 84 | diff = fabs(v1[i] - v2[i]); | ^~~~ | abs source.c:91:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 91 | void compare_iMat(v1, v2, nr, nc) | ^ source.c:101:14: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 101 | diff = fabs(v1[i][j] - v2[i][j]); | ^ source.c:101:14: note: use function 'abs' instead 101 | diff = fabs(v1[i][j] - v2[i][j]); | ^~~~ | abs source.c:110:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 110 | double * dVec_alloc(n, initFlag, initVal) | ^ source.c:127:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 127 | int * iVec_alloc(n, initFlag, initVal) | ^ source.c:143:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 143 | double ** dMat_alloc(nrow, ncol, initFlag, initVal) | ^ source.c:163:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 163 | int ** iMat_alloc(nrow, ncol, initFlag, initVal) | ^ source.c:181:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 181 | void matrix_free(x, n) | ^ source.c:194:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 194 | void copy_iVec(v1, v2, n) | ^ source.c:203:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 203 | void copy_dVec(v1, v2, n) | ^ source.c:214:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 214 | void copy_dMat(m1, m2, nr, nc) | ^ source.c:226:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 226 | void permute_iVec(vec, n, ret) | ^ source.c:251:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 251 | double dotProd(v1, v2, n) | ^ source.c:264:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 264 | double dotProd_di(v1, v2, n) | ^ source.c:277:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 277 | double dotProd_logdi(v1, v2, n) | ^ source.c:291:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 291 | void matTimesVec(mat, vec, nr, nc, ret) | ^ source.c:302:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 302 | void matTimesiVec(mat, vec, nr, nc, ret) | ^ source.c:313:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 313 | double sum_dVec(v, n) | ^ source.c:325:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 325 | void set_dVec(v, n, val) | ^ source.c:336:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 336 | int sum_iVec(v, n) | ^ source.c:348:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 348 | double sumLogdVec(vec, n) | ^ source.c:361:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 361 | void vecProd_di(v1, v2, n, ret) | ^ source.c:372:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 372 | void matIntoVecByRow(mat, nr, nc, ret) | ^ 29 warnings generated. clang-17 -shared -L/home/hornik/tmp/R-d-clang-17/lib -Wl,-O1 -o PRIMEplus.so PRIMEplus_init.o prime.o source.o -L/home/hornik/tmp/R-d-clang-17/lib -lR installing to /srv/hornik/tmp/CRAN/PRIMEplus.Rcheck/00LOCK-PRIMEplus/00new/PRIMEplus/libs ** R ** data ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** testing if installed package can be loaded from temporary location ** checking absolute paths in shared objects and dynamic libraries ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (PRIMEplus)