* installing *source* package 'fastTextR' ... ** 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 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 args.cc -o args.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 args.h:16, from args.cc:9: 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 autotune.cc -o autotune.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 args.h:16, from autotune.h:17, from autotune.cc:9: 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 clean.cc -o clean.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 clean.cc: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 densematrix.cc -o densematrix.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 real.h:9, from matrix.h:17, from densematrix.h:18, from densematrix.cc:9: 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} densematrix.cc: In member function 'void fasttext::DenseMatrix::uniform(fasttext::real, unsigned int, int32_t)': densematrix.cc:48:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 48 | for (int i = 0; i < thread; i++) { | ~~^~~~~~~~ densematrix.cc:51:27: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 51 | for (int32_t i = 0; i < threads.size(); i++) { | ~~^~~~~~~~~~~~~~~~ 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 dictionary.cc -o dictionary.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 args.h:16, from dictionary.h:19, from dictionary.cc:9: 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} dictionary.cc: In member function 'void fasttext::Dictionary::computeSubwords(const std::string&, std::vector&, std::vector >*) const': dictionary.cc:181:52: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 181 | for (size_t j = i, n = 1; j < word.size() && n <= args_->maxn; n++) { | ~~^~~~~~~~~~~~~~ dictionary.cc:186:13: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 186 | if (n >= args_->minn && !(n == 1 && (i == 0 || j == word.size()))) { | ~~^~~~~~~~~~~~~~ dictionary.cc: In member function 'void fasttext::Dictionary::initNgrams()': dictionary.cc:198:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 198 | for (size_t i = 0; i < size_; i++) { | ~~^~~~~~~ dictionary.cc: In member function 'void fasttext::Dictionary::initTableDiscard()': dictionary.cc:296:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 296 | for (size_t i = 0; i < size_; i++) { | ~~^~~~~~~ dictionary.cc: In member function 'void fasttext::Dictionary::addWordNgrams(std::vector&, const std::vector&, int32_t) const': dictionary.cc:316:25: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 316 | for (int32_t i = 0; i < hashes.size(); i++) { | ~~^~~~~~~~~~~~~~~ dictionary.cc:318:31: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 318 | for (int32_t j = i + 1; j < hashes.size() && j < i + n; j++) { | ~~^~~~~~~~~~~~~~~ dictionary.cc: In member function 'void fasttext::Dictionary::prune(std::vector&)': dictionary.cc:515:25: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 515 | for (int32_t i = 0; i < words_.size(); i++) { | ~~^~~~~~~~~~~~~~~ dictionary.cc:517:12: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 517 | (j < words.size() && words[j] == i)) { | ~~^~~~~~~~~~~~~~ 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 fasttext.cc -o fasttext.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 args.h:16, from fasttext.h:22, from fasttext.cc:9: 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} fasttext.cc: In member function 'void fasttext::FastText::getWordVector(fasttext::Vector&, const std::string&) const': fasttext.cc:114:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 114 | for (int i = 0; i < ngrams.size(); i++) { | ~~^~~~~~~~~~~~~~~ fasttext.cc: In lambda function: fasttext.cc:314:12: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'const int' [-Wsign-compare] 314 | if (i1 == eosid && i2 == eosid) { // satisfy strict weak ordering | ~~~^~~~~~~~ fasttext.cc:314:27: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'const int' [-Wsign-compare] 314 | if (i1 == eosid && i2 == eosid) { // satisfy strict weak ordering | ~~~^~~~~~~~ fasttext.cc:317:18: warning: comparison of integer expressions of different signedness: 'const int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 317 | return eosid == i1 || (eosid != i2 && norms[i1] > norms[i2]); | ~~~~~~^~~~~ fasttext.cc:317:34: warning: comparison of integer expressions of different signedness: 'const int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 317 | return eosid == i1 || (eosid != i2 && norms[i1] > norms[i2]); | ~~~~~~^~~~~ fasttext.cc: In member function 'void fasttext::FastText::quantize(const fasttext::Args&, const TrainCallback&)': fasttext.cc:337:40: warning: comparison of integer expressions of different signedness: 'const size_t' {aka 'const long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare] 337 | if (qargs.cutoff > 0 && qargs.cutoff < input->size(0)) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ fasttext.cc:342:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 342 | for (auto i = 0; i < idx.size(); i++) { | ~~^~~~~~~~~~~~ fasttext.cc: In member function 'void fasttext::FastText::cbow(fasttext::Model::State&, fasttext::real, const std::vector&)': fasttext.cc:393:25: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 393 | for (int32_t w = 0; w < line.size(); w++) { | ~~^~~~~~~~~~~~~ fasttext.cc:397:41: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 397 | if (c != 0 && w + c >= 0 && w + c < line.size()) { | ~~~~~~^~~~~~~~~~~~~ fasttext.cc: In member function 'void fasttext::FastText::skipgram(fasttext::Model::State&, fasttext::real, const std::vector&)': fasttext.cc:411:25: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 411 | for (int32_t w = 0; w < line.size(); w++) { | ~~^~~~~~~~~~~~~ fasttext.cc:415:41: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 415 | if (c != 0 && w + c >= 0 && w + c < line.size()) { | ~~~~~~^~~~~~~~~~~~~ fasttext.cc: In member function 'void fasttext::FastText::getSentenceVector(std::istream&, fasttext::Vector&)': fasttext.cc:495:27: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 495 | for (int32_t i = 0; i < line.size(); i++) { | ~~^~~~~~~~~~~~~ fasttext.cc: In member function 'std::vector, fasttext::Vector> > fasttext::FastText::getNgramVectors(const std::string&) const': fasttext.cc:530:25: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 530 | for (int32_t i = 0; i < ngrams.size(); i++) { | ~~^~~~~~~~~~~~~~~ fasttext.cc: In member function 'std::vector > > fasttext::FastText::getNN(const fasttext::DenseMatrix&, const fasttext::Vector&, int32_t, const std::set >&)': fasttext.cc:591:23: warning: comparison of integer expressions of different signedness: 'std::vector > >::size_type' {aka 'long long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 591 | if (heap.size() == k && similarity < heap.front().first) { | ~~~~~~~~~~~~^~~~ fasttext.cc:596:23: warning: comparison of integer expressions of different signedness: 'std::vector > >::size_type' {aka 'long long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 596 | if (heap.size() > k) { | ~~~~~~~~~~~~^~~ fasttext.cc: In member function 'std::shared_ptr fasttext::FastText::getInputMatrixFromFile(const std::string&) const': fasttext.cc:696:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare] 696 | for (size_t i = 0; i < n; i++) { | ~~^~~ fasttext.cc:701:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare] 701 | for (size_t j = 0; j < dim; j++) { | ~~^~~~~ fasttext.cc:713:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare] 713 | for (size_t i = 0; i < n; i++) { | ~~^~~ fasttext.cc:718:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare] 718 | for (size_t j = 0; j < dim; j++) { | ~~^~~~~ fasttext.cc: In member function 'void fasttext::FastText::startThreads(const TrainCallback&)': fasttext.cc:802:25: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 802 | for (int32_t i = 0; i < threads.size(); i++) { | ~~^~~~~~~~~~~~~~~~ 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 interface.cc -o interface.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 interface.h:7, from interface.cc: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} interface.cc: In function 'Rcpp::List Rft_word_vectors(SEXP, std::vector >)': interface.cc:238:27: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 238 | for (int32_t i = 0; i < words.size(); i++) { | ~~^~~~~~~~~~~~~~ interface.cc: In function 'Rcpp::List Rft_sentence_vectors(SEXP, std::vector >)': interface.cc:254:27: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 254 | for (int32_t i = 0; i < sentences.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~ interface.cc: In function 'Rcpp::NumericVector Rft_nearest_neighbors(SEXP, const std::string&, int32_t)': interface.cc:274:27: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 274 | for (int32_t i = 0; i < knn.size(); i++) { | ~~^~~~~~~~~~~~ interface.cc: In function 'Rcpp::NumericVector Rft_analogies(SEXP, const std::string&, const std::string&, const std::string&, int32_t)': interface.cc:294:27: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 294 | for (int32_t i = 0; i < analogies.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~ 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 loss.cc -o loss.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 real.h:9, from matrix.h:17, from loss.h:15, from loss.cc:9: 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} loss.cc: In member function 'void fasttext::Loss::findKBest(int32_t, fasttext::real, fasttext::Predictions&, const fasttext::Vector&) const': loss.cc:83:21: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 83 | if (heap.size() == k && std_log(output[i]) < heap.front().first) { | ~~~~~~~~~~~~^~~~ loss.cc:88:21: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 88 | if (heap.size() > k) { | ~~~~~~~~~~~~^~~ loss.cc: In member function 'virtual fasttext::real fasttext::HierarchicalSoftmaxLoss::forward(const std::vector&, int32_t, fasttext::Model::State&, fasttext::real, bool)': loss.cc:257:25: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 257 | for (int32_t i = 0; i < pathToRoot.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ loss.cc: In member function 'void fasttext::HierarchicalSoftmaxLoss::dfs(int32_t, fasttext::real, int32_t, fasttext::real, fasttext::Predictions&, const fasttext::Vector&) const': loss.cc:282:19: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 282 | if (heap.size() == k && score < heap.front().first) { | ~~~~~~~~~~~~^~~~ loss.cc:289:21: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 289 | if (heap.size() > k) { | ~~~~~~~~~~~~^~~ 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 matrix.cc -o matrix.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 real.h:9, from matrix.h:17, from matrix.cc:9: 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 meter.cc -o meter.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 args.h:16, from dictionary.h:19, from meter.h:14, from meter.cc:9: 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 model.cc -o model.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 real.h:9, from matrix.h:17, from model.h:16, from model.cc:9: 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 productquantizer.cc -o productquantizer.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 real.h:9, from productquantizer.h:17, from productquantizer.cc:9: 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 quantmatrix.cc -o quantmatrix.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 real.h:9, from quantmatrix.h:18, from quantmatrix.cc:9: 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 utils.cc -o utils.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 real.h:9, from utils.h:11, from utils.cc:9: 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 vector.cc -o vector.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 real.h:9, from vector.h:15, from vector.cc:9: 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 fastTextR.dll tmp.def RcppExports.o args.o autotune.o clean.o densematrix.o dictionary.o fasttext.o interface.o loss.o matrix.o meter.o model.o productquantizer.o quantmatrix.o utils.o vector.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-fastTextR/00new/fastTextR/libs/x64 ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** installing vignettes ** 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 (fastTextR)