* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages’
* installing *source* package ‘sentencepiece’ ...
** this is package ‘sentencepiece’ version ‘0.2.3’
** package ‘sentencepiece’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.3.0-8) 14.3.0’
using C++11
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpI8ook8/R.INSTALL3b2c2564a3f414/sentencepiece/src'
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/arena.cc -o third_party/protobuf-lite/arena.o
third_party/protobuf-lite/arena.cc: In member function ‘std::pair<void*, long unsigned int> google::protobuf::internal::ArenaImpl::NewBuffer(size_t, size_t)’:
third_party/protobuf-lite/arena.cc:237:17: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
237 | if (last_size != -1) {
| ~~~~~~~~~~^~~~~
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/arenastring.cc -o third_party/protobuf-lite/arenastring.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/bytestream.cc -o third_party/protobuf-lite/bytestream.o
In file included from third_party/protobuf-lite/bytestream.cc:36:
third_party/protobuf-lite/bytestream.cc: In member function ‘virtual void google::protobuf::strings::ArrayByteSource::Skip(size_t)’:
./third_party/protobuf-lite/google/protobuf/stubs/logging.h:186:50: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘google::protobuf::stringpiece_ssize_type’ {aka ‘long int’} [-Wsign-compare]
186 | #define GOOGLE_DCHECK_LE(A, B) GOOGLE_DCHECK((A) <= (B))
| ~~~~^~~~~~
./third_party/protobuf-lite/google/protobuf/stubs/logging.h:151:5: note: in definition of macro ‘GOOGLE_LOG_IF’
151 | !(CONDITION) ? (void)0 : GOOGLE_LOG(LEVEL)
| ^~~~~~~~~
./third_party/protobuf-lite/google/protobuf/stubs/logging.h:181:48: note: in expansion of macro ‘GOOGLE_CHECK’
181 | #define GOOGLE_DCHECK(EXPRESSION) while(false) GOOGLE_CHECK(EXPRESSION)
| ^~~~~~~~~~~~
./third_party/protobuf-lite/google/protobuf/stubs/logging.h:186:32: note: in expansion of macro ‘GOOGLE_DCHECK’
186 | #define GOOGLE_DCHECK_LE(A, B) GOOGLE_DCHECK((A) <= (B))
| ^~~~~~~~~~~~~
third_party/protobuf-lite/bytestream.cc:157:3: note: in expansion of macro ‘GOOGLE_DCHECK_LE’
157 | GOOGLE_DCHECK_LE(n, input_.size());
| ^~~~~~~~~~~~~~~~
third_party/protobuf-lite/bytestream.cc: In member function ‘virtual google::protobuf::StringPiece google::protobuf::strings::LimitByteSource::Peek()’:
third_party/protobuf-lite/bytestream.cc:177:20: warning: comparison of integer expressions of different signedness: ‘google::protobuf::stringpiece_ssize_type’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
177 | if (piece.size() > limit_) {
| ~~~~~~~~~~~~~^~~~~~~~
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/coded_stream.cc -o third_party/protobuf-lite/coded_stream.o
third_party/protobuf-lite/coded_stream.cc: In member function ‘bool google::protobuf::io::CodedInputStream::ReadLittleEndian32Fallback(google::protobuf::uint32*)’:
third_party/protobuf-lite/coded_stream.cc:315:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
315 | if (BufferSize() >= sizeof(*value)) {
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
third_party/protobuf-lite/coded_stream.cc: In member function ‘bool google::protobuf::io::CodedInputStream::ReadLittleEndian64Fallback(google::protobuf::uint64*)’:
third_party/protobuf-lite/coded_stream.cc:332:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
332 | if (BufferSize() >= sizeof(*value)) {
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
third_party/protobuf-lite/coded_stream.cc: In instantiation of ‘const google::protobuf::uint8* google::protobuf::io::{anonymous}::DecodeVarint64KnownSize(const google::protobuf::uint8*, google::protobuf::uint64*) [with long unsigned int N = 2; google::protobuf::uint8 = unsigned char; google::protobuf::uint64 = long unsigned int]’:
third_party/protobuf-lite/coded_stream.cc:421:38: required from here
421 | next = DecodeVarint64KnownSize<2>(buffer, value);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
third_party/protobuf-lite/coded_stream.cc:354:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
354 | for (int i = 0, offset = 0; i < N - 1; i++, offset += 7) {
| ~~^~~~~~~
third_party/protobuf-lite/coded_stream.cc: In instantiation of ‘const google::protobuf::uint8* google::protobuf::io::{anonymous}::DecodeVarint64KnownSize(const google::protobuf::uint8*, google::protobuf::uint64*) [with long unsigned int N = 3; google::protobuf::uint8 = unsigned char; google::protobuf::uint64 = long unsigned int]’:
third_party/protobuf-lite/coded_stream.cc:423:38: required from here
423 | next = DecodeVarint64KnownSize<3>(buffer, value);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
third_party/protobuf-lite/coded_stream.cc:354:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
354 | for (int i = 0, offset = 0; i < N - 1; i++, offset += 7) {
| ~~^~~~~~~
third_party/protobuf-lite/coded_stream.cc: In instantiation of ‘const google::protobuf::uint8* google::protobuf::io::{anonymous}::DecodeVarint64KnownSize(const google::protobuf::uint8*, google::protobuf::uint64*) [with long unsigned int N = 4; google::protobuf::uint8 = unsigned char; google::protobuf::uint64 = long unsigned int]’:
third_party/protobuf-lite/coded_stream.cc:425:38: required from here
425 | next = DecodeVarint64KnownSize<4>(buffer, value);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
third_party/protobuf-lite/coded_stream.cc:354:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
354 | for (int i = 0, offset = 0; i < N - 1; i++, offset += 7) {
| ~~^~~~~~~
third_party/protobuf-lite/coded_stream.cc: In instantiation of ‘const google::protobuf::uint8* google::protobuf::io::{anonymous}::DecodeVarint64KnownSize(const google::protobuf::uint8*, google::protobuf::uint64*) [with long unsigned int N = 5; google::protobuf::uint8 = unsigned char; google::protobuf::uint64 = long unsigned int]’:
third_party/protobuf-lite/coded_stream.cc:427:38: required from here
427 | next = DecodeVarint64KnownSize<5>(buffer, value);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
third_party/protobuf-lite/coded_stream.cc:354:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
354 | for (int i = 0, offset = 0; i < N - 1; i++, offset += 7) {
| ~~^~~~~~~
third_party/protobuf-lite/coded_stream.cc: In instantiation of ‘const google::protobuf::uint8* google::protobuf::io::{anonymous}::DecodeVarint64KnownSize(const google::protobuf::uint8*, google::protobuf::uint64*) [with long unsigned int N = 6; google::protobuf::uint8 = unsigned char; google::protobuf::uint64 = long unsigned int]’:
third_party/protobuf-lite/coded_stream.cc:429:38: required from here
429 | next = DecodeVarint64KnownSize<6>(buffer, value);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
third_party/protobuf-lite/coded_stream.cc:354:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
354 | for (int i = 0, offset = 0; i < N - 1; i++, offset += 7) {
| ~~^~~~~~~
third_party/protobuf-lite/coded_stream.cc: In instantiation of ‘const google::protobuf::uint8* google::protobuf::io::{anonymous}::DecodeVarint64KnownSize(const google::protobuf::uint8*, google::protobuf::uint64*) [with long unsigned int N = 7; google::protobuf::uint8 = unsigned char; google::protobuf::uint64 = long unsigned int]’:
third_party/protobuf-lite/coded_stream.cc:431:38: required from here
431 | next = DecodeVarint64KnownSize<7>(buffer, value);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
third_party/protobuf-lite/coded_stream.cc:354:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
354 | for (int i = 0, offset = 0; i < N - 1; i++, offset += 7) {
| ~~^~~~~~~
third_party/protobuf-lite/coded_stream.cc: In instantiation of ‘const google::protobuf::uint8* google::protobuf::io::{anonymous}::DecodeVarint64KnownSize(const google::protobuf::uint8*, google::protobuf::uint64*) [with long unsigned int N = 8; google::protobuf::uint8 = unsigned char; google::protobuf::uint64 = long unsigned int]’:
third_party/protobuf-lite/coded_stream.cc:433:38: required from here
433 | next = DecodeVarint64KnownSize<8>(buffer, value);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
third_party/protobuf-lite/coded_stream.cc:354:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
354 | for (int i = 0, offset = 0; i < N - 1; i++, offset += 7) {
| ~~^~~~~~~
third_party/protobuf-lite/coded_stream.cc: In instantiation of ‘const google::protobuf::uint8* google::protobuf::io::{anonymous}::DecodeVarint64KnownSize(const google::protobuf::uint8*, google::protobuf::uint64*) [with long unsigned int N = 9; google::protobuf::uint8 = unsigned char; google::protobuf::uint64 = long unsigned int]’:
third_party/protobuf-lite/coded_stream.cc:435:38: required from here
435 | next = DecodeVarint64KnownSize<9>(buffer, value);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
third_party/protobuf-lite/coded_stream.cc:354:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
354 | for (int i = 0, offset = 0; i < N - 1; i++, offset += 7) {
| ~~^~~~~~~
third_party/protobuf-lite/coded_stream.cc: In instantiation of ‘const google::protobuf::uint8* google::protobuf::io::{anonymous}::DecodeVarint64KnownSize(const google::protobuf::uint8*, google::protobuf::uint64*) [with long unsigned int N = 10; google::protobuf::uint8 = unsigned char; google::protobuf::uint64 = long unsigned int]’:
third_party/protobuf-lite/coded_stream.cc:437:39: required from here
437 | next = DecodeVarint64KnownSize<10>(buffer, value);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
third_party/protobuf-lite/coded_stream.cc:354:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
354 | for (int i = 0, offset = 0; i < N - 1; i++, offset += 7) {
| ~~^~~~~~~
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/common.cc -o third_party/protobuf-lite/common.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/extension_set.cc -o third_party/protobuf-lite/extension_set.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/generated_enum_util.cc -o third_party/protobuf-lite/generated_enum_util.o
third_party/protobuf-lite/generated_enum_util.cc: In function ‘bool google::protobuf::internal::InitializeEnumStrings(const EnumEntry*, const int*, size_t, ExplicitlyConstructed<std::__cxx11::basic_string<char> >*)’:
third_party/protobuf-lite/generated_enum_util.cc:86:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
86 | for (int i = 0; i < size; ++i) {
| ~~^~~~~~
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/generated_message_table_driven_lite.cc -o third_party/protobuf-lite/generated_message_table_driven_lite.o
In file included from third_party/protobuf-lite/generated_message_table_driven_lite.cc:31:
./third_party/protobuf-lite/google/protobuf/generated_message_table_driven_lite.h: In instantiation of ‘void google::protobuf::internal::ResetOneofField(const ParseTable&, int, google::protobuf::Arena*, google::protobuf::MessageLite*, google::protobuf::uint32*, google::protobuf::int64, const void*) [with ProcessingType field_type = google::protobuf::internal::ProcessingType_STRING; google::protobuf::uint32 = unsigned int; google::protobuf::int64 = long int]’:
./third_party/protobuf-lite/google/protobuf/generated_message_table_driven_lite.h:457:49: required from ‘bool google::protobuf::internal::MergePartialFromCodedStreamInlined(google::protobuf::MessageLite*, const ParseTable&, google::protobuf::io::CodedInputStream*) [with UnknownFieldHandler = {anonymous}::UnknownFieldHandlerLite; unsigned int kMaxTag = 127]’
457 | ResetOneofField<ProcessingType_STRING>(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
458 | table, field_number, arena, msg, oneof_case + presence_index,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
459 | offset, default_ptr);
| ~~~~~~~~~~~~~~~~~~~~
./third_party/protobuf-lite/google/protobuf/generated_message_table_driven_lite.h:784:73: required from ‘bool google::protobuf::internal::MergePartialFromCodedStreamImpl(google::protobuf::MessageLite*, const ParseTable&, google::protobuf::io::CodedInputStream*) [with UnknownFieldHandler = {anonymous}::UnknownFieldHandlerLite]’
784 | return MergePartialFromCodedStreamInlined<UnknownFieldHandler, 0x7F>(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
785 | msg, table, input);
| ~~~~~~~~~~~~~~~~~~
third_party/protobuf-lite/generated_message_table_driven_lite.cc:100:66: required from here
100 | return MergePartialFromCodedStreamImpl<UnknownFieldHandlerLite>(msg, table,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
101 | input);
| ~~~~~~
./third_party/protobuf-lite/google/protobuf/generated_message_table_driven_lite.h:175:19: warning: comparison of integer expressions of different signedness: ‘google::protobuf::uint32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
175 | if (*oneof_case == field_number) {
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~
./third_party/protobuf-lite/google/protobuf/generated_message_table_driven_lite.h: In instantiation of ‘void google::protobuf::internal::ResetOneofField(const ParseTable&, int, google::protobuf::Arena*, google::protobuf::MessageLite*, google::protobuf::uint32*, google::protobuf::int64, const void*) [with ProcessingType field_type = google::protobuf::internal::ProcessingType_MESSAGE; google::protobuf::uint32 = unsigned int; google::protobuf::int64 = long int]’:
./third_party/protobuf-lite/google/protobuf/generated_message_table_driven_lite.h:647:50: required from ‘bool google::protobuf::internal::MergePartialFromCodedStreamInlined(google::protobuf::MessageLite*, const ParseTable&, google::protobuf::io::CodedInputStream*) [with UnknownFieldHandler = {anonymous}::UnknownFieldHandlerLite; unsigned int kMaxTag = 127]’
647 | ResetOneofField<ProcessingType_MESSAGE>(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
648 | table, field_number, arena, msg, oneof_case + presence_index,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
649 | offset, NULL);
| ~~~~~~~~~~~~~
./third_party/protobuf-lite/google/protobuf/generated_message_table_driven_lite.h:784:73: required from ‘bool google::protobuf::internal::MergePartialFromCodedStreamImpl(google::protobuf::MessageLite*, const ParseTable&, google::protobuf::io::CodedInputStream*) [with UnknownFieldHandler = {anonymous}::UnknownFieldHandlerLite]’
784 | return MergePartialFromCodedStreamInlined<UnknownFieldHandler, 0x7F>(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
785 | msg, table, input);
| ~~~~~~~~~~~~~~~~~~
third_party/protobuf-lite/generated_message_table_driven_lite.cc:100:66: required from here
100 | return MergePartialFromCodedStreamImpl<UnknownFieldHandlerLite>(msg, table,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
101 | input);
| ~~~~~~
./third_party/protobuf-lite/google/protobuf/generated_message_table_driven_lite.h:175:19: warning: comparison of integer expressions of different signedness: ‘google::protobuf::uint32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
175 | if (*oneof_case == field_number) {
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/generated_message_util.cc -o third_party/protobuf-lite/generated_message_util.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/implicit_weak_message.cc -o third_party/protobuf-lite/implicit_weak_message.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/int128.cc -o third_party/protobuf-lite/int128.o
third_party/protobuf-lite/int128.cc: In function ‘std::ostream& google::protobuf::operator<<(std::ostream&, const uint128&)’:
third_party/protobuf-lite/int128.cc:178:13: warning: comparison of integer expressions of different signedness: ‘std::streamsize’ {aka ‘long int’} and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
178 | if (width > rep.size()) {
| ~~~~~~^~~~~~~~~~~~
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/io_win32.cc -o third_party/protobuf-lite/io_win32.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/message_lite.cc -o third_party/protobuf-lite/message_lite.o
third_party/protobuf-lite/message_lite.cc: In member function ‘bool google::protobuf::MessageLite::SerializePartialToCodedStream(google::protobuf::io::CodedOutputStream*) const’:
third_party/protobuf-lite/message_lite.cc:392:46: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare]
392 | if (final_byte_count - original_byte_count != size) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
third_party/protobuf-lite/message_lite.cc: In member function ‘bool google::protobuf::MessageLite::SerializePartialToArray(void*, int) const’:
third_party/protobuf-lite/message_lite.cc:491:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare]
491 | if (size < byte_size) return false;
| ~~~~~^~~~~~~~~~~
In file included from /usr/include/string.h:548,
from ./third_party/protobuf-lite/google/protobuf/stubs/port.h:39,
from ./third_party/protobuf-lite/google/protobuf/stubs/macros.h:34,
from ./third_party/protobuf-lite/google/protobuf/stubs/common.h:46,
from ./third_party/protobuf-lite/google/protobuf/message_lite.h:45,
from third_party/protobuf-lite/message_lite.cc:36:
In function ‘void* memcpy(void*, const void*, size_t)’,
inlined from ‘google::protobuf::uint8* google::protobuf::io::EpsCopyOutputStream::WriteRaw(const void*, int, google::protobuf::uint8*)’ at ./third_party/protobuf-lite/google/protobuf/io/coded_stream.h:699:16,
inlined from ‘virtual google::protobuf::uint8* google::protobuf::internal::ImplicitWeakMessage::_InternalSerialize(google::protobuf::uint8*, google::protobuf::io::EpsCopyOutputStream*) const’ at ./third_party/protobuf-lite/google/protobuf/implicit_weak_message.h:85:28,
inlined from ‘bool google::protobuf::MessageLite::SerializePartialToZeroCopyStream(google::protobuf::io::ZeroCopyOutputStream*) const’ at third_party/protobuf-lite/message_lite.cc:419:30:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:33: warning: ‘void* __builtin___memcpy_chk(void*, const void*, long unsigned int, long unsigned int)’ specified size between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/parse_context.cc -o third_party/protobuf-lite/parse_context.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/repeated_field.cc -o third_party/protobuf-lite/repeated_field.o
In file included from ./third_party/protobuf-lite/google/protobuf/repeated_field.h:60,
from third_party/protobuf-lite/repeated_field.cc:35:
third_party/protobuf-lite/repeated_field.cc: In member function ‘void** google::protobuf::internal::RepeatedPtrFieldBase::InternalExtend(int)’:
./third_party/protobuf-lite/google/protobuf/stubs/logging.h:159:48: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
159 | #define GOOGLE_CHECK_LE(A, B) GOOGLE_CHECK((A) <= (B))
| ~~~~^~~~~~
./third_party/protobuf-lite/google/protobuf/stubs/logging.h:151:5: note: in definition of macro ‘GOOGLE_LOG_IF’
151 | !(CONDITION) ? (void)0 : GOOGLE_LOG(LEVEL)
| ^~~~~~~~~
./third_party/protobuf-lite/google/protobuf/stubs/logging.h:159:31: note: in expansion of macro ‘GOOGLE_CHECK’
159 | #define GOOGLE_CHECK_LE(A, B) GOOGLE_CHECK((A) <= (B))
| ^~~~~~~~~~~~
third_party/protobuf-lite/repeated_field.cc:61:3: note: in expansion of macro ‘GOOGLE_CHECK_LE’
61 | GOOGLE_CHECK_LE(new_size, (std::numeric_limits<size_t>::max() - kRepHeaderSize) /
| ^~~~~~~~~~~~~~~
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/status.cc -o third_party/protobuf-lite/status.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/statusor.cc -o third_party/protobuf-lite/statusor.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/stringpiece.cc -o third_party/protobuf-lite/stringpiece.o
third_party/protobuf-lite/stringpiece.cc: In member function ‘bool google::protobuf::StringPiece::contains(google::protobuf::StringPiece) const’:
third_party/protobuf-lite/stringpiece.cc:101:21: warning: comparison of integer expressions of different signedness: ‘google::protobuf::stringpiece_ssize_type’ {aka ‘long int’} and ‘const google::protobuf::StringPiece::size_type’ {aka ‘const long unsigned int’} [-Wsign-compare]
101 | return find(s, 0) != npos;
| ~~~~~~~~~~~^~~~~~~
third_party/protobuf-lite/stringpiece.cc: In member function ‘google::protobuf::StringPiece google::protobuf::StringPiece::substr(size_type, size_type) const’:
third_party/protobuf-lite/stringpiece.cc:262:11: warning: comparison of integer expressions of different signedness: ‘google::protobuf::StringPiece::size_type’ {aka ‘long unsigned int’} and ‘const google::protobuf::stringpiece_ssize_type’ {aka ‘const long int’} [-Wsign-compare]
262 | if (pos > length_) pos = length_;
| ~~~~^~~~~~~~~
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/stringprintf.cc -o third_party/protobuf-lite/stringprintf.o
third_party/protobuf-lite/stringprintf.cc: In function ‘std::string google::protobuf::StringPrintfVector(const char*, const std::vector<std::__cxx11::basic_string<char> >&)’:
third_party/protobuf-lite/stringprintf.cc:153:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
153 | for (int i = 0; i < v.size(); ++i) {
| ~~^~~~~~~~~~
third_party/protobuf-lite/stringprintf.cc:156:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
156 | for (int i = v.size(); i < GOOGLE_ARRAYSIZE(cstr); ++i) {
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/structurally_valid.cc -o third_party/protobuf-lite/structurally_valid.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/strutil.cc -o third_party/protobuf-lite/strutil.o
third_party/protobuf-lite/strutil.cc: In function ‘void google::protobuf::CEscapeAndAppend(StringPiece, std::string*)’:
third_party/protobuf-lite/strutil.cc:562:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘google::protobuf::stringpiece_ssize_type’ {aka ‘long int’} [-Wsign-compare]
562 | if (escaped_len == src.size()) {
| ~~~~~~~~~~~~^~~~~~~~~~~~~
third_party/protobuf-lite/strutil.cc: In function ‘int google::protobuf::memcasecmp(const char*, const char*, size_t)’:
third_party/protobuf-lite/strutil.cc:1289:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1289 | for ( int i = 0; i < len; i++ ) {
| ~~^~~~~
third_party/protobuf-lite/strutil.cc: In function ‘int google::protobuf::GlobalReplaceSubstring(const std::string&, const std::string&, std::string*)’:
third_party/protobuf-lite/strutil.cc:1622:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const std::__cxx11::basic_string<char>::size_type’ {aka ‘const long unsigned int’} [-Wsign-compare]
1622 | match_pos != std::string::npos; pos = match_pos + substring.length(),
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/time.cc -o third_party/protobuf-lite/time.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/wire_format_lite.cc -o third_party/protobuf-lite/wire_format_lite.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/zero_copy_stream.cc -o third_party/protobuf-lite/zero_copy_stream.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/zero_copy_stream_impl.cc -o third_party/protobuf-lite/zero_copy_stream_impl.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/zero_copy_stream_impl_lite.cc -o third_party/protobuf-lite/zero_copy_stream_impl_lite.o
In file included from third_party/protobuf-lite/zero_copy_stream_impl_lite.cc:41:
third_party/protobuf-lite/zero_copy_stream_impl_lite.cc: In member function ‘virtual void google::protobuf::io::StringOutputStream::BackUp(int)’:
./third_party/protobuf-lite/google/protobuf/stubs/logging.h:159:48: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
159 | #define GOOGLE_CHECK_LE(A, B) GOOGLE_CHECK((A) <= (B))
| ~~~~^~~~~~
./third_party/protobuf-lite/google/protobuf/stubs/logging.h:151:5: note: in definition of macro ‘GOOGLE_LOG_IF’
151 | !(CONDITION) ? (void)0 : GOOGLE_LOG(LEVEL)
| ^~~~~~~~~
./third_party/protobuf-lite/google/protobuf/stubs/logging.h:159:31: note: in expansion of macro ‘GOOGLE_CHECK’
159 | #define GOOGLE_CHECK_LE(A, B) GOOGLE_CHECK((A) <= (B))
| ^~~~~~~~~~~~
third_party/protobuf-lite/zero_copy_stream_impl_lite.cc:171:3: note: in expansion of macro ‘GOOGLE_CHECK_LE’
171 | GOOGLE_CHECK_LE(count, target_->size());
| ^~~~~~~~~~~~~~~
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/absl/strings/string_view.cc -o third_party/absl/strings/string_view.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/absl/flags/flag.cc -o third_party/absl/flags/flag.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/builtin_pb/sentencepiece.pb.cc -o sentencepiece/src/builtin_pb/sentencepiece.pb.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/builtin_pb/sentencepiece_model.pb.cc -o sentencepiece/src/builtin_pb/sentencepiece_model.pb.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/bpe_model.cc -o sentencepiece/src/bpe_model.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/bpe_model_trainer.cc -o sentencepiece/src/bpe_model_trainer.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/builder.cc -o sentencepiece/src/builder.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/char_model.cc -o sentencepiece/src/char_model.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/char_model_trainer.cc -o sentencepiece/src/char_model_trainer.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/error.cc -o sentencepiece/src/error.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/filesystem.cc -o sentencepiece/src/filesystem.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/model_factory.cc -o sentencepiece/src/model_factory.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/model_interface.cc -o sentencepiece/src/model_interface.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/normalizer.cc -o sentencepiece/src/normalizer.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/pretokenizer_for_training.cc -o sentencepiece/src/pretokenizer_for_training.o
sentencepiece/src/pretokenizer_for_training.cc: In static member function ‘static std::string sentencepiece::pretokenizer::PretokenizerForTrainingInterface::Postprocess(const sentencepiece::SentencePieceText&)’:
sentencepiece/src/pretokenizer_for_training.cc:49:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘google::protobuf::uint32’ {aka ‘unsigned int’} [-Wsign-compare]
49 | if (prev == piece.begin() && piece.begin() != 0) {
| ~~~~~^~~~~~~~~~~~~~~~
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/sentencepiece_processor.cc -o sentencepiece/src/sentencepiece_processor.o
sentencepiece/src/sentencepiece_processor.cc: In member function ‘sentencepiece::util::Status sentencepiece::SentencePieceProcessor::PopulateSentencePieceText(absl::string_view, absl::string_view, const std::vector<long unsigned int>&, const sentencepiece::EncodeResult&, sentencepiece::SentencePieceText*) const’:
sentencepiece/src/sentencepiece_processor.cc:372:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘absl::string_view::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
372 | for (int i = 0; i < w.size(); ++i) {
| ~~^~~~~~~~~~
sentencepiece/src/sentencepiece_processor.cc:383:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘absl::string_view::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
383 | if (i == w.size() - 1) {
| ~~^~~~~~~~~~~~~~~
sentencepiece/src/sentencepiece_processor.cc: In lambda function:
sentencepiece/src/sentencepiece_processor.cc:628:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
628 | for (int j = 0; j < consumed; j++) {
| ~~^~~~~~~~~~
sentencepiece/src/sentencepiece_processor.cc:632:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
632 | if (j == consumed - 1) {
| ~~^~~~~~~~~~~~~~~
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/sentencepiece_trainer.cc -o sentencepiece/src/sentencepiece_trainer.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/trainer_factory.cc -o sentencepiece/src/trainer_factory.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/trainer_interface.cc -o sentencepiece/src/trainer_interface.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/unicode_script.cc -o sentencepiece/src/unicode_script.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/unigram_model.cc -o sentencepiece/src/unigram_model.o
sentencepiece/src/unigram_model.cc: In member function ‘std::vector<std::pair<std::vector<sentencepiece::unigram::Lattice::Node*>, float> > sentencepiece::unigram::Lattice::NBest(size_t, bool, float)’:
sentencepiece/src/unigram_model.cc:382:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<sentencepiece::unigram::Lattice::Node*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
382 | for (int i = 0; i < end_nodes(node->pos).size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sentencepiece/src/unigram_model.cc:392:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
392 | for (int i = 0; i < adjusted_probs.size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~
sentencepiece/src/unigram_model.cc:403:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<sentencepiece::unigram::Lattice::Node*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
403 | for (int i = 0; i < end_nodes(node->pos).size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sentencepiece/src/unigram_model.cc: In member function ‘virtual sentencepiece::NBestEncodeResult sentencepiece::unigram::Model::SampleEncodeAndScore(absl::string_view, float, int, bool, bool) const’:
sentencepiece/src/unigram_model.cc:704:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<std::vector<sentencepiece::unigram::Lattice::Node*>, float> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
704 | for (int i = 0; i < nbest_samples.size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~
sentencepiece/src/unigram_model.cc:714:25: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘std::vector<std::pair<std::vector<sentencepiece::unigram::Lattice::Node*>, float> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
714 | if (index_of_best != nbest_samples.size()) {
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
sentencepiece/src/unigram_model.cc:756:27: warning: comparison of integer expressions of different signedness: ‘std::vector<std::pair<std::vector<std::pair<absl::string_view, int> >, float> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
756 | while (results.size() < samples) {
| ~~~~~~~~~~~~~~~^~~~~~~~~
sentencepiece/src/unigram_model.cc: In member function ‘sentencepiece::EncodeResult sentencepiece::unigram::Model::EncodeOptimized(absl::string_view) const’:
sentencepiece/src/unigram_model.cc:895:20: warning: comparison of integer expressions of different signedness: ‘std::size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare]
895 | while (key_pos < size) {
| ~~~~~~~~^~~~~~
sentencepiece/src/unigram_model.cc:916:40: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
916 | if (!has_single_node && length == mblen) {
| ~~~~~~~^~~~~~~~
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/unigram_model_trainer.cc -o sentencepiece/src/unigram_model_trainer.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/util.cc -o sentencepiece/src/util.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/word_model.cc -o sentencepiece/src/word_model.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/word_model_trainer.cc -o sentencepiece/src/word_model_trainer.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 rcpp_sentencepiece.cpp -o rcpp_sentencepiece.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 rcpp_wordpiece.cpp -o rcpp_wordpiece.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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++11 -shared -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -Wl,-O1 -o sentencepiece.so third_party/protobuf-lite/arena.o third_party/protobuf-lite/arenastring.o third_party/protobuf-lite/bytestream.o third_party/protobuf-lite/coded_stream.o third_party/protobuf-lite/common.o third_party/protobuf-lite/extension_set.o third_party/protobuf-lite/generated_enum_util.o third_party/protobuf-lite/generated_message_table_driven_lite.o third_party/protobuf-lite/generated_message_util.o third_party/protobuf-lite/implicit_weak_message.o third_party/protobuf-lite/int128.o third_party/protobuf-lite/io_win32.o third_party/protobuf-lite/message_lite.o third_party/protobuf-lite/parse_context.o third_party/protobuf-lite/repeated_field.o third_party/protobuf-lite/status.o third_party/protobuf-lite/statusor.o third_party/protobuf-lite/stringpiece.o third_party/protobuf-lite/stringprintf.o third_party/protobuf-lite/structurally_valid.o third_party/protobuf-lite/strutil.o third_party/protobuf-lite/time.o third_party/protobuf-lite/wire_format_lite.o third_party/protobuf-lite/zero_copy_stream.o third_party/protobuf-lite/zero_copy_stream_impl.o third_party/protobuf-lite/zero_copy_stream_impl_lite.o third_party/absl/strings/string_view.o third_party/absl/flags/flag.o sentencepiece/src/builtin_pb/sentencepiece.pb.o sentencepiece/src/builtin_pb/sentencepiece_model.pb.o sentencepiece/src/bpe_model.o sentencepiece/src/bpe_model_trainer.o sentencepiece/src/builder.o sentencepiece/src/char_model.o sentencepiece/src/char_model_trainer.o sentencepiece/src/error.o sentencepiece/src/filesystem.o sentencepiece/src/model_factory.o sentencepiece/src/model_interface.o sentencepiece/src/normalizer.o sentencepiece/src/pretokenizer_for_training.o sentencepiece/src/sentencepiece_processor.o sentencepiece/src/sentencepiece_trainer.o sentencepiece/src/trainer_factory.o sentencepiece/src/trainer_interface.o sentencepiece/src/unicode_script.o sentencepiece/src/unigram_model.o sentencepiece/src/unigram_model_trainer.o sentencepiece/src/util.o sentencepiece/src/word_model.o sentencepiece/src/word_model_trainer.o rcpp_sentencepiece.o rcpp_wordpiece.o RcppExports.o -pthread -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lR
rm -f third_party/protobuf-lite/arena.o third_party/protobuf-lite/arenastring.o third_party/protobuf-lite/bytestream.o third_party/protobuf-lite/coded_stream.o third_party/protobuf-lite/common.o third_party/protobuf-lite/extension_set.o third_party/protobuf-lite/generated_enum_util.o third_party/protobuf-lite/generated_message_table_driven_lite.o third_party/protobuf-lite/generated_message_util.o third_party/protobuf-lite/implicit_weak_message.o third_party/protobuf-lite/int128.o third_party/protobuf-lite/io_win32.o third_party/protobuf-lite/message_lite.o third_party/protobuf-lite/parse_context.o third_party/protobuf-lite/repeated_field.o third_party/protobuf-lite/status.o third_party/protobuf-lite/statusor.o third_party/protobuf-lite/stringpiece.o third_party/protobuf-lite/stringprintf.o third_party/protobuf-lite/structurally_valid.o third_party/protobuf-lite/strutil.o third_party/protobuf-lite/time.o third_party/protobuf-lite/wire_format_lite.o third_party/protobuf-lite/zero_copy_stream.o third_party/protobuf-lite/zero_copy_stream_impl.o third_party/protobuf-lite/zero_copy_stream_impl_lite.o third_party/absl/strings/string_view.o third_party/absl/flags/flag.o sentencepiece/src/builtin_pb/sentencepiece.pb.o sentencepiece/src/builtin_pb/sentencepiece_model.pb.o sentencepiece/src/bpe_model.o sentencepiece/src/bpe_model_trainer.o sentencepiece/src/builder.o sentencepiece/src/char_model.o sentencepiece/src/char_model_trainer.o sentencepiece/src/error.o sentencepiece/src/filesystem.o sentencepiece/src/model_factory.o sentencepiece/src/model_interface.o sentencepiece/src/normalizer.o sentencepiece/src/pretokenizer_for_training.o sentencepiece/src/sentencepiece_processor.o sentencepiece/src/sentencepiece_trainer.o sentencepiece/src/trainer_factory.o sentencepiece/src/trainer_interface.o sentencepiece/src/unicode_script.o sentencepiece/src/unigram_model.o sentencepiece/src/unigram_model_trainer.o sentencepiece/src/util.o sentencepiece/src/word_model.o sentencepiece/src/word_model_trainer.o rcpp_sentencepiece.o rcpp_wordpiece.o RcppExports.o
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpI8ook8/R.INSTALL3b2c2564a3f414/sentencepiece/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpI8ook8/R.INSTALL3b2c2564a3f414/sentencepiece/src'
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/arena.cc -o third_party/protobuf-lite/arena.o
third_party/protobuf-lite/arena.cc: In member function ‘std::pair<void*, long unsigned int> google::protobuf::internal::ArenaImpl::NewBuffer(size_t, size_t)’:
third_party/protobuf-lite/arena.cc:237:17: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
237 | if (last_size != -1) {
| ~~~~~~~~~~^~~~~
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/arenastring.cc -o third_party/protobuf-lite/arenastring.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/bytestream.cc -o third_party/protobuf-lite/bytestream.o
In file included from third_party/protobuf-lite/bytestream.cc:36:
third_party/protobuf-lite/bytestream.cc: In member function ‘virtual void google::protobuf::strings::ArrayByteSource::Skip(size_t)’:
./third_party/protobuf-lite/google/protobuf/stubs/logging.h:186:50: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘google::protobuf::stringpiece_ssize_type’ {aka ‘long int’} [-Wsign-compare]
186 | #define GOOGLE_DCHECK_LE(A, B) GOOGLE_DCHECK((A) <= (B))
| ~~~~^~~~~~
./third_party/protobuf-lite/google/protobuf/stubs/logging.h:151:5: note: in definition of macro ‘GOOGLE_LOG_IF’
151 | !(CONDITION) ? (void)0 : GOOGLE_LOG(LEVEL)
| ^~~~~~~~~
./third_party/protobuf-lite/google/protobuf/stubs/logging.h:181:48: note: in expansion of macro ‘GOOGLE_CHECK’
181 | #define GOOGLE_DCHECK(EXPRESSION) while(false) GOOGLE_CHECK(EXPRESSION)
| ^~~~~~~~~~~~
./third_party/protobuf-lite/google/protobuf/stubs/logging.h:186:32: note: in expansion of macro ‘GOOGLE_DCHECK’
186 | #define GOOGLE_DCHECK_LE(A, B) GOOGLE_DCHECK((A) <= (B))
| ^~~~~~~~~~~~~
third_party/protobuf-lite/bytestream.cc:157:3: note: in expansion of macro ‘GOOGLE_DCHECK_LE’
157 | GOOGLE_DCHECK_LE(n, input_.size());
| ^~~~~~~~~~~~~~~~
third_party/protobuf-lite/bytestream.cc: In member function ‘virtual google::protobuf::StringPiece google::protobuf::strings::LimitByteSource::Peek()’:
third_party/protobuf-lite/bytestream.cc:177:20: warning: comparison of integer expressions of different signedness: ‘google::protobuf::stringpiece_ssize_type’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
177 | if (piece.size() > limit_) {
| ~~~~~~~~~~~~~^~~~~~~~
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/coded_stream.cc -o third_party/protobuf-lite/coded_stream.o
third_party/protobuf-lite/coded_stream.cc: In member function ‘bool google::protobuf::io::CodedInputStream::ReadLittleEndian32Fallback(google::protobuf::uint32*)’:
third_party/protobuf-lite/coded_stream.cc:315:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
315 | if (BufferSize() >= sizeof(*value)) {
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
third_party/protobuf-lite/coded_stream.cc: In member function ‘bool google::protobuf::io::CodedInputStream::ReadLittleEndian64Fallback(google::protobuf::uint64*)’:
third_party/protobuf-lite/coded_stream.cc:332:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
332 | if (BufferSize() >= sizeof(*value)) {
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
third_party/protobuf-lite/coded_stream.cc: In instantiation of ‘const google::protobuf::uint8* google::protobuf::io::{anonymous}::DecodeVarint64KnownSize(const google::protobuf::uint8*, google::protobuf::uint64*) [with long unsigned int N = 2; google::protobuf::uint8 = unsigned char; google::protobuf::uint64 = long unsigned int]’:
third_party/protobuf-lite/coded_stream.cc:421:38: required from here
421 | next = DecodeVarint64KnownSize<2>(buffer, value);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
third_party/protobuf-lite/coded_stream.cc:354:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
354 | for (int i = 0, offset = 0; i < N - 1; i++, offset += 7) {
| ~~^~~~~~~
third_party/protobuf-lite/coded_stream.cc: In instantiation of ‘const google::protobuf::uint8* google::protobuf::io::{anonymous}::DecodeVarint64KnownSize(const google::protobuf::uint8*, google::protobuf::uint64*) [with long unsigned int N = 3; google::protobuf::uint8 = unsigned char; google::protobuf::uint64 = long unsigned int]’:
third_party/protobuf-lite/coded_stream.cc:423:38: required from here
423 | next = DecodeVarint64KnownSize<3>(buffer, value);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
third_party/protobuf-lite/coded_stream.cc:354:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
354 | for (int i = 0, offset = 0; i < N - 1; i++, offset += 7) {
| ~~^~~~~~~
third_party/protobuf-lite/coded_stream.cc: In instantiation of ‘const google::protobuf::uint8* google::protobuf::io::{anonymous}::DecodeVarint64KnownSize(const google::protobuf::uint8*, google::protobuf::uint64*) [with long unsigned int N = 4; google::protobuf::uint8 = unsigned char; google::protobuf::uint64 = long unsigned int]’:
third_party/protobuf-lite/coded_stream.cc:425:38: required from here
425 | next = DecodeVarint64KnownSize<4>(buffer, value);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
third_party/protobuf-lite/coded_stream.cc:354:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
354 | for (int i = 0, offset = 0; i < N - 1; i++, offset += 7) {
| ~~^~~~~~~
third_party/protobuf-lite/coded_stream.cc: In instantiation of ‘const google::protobuf::uint8* google::protobuf::io::{anonymous}::DecodeVarint64KnownSize(const google::protobuf::uint8*, google::protobuf::uint64*) [with long unsigned int N = 5; google::protobuf::uint8 = unsigned char; google::protobuf::uint64 = long unsigned int]’:
third_party/protobuf-lite/coded_stream.cc:427:38: required from here
427 | next = DecodeVarint64KnownSize<5>(buffer, value);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
third_party/protobuf-lite/coded_stream.cc:354:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
354 | for (int i = 0, offset = 0; i < N - 1; i++, offset += 7) {
| ~~^~~~~~~
third_party/protobuf-lite/coded_stream.cc: In instantiation of ‘const google::protobuf::uint8* google::protobuf::io::{anonymous}::DecodeVarint64KnownSize(const google::protobuf::uint8*, google::protobuf::uint64*) [with long unsigned int N = 6; google::protobuf::uint8 = unsigned char; google::protobuf::uint64 = long unsigned int]’:
third_party/protobuf-lite/coded_stream.cc:429:38: required from here
429 | next = DecodeVarint64KnownSize<6>(buffer, value);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
third_party/protobuf-lite/coded_stream.cc:354:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
354 | for (int i = 0, offset = 0; i < N - 1; i++, offset += 7) {
| ~~^~~~~~~
third_party/protobuf-lite/coded_stream.cc: In instantiation of ‘const google::protobuf::uint8* google::protobuf::io::{anonymous}::DecodeVarint64KnownSize(const google::protobuf::uint8*, google::protobuf::uint64*) [with long unsigned int N = 7; google::protobuf::uint8 = unsigned char; google::protobuf::uint64 = long unsigned int]’:
third_party/protobuf-lite/coded_stream.cc:431:38: required from here
431 | next = DecodeVarint64KnownSize<7>(buffer, value);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
third_party/protobuf-lite/coded_stream.cc:354:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
354 | for (int i = 0, offset = 0; i < N - 1; i++, offset += 7) {
| ~~^~~~~~~
third_party/protobuf-lite/coded_stream.cc: In instantiation of ‘const google::protobuf::uint8* google::protobuf::io::{anonymous}::DecodeVarint64KnownSize(const google::protobuf::uint8*, google::protobuf::uint64*) [with long unsigned int N = 8; google::protobuf::uint8 = unsigned char; google::protobuf::uint64 = long unsigned int]’:
third_party/protobuf-lite/coded_stream.cc:433:38: required from here
433 | next = DecodeVarint64KnownSize<8>(buffer, value);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
third_party/protobuf-lite/coded_stream.cc:354:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
354 | for (int i = 0, offset = 0; i < N - 1; i++, offset += 7) {
| ~~^~~~~~~
third_party/protobuf-lite/coded_stream.cc: In instantiation of ‘const google::protobuf::uint8* google::protobuf::io::{anonymous}::DecodeVarint64KnownSize(const google::protobuf::uint8*, google::protobuf::uint64*) [with long unsigned int N = 9; google::protobuf::uint8 = unsigned char; google::protobuf::uint64 = long unsigned int]’:
third_party/protobuf-lite/coded_stream.cc:435:38: required from here
435 | next = DecodeVarint64KnownSize<9>(buffer, value);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
third_party/protobuf-lite/coded_stream.cc:354:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
354 | for (int i = 0, offset = 0; i < N - 1; i++, offset += 7) {
| ~~^~~~~~~
third_party/protobuf-lite/coded_stream.cc: In instantiation of ‘const google::protobuf::uint8* google::protobuf::io::{anonymous}::DecodeVarint64KnownSize(const google::protobuf::uint8*, google::protobuf::uint64*) [with long unsigned int N = 10; google::protobuf::uint8 = unsigned char; google::protobuf::uint64 = long unsigned int]’:
third_party/protobuf-lite/coded_stream.cc:437:39: required from here
437 | next = DecodeVarint64KnownSize<10>(buffer, value);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
third_party/protobuf-lite/coded_stream.cc:354:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
354 | for (int i = 0, offset = 0; i < N - 1; i++, offset += 7) {
| ~~^~~~~~~
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/common.cc -o third_party/protobuf-lite/common.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/extension_set.cc -o third_party/protobuf-lite/extension_set.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/generated_enum_util.cc -o third_party/protobuf-lite/generated_enum_util.o
third_party/protobuf-lite/generated_enum_util.cc: In function ‘bool google::protobuf::internal::InitializeEnumStrings(const EnumEntry*, const int*, size_t, ExplicitlyConstructed<std::__cxx11::basic_string<char> >*)’:
third_party/protobuf-lite/generated_enum_util.cc:86:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
86 | for (int i = 0; i < size; ++i) {
| ~~^~~~~~
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/generated_message_table_driven_lite.cc -o third_party/protobuf-lite/generated_message_table_driven_lite.o
In file included from third_party/protobuf-lite/generated_message_table_driven_lite.cc:31:
./third_party/protobuf-lite/google/protobuf/generated_message_table_driven_lite.h: In instantiation of ‘void google::protobuf::internal::ResetOneofField(const ParseTable&, int, google::protobuf::Arena*, google::protobuf::MessageLite*, google::protobuf::uint32*, google::protobuf::int64, const void*) [with ProcessingType field_type = google::protobuf::internal::ProcessingType_STRING; google::protobuf::uint32 = unsigned int; google::protobuf::int64 = long int]’:
./third_party/protobuf-lite/google/protobuf/generated_message_table_driven_lite.h:457:49: required from ‘bool google::protobuf::internal::MergePartialFromCodedStreamInlined(google::protobuf::MessageLite*, const ParseTable&, google::protobuf::io::CodedInputStream*) [with UnknownFieldHandler = {anonymous}::UnknownFieldHandlerLite; unsigned int kMaxTag = 127]’
457 | ResetOneofField<ProcessingType_STRING>(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
458 | table, field_number, arena, msg, oneof_case + presence_index,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
459 | offset, default_ptr);
| ~~~~~~~~~~~~~~~~~~~~
./third_party/protobuf-lite/google/protobuf/generated_message_table_driven_lite.h:784:73: required from ‘bool google::protobuf::internal::MergePartialFromCodedStreamImpl(google::protobuf::MessageLite*, const ParseTable&, google::protobuf::io::CodedInputStream*) [with UnknownFieldHandler = {anonymous}::UnknownFieldHandlerLite]’
784 | return MergePartialFromCodedStreamInlined<UnknownFieldHandler, 0x7F>(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
785 | msg, table, input);
| ~~~~~~~~~~~~~~~~~~
third_party/protobuf-lite/generated_message_table_driven_lite.cc:100:66: required from here
100 | return MergePartialFromCodedStreamImpl<UnknownFieldHandlerLite>(msg, table,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
101 | input);
| ~~~~~~
./third_party/protobuf-lite/google/protobuf/generated_message_table_driven_lite.h:175:19: warning: comparison of integer expressions of different signedness: ‘google::protobuf::uint32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
175 | if (*oneof_case == field_number) {
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~
./third_party/protobuf-lite/google/protobuf/generated_message_table_driven_lite.h: In instantiation of ‘void google::protobuf::internal::ResetOneofField(const ParseTable&, int, google::protobuf::Arena*, google::protobuf::MessageLite*, google::protobuf::uint32*, google::protobuf::int64, const void*) [with ProcessingType field_type = google::protobuf::internal::ProcessingType_MESSAGE; google::protobuf::uint32 = unsigned int; google::protobuf::int64 = long int]’:
./third_party/protobuf-lite/google/protobuf/generated_message_table_driven_lite.h:647:50: required from ‘bool google::protobuf::internal::MergePartialFromCodedStreamInlined(google::protobuf::MessageLite*, const ParseTable&, google::protobuf::io::CodedInputStream*) [with UnknownFieldHandler = {anonymous}::UnknownFieldHandlerLite; unsigned int kMaxTag = 127]’
647 | ResetOneofField<ProcessingType_MESSAGE>(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
648 | table, field_number, arena, msg, oneof_case + presence_index,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
649 | offset, NULL);
| ~~~~~~~~~~~~~
./third_party/protobuf-lite/google/protobuf/generated_message_table_driven_lite.h:784:73: required from ‘bool google::protobuf::internal::MergePartialFromCodedStreamImpl(google::protobuf::MessageLite*, const ParseTable&, google::protobuf::io::CodedInputStream*) [with UnknownFieldHandler = {anonymous}::UnknownFieldHandlerLite]’
784 | return MergePartialFromCodedStreamInlined<UnknownFieldHandler, 0x7F>(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
785 | msg, table, input);
| ~~~~~~~~~~~~~~~~~~
third_party/protobuf-lite/generated_message_table_driven_lite.cc:100:66: required from here
100 | return MergePartialFromCodedStreamImpl<UnknownFieldHandlerLite>(msg, table,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
101 | input);
| ~~~~~~
./third_party/protobuf-lite/google/protobuf/generated_message_table_driven_lite.h:175:19: warning: comparison of integer expressions of different signedness: ‘google::protobuf::uint32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
175 | if (*oneof_case == field_number) {
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/generated_message_util.cc -o third_party/protobuf-lite/generated_message_util.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/implicit_weak_message.cc -o third_party/protobuf-lite/implicit_weak_message.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/int128.cc -o third_party/protobuf-lite/int128.o
third_party/protobuf-lite/int128.cc: In function ‘std::ostream& google::protobuf::operator<<(std::ostream&, const uint128&)’:
third_party/protobuf-lite/int128.cc:178:13: warning: comparison of integer expressions of different signedness: ‘std::streamsize’ {aka ‘long int’} and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
178 | if (width > rep.size()) {
| ~~~~~~^~~~~~~~~~~~
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/io_win32.cc -o third_party/protobuf-lite/io_win32.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/message_lite.cc -o third_party/protobuf-lite/message_lite.o
third_party/protobuf-lite/message_lite.cc: In member function ‘bool google::protobuf::MessageLite::SerializePartialToCodedStream(google::protobuf::io::CodedOutputStream*) const’:
third_party/protobuf-lite/message_lite.cc:392:46: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare]
392 | if (final_byte_count - original_byte_count != size) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
third_party/protobuf-lite/message_lite.cc: In member function ‘bool google::protobuf::MessageLite::SerializePartialToArray(void*, int) const’:
third_party/protobuf-lite/message_lite.cc:491:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare]
491 | if (size < byte_size) return false;
| ~~~~~^~~~~~~~~~~
In file included from /usr/include/string.h:548,
from ./third_party/protobuf-lite/google/protobuf/stubs/port.h:39,
from ./third_party/protobuf-lite/google/protobuf/stubs/macros.h:34,
from ./third_party/protobuf-lite/google/protobuf/stubs/common.h:46,
from ./third_party/protobuf-lite/google/protobuf/message_lite.h:45,
from third_party/protobuf-lite/message_lite.cc:36:
In function ‘void* memcpy(void*, const void*, size_t)’,
inlined from ‘google::protobuf::uint8* google::protobuf::io::EpsCopyOutputStream::WriteRaw(const void*, int, google::protobuf::uint8*)’ at ./third_party/protobuf-lite/google/protobuf/io/coded_stream.h:699:16,
inlined from ‘virtual google::protobuf::uint8* google::protobuf::internal::ImplicitWeakMessage::_InternalSerialize(google::protobuf::uint8*, google::protobuf::io::EpsCopyOutputStream*) const’ at ./third_party/protobuf-lite/google/protobuf/implicit_weak_message.h:85:28,
inlined from ‘bool google::protobuf::MessageLite::SerializePartialToZeroCopyStream(google::protobuf::io::ZeroCopyOutputStream*) const’ at third_party/protobuf-lite/message_lite.cc:419:30:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:33: warning: ‘void* __builtin___memcpy_chk(void*, const void*, long unsigned int, long unsigned int)’ specified size between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/parse_context.cc -o third_party/protobuf-lite/parse_context.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/repeated_field.cc -o third_party/protobuf-lite/repeated_field.o
In file included from ./third_party/protobuf-lite/google/protobuf/repeated_field.h:60,
from third_party/protobuf-lite/repeated_field.cc:35:
third_party/protobuf-lite/repeated_field.cc: In member function ‘void** google::protobuf::internal::RepeatedPtrFieldBase::InternalExtend(int)’:
./third_party/protobuf-lite/google/protobuf/stubs/logging.h:159:48: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
159 | #define GOOGLE_CHECK_LE(A, B) GOOGLE_CHECK((A) <= (B))
| ~~~~^~~~~~
./third_party/protobuf-lite/google/protobuf/stubs/logging.h:151:5: note: in definition of macro ‘GOOGLE_LOG_IF’
151 | !(CONDITION) ? (void)0 : GOOGLE_LOG(LEVEL)
| ^~~~~~~~~
./third_party/protobuf-lite/google/protobuf/stubs/logging.h:159:31: note: in expansion of macro ‘GOOGLE_CHECK’
159 | #define GOOGLE_CHECK_LE(A, B) GOOGLE_CHECK((A) <= (B))
| ^~~~~~~~~~~~
third_party/protobuf-lite/repeated_field.cc:61:3: note: in expansion of macro ‘GOOGLE_CHECK_LE’
61 | GOOGLE_CHECK_LE(new_size, (std::numeric_limits<size_t>::max() - kRepHeaderSize) /
| ^~~~~~~~~~~~~~~
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/status.cc -o third_party/protobuf-lite/status.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/statusor.cc -o third_party/protobuf-lite/statusor.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/stringpiece.cc -o third_party/protobuf-lite/stringpiece.o
third_party/protobuf-lite/stringpiece.cc: In member function ‘bool google::protobuf::StringPiece::contains(google::protobuf::StringPiece) const’:
third_party/protobuf-lite/stringpiece.cc:101:21: warning: comparison of integer expressions of different signedness: ‘google::protobuf::stringpiece_ssize_type’ {aka ‘long int’} and ‘const google::protobuf::StringPiece::size_type’ {aka ‘const long unsigned int’} [-Wsign-compare]
101 | return find(s, 0) != npos;
| ~~~~~~~~~~~^~~~~~~
third_party/protobuf-lite/stringpiece.cc: In member function ‘google::protobuf::StringPiece google::protobuf::StringPiece::substr(size_type, size_type) const’:
third_party/protobuf-lite/stringpiece.cc:262:11: warning: comparison of integer expressions of different signedness: ‘google::protobuf::StringPiece::size_type’ {aka ‘long unsigned int’} and ‘const google::protobuf::stringpiece_ssize_type’ {aka ‘const long int’} [-Wsign-compare]
262 | if (pos > length_) pos = length_;
| ~~~~^~~~~~~~~
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/stringprintf.cc -o third_party/protobuf-lite/stringprintf.o
third_party/protobuf-lite/stringprintf.cc: In function ‘std::string google::protobuf::StringPrintfVector(const char*, const std::vector<std::__cxx11::basic_string<char> >&)’:
third_party/protobuf-lite/stringprintf.cc:153:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
153 | for (int i = 0; i < v.size(); ++i) {
| ~~^~~~~~~~~~
third_party/protobuf-lite/stringprintf.cc:156:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
156 | for (int i = v.size(); i < GOOGLE_ARRAYSIZE(cstr); ++i) {
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/structurally_valid.cc -o third_party/protobuf-lite/structurally_valid.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/strutil.cc -o third_party/protobuf-lite/strutil.o
third_party/protobuf-lite/strutil.cc: In function ‘void google::protobuf::CEscapeAndAppend(StringPiece, std::string*)’:
third_party/protobuf-lite/strutil.cc:562:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘google::protobuf::stringpiece_ssize_type’ {aka ‘long int’} [-Wsign-compare]
562 | if (escaped_len == src.size()) {
| ~~~~~~~~~~~~^~~~~~~~~~~~~
third_party/protobuf-lite/strutil.cc: In function ‘int google::protobuf::memcasecmp(const char*, const char*, size_t)’:
third_party/protobuf-lite/strutil.cc:1289:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1289 | for ( int i = 0; i < len; i++ ) {
| ~~^~~~~
third_party/protobuf-lite/strutil.cc: In function ‘int google::protobuf::GlobalReplaceSubstring(const std::string&, const std::string&, std::string*)’:
third_party/protobuf-lite/strutil.cc:1622:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const std::__cxx11::basic_string<char>::size_type’ {aka ‘const long unsigned int’} [-Wsign-compare]
1622 | match_pos != std::string::npos; pos = match_pos + substring.length(),
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/time.cc -o third_party/protobuf-lite/time.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/wire_format_lite.cc -o third_party/protobuf-lite/wire_format_lite.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/zero_copy_stream.cc -o third_party/protobuf-lite/zero_copy_stream.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/zero_copy_stream_impl.cc -o third_party/protobuf-lite/zero_copy_stream_impl.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/protobuf-lite/zero_copy_stream_impl_lite.cc -o third_party/protobuf-lite/zero_copy_stream_impl_lite.o
In file included from third_party/protobuf-lite/zero_copy_stream_impl_lite.cc:41:
third_party/protobuf-lite/zero_copy_stream_impl_lite.cc: In member function ‘virtual void google::protobuf::io::StringOutputStream::BackUp(int)’:
./third_party/protobuf-lite/google/protobuf/stubs/logging.h:159:48: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
159 | #define GOOGLE_CHECK_LE(A, B) GOOGLE_CHECK((A) <= (B))
| ~~~~^~~~~~
./third_party/protobuf-lite/google/protobuf/stubs/logging.h:151:5: note: in definition of macro ‘GOOGLE_LOG_IF’
151 | !(CONDITION) ? (void)0 : GOOGLE_LOG(LEVEL)
| ^~~~~~~~~
./third_party/protobuf-lite/google/protobuf/stubs/logging.h:159:31: note: in expansion of macro ‘GOOGLE_CHECK’
159 | #define GOOGLE_CHECK_LE(A, B) GOOGLE_CHECK((A) <= (B))
| ^~~~~~~~~~~~
third_party/protobuf-lite/zero_copy_stream_impl_lite.cc:171:3: note: in expansion of macro ‘GOOGLE_CHECK_LE’
171 | GOOGLE_CHECK_LE(count, target_->size());
| ^~~~~~~~~~~~~~~
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/absl/strings/string_view.cc -o third_party/absl/strings/string_view.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 third_party/absl/flags/flag.cc -o third_party/absl/flags/flag.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/builtin_pb/sentencepiece.pb.cc -o sentencepiece/src/builtin_pb/sentencepiece.pb.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/builtin_pb/sentencepiece_model.pb.cc -o sentencepiece/src/builtin_pb/sentencepiece_model.pb.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/bpe_model.cc -o sentencepiece/src/bpe_model.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/bpe_model_trainer.cc -o sentencepiece/src/bpe_model_trainer.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/builder.cc -o sentencepiece/src/builder.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/char_model.cc -o sentencepiece/src/char_model.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/char_model_trainer.cc -o sentencepiece/src/char_model_trainer.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/error.cc -o sentencepiece/src/error.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/filesystem.cc -o sentencepiece/src/filesystem.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/model_factory.cc -o sentencepiece/src/model_factory.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/model_interface.cc -o sentencepiece/src/model_interface.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/normalizer.cc -o sentencepiece/src/normalizer.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/pretokenizer_for_training.cc -o sentencepiece/src/pretokenizer_for_training.o
sentencepiece/src/pretokenizer_for_training.cc: In static member function ‘static std::string sentencepiece::pretokenizer::PretokenizerForTrainingInterface::Postprocess(const sentencepiece::SentencePieceText&)’:
sentencepiece/src/pretokenizer_for_training.cc:49:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘google::protobuf::uint32’ {aka ‘unsigned int’} [-Wsign-compare]
49 | if (prev == piece.begin() && piece.begin() != 0) {
| ~~~~~^~~~~~~~~~~~~~~~
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/sentencepiece_processor.cc -o sentencepiece/src/sentencepiece_processor.o
sentencepiece/src/sentencepiece_processor.cc: In member function ‘sentencepiece::util::Status sentencepiece::SentencePieceProcessor::PopulateSentencePieceText(absl::string_view, absl::string_view, const std::vector<long unsigned int>&, const sentencepiece::EncodeResult&, sentencepiece::SentencePieceText*) const’:
sentencepiece/src/sentencepiece_processor.cc:372:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘absl::string_view::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
372 | for (int i = 0; i < w.size(); ++i) {
| ~~^~~~~~~~~~
sentencepiece/src/sentencepiece_processor.cc:383:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘absl::string_view::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
383 | if (i == w.size() - 1) {
| ~~^~~~~~~~~~~~~~~
sentencepiece/src/sentencepiece_processor.cc: In lambda function:
sentencepiece/src/sentencepiece_processor.cc:628:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
628 | for (int j = 0; j < consumed; j++) {
| ~~^~~~~~~~~~
sentencepiece/src/sentencepiece_processor.cc:632:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
632 | if (j == consumed - 1) {
| ~~^~~~~~~~~~~~~~~
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/sentencepiece_trainer.cc -o sentencepiece/src/sentencepiece_trainer.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/trainer_factory.cc -o sentencepiece/src/trainer_factory.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/trainer_interface.cc -o sentencepiece/src/trainer_interface.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/unicode_script.cc -o sentencepiece/src/unicode_script.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/unigram_model.cc -o sentencepiece/src/unigram_model.o
sentencepiece/src/unigram_model.cc: In member function ‘std::vector<std::pair<std::vector<sentencepiece::unigram::Lattice::Node*>, float> > sentencepiece::unigram::Lattice::NBest(size_t, bool, float)’:
sentencepiece/src/unigram_model.cc:382:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<sentencepiece::unigram::Lattice::Node*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
382 | for (int i = 0; i < end_nodes(node->pos).size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sentencepiece/src/unigram_model.cc:392:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
392 | for (int i = 0; i < adjusted_probs.size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~
sentencepiece/src/unigram_model.cc:403:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<sentencepiece::unigram::Lattice::Node*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
403 | for (int i = 0; i < end_nodes(node->pos).size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sentencepiece/src/unigram_model.cc: In member function ‘virtual sentencepiece::NBestEncodeResult sentencepiece::unigram::Model::SampleEncodeAndScore(absl::string_view, float, int, bool, bool) const’:
sentencepiece/src/unigram_model.cc:704:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<std::vector<sentencepiece::unigram::Lattice::Node*>, float> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
704 | for (int i = 0; i < nbest_samples.size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~
sentencepiece/src/unigram_model.cc:714:25: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘std::vector<std::pair<std::vector<sentencepiece::unigram::Lattice::Node*>, float> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
714 | if (index_of_best != nbest_samples.size()) {
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
sentencepiece/src/unigram_model.cc:756:27: warning: comparison of integer expressions of different signedness: ‘std::vector<std::pair<std::vector<std::pair<absl::string_view, int> >, float> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
756 | while (results.size() < samples) {
| ~~~~~~~~~~~~~~~^~~~~~~~~
sentencepiece/src/unigram_model.cc: In member function ‘sentencepiece::EncodeResult sentencepiece::unigram::Model::EncodeOptimized(absl::string_view) const’:
sentencepiece/src/unigram_model.cc:895:20: warning: comparison of integer expressions of different signedness: ‘std::size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare]
895 | while (key_pos < size) {
| ~~~~~~~~^~~~~~
sentencepiece/src/unigram_model.cc:916:40: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
916 | if (!has_single_node && length == mblen) {
| ~~~~~~~^~~~~~~~
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/unigram_model_trainer.cc -o sentencepiece/src/unigram_model_trainer.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/util.cc -o sentencepiece/src/util.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/word_model.cc -o sentencepiece/src/word_model.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 sentencepiece/src/word_model_trainer.cc -o sentencepiece/src/word_model_trainer.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 rcpp_sentencepiece.cpp -o rcpp_sentencepiece.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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 rcpp_wordpiece.cpp -o rcpp_wordpiece.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite -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
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpI8ook8/R.INSTALL3b2c2564a3f414/sentencepiece/src'
installing to /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/00LOCK-sentencepiece/00new/sentencepiece/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 (sentencepiece)