* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* installing *source* package ‘bamp’ ...
** this is package ‘bamp’ version ‘3.0.0’
** package ‘bamp’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-16 (Debian 16.2.0-1) 16.2.0’
using C++ compiler: ‘g++-16 (Debian 16.2.0-1) 16.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp2wSOMr/R.INSTALLe8eaf79d517d8/bamp/src'
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c bamp.cc -o bamp.o
bamp.cc: In function ‘void bamp(int*, int*, int*, int*, double*, int*, int*, double*, double*, double*, double*, double*, double*, double*, double*, double*, double*, double*, double*, double*, double*, double*, double*, double*, int*)’:
bamp.cc:514:42: warning: ‘period_data’ may be used uninitialized [-Wmaybe-uninitialized]
514 | phi[i]=phi[i]*period_data[i];
| ~~~~~~~~~~~~~^
bamp.cc:69:9: note: ‘period_data’ was declared here
69 | double* period_data;
| ^~~~~~~~~~~
bamp.cc:444:42: warning: ‘cohort_data’ may be used uninitialized [-Wmaybe-uninitialized]
444 | psi[i]=psi[i]/cohort_data[i];
| ~~~~~~~~~~~~~^
bamp.cc:70:9: note: ‘cohort_data’ was declared here
70 | double* cohort_data;
| ^~~~~~~~~~~
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c block.cc -o block.o
gcc-16 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c init.c -o init.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c l.cc -o l.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c matrix.cc -o matrix.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c mxs.cc -o mxs.o
gcc-16 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c pg_engine.c -o pg_engine.o
pg_engine.c: In function ‘mh_state’:
pg_engine.c:307:3: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
307 | for (int i=0;i<I;i++) rsy[i]=0; for (int j=0;j<J;j++) csy[j]=0; for (int k=0;k<K;k++) cgy[k]=0;
| ^~~
pg_engine.c:307:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
307 | for (int i=0;i<I;i++) rsy[i]=0; for (int j=0;j<J;j++) csy[j]=0; for (int k=0;k<K;k++) cgy[k]=0;
| ^~~
pg_engine.c: In function ‘pg_chain_c’:
pg_engine.c:430:3: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
430 | for(int i=0;i<I;i++) theta2[i]=0; for(int j=0;j<J;j++) phi2[j]=0;
| ^~~
pg_engine.c:430:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
430 | for(int i=0;i<I;i++) theta2[i]=0; for(int j=0;j<J;j++) phi2[j]=0;
| ^~~
pg_engine.c:431:3: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
431 | for(int k=0;k<K;k++) psi2[k]=0; for(int t=0;t<IJ;t++) delta[t]=0;
| ^~~
pg_engine.c:431:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
431 | for(int k=0;k<K;k++) psi2[k]=0; for(int t=0;t<IJ;t++) delta[t]=0;
| ^~~
pg_engine.c:572:11: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
572 | for(int p=0;p<P;p++) sd+=A[c+(size_t)kcon*p]*wd[p]; AW[c+(size_t)kcon*d]=sd; } }
| ^~~
pg_engine.c:572:63: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
572 | for(int p=0;p<P;p++) sd+=A[c+(size_t)kcon*p]*wd[p]; AW[c+(size_t)kcon*d]=sd; } }
| ^~
pg_engine.c:591:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
591 | if(het_a)e0+=theta2[i]; if(het_p)e0+=phi2[j]; if(het_c)e0+=psi2[k];
| ^~
pg_engine.c:591:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
591 | if(het_a)e0+=theta2[i]; if(het_p)e0+=phi2[j]; if(het_c)e0+=psi2[k];
| ^~
pg_engine.c:614:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
614 | if(het_a)e+=theta2[i]; if(het_p)e+=phi2[j]; if(het_c)e+=psi2[k];
| ^~
pg_engine.c:614:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
614 | if(het_a)e+=theta2[i]; if(het_p)e+=phi2[j]; if(het_c)e+=psi2[k];
| ^~
pg_engine.c:708:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
708 | if(het_a)e+=theta2[i]; if(het_p)e+=phi2[j]; if(het_c)e+=psi2[k];
| ^~
pg_engine.c:708:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
708 | if(het_a)e+=theta2[i]; if(het_p)e+=phi2[j]; if(het_c)e+=psi2[k];
| ^~
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c praez.cc -o praez.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c update_my.cc -o update_my.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c zufall.cc -o zufall.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c zz_ksi.cc -o zz_ksi.o
g++-16 -std=gnu++20 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o bamp.so bamp.o block.o init.o l.o matrix.o mxs.o pg_engine.o praez.o update_my.o zufall.o zz_ksi.o -llapack -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lRblas -lgfortran -lm -latomic_asneeded -lquadmath -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp2wSOMr/R.INSTALLe8eaf79d517d8/bamp/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp2wSOMr/R.INSTALLe8eaf79d517d8/bamp/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp2wSOMr/R.INSTALLe8eaf79d517d8/bamp/src'
installing to /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/00LOCK-bamp/00new/bamp/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** 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 (bamp)