Making all in src
make[1]: Entering directory `/c/bitcoin-master/src'
CXX libbitcoin_server_a-rpcmining.o
rpcmining.cpp: In function 'json_spirit::Value getwork(const Array&, bool)':
rpcmining.cpp:525:41: error: passing 'const CScript' as 'this' argument of 'CScript& CScript::operator=(const CScript&)' discards qualifiers [-permissive]
pblock->vtx[0].vin[0].scriptSig = mapNewBlock[pdata->hashMerkleRoot].second;
^
make[1]: *** [libbitcoin_server_a-rpcmining.o] Error 1
make[1]: Leaving directory `/c/bitcoin-master/src'
make: *** [all-recursive] Error 1
i was trying to return getwork into 0.9.x, can someone help me get this to work.