You are viewing a single comment's thread from:

RE: Abit Witness Log 2016-10-22 ~ 2016-10-28

in #witness-category8 years ago (edited)

Sorry, the info doesn't help. Related code haven't changed for a while, so should be a deeper problem. I remember there was some template fitting issue, but forgot how to fix it. Perhaps I need to setup a VS environment..

//Edit: also I'm not very good at analysing the templates/macros used in the code: https://github.com/steemit/fc/compare/19d41b860676959e2014dd34700209df49eb62c4...a1354c5382ee16a7405a57ad688a891684d85b16#diff-18f79c66780a65dbb617edf936a5dd38R115

Sort:  

Thanks for the reply.
It is too difficult to debug these errors for me, especially when I am not a c++ coder.
I did manage to get rid of "fc::raw::unpack" error by removing the ... from flat_fwd.hpp's line 19 and 20, to make the template parameters explicit, I am not sure if it is a correct change though. Still trying to figure out the other error.

change from:

      template<typename Stream, typename K, typename... V>
      void unpack( Stream& s, flat_map<K,V...>& value ) ;

to:

      template<typename Stream, typename K, typename V> 
      void unpack( Stream& s, flat_map<K,V>& value ) ;

Thanks for the info. After this change, it would be unable to specify more than 2 parameters on flat_map: the comparison function, allocator and etc. If changed code compiles, it means we're not using such feature in the code right now, but I'm not sure whether we'll have this kind of code in the future.

That mean the changed is not correct.
I guess steemd can not be compiled with vs2013 from v0.14.3rc1 onward. :(
Thanks for your help.

Coin Marketplace

STEEM 0.18
TRX 0.13
JST 0.030
BTC 57962.42
ETH 3050.85
USDT 1.00
SBD 2.25