* installing *source* package 'primes' ... ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 12.3.0' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o In file included from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/routines.h:26, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/RcppCommon.h:128, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp.h:27, from ../inst/include/primes_RcppExports.h:7, from ../inst/include/primes.h:7, from RcppExports.cpp:4: D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = true; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = false; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c gcd.cpp -o gcd.o In file included from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/routines.h:26, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/RcppCommon.h:128, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp.h:27, from gcd.cpp:1: D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = true; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = false; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c generate_n_primes.cpp -o generate_n_primes.o In file included from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/routines.h:26, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/RcppCommon.h:128, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp.h:27, from generate_n_primes.cpp:1: D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = true; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = false; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c is_prime.cpp -o is_prime.o In file included from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/routines.h:26, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/RcppCommon.h:128, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp.h:27, from is_prime.cpp:1: D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = true; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = false; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c k_tuple.cpp -o k_tuple.o In file included from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/routines.h:26, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/RcppCommon.h:128, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp.h:27, from k_tuple.cpp:1: D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = true; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = false; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c next_prime.cpp -o next_prime.o In file included from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/routines.h:26, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/RcppCommon.h:128, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp.h:27, from next_prime.cpp:1: D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = true; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = false; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c nth_prime.cpp -o nth_prime.o In file included from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/routines.h:26, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/RcppCommon.h:128, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp.h:27, from nth_prime.cpp:1: D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = true; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = false; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c prime_count.cpp -o prime_count.o In file included from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/routines.h:26, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/RcppCommon.h:128, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp.h:27, from prime_count.cpp:1: D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = true; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = false; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c prime_factors.cpp -o prime_factors.o In file included from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/routines.h:26, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/RcppCommon.h:128, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp.h:27, from prime_factors.cpp:1: D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = true; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = false; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c sieve.cpp -o sieve.o In file included from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/routines.h:26, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/RcppCommon.h:128, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp.h:27, from sieve.cpp:1: D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = true; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = false; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} g++ -std=gnu++17 -shared -s -static-libgcc -o primes.dll tmp.def RcppExports.o gcd.o generate_n_primes.o is_prime.o k_tuple.o next_prime.o nth_prime.o prime_count.o prime_factors.o sieve.o -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR installing to d:/RCompile/CRANincoming/R-devel/lib/00LOCK-primes/00new/primes/libs/x64 ** R ** data *** moving datasets to lazyload DB ** 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 * DONE (primes)