|| /root/10.4/storage/rocksdb/rocksdb/env/io_posix.cc: In member function 'virtual rocksdb::Status rocksdb::PosixMmapFile::Allocate(uint64_t, uint64_t)':
|
storage/rocksdb/rocksdb/env/io_posix.cc|807 col 17| error: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'long int' [-Werror=sign-compare]
|
|| 807 | assert(offset <= std::numeric_limits<off_t>::max());
|
|| | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
storage/rocksdb/rocksdb/env/io_posix.cc|808 col 14| error: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'long int' [-Werror=sign-compare]
|
|| 808 | assert(len <= std::numeric_limits<off_t>::max());
|
|| | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|| /root/10.4/storage/rocksdb/rocksdb/env/io_posix.cc: In member function 'virtual rocksdb::Status rocksdb::PosixWritableFile::PositionedAppend(const rocksdb::Slice&, uint64_t)':
|
storage/rocksdb/rocksdb/env/io_posix.cc|877 col 17| error: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'long int' [-Werror=sign-compare]
|
|| 877 | assert(offset <= std::numeric_limits<off_t>::max());
|
|| | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|| /root/10.4/storage/rocksdb/rocksdb/env/io_posix.cc: In member function 'virtual rocksdb::Status rocksdb::PosixWritableFile::Allocate(uint64_t, uint64_t)':
|
storage/rocksdb/rocksdb/env/io_posix.cc|1013 col 17| error: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'long int' [-Werror=sign-compare]
|
|| 1013 | assert(offset <= std::numeric_limits<off_t>::max());
|
|| | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
storage/rocksdb/rocksdb/env/io_posix.cc|1014 col 14| error: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'long int' [-Werror=sign-compare]
|
|| 1014 | assert(len <= std::numeric_limits<off_t>::max());
|
|| | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|| cc1plus: all warnings being treated as errors
|