* installing *source* package 'image.CannyEdges' ...
** package 'image.CannyEdges' 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/RtmpcTTCwC/R.INSTALL1129c4ef77001/image.CannyEdges/src'
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c adsf.c -o adsf.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c rcpp_canny.cpp -o rcpp_canny.o
rcpp_canny.cpp: In function 'int mirror(int, int, size_t, size_t)':
rcpp_canny.cpp:21:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
   21 |   else
      |   ^~~~
rcpp_canny.cpp:26:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
   26 |     if (y < 0)
      |     ^~
rcpp_canny.cpp:28:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
   28 |     else
      |     ^~~~
rcpp_canny.cpp:33:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
   33 |       return xt + nx*yt;
      |       ^~~~~~
rcpp_canny.cpp: In function 'int extend(int, int, size_t, size_t)':
rcpp_canny.cpp:42:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
   42 |   else
      |   ^~~~
rcpp_canny.cpp:47:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
   47 |     if (y < 0)
      |     ^~
rcpp_canny.cpp:49:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
   49 |     else
      |     ^~~~
rcpp_canny.cpp:54:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
   54 |       return xt + nx*yt;
      |       ^~~~~~
rcpp_canny.cpp: In function 'Rcpp::List canny_edge_detector(Rcpp::IntegerVector, int, int, double, double, double, bool)':
rcpp_canny.cpp:188:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  188 |   for(size_t x = 0 ; x < nx ; x++)
      |   ^~~
rcpp_canny.cpp:203:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  203 |     for(int d = 0 ; d < N ; d++)
      |     ^~~
rcpp_canny.cpp:203:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
rcpp_canny.cpp:207:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  207 |       adsf_assert_consistency(t,N);
      |       ^~~~~~~~~~~~~~~~~~~~~~~
rcpp_canny.cpp:210:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  210 |       for(int d = 0 ; d < N ; d++)
      |       ^~~
rcpp_canny.cpp:216:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  216 |         free(t);
      |         ^~~~
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c tools.c -o tools.o
In file included from D:/RCompile/recent/R/include/R.h:73,
                 from tools.c:25:
tools.c: In function 'Rf_error':
D:/RCompile/recent/R/include/R_ext/Error.h:103:15: warning: infinite recursion detected [-Winfinite-recursion]
  103 | #define error Rf_error
      |               ^~~~~~~~
tools.c:39:6: note: in expansion of macro 'error'
   39 | void error(const char *fmt, ...)
      |      ^~~~~
tools.c:41:3: note: recursive call
   41 |   Rf_error("%s", fmt);
      |   ^~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -shared -s -static-libgcc -o image.CannyEdges.dll tmp.def RcppExports.o adsf.o rcpp_canny.o tools.o -lpng -lfftw3 -lm -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/RtmpcTTCwC/R.INSTALL1129c4ef77001/image.CannyEdges/src'
make[1]: Entering directory '/d/temp/2024_12_18_01_50_01_11818/RtmpcTTCwC/R.INSTALL1129c4ef77001/image.CannyEdges/src'
make[1]: Leaving directory '/d/temp/2024_12_18_01_50_01_11818/RtmpcTTCwC/R.INSTALL1129c4ef77001/image.CannyEdges/src'
installing to d:/Rcompile/CRANpkg/lib/4.5/00LOCK-image.CannyEdges/00new/image.CannyEdges/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 'image.CannyEdges' as image.CannyEdges_0.1.1.zip
* DONE (image.CannyEdges)