* installing *source* package 'rgenoud' ... ** using staged installation ** libs using C compiler: 'gcc.exe (GCC) 12.3.0' using C++ compiler: 'g++.exe (GCC) 12.3.0' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools43/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:/rtools43/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:/rtools43/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:1130:46: warning: 'Memory' may be used uninitialized [-Wmaybe-uninitialized] 1130 | UniqueCount = RmemoryMatrixEvaluate(Structure->fnMemoryMatrixEvaluate, Structure->rho, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1131 | Memory, population, | ~~~~~~~~~~~~~~~~~~~ 1132 | MinMax, pop_size, UniqueCount, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1133 | nvars, Structure->Lexical, lexical_end); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ evaluate.cpp:216:12: note: 'Memory' was declared here 216 | double **Memory; | ^~~~~~ evaluate.cpp:1517:36: warning: 'oldfitvalueVEC' may be used uninitialized [-Wmaybe-uninitialized] 1517 | oldfitvalueVEC[0]=population[1][0]; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ evaluate.cpp:254:10: note: 'oldfitvalueVEC' was declared here 254 | VECTOR oldfitvalueVEC; | ^~~~~~~~~~~~~~ evaluate.cpp:1359:60: warning: 'LexicalReturn' may be used uninitialized [-Wmaybe-uninitialized] 1359 | population[(pop_size-1)][0] = LexicalReturn[0]; | ~~~~~~~~~~~~~~~^ evaluate.cpp:253:10: note: 'LexicalReturn' was declared here 253 | VECTOR LexicalReturn; | ^~~~~~~~~~~~~ evaluate.cpp: In function 'void JaIntegerOptimization(GND_IOstructure*, VECTOR, MATRIX)': evaluate.cpp:3488:46: warning: 'Memory' may be used uninitialized [-Wmaybe-uninitialized] 3488 | UniqueCount = RmemoryMatrixEvaluate(Structure->fnMemoryMatrixEvaluate, Structure->rho, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3489 | Memory, population, | ~~~~~~~~~~~~~~~~~~~ 3490 | MinMax, pop_size, UniqueCount, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3491 | nvars, Structure->Lexical, lexical_end); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ evaluate.cpp:2647:12: note: 'Memory' was declared here 2647 | double **Memory; | ^~~~~~ evaluate.cpp:3593:36: warning: 'oldfitvalueVEC' may be used uninitialized [-Wmaybe-uninitialized] 3593 | oldfitvalueVEC[0]=population[1][0]; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ evaluate.cpp:2685:10: note: 'oldfitvalueVEC' was declared here 2685 | VECTOR oldfitvalueVEC; | ^~~~~~~~~~~~~~ evaluate.cpp:3516:59: warning: 'LexicalReturn' may be used uninitialized [-Wmaybe-uninitialized] 3516 | population[i][0] = LexicalReturn[0]; | ~~~~~~~~~~~~~~~^ evaluate.cpp:2684:10: note: 'LexicalReturn' was declared here 2684 | VECTOR LexicalReturn; | ^~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools43/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:/rtools43/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:/rtools43/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:/rtools43/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:/rtools43/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:/rtools43/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:/rtools43/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:/rtools43/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:/rtools43/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:114:15: warning: 'OldData' may be used uninitialized [-Wmaybe-uninitialized] 114 | JaMatrixFree(OldData, PopSize); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ 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:/rtools43/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:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools43/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)