Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: myaltcoin on April 13, 2016, 05:34:15 PM



Title: wallet debug strange problem on mac
Post by: myaltcoin on April 13, 2016, 05:34:15 PM
i am debugging a mac wallet for altcoin on mac osx
i run make -f Makefile
it shows

src/bloom.cpp:63:32: error: member function 'begin' not viable: 'this' argument
      has type 'const uint256', but function is not marked const
    vector<unsigned char> data(hash.begin(), hash.end());
                               ^~~~
src/uint256.h:344:20: note: 'begin' declared here
    unsigned char* begin()
                   ^
src/bloom.cpp:93:32: error: member function 'begin' not viable: 'this' argument
      has type 'const uint256', but function is not marked const
    vector<unsigned char> data(hash.begin(), hash.end());
                               ^~~~
src/uint256.h:344:20: note: 'begin' declared here
    unsigned char* begin()
                   ^
2 errors generated.
make: *** [build/bloom.o] Error 1

help , thanks


Title: Re: wallet debug strange problem on mac
Post by: cr1776 on April 13, 2016, 06:39:27 PM
Since this is about an alt coin, this is the wrong section.

Edit: good, it is moved