{"action":"closed","issue":{"url":"https://api.github.com/repos/valiant1x/intensecoin/issues/49","repository_url":"https://api.github.com/repos/valiant1x/intensecoin","labels_url":"https://api.github.com/repos/valiant1x/intensecoin/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/valiant1x/intensecoin/issues/49/comments","events_url":"https://api.github.com/repos/valiant1x/intensecoin/issues/49/events","html_url":"https://github.com/valiant1x/intensecoin/issues/49","id":306791083,"number":49,"title":"master is not compiling","user":{"login":"podvodnik","id":34026384,"avatar_url":"https://avatars3.githubusercontent.com/u/34026384?v=4","gravatar_id":"","url":"https://api.github.com/users/podvodnik","html_url":"https://github.com/podvodnik","followers_url":"https://api.github.com/users/podvodnik/followers","following_url":"https://api.github.com/users/podvodnik/following{/other_user}","gists_url":"https://api.github.com/users/podvodnik/gists{/gist_id}","starred_url":"https://api.github.com/users/podvodnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/podvodnik/subscriptions","organizations_url":"https://api.github.com/users/podvodnik/orgs","repos_url":"https://api.github.com/users/podvodnik/repos","events_url":"https://api.github.com/users/podvodnik/events{/privacy}","received_events_url":"https://api.github.com/users/podvodnik/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-03-20T09:42:41Z","updated_at":"2018-03-31T16:48:21Z","closed_at":"2018-03-31T16:48:21Z","author_association":"NONE","body":"when compiling master I get following misstakes:\r\n\r\n/home/x/intensecoin/tests/core_tests/block_validation.cpp: In function ‘bool {anonymous}::lift_up_difficulty(std::vector<boost::variant<cryptonote::block, cryptonote::transaction, cryptonote::account_base, callback_entry, serialized_object<cryptonote::block>, serialized_object<cryptonote::transaction>, event_visitor_settings> >&, std::vector<long unsigned int>&, std::vector<long unsigned int>&, test_generator&, size_t, cryptonote::block, const cryptonote::account_base&)’:\r\n/home/x/intensecoin/tests/core_tests/block_validation.cpp:48:105: error: cannot convert ‘std::vector<long unsigned int>’ to ‘uint8_t {aka unsigned char}’ for argument ‘1’ to ‘cryptonote::difficulty_type cryptonote::next_difficulty(uint8_t, std::vector<long unsigned int>, std::vector<long unsigned int>)’\r\n       difficulty_type diffic = next_difficulty(timestamps, cummulative_difficulties,DIFFICULTY_TARGET_V1);\r\n                                                                                                         ^\r\n/home/x/intensecoin/tests/core_tests/block_validation.cpp: In member function ‘bool gen_block_invalid_nonce::generate(std::vector<boost::variant<cryptonote::block, cryptonote::transaction, cryptonote::account_base, callback_entry, serialized_object<cryptonote::block>, serialized_object<cryptonote::transaction>, event_visitor_settings> >&) const’:\r\n/home/x/intensecoin/tests/core_tests/block_validation.cpp:178:101: error: cannot convert ‘std::vector<long unsigned int>’ to ‘uint8_t {aka unsigned char}’ for argument ‘1’ to ‘cryptonote::difficulty_type cryptonote::next_difficulty(uint8_t, std::vector<long unsigned int>, std::vector<long unsigned int>)’\r\n   difficulty_type diffic = next_difficulty(timestamps, commulative_difficulties,DIFFICULTY_TARGET_V1);\r\n                                                                                                     ^\r\n/home/x/intensecoin/tests/core_tests/block_validation.cpp: In member function ‘bool gen_block_invalid_binary_format::generate(std::vector<boost::variant<cryptonote::block, cryptonote::transaction, cryptonote::account_base, callback_entry, serialized_object<cryptonote::block>, serialized_object<cryptonote::transaction>, event_visitor_settings> >&) const’:\r\n/home/x/intensecoin/tests/core_tests/block_validation.cpp:575:87: error: cannot convert ‘std::vector<long unsigned int>’ to ‘uint8_t {aka unsigned char}’ for argument ‘1’ to ‘cryptonote::difficulty_type cryptonote::next_difficulty(uint8_t, std::vector<long unsigned int>, std::vector<long unsigned int>)’\r\n     diffic = next_difficulty(timestamps, cummulative_difficulties,DIFFICULTY_TARGET_V1);\r\n                                                                                       ^\r\n/home/x/intensecoin/tests/core_tests/block_validation.cpp:590:85: error: cannot convert ‘std::vector<long unsigned int>’ to ‘uint8_t {aka unsigned char}’ for argument ‘1’ to ‘cryptonote::difficulty_type cryptonote::next_difficulty(uint8_t, std::vector<long unsigned int>, std::vector<long unsigned int>)’\r\n   diffic = next_difficulty(timestamps, cummulative_difficulties,DIFFICULTY_TARGET_V1);\r\n                                                                                     ^\r\ntests/core_tests/CMakeFiles/coretests.dir/build.make:86: recipe for target 'tests/core_tests/CMakeFiles/coretests.dir/block_validation.cpp.o' failed\r\nmake[3]: *** [tests/core_tests/CMakeFiles/coretests.dir/block_validation.cpp.o] Error 1\r\nmake[3]: *** Waiting for unfinished jobs....\r\nmake[3]: Entering directory '/home/x/intensecoin/build/release'\r\nScanning dependencies of target cold-outputs_fuzz_tests\r\nmake[3]: Leaving directory '/home/x/intensecoin/build/release'\r\nmake[3]: Entering directory '/home/x/intensecoin/build/release'\r\n[ 59%] Building CXX object tests/fuzz/CMakeFiles/cold-outputs_fuzz_tests.dir/cold-outputs.cpp.o\r\nmake[3]: Leaving directory '/home/x/intensecoin/build/release'\r\nCMakeFiles/Makefile2:2157: recipe for target 'tests/core_tests/CMakeFiles/coretests.dir/all' failed\r\nmake[2]: *** [tests/core_tests/CMakeFiles/coretests.dir/all] Error 2\r\nmake[2]: *** Waiting for unfinished jobs....\r\n[ 59%] Building CXX object tests/fuzz/CMakeFiles/cold-outputs_fuzz_tests.dir/fuzzer.cpp.o\r\n[ 60%] Linking CXX executable cold-outputs_fuzz_tests\r\nmake[3]: Leaving directory '/home/x/intensecoin/build/release'\r\n[ 60%] Built target cold-outputs_fuzz_tests\r\nmake[2]: Leaving directory '/home/x/intensecoin/build/release'\r\nMakefile:138: recipe for target 'all' failed\r\nmake[1]: *** [all] Error 2\r\nmake[1]: Leaving directory '/home/x/intensecoin/build/release'\r\nMakefile:62: recipe for target 'release-all' failed\r\nmake: *** [release-all] Error 2\r\n"}}
{"actor":{"display_login":"iedemam"}}