* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages’
* installing *source* package ‘diffmatchpatch’ ...
** package ‘diffmatchpatch’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.2.0-8) 14.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmptAjlnd/R.INSTALL160b4f1cd533a2/diffmatchpatch/src'
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -I'/home/hornik/tmp/R.check/r-release-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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -I'/home/hornik/tmp/R.check/r-release-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
  122 |   Diffs d = dmp.diff_fromDelta(x, delta);
      |             ~~~~~~~~~~~~~~~~~~^~~~~~~~~~
../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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -I'/home/hornik/tmp/R.check/r-release-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>]’
 1631 |       return match_bitap(text, pattern, loc);
      |              ^~~~~~~~~~~
match.cpp:42:27:   required from here
   42 |   int res = dmp.match_main(text, pattern, loc);
      |             ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
../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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -I'/home/hornik/tmp/R.check/r-release-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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -I'/home/hornik/tmp/R.check/r-release-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>]’
 1631 |       return match_bitap(text, pattern, loc);
      |              ^~~~~~~~~~~
../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>]’
 2007 |         start_loc = match_main(text, text1.substr(0, Match_MaxBits), expected_loc);
      |                     ^~~~~~~~~~
../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>]’
 1973 |     { std::pair<string_t, std::vector<bool> > res; patch_apply(patches, text, res); return res; }
      |                                                    ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
patch.cpp:23:29:   required from here
   23 |   auto out = dmp.patch_apply(dmp.patch_fromText(patch), x);
      |              ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../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++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-release-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-release-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmptAjlnd/R.INSTALL160b4f1cd533a2/diffmatchpatch/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmptAjlnd/R.INSTALL160b4f1cd533a2/diffmatchpatch/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmptAjlnd/R.INSTALL160b4f1cd533a2/diffmatchpatch/src'
installing to /home/hornik/tmp/R.check/r-release-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)