* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’ * installing *source* package ‘nanoparquet’ ... ** package ‘nanoparquet’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘g++-14 (Debian 14.2.0-8) 14.2.0’ make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp9L5K6g/R.INSTALL3ee3ffe943499/nanoparquet/src' g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -c rwrapper.cpp -o rwrapper.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -c protect.cpp -o protect.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -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 unsigned int’} and ‘std::streamsize’ {aka ‘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 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 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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -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 unsigned int’} and ‘std::streamsize’ {aka ‘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 int’} and ‘uint64_t’ {aka ‘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 unsigned int’} and ‘R_xlen_t’ {aka ‘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 unsigned int’} and ‘R_xlen_t’ {aka ‘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 unsigned int’} and ‘R_xlen_t’ {aka ‘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 unsigned int’} and ‘R_xlen_t’ {aka ‘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 unsigned int’} and ‘R_xlen_t’ {aka ‘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 unsigned int’} and ‘R_xlen_t’ {aka ‘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 unsigned int’} and ‘R_xlen_t’ {aka ‘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 unsigned int’} and ‘R_xlen_t’ {aka ‘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 unsigned int’} and ‘R_xlen_t’ {aka ‘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 unsigned int’} and ‘R_xlen_t’ {aka ‘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 unsigned int’} and ‘R_xlen_t’ {aka ‘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 unsigned int’} and ‘R_xlen_t’ {aka ‘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 unsigned int’} and ‘R_xlen_t’ {aka ‘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 unsigned int’} and ‘R_xlen_t’ {aka ‘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 unsigned int’} and ‘R_xlen_t’ {aka ‘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 unsigned int’} and ‘R_xlen_t’ {aka ‘long int’} [-Wsign-compare] 634 | if (until > Rf_xlength(col)) { | ~~~~~~^~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -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 unsigned int’} and ‘std::streamsize’ {aka ‘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 int’} and ‘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 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 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 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 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 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 unsigned int’} [-Wsign-compare] 356 | for (auto k = 0; k < cmd.path_in_schema.size(); k++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -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 unsigned int’} and ‘std::streamsize’ {aka ‘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 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 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 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 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 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 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 unsigned int’} [-Wsign-compare] 303 | for (int i = 0; i < schema.size(); i++) { | ~~^~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -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 unsigned int’} and ‘std::streamsize’ {aka ‘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 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 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 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 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 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 unsigned int’} [-Wsign-compare] 379 | for (auto i = 0; i < nfields; i++) { | ~~^~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -c base64.cpp -o base64.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -c r-base64.cpp -o r-base64.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -c snappy.cpp -o snappy.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -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 unsigned int’} and ‘std::streamsize’ {aka ‘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 30 | decoder.GetBatch((uint32_t *)INTEGER(res), num_values); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 46 | size_t rs = RleBpEncode(input, input_len, bw, output, os); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 64 | dbp.decode(INTEGER(res)); | ~~~~~~~~~~^~~~~~~~~~~~~~ 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 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 int; Tunsigned = long unsigned int; uint8_t = unsigned char]’: encodings.cpp:82:13: required from here 82 | dbp.decode((int64_t*) REAL(res)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 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 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 unsigned int]’: encodings.cpp:100:24: required from here 100 | unpack_bits<uint32_t>( | ~~~~~~~~~~~~~~~~~~~~~^ 101 | RAW(x), | ~~~~~~~ 102 | Rf_xlength(x), | ~~~~~~~~~~~~~~ 103 | INTEGER(bit_width)[0], | ~~~~~~~~~~~~~~~~~~~~~~ 104 | (uint32_t*) INTEGER(res), | ~~~~~~~~~~~~~~~~~~~~~~~~~ 105 | cn | ~~ 106 | ); | ~ lib/decode-utils.h:58:21: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘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 unsigned int; uint8_t = unsigned char; uint64_t = long unsigned int]’: lib/DbpDecoder.h:77:31: required from ‘uint8_t* DbpDecoder<T, Tunsigned>::decode(T*) [with T = long int; Tunsigned = long unsigned int; uint8_t = unsigned char]’ 77 | unpack_bits<Tunsigned>( | ~~~~~~~~~~~~~~~~~~~~~~^ 78 | buf->start, | ~~~~~~~~~~~ 79 | mb_len, | ~~~~~~~ 80 | bw, | ~~~ 81 | (Tunsigned*) values, | ~~~~~~~~~~~~~~~~~~~~ 82 | mb_vals | ~~~~~~~ 83 | ); | ~ encodings.cpp:82:13: required from here 82 | dbp.decode((int64_t*) REAL(res)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ lib/decode-utils.h:58:21: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 58 | while (num_values > output_group_size) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -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 int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | if (n > space) { | ~~^~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -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 unsigned int’} and ‘std::streamsize’ {aka ‘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 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 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 int’} and ‘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 340 | dec.GetBatch<uint8_t>(defined_ptr, num_values); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 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 570 | dec.GetBatchSpaced<uint32_t>(num_values, null_count, defined_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 571 | offsets.get()); | ~~~~~~~~~~~~~~ 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 573 | dec.GetBatch<uint32_t>(offsets.get(), num_values); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 647 | dec.GetBatchSpaced<bool>(num_values, null_count, defined_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 648 | offsets.get()); | ~~~~~~~~~~~~~~ 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 650 | dec.GetBatch<bool>(offsets.get(), num_values); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 679 | dec.decode(vals.get()); | ~~~~~~~~~~^~~~~~~~~~~~ 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 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 int; Tunsigned = long unsigned int; uint8_t = unsigned char]’: lib/ParquetFile.cpp:694:17: required from here 694 | dec.decode(vals.get()); | ~~~~~~~~~~^~~~~~~~~~~~ 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 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 854 | fill_values_bss<float>(result_col); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 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 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 857 | fill_values_bss<double>(result_col); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 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 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 860 | fill_values_bss<int32_t>(result_col); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 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 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 int]’: lib/ParquetFile.cpp:863:31: required from here 863 | fill_values_bss<int64_t>(result_col); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 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 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 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]’ 77 | unpack_bits<Tunsigned>( | ~~~~~~~~~~~~~~~~~~~~~~^ 78 | buf->start, | ~~~~~~~~~~~ 79 | mb_len, | ~~~~~~~ 80 | bw, | ~~~ 81 | (Tunsigned*) values, | ~~~~~~~~~~~~~~~~~~~~ 82 | mb_vals | ~~~~~~~ 83 | ); | ~ lib/ParquetFile.cpp:679:17: required from here 679 | dec.decode(vals.get()); | ~~~~~~~~~~^~~~~~~~~~~~ lib/decode-utils.h:58:21: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘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 unsigned int; uint8_t = unsigned char; uint64_t = long unsigned int]’: lib/DbpDecoder.h:77:31: required from ‘uint8_t* DbpDecoder<T, Tunsigned>::decode(T*) [with T = long int; Tunsigned = long unsigned int; uint8_t = unsigned char]’ 77 | unpack_bits<Tunsigned>( | ~~~~~~~~~~~~~~~~~~~~~~^ 78 | buf->start, | ~~~~~~~~~~~ 79 | mb_len, | ~~~~~~~ 80 | bw, | ~~~ 81 | (Tunsigned*) values, | ~~~~~~~~~~~~~~~~~~~~ 82 | mb_vals | ~~~~~~~ 83 | ); | ~ lib/ParquetFile.cpp:694:17: required from here 694 | dec.decode(vals.get()); | ~~~~~~~~~~^~~~~~~~~~~~ lib/decode-utils.h:58:21: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 58 | while (num_values > output_group_size) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ 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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -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 unsigned int’} and ‘std::streamsize’ {aka ‘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 438 | size_t tgt_size = RleBpEncode( | ~~~~~~~~~~~^ 439 | (int*) src.ptr, | ~~~~~~~~~~~~~~~ 440 | src_size, | ~~~~~~~~~ 441 | bit_width, | ~~~~~~~~~~ 442 | (uint8_t *) tgt.ptr + skip + (add_bit_width ? 1 : 0) + (add_size ? 4 : 0), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 443 | tgt_size_est | ~~~~~~~~~~~~ 444 | ); | ~ 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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -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 unsigned int’} and ‘std::streamsize’ {aka ‘long int’} [-Wsign-compare] 34 | if (space < n) { | ~~~~~~^~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -c parquet/parquet_types.cpp -o parquet/parquet_types.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -c thrift/protocol/TProtocol.cpp -o thrift/protocol/TProtocol.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -c thrift/transport/TTransportException.cpp -o thrift/transport/TTransportException.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -c thrift/transport/TBufferTransports.cpp -o thrift/transport/TBufferTransports.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -c fastpforlib/bitpacking.cpp -o fastpforlib/bitpacking.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -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 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 unsigned int]’: snappy/snappy.cc:902:36: required from ‘void snappy::SnappyDecompressor::DecompressAllTags(Writer*) [with Writer = snappy::SnappyScatteredWriter<snappy::SnappySinkAllocator>]’ 902 | if (!writer->AppendFromSelf(copy_offset + trailer, length)) { | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ snappy/snappy.cc:991:34: required from ‘bool snappy::InternalUncompressAllTags(SnappyDecompressor*, Writer*, uint32, uint32) [with Writer = SnappyScatteredWriter<SnappySinkAllocator>; uint32 = unsigned int]’ 991 | decompressor->DecompressAllTags(writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ snappy/snappy.cc:1657:37: required from here 1657 | return InternalUncompressAllTags(&decompressor, &writer, compressed_len, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1658 | uncompressed_len); | ~~~~~~~~~~~~~~~~~ snappy/snappy.cc:1511:41: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -c snappy/snappy-sinksource.cc -o snappy/snappy-sinksource.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -c miniz/miniz.cpp -o miniz/miniz.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -c zstd/common/entropy_common.cpp -o zstd/common/entropy_common.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -c zstd/common/error_private.cpp -o zstd/common/error_private.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -c zstd/common/fse_decompress.cpp -o zstd/common/fse_decompress.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -c zstd/common/xxhash.cpp -o zstd/common/xxhash.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -c zstd/common/zstd_common.cpp -o zstd/common/zstd_common.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -c zstd/decompress/huf_decompress.cpp -o zstd/decompress/huf_decompress.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -c zstd/decompress/zstd_ddict.cpp -o zstd/decompress/zstd_ddict.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -c zstd/decompress/zstd_decompress.cpp -o zstd/decompress/zstd_decompress.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -c zstd/decompress/zstd_decompress_block.cpp -o zstd/decompress/zstd_decompress_block.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -c zstd/compress/fse_compress.cpp -o zstd/compress/fse_compress.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -c zstd/compress/hist.cpp -o zstd/compress/hist.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -c zstd/compress/huf_compress.cpp -o zstd/compress/huf_compress.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -c zstd/compress/zstd_compress.cpp -o zstd/compress/zstd_compress.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -c zstd/compress/zstd_compress_literals.cpp -o zstd/compress/zstd_compress_literals.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -c zstd/compress/zstd_compress_sequences.cpp -o zstd/compress/zstd_compress_sequences.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -c zstd/compress/zstd_compress_superblock.cpp -o zstd/compress/zstd_compress_superblock.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -c zstd/compress/zstd_double_fast.cpp -o zstd/compress/zstd_double_fast.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -c zstd/compress/zstd_fast.cpp -o zstd/compress/zstd_fast.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -c zstd/compress/zstd_lazy.cpp -o zstd/compress/zstd_lazy.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -c zstd/compress/zstd_ldm.cpp -o zstd/compress/zstd_ldm.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -Ithrift -I. -Izstd/include -I/usr/local/include -D_FORTIFY_SOURCE=3 -DR_NO_REMAP -fpic -g -O2 -Wall -pedantic -mtune=native -c zstd/compress/zstd_opt.cpp -o zstd/compress/zstd_opt.o g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o nanoparquet.so 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 -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp9L5K6g/R.INSTALL3ee3ffe943499/nanoparquet/src' make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp9L5K6g/R.INSTALL3ee3ffe943499/nanoparquet/src' make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp9L5K6g/R.INSTALL3ee3ffe943499/nanoparquet/src' installing via 'install.libs.R' to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-nanoparquet/00new/nanoparquet ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices converting help for package ‘nanoparquet’ finding HTML links ... done nanoparquet-package html nanoparquet-types html parquet_column_types html parquet_info html parquet_metadata html parquet_options html parquet_pages html parquet_schema html read_parquet html read_parquet_page html rle_decode_int html rle_encode_int html write_parquet html ** 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 (nanoparquet)