-
-
Save akshaynexus/cbba287f41fbcd05abc8e21cb82b63b2 to your computer and use it in GitHub Desktop.
Compile error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
main.cpp:4427:34: error: qualified-id in declaration before ‘(’ token | |
bool CBlockIndex::IsSuperMajority(int minVersion, const CBlockIndex* pstart, unsigned int nRequired) | |
^ | |
main.cpp:4440:42: error: a function-definition is not allowed here before ‘{’ token | |
int static inline InvertLowestOne(int n) { return n & (n - 1); } | |
^ | |
main.cpp:4444:1: error: a function-definition is not allowed here before ‘{’ token | |
{ | |
^ | |
main.cpp:4454:38: error: qualified-id in declaration before ‘(’ token | |
CBlockIndex* CBlockIndex::GetAncestor(int height) | |
^ | |
main.cpp:4454:39: error: expected primary-expression before ‘int’ | |
CBlockIndex* CBlockIndex::GetAncestor(int height) | |
^~~ | |
main.cpp:4477:44: error: qualified-id in declaration before ‘(’ token | |
const CBlockIndex* CBlockIndex::GetAncestor(int height) const | |
^ | |
main.cpp:4477:45: error: expected primary-expression before ‘int’ | |
const CBlockIndex* CBlockIndex::GetAncestor(int height) const | |
^~~ | |
main.cpp:4482:28: error: qualified-id in declaration before ‘(’ token | |
void CBlockIndex::BuildSkip() | |
^ | |
main.cpp:4489:1: error: a function-definition is not allowed here before ‘{’ token | |
{ | |
^ | |
main.cpp:4596:1: error: a function-definition is not allowed here before ‘{’ token | |
{ | |
^ | |
main.cpp:4621:1: error: a function-definition is not allowed here before ‘{’ token | |
{ | |
^ | |
main.cpp:4632:1: error: a function-definition is not allowed here before ‘{’ token | |
{ | |
^ | |
main.cpp:4643:1: error: a function-definition is not allowed here before ‘{’ token | |
{ | |
^ | |
main.cpp:4666:1: error: a function-definition is not allowed here before ‘{’ token | |
{ | |
^ | |
main.cpp:4671:1: error: a function-definition is not allowed here before ‘{’ token | |
{ | |
^ | |
main.cpp:4676:1: error: a function-definition is not allowed here before ‘{’ token | |
{ | |
^ | |
main.cpp:4681:1: error: a function-definition is not allowed here before ‘{’ token | |
{ | |
^ | |
main.cpp:4706:1: error: a function-definition is not allowed here before ‘{’ token | |
{ | |
^ | |
main.cpp:4891:22: error: cannot call constructor ‘CVerifyDB::CVerifyDB’ directly [-fpermissive] | |
CVerifyDB::CVerifyDB() | |
^ | |
main.cpp:4891:22: note: for a function-style cast, remove the redundant ‘::CVerifyDB’ | |
main.cpp:4892:1: error: expected ‘;’ before ‘{’ token | |
{ | |
^ | |
main.cpp:4896:23: error: no matching function for call to ‘CVerifyDB::CVerifyDB()’ | |
CVerifyDB::~CVerifyDB() | |
^ | |
In file included from main.cpp:9:0: | |
main.h:627:5: note: candidate: CVerifyDB::~CVerifyDB() | |
~CVerifyDB(); | |
^ | |
main.h:627:5: note: candidate expects 1 argument, 0 provided | |
main.cpp:4901:25: error: qualified-id in declaration before ‘(’ token | |
bool CVerifyDB::VerifyDB(CCoinsView* coinsview, int nCheckLevel, int nCheckDepth) | |
^ | |
main.cpp:4979:1: error: a function-definition is not allowed here before ‘{’ token | |
{ | |
^ | |
main.cpp:4987:1: error: a function-definition is not allowed here before ‘{’ token | |
{ | |
^ | |
main.cpp:4996:1: error: a function-definition is not allowed here before ‘{’ token | |
{ | |
^ | |
main.cpp:5036:1: error: a function-definition is not allowed here before ‘{’ token | |
{ | |
^ | |
main.cpp:5136:1: error: a function-definition is not allowed here before ‘{’ token | |
{ | |
^ | |
main.cpp:5284:1: error: a function-definition is not allowed here before ‘{’ token | |
{ | |
^ | |
main.cpp:5337:1: error: a function-definition is not allowed here before ‘{’ token | |
{ | |
^ | |
main.cpp:5401:1: error: a function-definition is not allowed here before ‘{’ token | |
{ | |
^ | |
main.cpp:5633:1: error: a function-definition is not allowed here before ‘{’ token | |
{ | |
^ | |
main.cpp:6468:1: error: a function-definition is not allowed here before ‘{’ token | |
{ | |
^ | |
main.cpp:6487:1: error: a function-definition is not allowed here before ‘{’ token | |
{ | |
^ | |
main.cpp:6596:1: error: a function-definition is not allowed here before ‘{’ token | |
{ | |
^ | |
main.cpp:6822:29: error: qualified-id in declaration before ‘(’ token | |
bool CBlockUndo::WriteToDisk(CDiskBlockPos& pos, const uint256& hashBlock) | |
^ | |
main.cpp:6849:30: error: qualified-id in declaration before ‘(’ token | |
bool CBlockUndo::ReadFromDisk(const CDiskBlockPos& pos, const uint256& hashBlock) | |
^ | |
main.cpp:6875:37: error: qualified-id in declaration before ‘(’ token | |
std::string CBlockFileInfo::ToString() const | |
^ | |
main.cpp:6897:27: error: expected ‘}’ at end of input | |
} instance_of_cmaincleanup; | |
^ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment