* installing *source* package 'cld2' ...
** package 'cld2' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 13.3.0'
make[1]: Entering directory '/d/temp/2024_11_23_01_50_00_3284/RtmpUrvHxs/R.INSTALL7f48507650b5/cld2/src'
rm -f cld2.dll RcppExports.o wrapper.o libcld2/internal/cldutil.o libcld2/internal/cldutil_shared.o libcld2/internal/compact_lang_det.o libcld2/internal/compact_lang_det_hint_code.o libcld2/internal/compact_lang_det_impl.o libcld2/internal/debug.o libcld2/internal/fixunicodevalue.o libcld2/internal/generated_entities.o libcld2/internal/generated_language.o libcld2/internal/generated_ulscript.o libcld2/internal/getonescriptspan.o libcld2/internal/lang_script.o libcld2/internal/offsetmap.o libcld2/internal/scoreonescriptspan.o libcld2/internal/tote.o libcld2/internal/utf8statetable.o libcld2/internal/cld_generated_cjk_uni_prop_80.o libcld2/internal/cld2_generated_cjk_compatible.o libcld2/internal/cld_generated_cjk_delta_bi_4.o libcld2/internal/generated_distinct_bi_0.o libcld2/internal/cld2_generated_quadchrome_2.o libcld2/internal/cld2_generated_deltaoctachrome.o libcld2/internal/cld2_generated_distinctoctachrome.o libcld2/internal/cld_generated_score_quad_octa_2.o libcld2/libstatcld2.a
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
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 wrapper.cpp -o wrapper.o
wrapper.cpp:2: warning: "R_NO_REMAP" redefined
    2 | #define R_NO_REMAP
      | 
<command-line>: note: this is the location of the previous definition
wrapper.cpp: In function 'Rcpp::CharacterVector detect_language_cc(Rcpp::CharacterVector, bool, bool)':
wrapper.cpp:12:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'R_xlen_t' {aka 'long long int'} [-Wsign-compare]
   12 |   for(size_t i = 0; i < input.length(); i++){
      |                     ~~^~~~~~~~~~~~~~~~
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 libcld2/internal/cldutil.cc -o libcld2/internal/cldutil.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 libcld2/internal/cldutil_shared.cc -o libcld2/internal/cldutil_shared.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 libcld2/internal/compact_lang_det.cc -o libcld2/internal/compact_lang_det.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 libcld2/internal/compact_lang_det_hint_code.cc -o libcld2/internal/compact_lang_det_hint_code.o
libcld2/internal/compact_lang_det_hint_code.cc: In function 'std::string CLD2::TrimCLDLangTagsHint(const std::string&)':
libcld2/internal/compact_lang_det_hint_code.cc:1060:15: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string<char>::size_type' {aka 'const long long unsigned int'} [-Wsign-compare]
 1060 |     if (comma == string::npos) {comma = langtags.size();} // fake trailing comma
      |         ~~~~~~^~~~~~~~~~~~~~~
libcld2/internal/compact_lang_det_hint_code.cc: In function 'void CLD2::SetCLDLangTagsHint(const std::string&, CLDLangPriors*)':
libcld2/internal/compact_lang_det_hint_code.cc:1403:15: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string<char>::size_type' {aka 'const long long unsigned int'} [-Wsign-compare]
 1403 |     if (comma == string::npos) {comma = langtags.size();} // fake trailing comma
      |         ~~~~~~^~~~~~~~~~~~~~~
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 libcld2/internal/compact_lang_det_impl.cc -o libcld2/internal/compact_lang_det_impl.o
libcld2/internal/compact_lang_det_impl.cc: In function 'void CLD2::CalcSummaryLang(DocTote*, int, const int*, const Language*, const int*, Language*, bool*, bool, bool, int)':
libcld2/internal/compact_lang_det_impl.cc:1455:7: warning: unused variable 'plang_second' [-Wunused-variable]
 1455 |   int plang_second = PerScriptNumber(ULScript_Latin, language3[active_slot[1]]);
      |       ^~~~~~~~~~~~
libcld2/internal/compact_lang_det_impl.cc: In function 'CLD2::Language CLD2::DetectLanguageSummaryV2(const char*, int, bool, const CLDHints*, bool, int, Language, Language*, int*, double*, ResultChunkVector*, int*, bool*)':
libcld2/internal/compact_lang_det_impl.cc:1849:14: warning: unused variable 'ulscript' [-Wunused-variable]
 1849 |     ULScript ulscript = scriptspan.ulscript;
      |              ^~~~~~~~
libcld2/internal/compact_lang_det_impl.cc:1788:7: warning: unused variable 'next_other_tote' [-Wunused-variable]
 1788 |   int next_other_tote = 2;
      |       ^~~~~~~~~~~~~~~
libcld2/internal/compact_lang_det_impl.cc:1789:7: warning: unused variable 'tote_num' [-Wunused-variable]
 1789 |   int tote_num = 0;
      |       ^~~~~~~~
libcld2/internal/compact_lang_det_impl.cc:1793:8: warning: unused variable 'tote_seen' [-Wunused-variable]
 1793 |   bool tote_seen[4] = {false, false, false, false};
      |        ^~~~~~~~~
libcld2/internal/compact_lang_det_impl.cc:1794:7: warning: unused variable 'tote_grams' [-Wunused-variable]
 1794 |   int tote_grams[4] = {0, 0, 0, 0};     // Number in partial chunk
      |       ^~~~~~~~~~
libcld2/internal/compact_lang_det_impl.cc:1795:12: warning: unused variable 'tote_script' [-Wunused-variable]
 1795 |   ULScript tote_script[4] =
      |            ^~~~~~~~~~~
libcld2/internal/compact_lang_det_impl.cc:1814:7: warning: unused variable 'advance_by' [-Wunused-variable]
 1814 |   int advance_by = 2;                   // Advance 2 bytes
      |       ^~~~~~~~~~
libcld2/internal/compact_lang_det_impl.cc:1815:7: warning: unused variable 'advance_limit' [-Wunused-variable]
 1815 |   int advance_limit = textlimit >> 3;   // For first 1/8 of max document
      |       ^~~~~~~~~~~~~
libcld2/internal/compact_lang_det_impl.cc:1817:7: warning: variable 'initial_word_span' set but not used [-Wunused-but-set-variable]
 1817 |   int initial_word_span = kDefaultWordSpan;
      |       ^~~~~~~~~~~~~~~~~
libcld2/internal/compact_lang_det_impl.cc:1828:7: warning: unused variable 'chunksizeunis' [-Wunused-variable]
 1828 |   int chunksizeunis = (chunksizequads * 5) >> 1;
      |       ^~~~~~~~~~~~~
libcld2/internal/compact_lang_det_impl.cc:1832:7: warning: unused variable 'spantooshortlimit' [-Wunused-variable]
 1832 |   int spantooshortlimit = kShortSpanThresh;
      |       ^~~~~~~~~~~~~~~~~
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 libcld2/internal/debug.cc -o libcld2/internal/debug.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 libcld2/internal/fixunicodevalue.cc -o libcld2/internal/fixunicodevalue.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 libcld2/internal/generated_entities.cc -o libcld2/internal/generated_entities.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 libcld2/internal/generated_language.cc -o libcld2/internal/generated_language.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 libcld2/internal/generated_ulscript.cc -o libcld2/internal/generated_ulscript.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 libcld2/internal/getonescriptspan.cc -o libcld2/internal/getonescriptspan.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 libcld2/internal/lang_script.cc -o libcld2/internal/lang_script.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 libcld2/internal/offsetmap.cc -o libcld2/internal/offsetmap.o
libcld2/internal/offsetmap.cc: In member function 'void CLD2::OffsetMap::Printmap(const char*)':
libcld2/internal/offsetmap.cc:84:43: warning: array subscript has type 'char' [-Wchar-subscripts]
   84 |     fprintf(fout, "%c%02d ", "&=+-"[OpPart(diffs_[i])], LenPart(diffs_[i]));
      |                                     ~~~~~~^~~~~~~~~~~
libcld2/internal/offsetmap.cc: In member function 'void CLD2::OffsetMap::DumpString()':
libcld2/internal/offsetmap.cc:210:45: warning: array subscript has type 'char' [-Wchar-subscripts]
  210 |     fprintf(stderr, "%c%02d ", "&=+-"[OpPart(diffs_[i])], LenPart(diffs_[i]));
      |                                       ~~~~~~^~~~~~~~~~~
libcld2/internal/offsetmap.cc: In member function 'bool CLD2::OffsetMap::MoveLeft()':
libcld2/internal/offsetmap.cc:404:8: warning: variable 'retval' set but not used [-Wunused-but-set-variable]
  404 |   bool retval = true;
      |        ^~~~~~
libcld2/internal/offsetmap.cc: In static member function 'static bool CLD2::OffsetMap::CopyInserts(CLD2::OffsetMap*, CLD2::OffsetMap*)':
libcld2/internal/offsetmap.cc:484:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  484 |   while (ok && (source->next_diff_sub_ != source->diffs_.size())) {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
libcld2/internal/offsetmap.cc: In static member function 'static bool CLD2::OffsetMap::CopyDeletes(CLD2::OffsetMap*, CLD2::OffsetMap*)':
libcld2/internal/offsetmap.cc:498:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  498 |   while (ok && (source->next_diff_sub_ != source->diffs_.size())) {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
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 libcld2/internal/scoreonescriptspan.cc -o libcld2/internal/scoreonescriptspan.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 libcld2/internal/tote.cc -o libcld2/internal/tote.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 libcld2/internal/utf8statetable.cc -o libcld2/internal/utf8statetable.o
libcld2/internal/utf8statetable.cc: In function 'int CLD2::UTF8GenericReplaceInternalTwoByte(const UTF8ReplaceObj_2*, const StringPiece&, StringPiece&, bool, int*, int*, int*, OffsetMap*)':
libcld2/internal/utf8statetable.cc:905:7: warning: variable 'src_lll' set but not used [-Wunused-but-set-variable]
  905 |   int src_lll = srclimit - src;
      |       ^~~~~~~
libcld2/internal/utf8statetable.cc:906:7: warning: variable 'dst_lll' set but not used [-Wunused-but-set-variable]
  906 |   int dst_lll = dstlimit - dst;
      |       ^~~~~~~
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 libcld2/internal/cld_generated_cjk_uni_prop_80.cc -o libcld2/internal/cld_generated_cjk_uni_prop_80.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 libcld2/internal/cld2_generated_cjk_compatible.cc -o libcld2/internal/cld2_generated_cjk_compatible.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 libcld2/internal/cld_generated_cjk_delta_bi_4.cc -o libcld2/internal/cld_generated_cjk_delta_bi_4.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 libcld2/internal/generated_distinct_bi_0.cc -o libcld2/internal/generated_distinct_bi_0.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 libcld2/internal/cld2_generated_quadchrome_2.cc -o libcld2/internal/cld2_generated_quadchrome_2.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 libcld2/internal/cld2_generated_deltaoctachrome.cc -o libcld2/internal/cld2_generated_deltaoctachrome.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 libcld2/internal/cld2_generated_distinctoctachrome.cc -o libcld2/internal/cld2_generated_distinctoctachrome.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 libcld2/internal/cld_generated_score_quad_octa_2.cc -o libcld2/internal/cld_generated_score_quad_octa_2.o
ar rcs libcld2/libstatcld2.a libcld2/internal/cldutil.o libcld2/internal/cldutil_shared.o libcld2/internal/compact_lang_det.o libcld2/internal/compact_lang_det_hint_code.o libcld2/internal/compact_lang_det_impl.o libcld2/internal/debug.o libcld2/internal/fixunicodevalue.o libcld2/internal/generated_entities.o libcld2/internal/generated_language.o libcld2/internal/generated_ulscript.o libcld2/internal/getonescriptspan.o libcld2/internal/lang_script.o libcld2/internal/offsetmap.o libcld2/internal/scoreonescriptspan.o libcld2/internal/tote.o libcld2/internal/utf8statetable.o libcld2/internal/cld_generated_cjk_uni_prop_80.o libcld2/internal/cld2_generated_cjk_compatible.o libcld2/internal/cld_generated_cjk_delta_bi_4.o libcld2/internal/generated_distinct_bi_0.o libcld2/internal/cld2_generated_quadchrome_2.o libcld2/internal/cld2_generated_deltaoctachrome.o libcld2/internal/cld2_generated_distinctoctachrome.o libcld2/internal/cld_generated_score_quad_octa_2.o
g++ -std=gnu++17 -shared -s -static-libgcc -o cld2.dll tmp.def RcppExports.o wrapper.o -Llibcld2 -lstatcld2 -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_11_23_01_50_00_3284/RtmpUrvHxs/R.INSTALL7f48507650b5/cld2/src'
make[1]: Entering directory '/d/temp/2024_11_23_01_50_00_3284/RtmpUrvHxs/R.INSTALL7f48507650b5/cld2/src'
make[1]: Leaving directory '/d/temp/2024_11_23_01_50_00_3284/RtmpUrvHxs/R.INSTALL7f48507650b5/cld2/src'
installing to d:/Rcompile/CRANpkg/lib/4.5/00LOCK-cld2/00new/cld2/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 'cld2' as cld2_1.2.5.zip
* DONE (cld2)