pocketnetteam / pocketnet.core

Decentralized social network based on the blockchain
https://pocketnet.app
Apache License 2.0
115 stars 28 forks source link

Failed to build latest version of pocketnet core node, because of incomplete CNode class. #724

Open nnmfnwl opened 1 month ago

nnmfnwl commented 1 month ago

In file included from pocketcoind.cpp:13: In file included from ./init.h:14: In file included from ./statistic.hpp:18: ./net.h:227:75: error: member access into incomplete type 'CNode' virtual bool SendMessages(CNode* pnode) EXCLUSIVE_LOCKS_REQUIRED(pnode->cs_sendProcessing) = 0; ^ ./net.h:47:7: note: forward declaration of 'CNode' class CNode; ^

nnmfnwl commented 1 month ago

Pocketcoin core node build/compilation process is affected when used clang/++ not gcc/++.

andyoknen commented 1 month ago

Pocketcoin core node build/compilation process is affected when used clang/++ not gcc/++.

Could you create a docker image to reproduce the problem?