{"action":"created","issue":{"url":"https://api.github.com/repos/jancarlsson/snarkfront/issues/7","repository_url":"https://api.github.com/repos/jancarlsson/snarkfront","labels_url":"https://api.github.com/repos/jancarlsson/snarkfront/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/jancarlsson/snarkfront/issues/7/comments","events_url":"https://api.github.com/repos/jancarlsson/snarkfront/issues/7/events","html_url":"https://github.com/jancarlsson/snarkfront/issues/7","id":166307537,"number":7,"title":"[make tests] compilation errors","user":{"login":"illya13","id":1440590,"avatar_url":"https://avatars.githubusercontent.com/u/1440590?v=3","gravatar_id":"","url":"https://api.github.com/users/illya13","html_url":"https://github.com/illya13","followers_url":"https://api.github.com/users/illya13/followers","following_url":"https://api.github.com/users/illya13/following{/other_user}","gists_url":"https://api.github.com/users/illya13/gists{/gist_id}","starred_url":"https://api.github.com/users/illya13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/illya13/subscriptions","organizations_url":"https://api.github.com/users/illya13/orgs","repos_url":"https://api.github.com/users/illya13/repos","events_url":"https://api.github.com/users/illya13/events{/privacy}","received_events_url":"https://api.github.com/users/illya13/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-19T11:21:23Z","updated_at":"2016-09-06T09:49:00Z","closed_at":null,"body":"```cpp\r\ng++ -c -O2 -g3 -std=c++11 -I. -I/usr/local/include -DUSE_ASM -DUSE_ADD_SPECIAL -DUSE_ASSERT test_proof.cpp -o test_proof.o\r\nIn file included from ./snarkfront/DSL_algo.hpp:10:0,\r\n                 from snarkfront.hpp:18,\r\n                 from test_proof.cpp:8:\r\n/usr/local/include/cryptl/Digest.hpp: In instantiation of ‘typename T::DigType cryptl::digest(T, const std::vector<unsigned char>&) [with T = cryptl::SHA_256<unsigned int, unsigned int, unsigned char, cryptl::SHA_Functions<unsigned int, unsigned int, cryptl::BitwiseINT<unsigned int> > >; typename T::DigType = std::array<unsigned int, 8ul>]’:\r\ntest_proof.cpp:37:59:   required from here\r\n/usr/local/include/cryptl/Digest.hpp:62:10: error: no matching function for call to ‘digest(cryptl::SHA_256<unsigned int, unsigned int, unsigned char, cryptl::SHA_Functions<unsigned int, unsigned int, cryptl::BitwiseINT<unsigned int> > >&, std::stringstream&, cryptl::digest(T, const std::vector<unsigned char>&) [with T = cryptl::SHA_256<unsigned int, unsigned int, unsigned char, cryptl::SHA_Functions<unsigned int, unsigned int, cryptl::BitwiseINT<unsigned int> > >; typename T::DigType = std::array<unsigned int, 8ul>]::__lambda59)’\r\n         });\r\n          ^\r\n/usr/local/include/cryptl/Digest.hpp:62:10: note: candidates are:\r\n/usr/local/include/cryptl/Digest.hpp:21:21: note: template<class T> typename T::DigType cryptl::digest(T, std::istream&, std::function<bool(typename T::WordType&, std::basic_istream<char>&)>)\r\n typename T::DigType digest(\r\n                     ^\r\n/usr/local/include/cryptl/Digest.hpp:21:21: note:   template argument deduction/substitution failed:\r\n/usr/local/include/cryptl/Digest.hpp:62:10: note:   ‘cryptl::digest(T, const std::vector<unsigned char>&) [with T = cryptl::SHA_256<unsigned int, unsigned int, unsigned char, cryptl::SHA_Functions<unsigned int, unsigned int, cryptl::BitwiseINT<unsigned int> > >; typename T::DigType = std::array<unsigned int, 8ul>]::__lambda59’ is not derived from ‘std::function<bool(typename T::WordType&, std::basic_istream<char>&)>’\r\n         });\r\n          ^\r\n/usr/local/include/cryptl/Digest.hpp:37:21: note: template<class T> typename T::DigType cryptl::digest(T, std::istream&)\r\n typename T::DigType digest(T hashAlgo, std::istream& is)\r\n                     ^\r\n/usr/local/include/cryptl/Digest.hpp:37:21: note:   template argument deduction/substitution failed:\r\n/usr/local/include/cryptl/Digest.hpp:62:10: note:   candidate expects 2 arguments, 3 provided\r\n         });\r\n          ^\r\n/usr/local/include/cryptl/Digest.hpp:49:21: note: template<class T> typename T::DigType cryptl::digest(T, const std::vector<unsigned char>&)\r\n typename T::DigType digest(T hashAlgo, const std::vector<std::uint8_t>& a)\r\n                     ^\r\n/usr/local/include/cryptl/Digest.hpp:49:21: note:   template argument deduction/substitution failed:\r\n/usr/local/include/cryptl/Digest.hpp:62:10: note:   cannot convert ‘ss’ (type ‘std::stringstream {aka std::basic_stringstream<char>}’) to type ‘const std::vector<unsigned char>&’\r\n         });\r\n...\r\n```"},"comment":{"url":"https://api.github.com/repos/jancarlsson/snarkfront/issues/comments/244902873","html_url":"https://github.com/jancarlsson/snarkfront/issues/7#issuecomment-244902873","issue_url":"https://api.github.com/repos/jancarlsson/snarkfront/issues/7","id":244902873,"user":{"login":"jumjum888","id":9142627,"avatar_url":"https://avatars.githubusercontent.com/u/9142627?v=3","gravatar_id":"","url":"https://api.github.com/users/jumjum888","html_url":"https://github.com/jumjum888","followers_url":"https://api.github.com/users/jumjum888/followers","following_url":"https://api.github.com/users/jumjum888/following{/other_user}","gists_url":"https://api.github.com/users/jumjum888/gists{/gist_id}","starred_url":"https://api.github.com/users/jumjum888/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jumjum888/subscriptions","organizations_url":"https://api.github.com/users/jumjum888/orgs","repos_url":"https://api.github.com/users/jumjum888/repos","events_url":"https://api.github.com/users/jumjum888/events{/privacy}","received_events_url":"https://api.github.com/users/jumjum888/received_events","type":"User","site_admin":false},"created_at":"2016-09-06T09:49:00Z","updated_at":"2016-09-06T09:49:00Z","body":"jumjum888"}}
{"actor":{"display_login":"jumjum888"}}