same here:
[ 66%] Building CXX object libraries/chain/CMakeFiles/steemit_chain.dir/database.cpp.o
/home/tong/mine/libraries/chain/database.cpp: In member function 'steemit::chain::signed_block steemit::chain::database::_generate_block(fc::time_point_sec, const string&, const fc::ecc::private_key&)':
/home/tong/mine/libraries/chain/database.cpp:755:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if( new_total_size >= maximum_block_size )
^
/home/tong/mine/libraries/chain/database.cpp: In member function 'steemit::chain::share_type steemit::chain::database::pay_discussions(const steemit::chain::comment_object&, steemit::chain::share_type)':
/home/tong/mine/libraries/chain/database.cpp:1720:21: warning: variable 'vest_created' set but not used [-Wunused-but-set-variable]
auto vest_created = create_vesting( get_account( cur.author ), asset( claim, STEEM_SYMBOL ) );
^
/home/tong/mine/libraries/chain/database.cpp: In member function 'void steemit::chain::database::update_account_activity(const steemit::chain::account_object&)':
/home/tong/mine/libraries/chain/database.cpp:2015:15: warning: variable 'vests_created' set but not used [-Wunused-but-set-variable]
auto vests_created = create_vesting( account, payout );
^
/home/tong/mine/libraries/chain/database.cpp: In member function 'void steemit::chain::database::set_hardfork(uint32_t, bool)':
/home/tong/mine/libraries/chain/database.cpp:3405:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( int i = hardforks.last_hardfork + 1; i <= hardfork && i <= STEEMIT_NUM_HARDFORKS; i++ )
^
In file included from /home/tong/mine/libraries/db/include/graphene/db/object_id.hpp:25:0,
from /home/tong/mine/libraries/chain/include/steemit/chain/protocol/types.hpp:4,
from /home/tong/mine/libraries/chain/include/steemit/chain/protocol/base.hpp:3,
from /home/tong/mine/libraries/chain/include/steemit/chain/protocol/steem_operations.hpp:2,
from /home/tong/mine/libraries/chain/database.cpp:2:
/home/tong/mine/libraries/chain/database.cpp: In lambda function:
/home/tong/mine/libraries/chain/database.cpp:3575:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
FC_ASSERT( hardfork == hfp.last_hardfork + 1, "Hardfork being applied out of order", ("hardfork",hardfork)("hfp.last_hardfork",hfp.last_hardfork) );
^
/home/tong/mine/libraries/fc/include/fc/exception/exception.hpp:325:30: note: in definition of macro 'FC_EXPAND_MACRO'
#define FC_EXPAND_MACRO( x ) x
^
/home/tong/mine/libraries/fc/include/fc/exception/exception.hpp:332:11: note: in expansion of macro 'UNLIKELY'
if( UNLIKELY(!(TEST)) )
^
/home/tong/mine/libraries/chain/database.cpp:3575:7: note: in expansion of macro 'FC_ASSERT'
FC_ASSERT( hardfork == hfp.last_hardfork + 1, "Hardfork being applied out of order", ("hardfork",hardfork)("hfp.last_hardfork",hfp.last_hardfork) );
RE: Problems compiling steem
You are viewing a single comment's thread from:
Problems compiling steem
Try
export CC=/usr/bin/clang && export CXX=/usr/bin/clang++
and then cmake etcDownvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Did it work?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Nope.. still this "Error 4" and "Error 2"
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit