Skip to content

Fix compiling on osx#116

Closed
leto wants to merge 1 commit intoVerusCoin:masterfrom
verus-stuff:osx_fix
Closed

Fix compiling on osx#116
leto wants to merge 1 commit intoVerusCoin:masterfrom
verus-stuff:osx_fix

Conversation

@leto
Copy link
Copy Markdown

@leto leto commented Aug 18, 2018

This issue is also currently in KMD and is from the Zcash upstream that we inherited. The bug is fixed properly in latest Zcash , this fix just allows Verus to compile on Mac until the latest mac fixes from Zcash make it here.

To actually compile on osx, this bug also needs to be fixed:

miner.cpp: In function 'void BitcoinMiner_noeq(CWallet*)': miner.cpp:1250:119: error: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t {aka long long unsigned int}' [-Werror=format=] printf("%lu mega hashes complete - working\n", (ASSETCHAINS_NONCEMASK[ASSETCHAINS_ALGO] + 1) / 1048576);

@miketout miketout closed this Aug 31, 2018
Asherda pushed a commit that referenced this pull request Oct 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants