{"action":"created","issue":{"url":"https://api.github.com/repos/vertcoin/vertcoin/issues/49","labels_url":"https://api.github.com/repos/vertcoin/vertcoin/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/vertcoin/vertcoin/issues/49/comments","events_url":"https://api.github.com/repos/vertcoin/vertcoin/issues/49/events","html_url":"https://github.com/vertcoin/vertcoin/issues/49","id":79927197,"number":49,"title":"error while compiling","user":{"login":"shackra","id":1055216,"avatar_url":"https://avatars.githubusercontent.com/u/1055216?v=3","gravatar_id":"","url":"https://api.github.com/users/shackra","html_url":"https://github.com/shackra","followers_url":"https://api.github.com/users/shackra/followers","following_url":"https://api.github.com/users/shackra/following{/other_user}","gists_url":"https://api.github.com/users/shackra/gists{/gist_id}","starred_url":"https://api.github.com/users/shackra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shackra/subscriptions","organizations_url":"https://api.github.com/users/shackra/orgs","repos_url":"https://api.github.com/users/shackra/repos","events_url":"https://api.github.com/users/shackra/events{/privacy}","received_events_url":"https://api.github.com/users/shackra/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-23T19:02:47Z","updated_at":"2015-05-24T22:29:47Z","closed_at":null,"body":"I got an error while compiling:\r\n\r\n```\r\n/usr/include/boost/variant/get.hpp: In instantiation of 'typename boost::add_reference<T>::type boost::strict_get(boost::variant<T0, TN ...>&) [with U = const CScriptID&; T0 = CNoDestination; TN = {CKeyID, CScriptID}; typename boost::add_reference<T>::type = const CScriptID&]':\r\n/usr/include/boost/variant/get.hpp:284:33:   required from 'typename boost::add_reference<T>::type boost::get(boost::variant<T0, TN ...>&) [with U = const CScriptID&; T0 = CNoDestination; TN = {CKeyID, CScriptID}; typename boost::add_reference<T>::type = const CScriptID&]'\r\nsrc/rpcrawtransaction.cpp:242:77:   required from here\r\n/usr/include/boost/variant/get.hpp:212:5: error: static assertion failed: boost::variant does not contain specified type U, call to boost::get<U>(boost::variant<T...>&) will always throw boost::bad_get exception\r\n     BOOST_STATIC_ASSERT_MSG(\r\n     ^\r\nMakefile:2199: recipe for target 'build/rpcrawtransaction.o' failed\r\nmake: *** [build/rpcrawtransaction.o] Error 1\r\n```\r\n\r\nI have boost 1.58.0 installed."},"comment":{"url":"https://api.github.com/repos/vertcoin/vertcoin/issues/comments/105072080","html_url":"https://github.com/vertcoin/vertcoin/issues/49#issuecomment-105072080","issue_url":"https://api.github.com/repos/vertcoin/vertcoin/issues/49","id":105072080,"user":{"login":"rhkarls","id":2330659,"avatar_url":"https://avatars.githubusercontent.com/u/2330659?v=3","gravatar_id":"","url":"https://api.github.com/users/rhkarls","html_url":"https://github.com/rhkarls","followers_url":"https://api.github.com/users/rhkarls/followers","following_url":"https://api.github.com/users/rhkarls/following{/other_user}","gists_url":"https://api.github.com/users/rhkarls/gists{/gist_id}","starred_url":"https://api.github.com/users/rhkarls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhkarls/subscriptions","organizations_url":"https://api.github.com/users/rhkarls/orgs","repos_url":"https://api.github.com/users/rhkarls/repos","events_url":"https://api.github.com/users/rhkarls/events{/privacy}","received_events_url":"https://api.github.com/users/rhkarls/received_events","type":"User","site_admin":false},"created_at":"2015-05-24T22:29:47Z","updated_at":"2015-05-24T22:29:47Z","body":"\"Changing line 242 in src/rpcrawtransaction.cpp to \"const CScriptID& hash = boost::get<CScriptID>(address);\" fixes this (same as bitcoin fix). Perhaps this is something to consider for supporting newer boost versions?\"\r\nSee http://www.reddit.com/r/vertcoin/comments/372ydk/wallet_crashes_on_os_x_1075/crjk8gs and https://github.com/bitcoin/bitcoin/pull/6114/files"}}