* 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_07_28_01_50_00_16833/RtmpGeG50U/R.INSTALLd6902fe0c47/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:8: 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: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:258:40: warning: 'Deviation' may be used uninitialized [-Wmaybe-uninitialized] 258 | s += 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:258:23: warning: 'bar_O' may be used uninitialized [-Wmaybe-uninitialized] 258 | s += 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.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_07_28_01_50_00_16833/RtmpGeG50U/R.INSTALLd6902fe0c47/hann/src' make[1]: Entering directory '/d/temp/2025_07_28_01_50_00_16833/RtmpGeG50U/R.INSTALLd6902fe0c47/hann/src' make[1]: Leaving directory '/d/temp/2025_07_28_01_50_00_16833/RtmpGeG50U/R.INSTALLd6902fe0c47/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.0.zip * DONE (hann)