* installing *source* package 'ABM' ...
** package 'ABM' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 13.3.0'
make[1]: Entering directory '/d/temp/2024_12_21_01_50_00_6285/RtmpemNBRc/R.INSTALLade077473620/ABM/src'
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c Agent.cpp -o Agent.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c Contact.cpp -o Contact.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c Counter.cpp -o Counter.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c Event.cpp -o Event.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c Network.cpp -o Network.o
Network.cpp: In member function 'virtual void ConfigurationModel::buildNetwork()':
Network.cpp:59:31: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'R_xlen_t' {aka 'long long int'} [-Wsign-compare]
   59 |   for (size_t i = 0, k = 0; i < d.size(); ++i)
      |                             ~~^~~~~~~~~~
Network.cpp:60:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'Rcpp::traits::storage_type<13>::type' {aka 'int'} [-Wsign-compare]
   60 |     for (size_t j = 0; j < d[i]; ++j)
Network.cpp: In member function 'virtual void ConfigurationModel::grow(Agent&)':
Network.cpp:100:13: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
  100 |       if (k == degree) return;
      |           ~~^~~~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c Population.cpp -o Population.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c RNG.cpp -o RNG.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c Simulation.cpp -o Simulation.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c State.cpp -o State.o
State.cpp: In member function 'bool State::match(const Rcpp::List&) const':
State.cpp:84:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'R_xlen_t' {aka 'long long int'} [-Wsign-compare]
   84 |     for (size_t i = 0; i < ns.size(); ++i) {
      |                        ~~^~~~~~~~~~~
State.cpp: In member function 'State& State::operator&=(const Rcpp::List&)':
State.cpp:120:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'R_xlen_t' {aka 'long long int'} [-Wsign-compare]
  120 |         for (size_t i = 0; i < ns.size(); ++i) {
      |                            ~~^~~~~~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c Transition.cpp -o Transition.o
In file included from ../inst/include/Simulation.h:3,
                 from Transition.cpp:1:
In member function 'PAgent Population::agent(const Agent&) const',
    inlined from 'virtual void ContactTransition::schedule(double, Agent&)' at Transition.cpp:158:61:
../inst/include/Population.h:112:93: warning: 'next_contact' may be used uninitialized [-Wmaybe-uninitialized]
  112 |   PAgent agent(const Agent &agent) const { return agent._population == this ? _agents[agent._index] : nullptr; }
      |                                                                                       ~~~~~~^~~~~~
Transition.cpp: In member function 'virtual void ContactTransition::schedule(double, Agent&)':
Transition.cpp:148:10: note: 'next_contact' was declared here
  148 |   Agent* next_contact;
      |          ^~~~~~~~~~~~
g++ -std=gnu++17 -shared -s -static-libgcc -o ABM.dll tmp.def Agent.o Contact.o Counter.o Event.o Network.o Population.o RNG.o RcppExports.o Simulation.o State.o Transition.o -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.2/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2024_12_21_01_50_00_6285/RtmpemNBRc/R.INSTALLade077473620/ABM/src'
make[1]: Entering directory '/d/temp/2024_12_21_01_50_00_6285/RtmpemNBRc/R.INSTALLade077473620/ABM/src'
make[1]: Leaving directory '/d/temp/2024_12_21_01_50_00_6285/RtmpemNBRc/R.INSTALLade077473620/ABM/src'
installing to d:/Rcompile/CRANpkg/lib/4.4/00LOCK-ABM/00new/ABM/libs/x64
** R
** inst
** byte-compile and prepare package for lazy loading
** 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 'ABM' as ABM_0.4.1.zip
* DONE (ABM)