* installing *source* package 'GENLIB' ...
** package 'GENLIB' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: 'gcc.exe (GCC) 13.3.0'
using C++ compiler: 'g++.exe (GCC) 13.3.0'
make[1]: Entering directory '/d/temp/2024_12_18_01_50_01_11818/RtmpwxPv1h/R.INSTALL24954bc365f7/GENLIB/src'
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -std=c++0x   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c apparentement.cpp -o apparentement.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -std=c++0x   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c asa239.cpp -o asa239.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -std=c++0x   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c congen.cpp -o congen.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -std=c++0x   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c consanguinite.cpp -o consanguinite.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -std=c++0x   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c exception.cpp -o exception.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -std=c++0x   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c fondateur.cpp -o fondateur.o
fondateur.cpp: In function 'int simulhaplo_traceback(std::string&, std::string&, int&, int&, std::vector<int>&, std::vector<int>&, std::vector<int>&, std::vector<int>&, std::vector<int>&, std::vector<int>&)':
fondateur.cpp:1086:9: warning: unused variable 'numSim2' [-Wunused-variable]
 1086 |     int numSim2 = std::stoi(line.substr(0,tokenPos));
      |         ^~~~~~~
fondateur.cpp: In function 'void simulhaplo_compare_IBD(const int&, const int&, const int&, std::string&, std::vector<int>&, std::vector<int>&, std::vector<double>&, std::vector<int>&)':
fondateur.cpp:1425:16: warning: unused variable 'SimNo' [-Wunused-variable]
 1425 |     int ProID, SimNo;
      |                ^~~~~
fondateur.cpp: In function 'void simulhaplo(int*, int*, int, int*, int, int, double*, double*, int, int, int, double*, double*, int*, int*, std::unordered_map<int, haplotype*>*, std::string, int, int)':
fondateur.cpp:577:55: warning: 'SampleCO.void (Crossovers::*)(const int&, double*, double*, int&, std::mt19937&, double*)::__pfn' may be used uninitialized [-Wmaybe-uninitialized]
  577 |                                 (crossovers.*SampleCO)(1, probRecomb, Morgan_Len, nbRecomb1, my_rng, CO_arrayF);
      |                                 ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fondateur.cpp:398:28: note: 'SampleCO.void (Crossovers::*)(const int&, double*, double*, int&, std::mt19937&, double*)::__pfn' was declared here
  398 |         void (Crossovers::*SampleCO)(const int&, double*, double*, int&, std::mt19937&, double*);
      |                            ^~~~~~~~
fondateur.cpp:581:45: warning: 'convert_dist' may be used uninitialized [-Wmaybe-uninitialized]
  581 |                                 convert_dist(nbRecomb1, CO_arrayF, Morgan_Len[0], BP_len, bp_map_FA ,cm_map_FA, BP_CO_arrayF);
      |                                 ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fondateur.cpp:407:16: note: 'convert_dist' was declared here
  407 |         void (*convert_dist)(int&, double*, const double&, const int&, int*, double*, int*); //(nbrecomb, CO_array, Morgan_len, bp_len, bp_map, cm_map, precision)
      |                ^~~~~~~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -std=c++0x   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c genphi.cpp -o genphi.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -std=c++0x   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c hal.cpp -o hal.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -std=c++0x   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c interface.cpp -o interface.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -std=c++0x   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c md5.cpp -o md5.o
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c mpajout.c -o mpajout.o
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c mpi.c -o mpi.o
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c mplogic.c -o mplogic.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -std=c++0x   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c outilanal.cpp -o outilanal.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -std=c++0x   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c outils.cpp -o outils.o
outils.cpp: In function 'int CreerGenealogie(int*, int*, int*, int*, int, int*)':
outils.cpp:1780:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
 1780 |             else
      |             ^~~~
outils.cpp:1783:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
 1783 |                 saveptr[curseur++]=Ordre[i]->sex; //Sexe de l'individu
      |                 ^~~~~~~
In function 'int SortPrioriteArbre(CIndSimul*, CIndSimul**, int*, int*, Clist**)',
    inlined from 'void StartSortPrioriteArbre(CIndSimul*, CIndSimul**, int*, int*)' at outils.cpp:866:22:
outils.cpp:934:27: warning: storing the address of local variable 'listedebut' in 'listenoeud' [-Wdangling-pointer=]
  934 |                 listenoeud=list;
      |                 ~~~~~~~~~~^~~~~
outils.cpp: In function 'void StartSortPrioriteArbre(CIndSimul*, CIndSimul**, int*, int*)':
outils.cpp:824:16: note: 'listedebut' declared here
  824 |         Clist *listedebut;
      |                ^~~~~~~~~~
outils.cpp:926:24: note: 'listenoeud' declared here
  926 |         static Clist **listenoeud=NULL;
      |                        ^~~~~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -std=c++0x   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c probsimul.cpp -o probsimul.o
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c registerDynamicSymbol.c -o registerDynamicSymbol.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -std=c++0x   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c statanal.cpp -o statanal.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -std=c++0x   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c userInterface.cpp -o userInterface.o
g++ -std=gnu++17 -shared -s -static-libgcc -o GENLIB.dll tmp.def apparentement.o asa239.o congen.o consanguinite.o exception.o fondateur.o genphi.o hal.o interface.o md5.o mpajout.o mpi.o mplogic.o outilanal.o outils.o probsimul.o registerDynamicSymbol.o statanal.o userInterface.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
make[1]: Leaving directory '/d/temp/2024_12_18_01_50_01_11818/RtmpwxPv1h/R.INSTALL24954bc365f7/GENLIB/src'
make[1]: Entering directory '/d/temp/2024_12_18_01_50_01_11818/RtmpwxPv1h/R.INSTALL24954bc365f7/GENLIB/src'
make[1]: Leaving directory '/d/temp/2024_12_18_01_50_01_11818/RtmpwxPv1h/R.INSTALL24954bc365f7/GENLIB/src'
installing to d:/Rcompile/CRANpkg/lib/4.5/00LOCK-GENLIB/00new/GENLIB/libs/x64
** R
** data
** byte-compile and prepare package for lazy loading
Creating a generic function from function 'Dim' in package 'GENLIB'
** help
*** installing help indices
** building package indices
** 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 'GENLIB' as GENLIB_1.1.10.zip
* DONE (GENLIB)