* installing *source* package 'topmodel' ...
** package 'topmodel' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: 'gcc.exe (GCC) 13.2.0'
make[1]: Entering directory '/d/temp/RtmpSQz1og/R.INSTALL306f43e101c7f/topmodel/src'
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 NS.c -o NS.o
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 c_flowlength.c -o c_flowlength.o
c_flowlength.c: In function 'c_flowlength':
c_flowlength.c:103:35: warning: 'idown' may be used uninitialized [-Wmaybe-uninitialized]
  103 |             flowi[flowlength] = i + idown;
      |                                 ~~^~~~~~~
c_flowlength.c:10:25: note: 'idown' was declared here
   10 |   int i,j,ii,jj,i2,j2,k,idown,jdown,orig_i,orig_j,flowlength,endflow;
      |                         ^~~~~
c_flowlength.c:104:35: warning: 'jdown' may be used uninitialized [-Wmaybe-uninitialized]
  104 |             flowj[flowlength] = j + jdown;
      |                                 ~~^~~~~~~
c_flowlength.c:10:31: note: 'jdown' was declared here
   10 |   int i,j,ii,jj,i2,j2,k,idown,jdown,orig_i,orig_j,flowlength,endflow;
      |                               ^~~~~
c_flowlength.c:101:34: warning: 'divdown' may be used uninitialized [-Wmaybe-uninitialized]
  101 |             distance[flowlength] = divdown;
      |             ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
c_flowlength.c:13:18: note: 'divdown' was declared here
   13 |   double max,div,divdown,exclude;
      |                  ^~~~~~~
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 c_infiltration.c -o c_infiltration.o
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 c_sinkfill.c -o c_sinkfill.o
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 c_streamorder.c -o c_streamorder.o
c_streamorder.c: In function 'c_streamorder':
c_streamorder.c:73:15: warning: 'max' may be used uninitialized [-Wmaybe-uninitialized]
   73 |             if(((dem[i+ii][j+jj] - dem[i][j])/div) > max) {
      |               ^
c_streamorder.c:15:43: note: 'max' was declared here
   15 |   double upslope, downslope, div,exclude, max;
      |                                           ^~~
c_streamorder.c:134:39: warning: 'idown' may be used uninitialized [-Wmaybe-uninitialized]
  134 |               flowi[flowlength-1] = i + idown;
      |                                     ~~^~~~~~~
c_streamorder.c:12:23: note: 'idown' was declared here
   12 |   int i,j,ii,jj,i2,j2,idown,jdown,orig_i,orig_j,flowlength;
      |                       ^~~~~
c_streamorder.c:135:39: warning: 'jdown' may be used uninitialized [-Wmaybe-uninitialized]
  135 |               flowj[flowlength-1] = j + jdown;
      |                                     ~~^~~~~~~
c_streamorder.c:12:29: note: 'jdown' was declared here
   12 |   int i,j,ii,jj,i2,j2,idown,jdown,orig_i,orig_j,flowlength;
      |                             ^~~~~
c_streamorder.c:175:23: warning: 'bifurc' may be used uninitialized [-Wmaybe-uninitialized]
  175 |                     if(bifurc == 0) {
      |                       ^
c_streamorder.c:13:7: note: 'bifurc' was declared here
   13 |   int bifurc,order,endflow;
      |       ^~~~~~
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 c_subcatch.c -o c_subcatch.o
c_subcatch.c: In function 'c_subcatch':
c_subcatch.c:112:37: warning: 'idown' may be used uninitialized [-Wmaybe-uninitialized]
  112 |             flowi[flowlength-1] = i + idown;
      |                                   ~~^~~~~~~
c_subcatch.c:11:7: note: 'idown' was declared here
   11 |   int idown,jdown,origin_i,origin_j,flowlength;
      |       ^~~~~
c_subcatch.c:113:37: warning: 'jdown' may be used uninitialized [-Wmaybe-uninitialized]
  113 |             flowj[flowlength-1] = j + jdown;
      |                                   ~~^~~~~~~
c_subcatch.c:11:13: note: 'jdown' was declared here
   11 |   int idown,jdown,origin_i,origin_j,flowlength;
      |             ^~~~~
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 c_topidx.c -o c_topidx.o
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 c_topmodel.c -o c_topmodel.o
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 core_topmodel.c -o core_topmodel.o
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 get_f.c -o get_f.o
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 misc.c -o misc.o
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 output.c -o output.o
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 param_init.c -o param_init.o
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 river.c -o river.o
river.c: In function 'findrivers':
river.c:142:28: warning: 'idown' may be used uninitialized [-Wmaybe-uninitialized]
  142 |           riveri[nriv] = i + idown;
      |                          ~~^~~~~~~
river.c:24:13: note: 'idown' was declared here
   24 |   int i,j,k,idown,jdown,river_origin_i,river_origin_j,endriver,nriv;
      |             ^~~~~
river.c:143:28: warning: 'jdown' may be used uninitialized [-Wmaybe-uninitialized]
  143 |           riverj[nriv] = j + jdown;
      |                          ~~^~~~~~~
river.c:24:19: note: 'jdown' was declared here
   24 |   int i,j,k,idown,jdown,river_origin_i,river_origin_j,endriver,nriv;
      |                   ^~~~~
river.c:140:22: warning: 'addist' may be used uninitialized [-Wmaybe-uninitialized]
  140 |           dist[nriv] = addist;
      |           ~~~~~~~~~~~^~~~~~~~
river.c:28:15: note: 'addist' was declared here
   28 |   double max, addist, exclude, dist3;
      |               ^~~~~~
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 startroutines.c -o startroutines.o
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 topmodel_init.c -o topmodel_init.o
gcc -shared -s -static-libgcc -o topmodel.dll tmp.def NS.o c_flowlength.o c_infiltration.o c_sinkfill.o c_streamorder.o c_subcatch.o c_topidx.o c_topmodel.o core_topmodel.o get_f.o misc.o output.o param_init.o river.o startroutines.o topmodel_init.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/RtmpSQz1og/R.INSTALL306f43e101c7f/topmodel/src'
make[1]: Entering directory '/d/temp/RtmpSQz1og/R.INSTALL306f43e101c7f/topmodel/src'
make[1]: Leaving directory '/d/temp/RtmpSQz1og/R.INSTALL306f43e101c7f/topmodel/src'
installing to d:/Rcompile/CRANpkg/lib/4.5/00LOCK-topmodel/00new/topmodel/libs/x64
** R
** data
** 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 'topmodel' as topmodel_0.7.5.zip
* DONE (topmodel)