Error while making #20950

issue robinh007d openend this issue on January 16, 2021
  1. robinh007d commented at 11:59 am on January 16, 2021: none

    I was making and an error came up Expected behavior

    no errors Actual behavior

    CXX libbitcoin_server_a-txmempool.o txmempool.cpp: In member function ‘CTxMemPool::setEntries CTxMemPool::GetIterSet(const std::set&) const’: txmempool.cpp:883:29: warning: ‘’ may be used uninitialized in this function [-Wmaybe-uninitialized] 883 | return Optional{};

    To reproduce

    happens everytime System information

    github latest version

    linux amd cpu nvme disk

    CXX libbitcoin_server_a-txmempool.o txmempool.cpp: In member function ‘CTxMemPool::setEntries CTxMemPool::GetIterSet(const std::set&) const’: txmempool.cpp:883:29: warning: ‘’ may be used uninitialized in this function [-Wmaybe-uninitialized] 883 | return Optional{};

  2. robinh007d added the label Bug on Jan 16, 2021
  3. prusnak commented at 1:36 pm on January 16, 2021: contributor
    1. this is warning, not an error
    2. i don’t see return Optional{}; on line 883 of master - are you sure you are on the latest commit?
  4. robinh007d commented at 1:40 pm on January 16, 2021: none

    phew, only 1 warning when i make

    am i on the latest commit? im not entirely sure…

    git clone https://github.com/bitcoin/bitcoin.git

    this is what i used

  5. prusnak commented at 1:56 pm on January 16, 2021: contributor

    Type git rev-parse HEAD to get the commit you are on.

    If it’s not 30e664dcce1a9adb9ba9a29e4f0cf809767870dd you are not on the latest commit and you need to do git pull.

  6. robinh007d commented at 2:01 pm on January 16, 2021: none
    Ok thanks alot
  7. robinh007d closed this on Jan 16, 2021

  8. fanquake locked this on Jan 20, 2021


robinh007d prusnak

Labels
Bug


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-11-17 12:12 UTC

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