emarkproject / eMark

https://deutsche-emark.org
MIT License
24 stars 36 forks source link

Zurück geändert #57

Closed nice42q closed 3 years ago

nice42q commented 4 years ago

~/eMark/src# make -f makefile.unix /bin/sh ../share/genbuild.sh obj/build.h g++ -c -O2 -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/root/eMark/src -I/root/eMark/src/obj -DUSE_UPNP=0 -DENABLE_WALLET -I/root/eMark/src/leveldb/include -I/root/eMark/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/miner.d -o obj/miner.o miner.cpp miner.cpp: In function 'CBlock CreateNewBlock(CReserveKey&, bool, int64_t)': miner.cpp:105:5: error: 'unique_ptr' was not declared in this scope unique_ptr pblock(new CBlock()); ^ miner.cpp:105:22: error: expected primary-expression before '>' token unique_ptr pblock(new CBlock()); ^ miner.cpp:105:43: error: 'pblock' was not declared in this scope unique_ptr pblock(new CBlock()); ^ miner.cpp: In function 'void ThreadStakeMiner(CWallet)': miner.cpp:557:9: error: 'unique_ptr' was not declared in this scope unique_ptr pblock(CreateNewBlock(reservekey, true, &nFees)); ^ miner.cpp:557:26: error: expected primary-expression before '>' token unique_ptr pblock(CreateNewBlock(reservekey, true, &nFees)); ^ miner.cpp:557:75: error: 'pblock' was not declared in this scope unique_ptr pblock(CreateNewBlock(reservekey, true, &nFees)); ^ miner.cpp: In function 'CBlock CreateNewBlock(CReserveKey&, bool, int64_t*)': miner.cpp:372:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ makefile.unix:172: recipe for target 'obj/miner.o' failed make: *** [obj/miner.o] Error 1