* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* installing *source* package ‘diffmatchpatch’ ...
** package ‘diffmatchpatch’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-13 (Debian 13.2.0-23) 13.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpnBldVt/R.INSTALL14d3ec654eb05d/diffmatchpatch/src'
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -I'/home/hornik/tmp/R.check/r-devel-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
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c diff.cpp -o diff.o
In file included from common.h:4,
                 from diff.cpp:1:
../inst/include/diff_match_patch.h: In instantiation of ‘static diff_match_patch<stringT, traits>::Diffs diff_match_patch<stringT, traits>::diff_fromDelta(const string_t&, const string_t&) [with stringT = std::__cxx11::basic_string<char>; traits = diff_match_patch_traits<char>; Diffs = std::__cxx11::list<diff_match_patch<std::__cxx11::basic_string<char> >::Diff, std::allocator<diff_match_patch<std::__cxx11::basic_string<char> >::Diff> >; string_t = std::__cxx11::basic_string<char>]’:
diff.cpp:122:31:   required from here
../inst/include/diff_match_patch.h:1596:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1596 |     if (pointer != text1.length()) {
      |         ~~~~~~~~^~~~~~~~~~~~~~~~~
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c match.cpp -o match.o
In file included from common.h:4,
                 from match.cpp:1:
../inst/include/diff_match_patch.h: In instantiation of ‘int diff_match_patch<stringT, traits>::match_bitap(const string_t&, const string_t&, int) const [with stringT = std::__cxx11::basic_string<char>; traits = diff_match_patch_traits<char>; string_t = std::__cxx11::basic_string<char>]’:
../inst/include/diff_match_patch.h:1631:14:   required from ‘int diff_match_patch<stringT, traits>::match_main(const string_t&, const string_t&, int) const [with stringT = std::__cxx11::basic_string<char>; traits = diff_match_patch_traits<char>; string_t = std::__cxx11::basic_string<char>]’
match.cpp:42:27:   required from here
../inst/include/diff_match_patch.h:1723:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
 1723 |             if (best_loc > loc) {
      |                 ~~~~~~~~~^~~~~
../inst/include/diff_match_patch.h: In member function ‘int diff_match_patch<stringT, traits>::match_bitap(const string_t&, const string_t&, int) const [with stringT = std::__cxx11::basic_string<char>; traits = diff_match_patch_traits<char>]’:
../inst/include/diff_match_patch.h:1741:5: warning: ‘rd’ may be used uninitialized [-Wmaybe-uninitialized]
 1741 |     delete [] rd;
      |     ^~~~~~~~~~~~
../inst/include/diff_match_patch.h:1674:10: note: ‘rd’ was declared here
 1674 |     int *rd;
      |          ^~
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c options.cpp -o options.o
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c patch.cpp -o patch.o
In file included from common.h:4,
                 from patch.cpp:2:
../inst/include/diff_match_patch.h: In instantiation of ‘int diff_match_patch<stringT, traits>::match_bitap(const string_t&, const string_t&, int) const [with stringT = std::__cxx11::basic_string<char>; traits = diff_match_patch_traits<char>; string_t = std::__cxx11::basic_string<char>]’:
../inst/include/diff_match_patch.h:1631:14:   required from ‘int diff_match_patch<stringT, traits>::match_main(const string_t&, const string_t&, int) const [with stringT = std::__cxx11::basic_string<char>; traits = diff_match_patch_traits<char>; string_t = std::__cxx11::basic_string<char>]’
../inst/include/diff_match_patch.h:2007:21:   required from ‘void diff_match_patch<stringT, traits>::patch_apply(const Patches&, const string_t&, std::pair<stringT, std::vector<bool> >&) const [with stringT = std::__cxx11::basic_string<char>; traits = diff_match_patch_traits<char>; Patches = std::__cxx11::list<diff_match_patch<std::__cxx11::basic_string<char> >::Patch, std::allocator<diff_match_patch<std::__cxx11::basic_string<char> >::Patch> >; string_t = std::__cxx11::basic_string<char>]’
../inst/include/diff_match_patch.h:1973:63:   required from ‘std::pair<stringT, std::vector<bool> > diff_match_patch<stringT, traits>::patch_apply(const Patches&, const string_t&) const [with stringT = std::__cxx11::basic_string<char>; traits = diff_match_patch_traits<char>; Patches = std::__cxx11::list<diff_match_patch<std::__cxx11::basic_string<char> >::Patch, std::allocator<diff_match_patch<std::__cxx11::basic_string<char> >::Patch> >; string_t = std::__cxx11::basic_string<char>]’
patch.cpp:23:29:   required from here
../inst/include/diff_match_patch.h:1723:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
 1723 |             if (best_loc > loc) {
      |                 ~~~~~~~~~^~~~~
../inst/include/diff_match_patch.h: In member function ‘int diff_match_patch<stringT, traits>::match_bitap(const string_t&, const string_t&, int) const [with stringT = std::__cxx11::basic_string<char>; traits = diff_match_patch_traits<char>]’:
../inst/include/diff_match_patch.h:1741:5: warning: ‘rd’ may be used uninitialized [-Wmaybe-uninitialized]
 1741 |     delete [] rd;
      |     ^~~~~~~~~~~~
../inst/include/diff_match_patch.h:1674:10: note: ‘rd’ was declared here
 1674 |     int *rd;
      |          ^~
g++-13 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o diffmatchpatch.so RcppExports.o diff.o match.o options.o patch.o -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpnBldVt/R.INSTALL14d3ec654eb05d/diffmatchpatch/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpnBldVt/R.INSTALL14d3ec654eb05d/diffmatchpatch/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpnBldVt/R.INSTALL14d3ec654eb05d/diffmatchpatch/src'
installing to /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/00LOCK-diffmatchpatch/00new/diffmatchpatch/libs
** R
** 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
** 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 (diffmatchpatch)