Skip to content

Instantly share code, notes, and snippets.

@leto
Created May 28, 2019 16:01
Show Gist options
  • Save leto/d8c3bfc169520768424ae22e034eb10c to your computer and use it in GitHub Desktop.
Save leto/d8c3bfc169520768424ae22e034eb10c to your computer and use it in GitHub Desktop.
In file included from komodo.h:59,
from main.cpp:625:
komodo_gateway.h: In function 'int64_t sort64(int64_t*, int32_t)':
komodo_gateway.h:2603:1: error: no return statement in function returning non-void [-Werror=return-type]
}
^
komodo_gateway.h: In function 'int64_t revsort64(int64_t*, int32_t)':
komodo_gateway.h:2617:1: error: no return statement in function returning non-void [-Werror=return-type]
}
^
In file included from main.cpp:625:
komodo.h: In function 'int32_t komodo_connectblock(bool, CBlockIndex*, CBlock&)':
komodo.h:811:26: error: control reaches end of non-void function [-Werror=return-type]
std::vector<int32_t> notarisations;
^~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [libbitcoin_server_a-main.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/libbitcoin_server_a-notarisationdb.Tpo .deps/libbitcoin_server_a-notarisationdb.Po
mv -f .deps/libbitcoin_server_a-paymentdisclosure.Tpo .deps/libbitcoin_server_a-paymentdisclosure.Po
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment