* installing *source* package 'rgenoud' ... ** using staged installation ** libs using C compiler: 'gcc.exe (GCC) 13.2.0' using C++ compiler: 'g++.exe (GCC) 13.2.0' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c change_order.cpp -o change_order.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c eval.cpp -o eval.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c evaluate.cpp -o evaluate.o evaluate.cpp: In function 'void JaIntegerSort(double**, long int, long int)': evaluate.cpp:4056:8: warning: variable 'nvars' set but not used [-Wunused-but-set-variable] 4056 | long nvars; | ^~~~~ evaluate.cpp: In function 'void JaDoubleSort(double**, long int, long int)': evaluate.cpp:4093:8: warning: variable 'nvars' set but not used [-Wunused-but-set-variable] 4093 | long nvars; | ^~~~~ evaluate.cpp: In function 'void optimization(GND_IOstructure*, VECTOR, MATRIX)': evaluate.cpp:415:17: warning: 'LexicalReturn' may be used uninitialized [-Wmaybe-uninitialized] 415 | free(LexicalReturn); | ~~~~^~~~~~~~~~~~~~~ evaluate.cpp:253:10: note: 'LexicalReturn' was declared here 253 | VECTOR LexicalReturn; | ^~~~~~~~~~~~~ evaluate.cpp:416:17: warning: 'oldfitvalueVEC' may be used uninitialized [-Wmaybe-uninitialized] 416 | free(oldfitvalueVEC); | ~~~~^~~~~~~~~~~~~~~~ evaluate.cpp:254:10: note: 'oldfitvalueVEC' was declared here 254 | VECTOR oldfitvalueVEC; | ^~~~~~~~~~~~~~ evaluate.cpp:401:23: warning: 'Memory' may be used uninitialized [-Wmaybe-uninitialized] 401 | JaMatrixFree(Memory, MemorySize); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ evaluate.cpp:216:12: note: 'Memory' was declared here 216 | double **Memory; | ^~~~~~ evaluate.cpp: In function 'void JaIntegerOptimization(GND_IOstructure*, VECTOR, MATRIX)': evaluate.cpp:2850:17: warning: 'LexicalReturn' may be used uninitialized [-Wmaybe-uninitialized] 2850 | free(LexicalReturn); | ~~~~^~~~~~~~~~~~~~~ evaluate.cpp:2684:10: note: 'LexicalReturn' was declared here 2684 | VECTOR LexicalReturn; | ^~~~~~~~~~~~~ evaluate.cpp:2851:17: warning: 'oldfitvalueVEC' may be used uninitialized [-Wmaybe-uninitialized] 2851 | free(oldfitvalueVEC); | ~~~~^~~~~~~~~~~~~~~~ evaluate.cpp:2685:10: note: 'oldfitvalueVEC' was declared here 2685 | VECTOR oldfitvalueVEC; | ^~~~~~~~~~~~~~ evaluate.cpp:2837:23: warning: 'Memory' may be used uninitialized [-Wmaybe-uninitialized] 2837 | JaMatrixFree(Memory, MemorySize); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ evaluate.cpp:2647:12: note: 'Memory' was declared here 2647 | double **Memory; | ^~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c frange_ran.cpp -o frange_ran.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c genoud.cpp -o genoud.o genoud.cpp: In function 'void genoud(GND_IOstructure*)': genoud.cpp:66:8: warning: variable 'LVMreturn' set but not used [-Wunused-but-set-variable] 66 | long LVMreturn; | ^~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c gradient.cpp -o gradient.o gradient.cpp: In function 'void numgradc(SEXP, SEXP, double*, double*, int, double*, double*, double*, double (*)(SEXP, SEXP, double*, long int, short int, short int, double**), short int, short int, double**)': gradient.cpp:208:10: warning: variable 'u' set but not used [-Wunused-but-set-variable] 208 | double u, fplus, fminus; | ^ gradient.cpp:209:10: warning: variable 'epsuse' set but not used [-Wunused-but-set-variable] 209 | double epsuse; | ^~~~~~ gradient.cpp: In function 'estints* algfd(SEXP, SEXP, int, double*, double*, double*, double (*)(SEXP, SEXP, double*, long int, short int, short int, double**), short int, short int, double**)': gradient.cpp:405:3: warning: label 'FD1' defined but not used [-Wunused-label] 405 | FD1: | ^~~ gradient.cpp:413:3: warning: label 'FD2' defined but not used [-Wunused-label] 413 | FD2: | ^~~ gradient.cpp:420:3: warning: label 'FD3' defined but not used [-Wunused-label] 420 | FD3: | ^~~ gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c init.c -o init.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c math.cpp -o math.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c multiply.cpp -o multiply.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c numerics.cpp -o numerics.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c operators.cpp -o operators.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c print_format.cpp -o print_format.o print_format.cpp: In function 'long int ReadPopulation(double**, long int, long int, FILE*, short int)': print_format.cpp:34:19: warning: variable 'fint' set but not used [-Wunused-but-set-variable] 34 | int i, j, ltmp, fint; | ^~~~ print_format.cpp:95:29: warning: 'OldData' may be used uninitialized [-Wmaybe-uninitialized] 95 | Data[i][j] = OldData[i][j]; | ~~~~~~~~~^ print_format.cpp:35:12: note: 'OldData' was declared here 35 | double **OldData; | ^~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c rgenoud.cpp -o rgenoud.o rgenoud.cpp: In function 'SEXPREC* rgenoud(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': rgenoud.cpp:167:34: warning: 'StartingValues' may be used uninitialized [-Wmaybe-uninitialized] 167 | MainStructure->StartingValues=StartingValues; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ rgenoud.cpp:140:14: note: 'StartingValues' was declared here 140 | double **StartingValues; | ^~~~~~~~~~~~~~ g++ -std=gnu++17 -shared -s -static-libgcc -o rgenoud.dll tmp.def change_order.o eval.o evaluate.o frange_ran.o genoud.o gradient.o init.o math.o multiply.o numerics.o operators.o print_format.o rgenoud.o -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR installing to d:/RCompile/CRANincoming/R-devel/lib/00LOCK-rgenoud/00new/rgenoud/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 * DONE (rgenoud)