* installing *source* package 'hann' ...
** this is package 'hann' version '1.0'
** package 'hann' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: 'gcc.exe (GCC) 14.2.0'
make[1]: Entering directory '/d/temp/2025_07_26_01_50_00_9596/Rtmpise3BA/R.INSTALL2526c1e7b259f/hann/src'
gcc  -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG     -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"   -fopenmp   -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x  -mfpmath=sse -msse2 -mstackrealign   -c common_utils.c -o common_utils.o
gcc  -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG     -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"   -fopenmp   -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x  -mfpmath=sse -msse2 -mstackrealign   -c energy.c -o energy.o
gcc  -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG     -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"   -fopenmp   -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x  -mfpmath=sse -msse2 -mstackrealign   -c hann.c -o hann.o
gcc  -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG     -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"   -fopenmp   -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x  -mfpmath=sse -msse2 -mstackrealign   -c prototype_6.c -o prototype_6.o
prototype_6.c: In function 'optimize_6':
prototype_6.c:483:17: warning: 'hessian' may be used uninitialized [-Wmaybe-uninitialized]
  483 |                 do_Hessian_block(ptr_para[Switch], sigma_xi, expec, ptr_grad[Switch], hessian);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
prototype_6.c:424:13: note: 'hessian' was declared here
  424 |     double *hessian;
      |             ^~~~~~~
gcc  -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG     -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"   -fopenmp   -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x  -mfpmath=sse -msse2 -mstackrealign   -c prototype_7.c -o prototype_7.o
prototype_7.c: In function 'objfun_7':
prototype_7.c:249:25: warning: 'grad_W' may be used uninitialized [-Wmaybe-uninitialized]
  249 |             grad_W[k++] = tmp * s; // k = i + j*N
      |             ~~~~~~~~~~~~^~~~~~~~~
prototype_7.c:188:24: note: 'grad_W' was declared here
  188 |     double *w, *bias, *grad_W, *grad_bias, *O, *Deviation, *bar_O;
      |                        ^~~~~~
prototype_7.c:260:23: warning: 'grad_bias' may be used uninitialized [-Wmaybe-uninitialized]
  260 |         grad_bias[j]  = 2 * s;
      |         ~~~~~~~~~~~~~~^~~~~~~
prototype_7.c:188:33: note: 'grad_bias' was declared here
  188 |     double *w, *bias, *grad_W, *grad_bias, *O, *Deviation, *bar_O;
      |                                 ^~~~~~~~~
prototype_7.c:246:65: warning: 'Deviation' may be used uninitialized [-Wmaybe-uninitialized]
  246 |                 s += sigma_xi[mu + i*K] * bar_O[idx] * Deviation[idx];
      |                                                        ~~~~~~~~~^~~~~
prototype_7.c:188:49: note: 'Deviation' was declared here
  188 |     double *w, *bias, *grad_W, *grad_bias, *O, *Deviation, *bar_O;
      |                                                 ^~~~~~~~~
prototype_7.c:246:48: warning: 'bar_O' may be used uninitialized [-Wmaybe-uninitialized]
  246 |                 s += sigma_xi[mu + i*K] * bar_O[idx] * Deviation[idx];
      |                                           ~~~~~^~~~~
prototype_7.c:188:61: note: 'bar_O' was declared here
  188 |     double *w, *bias, *grad_W, *grad_bias, *O, *Deviation, *bar_O;
      |                                                             ^~~~~
prototype_7.c: In function 'optimize_7':
prototype_7.c:366:17: warning: 'hessian' may be used uninitialized [-Wmaybe-uninitialized]
  366 |             k = fast_mat_inv(hessian, npar);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
prototype_7.c:327:13: note: 'hessian' was declared here
  327 |     double *hessian;
      |             ^~~~~~~
gcc -shared -s -static-libgcc -o hann.dll tmp.def common_utils.o energy.o hann.o prototype_6.o prototype_7.o -LD:/RCompile/recent/R-4.5.1/bin/x64 -lRlapack -LD:/RCompile/recent/R-4.5.1/bin/x64 -lRblas -lgfortran -lquadmath -fopenmp -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.1/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2025_07_26_01_50_00_9596/Rtmpise3BA/R.INSTALL2526c1e7b259f/hann/src'
make[1]: Entering directory '/d/temp/2025_07_26_01_50_00_9596/Rtmpise3BA/R.INSTALL2526c1e7b259f/hann/src'
make[1]: Leaving directory '/d/temp/2025_07_26_01_50_00_9596/Rtmpise3BA/R.INSTALL2526c1e7b259f/hann/src'
installing to d:/Rcompile/CRANpkg/lib/4.5/00LOCK-hann/00new/hann/libs/x64
** R
** 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 'hann' as hann_1.0.zip
* DONE (hann)