* 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.exe (GCC) 14.3.0'
using C++ compiler: 'g++.exe (GCC) 14.3.0'
make[1]: Entering directory '/d/temp/2026_09_01_11_14_58_1883/Rtmpeidbo1/R.INSTALL1a1f8af570f7/bamp/src'
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.3/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -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++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.3/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c block.cc -o block.o
gcc -I"D:/RCompile/recent/R-4.5.3/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -Iwin64 -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x -mfpmath=sse -msse2 -mstackrealign -c init.c -o init.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.3/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c l.cc -o l.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.3/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c matrix.cc -o matrix.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.3/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c mxs.cc -o mxs.o
gcc -I"D:/RCompile/recent/R-4.5.3/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -Iwin64 -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x -mfpmath=sse -msse2 -mstackrealign -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++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.3/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c praez.cc -o praez.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.3/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c update_my.cc -o update_my.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.3/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c zufall.cc -o zufall.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.3/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c zz_ksi.cc -o zz_ksi.o
g++ -std=gnu++17 -shared -s -static-libgcc -o bamp.dll tmp.def 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 -Lwin64 -LD:/RCompile/recent/R-4.5.3/bin/x64 -lRlapack -LD:/RCompile/recent/R-4.5.3/bin/x64 -lRblas -lgfortran -lquadmath -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.5.3/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2026_09_01_11_14_58_1883/Rtmpeidbo1/R.INSTALL1a1f8af570f7/bamp/src'
make[1]: Entering directory '/d/temp/2026_09_01_11_14_58_1883/Rtmpeidbo1/R.INSTALL1a1f8af570f7/bamp/src'
make[1]: Leaving directory '/d/temp/2026_09_01_11_14_58_1883/Rtmpeidbo1/R.INSTALL1a1f8af570f7/bamp/src'
installing to d:/Rcompile/CRANpkg/lib/4.5/00LOCK-bamp/00new/bamp/libs/x64
** 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
** 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 'bamp' as bamp_3.0.0.zip
* DONE (bamp)