* installing *source* package 'kmc' ...
** this is package 'kmc' version '0.4-2'
** package 'kmc' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: 'gcc.exe (GCC) 14.2.0'
using C++ compiler: 'g++.exe (GCC) 14.2.0'
make[1]: Entering directory '/d/temp/2025_10_21_12_47_29_10822/RtmpK8cPpP/R.INSTALL32fc489c75f8/kmc/src'
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExport.cpp -o RcppExport.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c kmc.cpp -o kmc.o
kmc.cpp: In function 'void kmc_native(double*, double*, double*, int*)':
kmc.cpp:239:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
239 | for (size_t j =0;j < n; j++) w[j] = 0.;
| ~~^~~
kmc.cpp:243:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
243 | while (i < n - 1){
| ~~^~~~~~~
In file included from D:/RCompile/recent/R-4.5.1/include/R.h:73,
from common.h:4,
from kmc.cpp:1:
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/exceptions.h: In function 'void Rcpp::Rf_warning(const char*, Args&& ...) [with Args = {const char*}]':
D:/RCompile/recent/R-4.5.1/include/R_ext/Error.h:85:17: warning: infinite recursion detected [-Winfinite-recursion]
85 | #define warning Rf_warning
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/exceptions.h:190:17: note: in expansion of macro 'warning'
190 | inline void warning(const char* fmt, Args&&... args ) {
| ^~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/RcppCommon.h:133,
from D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp.h:27,
from common.h:5:
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/exceptions.h:191:19: note: recursive call
191 | Rf_warning("%s", tfm::format(fmt, std::forward<Args>(args)... ).c_str());
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x -mfpmath=sse -msse2 -mstackrealign -c kmc_init.c -o kmc_init.o
gcc -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x -mfpmath=sse -msse2 -mstackrealign -c surv2.c -o surv2.o
g++ -std=gnu++17 -shared -s -static-libgcc -o kmc.dll tmp.def RcppExport.o kmc.o kmc_init.o surv2.o -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.5.1/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2025_10_21_12_47_29_10822/RtmpK8cPpP/R.INSTALL32fc489c75f8/kmc/src'
make[1]: Entering directory '/d/temp/2025_10_21_12_47_29_10822/RtmpK8cPpP/R.INSTALL32fc489c75f8/kmc/src'
make[1]: Leaving directory '/d/temp/2025_10_21_12_47_29_10822/RtmpK8cPpP/R.INSTALL32fc489c75f8/kmc/src'
installing to d:/Rcompile/CRANpkg/lib/4.5/00LOCK-kmc/00new/kmc/libs/x64
** R
** 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 'kmc' as kmc_0.4-2.zip
* DONE (kmc)