make warnings 0.18.0rc1 #15539

issue Viral opened this issue on March 5, 2019
  1. Viral commented at 4:37 PM on March 5, 2019: none

    unsure if worth reporting or not but I get these warnings on Debian

      CXX      leveldb/util/leveldb_libleveldb_a-logging.o
    leveldb/util/logging.cc: In function ‘bool leveldb::ConsumeDecimalNumber(leveldb::Slice*, uint64_t*)’:
    leveldb/util/logging.cc:58:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
               (v == kMaxUint64/10 && delta > kMaxUint64%10)) {
                                      ~~~~~~^~~~~~~~~~~~~~~
      CXX      leveldb/util/leveldb_libleveldb_a-options.o
      CXX      leveldb/util/leveldb_libleveldb_a-status.o
      CXX      leveldb/port/leveldb_libleveldb_a-port_posix.o
    leveldb/port/port_posix.cc: In function ‘bool leveldb::port::HasAcceleratedCRC32C()’:
    leveldb/port/port_posix.cc:60:15: warning: ‘ecx’ may be used uninitialized in this function [-Wmaybe-uninitialized]
       return (ecx & (1 << 20)) != 0;
              ~~~~~^~~~~~~~~~~~
    
      CXX      bench/bench_bench_bitcoin-base58.o
    bench/base58.cpp: In function ‘void Base58Decode(benchmark::State&)’:
    bench/base58.cpp:52:39: warning: ignoring return value of ‘bool DecodeBase58(const char*, std::vector<unsigned char>&)’, declared with attribute warn_unused_result [-Wunused-result]
             (void) DecodeBase58(addr, vch);
                                           ^
    
  2. Viral closed this on Mar 5, 2019

  3. ibrahimalrashd commented at 7:56 PM on August 13, 2019: none

    yes me too

     warning: comparison between signed and unsigned integer expressions [-Wsign-compar
    ]
               (v == kMaxUint64/10 && delta > kMaxUint64%10)) {
                                      ~~~~~~^~~~~~~~~~~~~~~
      CXX      leveldb/util/leveldb_libleveldb_a-options.o
      CXX      leveldb/util/leveldb_libleveldb_a-status.o
      CXX      leveldb/port/leveldb_libleveldb_a-port_posix.o
    leveldb/port/port_posix.cc: In function ‘bool leveldb::port::HasAcceleratedCRC32C()’:
    leveldb/port/port_posix.cc:60:15: warning: ‘ecx’ may be used uninitialized in this function [-Wmaybe-uninitialize
    ]
       return (ecx & (1 << 20)) != 0;
              ~~~~~^~~~~~~~~~~~
    
  4. DrahtBot locked this on Dec 16, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-03 00:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me