* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘image.CannyEdges’ ...
** this is package ‘image.CannyEdges’ version ‘0.1.1’
** package ‘image.CannyEdges’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-14 (Debian 14.3.0-8) 14.3.0’
using C++ compiler: ‘g++-14 (Debian 14.3.0-8) 14.3.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpKIsDGZ/R.INSTALL5774333c53d4c/image.CannyEdges/src'
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c RcppExports.cpp -o RcppExports.o
gcc-14 -std=gnu23 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c adsf.c -o adsf.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -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-14 -std=gnu23 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c tools.c -o tools.o
In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/R.h:73,
from tools.c:25:
tools.c: In function ‘Rf_error’:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/R_ext/Error.h:84:15: warning: infinite recursion detected [-Winfinite-recursion]
84 | #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++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o image.CannyEdges.so RcppExports.o adsf.o rcpp_canny.o tools.o -lpng -lfftw3 -lm -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpKIsDGZ/R.INSTALL5774333c53d4c/image.CannyEdges/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpKIsDGZ/R.INSTALL5774333c53d4c/image.CannyEdges/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpKIsDGZ/R.INSTALL5774333c53d4c/image.CannyEdges/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-image.CannyEdges/00new/image.CannyEdges/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
converting help for package ‘image.CannyEdges’
finding HTML links ... done
image.CannyEdges-package html
image_canny_edge_detector html
plot.image_canny html
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (image.CannyEdges)