* installing *source* package 'nanoparquet' ...
** package 'nanoparquet' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 13.3.0'
make[1]: Entering directory '/d/temp/2024_12_18_01_50_01_11818/RtmpmUQAXL/R.INSTALLde78516d1dee/nanoparquet/src'
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c rwrapper.cpp -o rwrapper.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c protect.cpp -o protect.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c read.cpp -o read.o
In file included from lib/nanoparquet.h:8,
                 from read.cpp:4:
lib/bytebuffer.h: In member function 'virtual std::streamsize ByteBuffer::xsputn(const char*, std::streamsize)':
lib/bytebuffer.h:34:15: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'std::streamsize' {aka 'long long int'} [-Wsign-compare]
   34 |     if (space < n) {
      |         ~~~~~~^~~
read.cpp: In function 'SEXPREC* nanoparquet_read(SEXP)':
read.cpp:59:22: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
   59 |   for (auto i = 0; i < ncols; i++) {
      |                    ~~^~~~~~~
read.cpp:228:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<unsigned int, char*>, std::allocator<std::pair<unsigned int, char*> > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  228 |         for (auto i = 0; i < strings.size(); i++) {
      |                          ~~^~~~~~~~~~~~~~~~
read.cpp:324:32: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  324 |             for (auto i = 0; i < type_len; i++) {
      |                              ~~^~~~~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c write.cpp -o write.o
In file included from lib/nanoparquet.h:8,
                 from write.cpp:1:
lib/bytebuffer.h: In member function 'virtual std::streamsize ByteBuffer::xsputn(const char*, std::streamsize)':
lib/bytebuffer.h:34:15: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'std::streamsize' {aka 'long long int'} [-Wsign-compare]
   34 |     if (space < n) {
      |         ~~~~~~^~~
In file included from write.cpp:6:
lib/memstream.h: In member function 'virtual std::streamsize MemStream::xsputn(const char*, std::streamsize)':
lib/memstream.h:37:13: warning: comparison of integer expressions of different signedness: 'std::streamsize' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare]
   37 |       if (n > space) {
      |           ~~^~~~~~~
write.cpp: In member function 'virtual void RParquetOutFile::write_int32(std::ostream&, uint32_t, uint64_t, uint64_t)':
write.cpp:154:13: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'R_xlen_t' {aka 'long long int'} [-Wsign-compare]
  154 |   if (until > Rf_xlength(col)) {
      |       ~~~~~~^~~~~~~~~~~~~~~~~
write.cpp: In member function 'virtual void RParquetOutFile::write_int64(std::ostream&, uint32_t, uint64_t, uint64_t)':
write.cpp:165:13: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'R_xlen_t' {aka 'long long int'} [-Wsign-compare]
  165 |   if (until > Rf_xlength(col)) {
      |       ~~~~~~^~~~~~~~~~~~~~~~~
write.cpp: In member function 'virtual void RParquetOutFile::write_double(std::ostream&, uint32_t, uint64_t, uint64_t)':
write.cpp:193:13: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'R_xlen_t' {aka 'long long int'} [-Wsign-compare]
  193 |   if (until > Rf_xlength(col)) {
      |       ~~~~~~^~~~~~~~~~~~~~~~~
write.cpp: In member function 'virtual void RParquetOutFile::write_byte_array(std::ostream&, uint32_t, uint64_t, uint64_t)':
write.cpp:203:13: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'R_xlen_t' {aka 'long long int'} [-Wsign-compare]
  203 |   if (until > Rf_xlength(col)) {
      |       ~~~~~~^~~~~~~~~~~~~~~~~
write.cpp: In member function 'virtual uint32_t RParquetOutFile::get_size_byte_array(uint32_t, uint32_t, uint64_t, uint64_t)':
write.cpp:221:13: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'R_xlen_t' {aka 'long long int'} [-Wsign-compare]
  221 |   if (until > Rf_xlength(col)) {
      |       ~~~~~~^~~~~~~~~~~~~~~~~
write.cpp: In function 'void write_boolean_impl(std::ostream&, SEXP, uint64_t, uint64_t)':
write.cpp:237:13: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'R_xlen_t' {aka 'long long int'} [-Wsign-compare]
  237 |   if (until > Rf_xlength(col)) {
      |       ~~~~~~^~~~~~~~~~~~~~~~~
write.cpp: In member function 'virtual void RParquetOutFile::write_boolean_as_int(std::ostream&, uint32_t, uint64_t, uint64_t)':
write.cpp:275:13: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'R_xlen_t' {aka 'long long int'} [-Wsign-compare]
  275 |   if (until > Rf_xlength(col)) {
      |       ~~~~~~^~~~~~~~~~~~~~~~~
write.cpp: In member function 'virtual uint32_t RParquetOutFile::write_present(std::ostream&, uint32_t, uint64_t, uint64_t)':
write.cpp:285:13: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'R_xlen_t' {aka 'long long int'} [-Wsign-compare]
  285 |   if (until > Rf_xlength(col)) {
      |       ~~~~~~^~~~~~~~~~~~~~~~~
write.cpp: In member function 'virtual void RParquetOutFile::write_present_int32(std::ostream&, uint32_t, uint32_t, uint64_t, uint64_t)':
write.cpp:344:13: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'R_xlen_t' {aka 'long long int'} [-Wsign-compare]
  344 |   if (until > Rf_xlength(col)) {
      |       ~~~~~~^~~~~~~~~~~~~~~~~
write.cpp: In member function 'virtual void RParquetOutFile::write_present_int64(std::ostream&, uint32_t, uint32_t, uint64_t, uint64_t)':
write.cpp:363:13: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'R_xlen_t' {aka 'long long int'} [-Wsign-compare]
  363 |   if (until > Rf_xlength(col)) {
      |       ~~~~~~^~~~~~~~~~~~~~~~~
write.cpp: In member function 'virtual void RParquetOutFile::write_present_double(std::ostream&, uint32_t, uint32_t, uint64_t, uint64_t)':
write.cpp:400:13: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'R_xlen_t' {aka 'long long int'} [-Wsign-compare]
  400 |   if (until > Rf_xlength(col)) {
      |       ~~~~~~^~~~~~~~~~~~~~~~~
write.cpp: In member function 'virtual void RParquetOutFile::write_present_boolean_as_int(std::ostream&, uint32_t, uint32_t, uint64_t, uint64_t)':
write.cpp:417:13: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'R_xlen_t' {aka 'long long int'} [-Wsign-compare]
  417 |   if (until > Rf_xlength(col)) {
      |       ~~~~~~^~~~~~~~~~~~~~~~~
write.cpp: In member function 'virtual void RParquetOutFile::write_present_byte_array(std::ostream&, uint32_t, uint32_t, uint64_t, uint64_t)':
write.cpp:437:13: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'R_xlen_t' {aka 'long long int'} [-Wsign-compare]
  437 |   if (until > Rf_xlength(col)) {
      |       ~~~~~~^~~~~~~~~~~~~~~~~
write.cpp: In member function 'virtual void RParquetOutFile::write_present_boolean(std::ostream&, uint32_t, uint32_t, uint64_t, uint64_t)':
write.cpp:461:13: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'R_xlen_t' {aka 'long long int'} [-Wsign-compare]
  461 |   if (until > Rf_xlength(col)) {
      |       ~~~~~~^~~~~~~~~~~~~~~~~
write.cpp: In member function 'virtual void RParquetOutFile::write_dictionary(std::ostream&, uint32_t)':
write.cpp:600:28: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'R_xlen_t' {aka 'long long int'} [-Wsign-compare]
  600 |     for (uint64_t i = 0; i < len; i++) {
      |                          ~~^~~~~
write.cpp: In member function 'virtual void RParquetOutFile::write_dictionary_indices(std::ostream&, uint32_t, uint64_t, uint64_t)':
write.cpp:634:13: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'R_xlen_t' {aka 'long long int'} [-Wsign-compare]
  634 |   if (until > Rf_xlength(col)) {
      |       ~~~~~~^~~~~~~~~~~~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c read-metadata.cpp -o read-metadata.o
In file included from lib/nanoparquet.h:8,
                 from read-metadata.cpp:1:
lib/bytebuffer.h: In member function 'virtual std::streamsize ByteBuffer::xsputn(const char*, std::streamsize)':
lib/bytebuffer.h:34:15: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'std::streamsize' {aka 'long long int'} [-Wsign-compare]
   34 |     if (space < n) {
      |         ~~~~~~^~~
read-metadata.cpp: In function 'SEXPREC* convert_key_value_metadata(const parquet::FileMetaData&)':
read-metadata.cpp:140:28: warning: comparison of integer expressions of different signedness: 'R_xlen_t' {aka 'long long int'} and 'long long unsigned int' [-Wsign-compare]
  140 |     for (R_xlen_t i = 0; i < kvsize; i++) {
      |                          ~~^~~~~~~~
read-metadata.cpp: In function 'SEXPREC* convert_row_groups(const char*, std::vector<parquet::RowGroup>&)':
read-metadata.cpp:254:22: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
  254 |   for (auto i = 0; i < nrgs; i++) {
      |                    ~~^~~~~~
read-metadata.cpp: In function 'SEXPREC* convert_column_chunks(const char*, std::vector<parquet::RowGroup>&)':
read-metadata.cpp:304:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<parquet::RowGroup>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  304 |   for (auto i = 0; i < rgs.size(); i++) {
      |                    ~~^~~~~~~~~~~~
read-metadata.cpp:332:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<parquet::RowGroup>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  332 |   for (int i = 0; i < rgs.size(); i++) {
      |                   ~~^~~~~~~~~~~~
read-metadata.cpp:333:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<parquet::ColumnChunk>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  333 |     for (int j = 0; j < rgs[i].columns.size(); j++) {
      |                     ~~^~~~~~~~~~~~~~~~~~~~~~~
read-metadata.cpp:352:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<parquet::Encoding::type>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  352 |       for (auto k = 0; k < cmd.encodings.size(); k++) {
      |                        ~~^~~~~~~~~~~~~~~~~~~~~~
read-metadata.cpp:356:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  356 |       for (auto k = 0; k < cmd.path_in_schema.size(); k++) {
      |                        ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c read-pages.cpp -o read-pages.o
In file included from lib/nanoparquet.h:8,
                 from read-pages.cpp:1:
lib/bytebuffer.h: In member function 'virtual std::streamsize ByteBuffer::xsputn(const char*, std::streamsize)':
lib/bytebuffer.h:34:15: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'std::streamsize' {aka 'long long int'} [-Wsign-compare]
   34 |     if (space < n) {
      |         ~~~~~~^~~
read-pages.cpp: In function 'SEXPREC* nanoparquet_read_pages(SEXP)':
read-pages.cpp:24:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<parquet::RowGroup>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
   24 |   for (auto i = 0; i < rgs.size(); i++) {
      |                    ~~^~~~~~~~~~~~
read-pages.cpp:25:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<parquet::ColumnChunk>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
   25 |     for (auto j = 0; j < rgs[i].columns.size(); j++) {
      |                      ~~^~~~~~~~~~~~~~~~~~~~~~~
read-pages.cpp:98:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<parquet::RowGroup>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
   98 |   for (auto i = 0; i < rgs.size(); i++) {
      |                    ~~^~~~~~~~~~~~
read-pages.cpp:99:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<parquet::ColumnChunk>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
   99 |     for (auto j = 0; j < rgs[i].columns.size(); j++) {
      |                      ~~^~~~~~~~~~~~~~~~~~~~~~~
read-pages.cpp: In function 'PageData find_page(nanoparquet::ParquetFile&, int64_t)':
read-pages.cpp:210:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<parquet::RowGroup>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  210 |   for (auto i = 0; i < rgs.size(); i++) {
      |                    ~~^~~~~~~~~~~~
read-pages.cpp:211:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<parquet::ColumnChunk>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  211 |     for (auto j = 0; j < rgs[i].columns.size(); j++) {
      |                      ~~^~~~~~~~~~~~~~~~~~~~~~~
read-pages.cpp: In function 'SEXPREC* nanoparquet_read_page(SEXP, SEXP)':
read-pages.cpp:303:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<parquet::SchemaElement>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  303 |   for (int i = 0; i < schema.size(); i++) {
      |                   ~~^~~~~~~~~~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c arrow-schema.cpp -o arrow-schema.o
In file included from arrow-schema.cpp:7:
lib/bytebuffer.h: In member function 'virtual std::streamsize ByteBuffer::xsputn(const char*, std::streamsize)':
lib/bytebuffer.h:34:15: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'std::streamsize' {aka 'long long int'} [-Wsign-compare]
   34 |     if (space < n) {
      |         ~~~~~~^~~
arrow-schema.cpp: In function 'SEXPREC* nanoparquet_parse_arrow_schema_impl(uint8_t*, uint32_t)':
arrow-schema.cpp:80:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::unique_ptr<org::apache::arrow::flatbuf::FieldT> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
   80 |   for (auto i = 0; i < sch->fields.size(); i++) {
      |                    ~~^~~~~~~~~~~~~~~~~~~~
arrow-schema.cpp:187:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  187 |         for (auto j = 0; j < ft->typeIds.size(); j++) {
      |                          ~~^~~~~~~~~~~~~~~~~~~~
arrow-schema.cpp:262:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare]
  262 |     for (auto j = 0; j < kvlen; j++) {
      |                      ~~^~~~~~~
arrow-schema.cpp:280:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::unique_ptr<org::apache::arrow::flatbuf::KeyValueT> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  280 |   for (auto i = 0; i < sch->custom_metadata.size(); i++) {
      |                    ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arrow-schema.cpp:294:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<org::apache::arrow::flatbuf::Feature>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  294 |   for (auto i = 0; i < sch->features.size(); i++) {
      |                    ~~^~~~~~~~~~~~~~~~~~~~~~
arrow-schema.cpp: In function 'SEXPREC* nanoparquet_encode_arrow_schema(SEXP)':
arrow-schema.cpp:379:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare]
  379 |   for (auto i = 0; i < nfields; i++) {
      |                    ~~^~~~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c base64.cpp -o base64.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c r-base64.cpp -o r-base64.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c snappy.cpp -o snappy.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c encodings.cpp -o encodings.o
In file included from lib/nanoparquet.h:8,
                 from lib/RleBpDecoder.h:5,
                 from encodings.cpp:1:
lib/bytebuffer.h: In member function 'virtual std::streamsize ByteBuffer::xsputn(const char*, std::streamsize)':
lib/bytebuffer.h:34:15: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'std::streamsize' {aka 'long long int'} [-Wsign-compare]
   34 |     if (space < n) {
      |         ~~~~~~^~~
lib/RleBpDecoder.h: In instantiation of 'int RleBpDecoder::GetBatch(T*, int) [with T = unsigned int]':
encodings.cpp:30:19:   required from here
lib/RleBpDecoder.h:30:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
   30 |     while (values_read < batch_size) {
      |            ~~~~~~~~~~~~^~~~~~~~~~~~
In file included from encodings.cpp:2:
lib/RleBpEncoder.h: In instantiation of 'uint32_t RleBpEncode(const T*, uint32_t, uint8_t, uint8_t*, uint32_t) [with T = int; uint32_t = unsigned int; uint8_t = unsigned char]':
encodings.cpp:46:26:   required from here
lib/RleBpEncoder.h:40:16: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
   40 |       if (reps >= min_reps) {
      |           ~~~~~^~~~~~~~~~~
In file included from encodings.cpp:3:
lib/DbpDecoder.h: In instantiation of 'uint8_t* DbpDecoder<T, Tunsigned>::decode(T*) [with T = int; Tunsigned = unsigned int; uint8_t = unsigned char]':
encodings.cpp:64:13:   required from here
lib/DbpDecoder.h:68:38: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
   68 |       for (auto i = 0; todo > 0 && i < mini_blocks_per_block; i++) {
      |                                    ~~^~~~~~~~~~~~~~~~~~~~~~~
lib/DbpDecoder.h:84:28: warning: comparison of integer expressions of different signedness: 'int' and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare]
   84 |         for (auto i = 0; i < mb_vals; i++) {
      |                          ~~^~~~~~~~~
lib/DbpDecoder.h: In instantiation of 'uint8_t* DbpDecoder<T, Tunsigned>::decode(T*) [with T = long long int; Tunsigned = long long unsigned int; uint8_t = unsigned char]':
encodings.cpp:82:13:   required from here
lib/DbpDecoder.h:68:38: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
   68 |       for (auto i = 0; todo > 0 && i < mini_blocks_per_block; i++) {
      |                                    ~~^~~~~~~~~~~~~~~~~~~~~~~
lib/DbpDecoder.h:84:28: warning: comparison of integer expressions of different signedness: 'int' and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare]
   84 |         for (auto i = 0; i < mb_vals; i++) {
      |                          ~~^~~~~~~~~
In file included from lib/DbpDecoder.h:6:
lib/decode-utils.h: In instantiation of 'void unpack_bits(uint8_t*, uint64_t, uint8_t, T*, uint64_t) [with T = unsigned int; uint8_t = unsigned char; uint64_t = long long unsigned int]':
encodings.cpp:100:24:   required from here
lib/decode-utils.h:58:21: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
   58 |   while (num_values > output_group_size) {
      |          ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
lib/decode-utils.h: In instantiation of 'void unpack_bits(uint8_t*, uint64_t, uint8_t, T*, uint64_t) [with T = long long unsigned int; uint8_t = unsigned char; uint64_t = long long unsigned int]':
lib/DbpDecoder.h:77:31:   required from 'uint8_t* DbpDecoder<T, Tunsigned>::decode(T*) [with T = long long int; Tunsigned = long long unsigned int; uint8_t = unsigned char]'
encodings.cpp:82:13:   required from here
lib/decode-utils.h:58:21: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c dictionary-encoding.cpp -o dictionary-encoding.o
dictionary-encoding.cpp: In function 'SEXPREC* nanoparquet_avg_run_length(SEXP, SEXP)':
dictionary-encoding.cpp:220:11: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  220 |   if (len == -1) {
      |       ~~~~^~~~~
dictionary-encoding.cpp:230:22: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
  230 |   for (auto i = 0; i < len; i++, xx++) {
      |                    ~~^~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c test.cpp -o test.o
In file included from test.cpp:2:
lib/memstream.h: In member function 'virtual std::streamsize MemStream::xsputn(const char*, std::streamsize)':
lib/memstream.h:37:13: warning: comparison of integer expressions of different signedness: 'std::streamsize' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare]
   37 |       if (n > space) {
      |           ~~^~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c lib/ParquetFile.cpp -o lib/ParquetFile.o
In file included from lib/nanoparquet.h:8,
                 from lib/ParquetFile.cpp:14:
lib/bytebuffer.h: In member function 'virtual std::streamsize ByteBuffer::xsputn(const char*, std::streamsize)':
lib/bytebuffer.h:34:15: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'std::streamsize' {aka 'long long int'} [-Wsign-compare]
   34 |     if (space < n) {
      |         ~~~~~~^~~
lib/ParquetFile.cpp: In member function 'void nanoparquet::ParquetFile::read_checks()':
lib/ParquetFile.cpp:139:45: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector<parquet::SchemaElement>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  139 |   if (file_meta_data.schema[0].num_children !=
lib/ParquetFile.cpp: In member function 'void ColumnScan::scan_dict_page(nanoparquet::ResultColumn&)':
lib/ParquetFile.cpp:268:49: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare]
  268 |         for (int32_t dict_index = 0; dict_index < dict_size; dict_index++) {
      |                                      ~~~~~~~~~~~^~~~~~~~~~~
lib/ParquetFile.cpp: In member function 'void ColumnScan::scan_data_page_dict(nanoparquet::ResultColumn&)':
lib/ParquetFile.cpp:564:30: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  564 |       for (uint32_t i = 0; i < num_values; i++) {
      |                            ~~^~~~~~~~~~~~
lib/ParquetFile.cpp: In member function 'void ColumnScan::scan_data_page_rle(nanoparquet::ResultColumn&)':
lib/ParquetFile.cpp:641:28: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  641 |     for (uint32_t i = 0; i < num_values; i++) {
      |                          ~~^~~~~~~~~~~~
lib/ParquetFile.cpp:655:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  655 |         val_offset < num_values;
      |         ~~~~~~~~~~~^~~~~~~~~~~~
lib/ParquetFile.cpp: In member function 'void ColumnScan::scan_data_page_delta_binary_packed(nanoparquet::ResultColumn&)':
lib/ParquetFile.cpp:680:37: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  680 |       for (uint32_t i = 0, j = 0; i < num_values; i++) {
      |                                   ~~^~~~~~~~~~~~
lib/ParquetFile.cpp:695:37: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  695 |       for (uint32_t i = 0, j = 0; i < num_values; i++) {
      |                                   ~~^~~~~~~~~~~~
lib/ParquetFile.cpp: In member function 'void ColumnScan::scan_data_page_delta_length_byte_array(nanoparquet::ResultColumn&)':
lib/ParquetFile.cpp:735:35: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  735 |     for (uint32_t i = 0, j = 0; i < num_values; i++) {
      |                                 ~~^~~~~~~~~~~~
lib/ParquetFile.cpp: In member function 'void ColumnScan::scan_data_page_delta_byte_array(nanoparquet::ResultColumn&)':
lib/ParquetFile.cpp:781:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
  781 |     for (auto i = 0; i < num_non_null_values; i++) shc_len += pre_lengths[i];
      |                      ~~^~~~~~~~~~~~~~~~~~~~~
lib/ParquetFile.cpp:782:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
  782 |     for (auto i = 0; i < num_non_null_values; i++) shc_len += suf_lengths[i];
      |                      ~~^~~~~~~~~~~~~~~~~~~~~
lib/ParquetFile.cpp:790:35: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  790 |     for (uint32_t i = 0, j = 0; i < num_values; i++) {
      |                                 ~~^~~~~~~~~~~~
lib/ParquetFile.cpp: In member function 'void ColumnScan::scan_data_page_byte_stream_split(nanoparquet::ResultColumn&)':
lib/ParquetFile.cpp:881:30: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  881 |       for (uint32_t i = 0; i < num_values; i++) {
      |                            ~~^~~~~~~~~~~~
lib/ParquetFile.cpp:885:37: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  885 |       for (uint32_t i = 0, j = 0; i < num_values; i++) {
      |                                   ~~^~~~~~~~~~~~
lib/ParquetFile.cpp:894:32: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare]
  894 |         for (uint32_t b = 0; b < type_len; b++) {
      |                              ~~^~~~~~~~~~
lib/ParquetFile.cpp: In member function 'void nanoparquet::ParquetFile::read_chunk(int64_t, int64_t, int8_t*)':
lib/ParquetFile.cpp:1257:12: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'long long unsigned int' [-Wsign-compare]
 1257 |   if (size > file_size - offset) {
      |       ~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from lib/ParquetFile.cpp:15:
lib/RleBpDecoder.h: In instantiation of 'int RleBpDecoder::GetBatch(T*, int) [with T = unsigned char]':
lib/ParquetFile.cpp:340:28:   required from here
lib/RleBpDecoder.h:30:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
   30 |     while (values_read < batch_size) {
      |            ~~~~~~~~~~~~^~~~~~~~~~~~
lib/RleBpDecoder.h: In instantiation of 'int RleBpDecoder::GetBatchSpaced(uint32_t, uint32_t, const uint8_t*, T*) [with T = unsigned int; uint32_t = unsigned int; uint8_t = unsigned char]':
lib/ParquetFile.cpp:570:37:   required from here
lib/RleBpDecoder.h:104:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  104 |           if (actual_read != literal_batch) {
      |               ~~~~~~~~~~~~^~~~~~~~~~~~~~~~
lib/RleBpDecoder.h:113:32: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  113 |           while (literals_read < literal_batch) {
      |                  ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
lib/RleBpDecoder.h: In instantiation of 'int RleBpDecoder::GetBatch(T*, int) [with T = unsigned int]':
lib/ParquetFile.cpp:573:31:   required from here
lib/RleBpDecoder.h:30:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
   30 |     while (values_read < batch_size) {
      |            ~~~~~~~~~~~~^~~~~~~~~~~~
lib/RleBpDecoder.h: In instantiation of 'int RleBpDecoder::GetBatchSpaced(uint32_t, uint32_t, const uint8_t*, T*) [with T = bool; uint32_t = unsigned int; uint8_t = unsigned char]':
lib/ParquetFile.cpp:647:31:   required from here
lib/RleBpDecoder.h:104:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  104 |           if (actual_read != literal_batch) {
      |               ~~~~~~~~~~~~^~~~~~~~~~~~~~~~
lib/RleBpDecoder.h:113:32: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  113 |           while (literals_read < literal_batch) {
      |                  ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
lib/RleBpDecoder.h: In instantiation of 'int RleBpDecoder::GetBatch(T*, int) [with T = bool]':
lib/ParquetFile.cpp:650:25:   required from here
lib/RleBpDecoder.h:30:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
   30 |     while (values_read < batch_size) {
      |            ~~~~~~~~~~~~^~~~~~~~~~~~
In file included from lib/ParquetFile.cpp:16:
lib/DbpDecoder.h: In instantiation of 'uint8_t* DbpDecoder<T, Tunsigned>::decode(T*) [with T = int; Tunsigned = unsigned int; uint8_t = unsigned char]':
lib/ParquetFile.cpp:679:17:   required from here
lib/DbpDecoder.h:68:38: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
   68 |       for (auto i = 0; todo > 0 && i < mini_blocks_per_block; i++) {
      |                                    ~~^~~~~~~~~~~~~~~~~~~~~~~
lib/DbpDecoder.h:84:28: warning: comparison of integer expressions of different signedness: 'int' and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare]
   84 |         for (auto i = 0; i < mb_vals; i++) {
      |                          ~~^~~~~~~~~
lib/DbpDecoder.h: In instantiation of 'uint8_t* DbpDecoder<T, Tunsigned>::decode(T*) [with T = long long int; Tunsigned = long long unsigned int; uint8_t = unsigned char]':
lib/ParquetFile.cpp:694:17:   required from here
lib/DbpDecoder.h:68:38: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
   68 |       for (auto i = 0; todo > 0 && i < mini_blocks_per_block; i++) {
      |                                    ~~^~~~~~~~~~~~~~~~~~~~~~~
lib/DbpDecoder.h:84:28: warning: comparison of integer expressions of different signedness: 'int' and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare]
   84 |         for (auto i = 0; i < mb_vals; i++) {
      |                          ~~^~~~~~~~~
lib/ParquetFile.cpp: In instantiation of 'void ColumnScan::fill_values_bss(nanoparquet::ResultColumn&) [with T = float]':
lib/ParquetFile.cpp:854:29:   required from here
lib/ParquetFile.cpp:830:28: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  830 |     for (uint32_t i = 0; i < num_values; i++) {
      |                          ~~^~~~~~~~~~~~
lib/ParquetFile.cpp:842:25: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
  842 |       for (int b = 0; b < sizeof(T); b++) {
      |                       ~~^~~~~~~~~~~
lib/ParquetFile.cpp: In instantiation of 'void ColumnScan::fill_values_bss(nanoparquet::ResultColumn&) [with T = double]':
lib/ParquetFile.cpp:857:30:   required from here
lib/ParquetFile.cpp:830:28: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  830 |     for (uint32_t i = 0; i < num_values; i++) {
      |                          ~~^~~~~~~~~~~~
lib/ParquetFile.cpp:842:25: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
  842 |       for (int b = 0; b < sizeof(T); b++) {
      |                       ~~^~~~~~~~~~~
lib/ParquetFile.cpp: In instantiation of 'void ColumnScan::fill_values_bss(nanoparquet::ResultColumn&) [with T = int]':
lib/ParquetFile.cpp:860:31:   required from here
lib/ParquetFile.cpp:830:28: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  830 |     for (uint32_t i = 0; i < num_values; i++) {
      |                          ~~^~~~~~~~~~~~
lib/ParquetFile.cpp:842:25: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
  842 |       for (int b = 0; b < sizeof(T); b++) {
      |                       ~~^~~~~~~~~~~
lib/ParquetFile.cpp: In instantiation of 'void ColumnScan::fill_values_bss(nanoparquet::ResultColumn&) [with T = long long int]':
lib/ParquetFile.cpp:863:31:   required from here
lib/ParquetFile.cpp:830:28: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  830 |     for (uint32_t i = 0; i < num_values; i++) {
      |                          ~~^~~~~~~~~~~~
lib/ParquetFile.cpp:842:25: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
  842 |       for (int b = 0; b < sizeof(T); b++) {
      |                       ~~^~~~~~~~~~~
In file included from lib/DbpDecoder.h:6:
lib/decode-utils.h: In instantiation of 'void unpack_bits(uint8_t*, uint64_t, uint8_t, T*, uint64_t) [with T = unsigned int; uint8_t = unsigned char; uint64_t = long long unsigned int]':
lib/DbpDecoder.h:77:31:   required from 'uint8_t* DbpDecoder<T, Tunsigned>::decode(T*) [with T = int; Tunsigned = unsigned int; uint8_t = unsigned char]'
lib/ParquetFile.cpp:679:17:   required from here
lib/decode-utils.h:58:21: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
   58 |   while (num_values > output_group_size) {
      |          ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
lib/decode-utils.h: In instantiation of 'void unpack_bits(uint8_t*, uint64_t, uint8_t, T*, uint64_t) [with T = long long unsigned int; uint8_t = unsigned char; uint64_t = long long unsigned int]':
lib/DbpDecoder.h:77:31:   required from 'uint8_t* DbpDecoder<T, Tunsigned>::decode(T*) [with T = long long int; Tunsigned = long long unsigned int; uint8_t = unsigned char]'
lib/ParquetFile.cpp:694:17:   required from here
lib/decode-utils.h:58:21: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
In member function 'int RleBpDecoder::GetBatchSpaced(uint32_t, uint32_t, const uint8_t*, T*) [with T = bool]',
    inlined from 'void ColumnScan::scan_data_page_rle(nanoparquet::ResultColumn&)' at lib/ParquetFile.cpp:647:31:
lib/RleBpDecoder.h:110:27: warning: 'indices' may be used uninitialized [-Wmaybe-uninitialized]
  110 |           *out++ = indices[0];
      |                    ~~~~~~~^
lib/RleBpDecoder.h: In member function 'void ColumnScan::scan_data_page_rle(nanoparquet::ResultColumn&)':
lib/RleBpDecoder.h:100:13: note: 'indices' declared here
  100 |           T indices[kBufferSize];
      |             ^~~~~~~
In member function 'int RleBpDecoder::GetBatchSpaced(uint32_t, uint32_t, const uint8_t*, T*) [with T = unsigned int]',
    inlined from 'void ColumnScan::scan_data_page_dict(nanoparquet::ResultColumn&)' at lib/ParquetFile.cpp:570:37:
lib/RleBpDecoder.h:110:27: warning: 'indices' may be used uninitialized [-Wmaybe-uninitialized]
  110 |           *out++ = indices[0];
      |                    ~~~~~~~^
lib/RleBpDecoder.h: In member function 'void ColumnScan::scan_data_page_dict(nanoparquet::ResultColumn&)':
lib/RleBpDecoder.h:100:13: note: 'indices' declared here
  100 |           T indices[kBufferSize];
      |             ^~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c lib/ParquetOutFile.cpp -o lib/ParquetOutFile.o
In file included from lib/nanoparquet.h:8,
                 from lib/ParquetOutFile.cpp:12:
lib/bytebuffer.h: In member function 'virtual std::streamsize ByteBuffer::xsputn(const char*, std::streamsize)':
lib/bytebuffer.h:34:15: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'std::streamsize' {aka 'long long int'} [-Wsign-compare]
   34 |     if (space < n) {
      |         ~~~~~~^~~
lib/ParquetOutFile.cpp: In member function 'void nanoparquet::ParquetOutFile::write_data_pages(uint32_t)':
lib/ParquetOutFile.cpp:591:22: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
  591 |   for (auto i = 0; i < num_pages; i++) {
      |                    ~~^~~~~~~~~~~
In file included from lib/ParquetOutFile.cpp:13:
lib/RleBpEncoder.h: In instantiation of 'uint32_t RleBpEncode(const T*, uint32_t, uint8_t, uint8_t*, uint32_t) [with T = int; uint32_t = unsigned int; uint8_t = unsigned char]':
lib/ParquetOutFile.cpp:438:32:   required from here
lib/RleBpEncoder.h:40:16: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
   40 |       if (reps >= min_reps) {
      |           ~~~~~^~~~~~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c lib/RleBpDecoder.cpp -o lib/RleBpDecoder.o
In file included from lib/nanoparquet.h:8,
                 from lib/RleBpDecoder.h:5,
                 from lib/RleBpDecoder.cpp:1:
lib/bytebuffer.h: In member function 'virtual std::streamsize ByteBuffer::xsputn(const char*, std::streamsize)':
lib/bytebuffer.h:34:15: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'std::streamsize' {aka 'long long int'} [-Wsign-compare]
   34 |     if (space < n) {
      |         ~~~~~~^~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c parquet/parquet_types.cpp -o parquet/parquet_types.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c thrift/protocol/TProtocol.cpp -o thrift/protocol/TProtocol.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c thrift/transport/TTransportException.cpp -o thrift/transport/TTransportException.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c thrift/transport/TBufferTransports.cpp -o thrift/transport/TBufferTransports.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c fastpforlib/bitpacking.cpp -o fastpforlib/bitpacking.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c snappy/snappy.cc -o snappy/snappy.o
snappy/snappy.cc: In member function 'void snappy::SnappySinkAllocator::Flush(size_t)':
snappy/snappy.cc:1599:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<snappy::SnappySinkAllocator::Datablock>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
 1599 |     for (int i = 0; i < blocks_.size(); ++i) {
      |                     ~~^~~~~~~~~~~~~~~~
In file included from snappy/snappy-internal.h:34,
                 from snappy/snappy.cc:30:
snappy/snappy.cc: In instantiation of 'bool snappy::SnappyScatteredWriter<Allocator>::AppendFromSelf(size_t, size_t) [with Allocator = snappy::SnappySinkAllocator; size_t = long long unsigned int]':
snappy/snappy.cc:902:36:   required from 'void snappy::SnappyDecompressor::DecompressAllTags(Writer*) [with Writer = snappy::SnappyScatteredWriter<snappy::SnappySinkAllocator>]'
snappy/snappy.cc:991:34:   required from 'bool snappy::InternalUncompressAllTags(SnappyDecompressor*, Writer*, uint32, uint32) [with Writer = SnappyScatteredWriter<SnappySinkAllocator>; uint32 = unsigned int]'
snappy/snappy.cc:1657:37:   required from here
snappy/snappy.cc:1511:41: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'long long int' [-Wsign-compare]
 1511 |     if (SNAPPY_PREDICT_TRUE(offset - 1u < op_ptr_ - op_base_ &&
      |                             ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
snappy/snappy-stubs-internal.h:104:32: note: in definition of macro 'SNAPPY_PREDICT_TRUE'
  104 | #define SNAPPY_PREDICT_TRUE(x) x
      |                                ^
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c snappy/snappy-sinksource.cc -o snappy/snappy-sinksource.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c miniz/miniz.cpp -o miniz/miniz.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c zstd/common/entropy_common.cpp -o zstd/common/entropy_common.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c zstd/common/error_private.cpp -o zstd/common/error_private.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c zstd/common/fse_decompress.cpp -o zstd/common/fse_decompress.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c zstd/common/xxhash.cpp -o zstd/common/xxhash.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c zstd/common/zstd_common.cpp -o zstd/common/zstd_common.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c zstd/decompress/huf_decompress.cpp -o zstd/decompress/huf_decompress.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c zstd/decompress/zstd_ddict.cpp -o zstd/decompress/zstd_ddict.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c zstd/decompress/zstd_decompress.cpp -o zstd/decompress/zstd_decompress.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c zstd/decompress/zstd_decompress_block.cpp -o zstd/decompress/zstd_decompress_block.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c zstd/compress/fse_compress.cpp -o zstd/compress/fse_compress.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c zstd/compress/hist.cpp -o zstd/compress/hist.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c zstd/compress/huf_compress.cpp -o zstd/compress/huf_compress.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c zstd/compress/zstd_compress.cpp -o zstd/compress/zstd_compress.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c zstd/compress/zstd_compress_literals.cpp -o zstd/compress/zstd_compress_literals.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c zstd/compress/zstd_compress_sequences.cpp -o zstd/compress/zstd_compress_sequences.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c zstd/compress/zstd_compress_superblock.cpp -o zstd/compress/zstd_compress_superblock.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c zstd/compress/zstd_double_fast.cpp -o zstd/compress/zstd_double_fast.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c zstd/compress/zstd_fast.cpp -o zstd/compress/zstd_fast.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c zstd/compress/zstd_lazy.cpp -o zstd/compress/zstd_lazy.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c zstd/compress/zstd_ldm.cpp -o zstd/compress/zstd_ldm.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -Ithrift -I. -Izstd/include    -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -DR_NO_REMAP   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c zstd/compress/zstd_opt.cpp -o zstd/compress/zstd_opt.o
g++ -std=gnu++17 -shared -s -static-libgcc -o nanoparquet.dll tmp.def rwrapper.o protect.o read.o write.o read-metadata.o read-pages.o arrow-schema.o base64.o r-base64.o snappy.o encodings.o dictionary-encoding.o test.o lib/ParquetFile.o lib/ParquetOutFile.o lib/RleBpDecoder.o parquet/parquet_types.o thrift/protocol/TProtocol.o thrift/transport/TTransportException.o thrift/transport/TBufferTransports.o fastpforlib/bitpacking.o snappy/snappy.o snappy/snappy-sinksource.o miniz/miniz.o zstd/common/entropy_common.o zstd/common/error_private.o zstd/common/fse_decompress.o zstd/common/xxhash.o zstd/common/zstd_common.o zstd/decompress/huf_decompress.o zstd/decompress/zstd_ddict.o zstd/decompress/zstd_decompress.o zstd/decompress/zstd_decompress_block.o zstd/compress/fse_compress.o zstd/compress/hist.o zstd/compress/huf_compress.o zstd/compress/zstd_compress.o zstd/compress/zstd_compress_literals.o zstd/compress/zstd_compress_sequences.o zstd/compress/zstd_compress_superblock.o zstd/compress/zstd_double_fast.o zstd/compress/zstd_fast.o zstd/compress/zstd_lazy.o zstd/compress/zstd_ldm.o zstd/compress/zstd_opt.o -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2024_12_18_01_50_01_11818/RtmpmUQAXL/R.INSTALLde78516d1dee/nanoparquet/src'
make[1]: Entering directory '/d/temp/2024_12_18_01_50_01_11818/RtmpmUQAXL/R.INSTALLde78516d1dee/nanoparquet/src'
make[1]: Leaving directory '/d/temp/2024_12_18_01_50_01_11818/RtmpmUQAXL/R.INSTALLde78516d1dee/nanoparquet/src'
installing via 'install.libs.R' to d:/Rcompile/CRANpkg/lib/4.5/00LOCK-nanoparquet/00new/nanoparquet
** 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
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* MD5 sums
packaged installation of 'nanoparquet' as nanoparquet_0.3.1.zip
* DONE (nanoparquet)