make warnings 0.18.0rc1 #15539

issue Viral openend 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

     0  CXX      leveldb/util/leveldb_libleveldb_a-logging.o
     1leveldb/util/logging.cc: In function ‘bool leveldb::ConsumeDecimalNumber(leveldb::Slice*, uint64_t*)’:
     2leveldb/util/logging.cc:58:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     3           (v == kMaxUint64/10 && delta > kMaxUint64%10)) {
     4                                  ~~~~~~^~~~~~~~~~~~~~~
     5  CXX      leveldb/util/leveldb_libleveldb_a-options.o
     6  CXX      leveldb/util/leveldb_libleveldb_a-status.o
     7  CXX      leveldb/port/leveldb_libleveldb_a-port_posix.o
     8leveldb/port/port_posix.cc: In function ‘bool leveldb::port::HasAcceleratedCRC32C()’:
     9leveldb/port/port_posix.cc:60:15: warning: ‘ecx’ may be used uninitialized in this function [-Wmaybe-uninitialized]
    10   return (ecx & (1 << 20)) != 0;
    11          ~~~~~^~~~~~~~~~~~
    
    0  CXX      bench/bench_bench_bitcoin-base58.o
    1bench/base58.cpp: In function void Base58Decode(benchmark::State&):
    2bench/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]
    3         (void) DecodeBase58(addr, vch);
    4                                       ^
    
  2. Viral closed this on Mar 5, 2019

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

    yes me too

     0 warning: comparison between signed and unsigned integer expressions [-Wsign-compar
     1]
     2           (v == kMaxUint64/10 && delta > kMaxUint64%10)) {
     3                                  ~~~~~~^~~~~~~~~~~~~~~
     4  CXX      leveldb/util/leveldb_libleveldb_a-options.o
     5  CXX      leveldb/util/leveldb_libleveldb_a-status.o
     6  CXX      leveldb/port/leveldb_libleveldb_a-port_posix.o
     7leveldb/port/port_posix.cc: In function ‘bool leveldb::port::HasAcceleratedCRC32C()’:
     8leveldb/port/port_posix.cc:60:15: warning: ‘ecx’ may be used uninitialized in this function [-Wmaybe-uninitialize
     9]
    10   return (ecx & (1 << 20)) != 0;
    11          ~~~~~^~~~~~~~~~~~
    
  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: 2024-07-05 22:12 UTC

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