* installing *source* package 'hann' ...
** package 'hann' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: 'gcc.exe (GCC) 13.3.0'
make[1]: Entering directory '/d/temp/2025_08_22_01_50_00_25364/RtmpQbxwHP/R.INSTALL2fa4473c93a49/hann/src'
gcc  -I"D:/RCompile/recent/R-4.4.3/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c common_utils.c -o common_utils.o
In file included from common_utils.c:17:
hann.h:18:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
   18 | double runif_local();
      | ^~~~~~
common_utils.c:31:8: warning: function declaration isn't a prototype [-Wstrict-prototypes]
   31 | double runif_local() // x ~ U(-1, 1)
      |        ^~~~~~~~~~~
gcc  -I"D:/RCompile/recent/R-4.4.3/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c energy.c -o energy.o
In file included from energy.c:8:
hann.h:18:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
   18 | double runif_local();
      | ^~~~~~
gcc  -I"D:/RCompile/recent/R-4.4.3/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c hann.c -o hann.o
In file included from hann.c:9:
hann.h:18:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
   18 | double runif_local();
      | ^~~~~~
gcc  -I"D:/RCompile/recent/R-4.4.3/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c prototype_6.c -o prototype_6.o
In file included from prototype_6.c:8:
hann.h:18:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
   18 | double runif_local();
      | ^~~~~~
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.4.3/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c prototype_7.c -o prototype_7.o
In file included from prototype_7.c:12:
hann.h:18:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
   18 | double runif_local();
      | ^~~~~~
prototype_7.c: In function 'objfun_7':
prototype_7.c:253:25: warning: 'grad_W' may be used uninitialized [-Wmaybe-uninitialized]
  253 |             grad_W[k++] = tmp * s; // k = i + j*N
      |             ~~~~~~~~~~~~^~~~~~~~~
prototype_7.c:192:24: note: 'grad_W' was declared here
  192 |     double *w, *bias, *grad_W, *grad_bias, *O, *Deviation, *bar_O;
      |                        ^~~~~~
prototype_7.c:264:23: warning: 'grad_bias' may be used uninitialized [-Wmaybe-uninitialized]
  264 |         grad_bias[j]  = 2 * s;
      |         ~~~~~~~~~~~~~~^~~~~~~
prototype_7.c:192:33: note: 'grad_bias' was declared here
  192 |     double *w, *bias, *grad_W, *grad_bias, *O, *Deviation, *bar_O;
      |                                 ^~~~~~~~~
prototype_7.c:262:40: warning: 'Deviation' may be used uninitialized [-Wmaybe-uninitialized]
  262 |             s += bar_O[idx] * Deviation[idx];
      |                               ~~~~~~~~~^~~~~
prototype_7.c:192:49: note: 'Deviation' was declared here
  192 |     double *w, *bias, *grad_W, *grad_bias, *O, *Deviation, *bar_O;
      |                                                 ^~~~~~~~~
prototype_7.c:262:23: warning: 'bar_O' may be used uninitialized [-Wmaybe-uninitialized]
  262 |             s += bar_O[idx] * Deviation[idx];
      |                  ~~~~~^~~~~
prototype_7.c:192:61: note: 'bar_O' was declared here
  192 |     double *w, *bias, *grad_W, *grad_bias, *O, *Deviation, *bar_O;
      |                                                             ^~~~~
prototype_7.c: In function 'optimize_7':
prototype_7.c:370:17: warning: 'hessian' may be used uninitialized [-Wmaybe-uninitialized]
  370 |             k = fast_mat_inv(hessian, npar);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
prototype_7.c:331:13: note: 'hessian' was declared here
  331 |     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.4.3/bin/x64 -lRlapack -LD:/RCompile/recent/R-4.4.3/bin/x64 -lRblas -lgfortran -lm -lquadmath -fopenmp -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.4.3/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2025_08_22_01_50_00_25364/RtmpQbxwHP/R.INSTALL2fa4473c93a49/hann/src'
make[1]: Entering directory '/d/temp/2025_08_22_01_50_00_25364/RtmpQbxwHP/R.INSTALL2fa4473c93a49/hann/src'
make[1]: Leaving directory '/d/temp/2025_08_22_01_50_00_25364/RtmpQbxwHP/R.INSTALL2fa4473c93a49/hann/src'
installing to d:/Rcompile/CRANpkg/lib/4.4/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.1.zip
* DONE (hann)