{"action":"opened","issue":{"url":"https://api.github.com/repos/rafzi/WAMP_POCO/issues/4","repository_url":"https://api.github.com/repos/rafzi/WAMP_POCO","labels_url":"https://api.github.com/repos/rafzi/WAMP_POCO/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/rafzi/WAMP_POCO/issues/4/comments","events_url":"https://api.github.com/repos/rafzi/WAMP_POCO/issues/4/events","html_url":"https://github.com/rafzi/WAMP_POCO/issues/4","id":181941866,"number":4,"title":"macOS compile error: /usr/local/include/Poco/Dynamic/Var.h:199: error: no matching member function for call to 'convert'","user":{"login":"xgdgsc","id":1189869,"avatar_url":"https://avatars.githubusercontent.com/u/1189869?v=3","gravatar_id":"","url":"https://api.github.com/users/xgdgsc","html_url":"https://github.com/xgdgsc","followers_url":"https://api.github.com/users/xgdgsc/followers","following_url":"https://api.github.com/users/xgdgsc/following{/other_user}","gists_url":"https://api.github.com/users/xgdgsc/gists{/gist_id}","starred_url":"https://api.github.com/users/xgdgsc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xgdgsc/subscriptions","organizations_url":"https://api.github.com/users/xgdgsc/orgs","repos_url":"https://api.github.com/users/xgdgsc/repos","events_url":"https://api.github.com/users/xgdgsc/events{/privacy}","received_events_url":"https://api.github.com/users/xgdgsc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-10T06:01:10Z","updated_at":"2016-10-10T06:01:10Z","closed_at":null,"body":"On macOS sierra I installed poco with brew and when compiling this project it shows the following compile error:\r\n```c++\r\nIn file included from ../../../api/libs/autobahn/autobahn.cpp:19:\r\nIn file included from ../../../api/libs/autobahn/autobahn.h:37:\r\n/usr/local/include/Poco/Dynamic/Var.h:199:13: error: no matching member function for call to 'convert'\r\n                        pHolder->convert(result);\r\n                        ~~~~~~~~~^~~~~~~\r\n../../../api/libs/autobahn/autobahn.cpp:401:18: note: in instantiation of function template specialization 'Poco::Dynamic::Var::operator unsigned long long<unsigned long long>' requested here\r\n  m_session_id = msg[1];\r\n                 ^\r\n/usr/local/include/Poco/Dynamic/VarHolder.h:434:24: note: candidate function not viable: no known conversion from 'unsigned long long' to 'Int8 &' (aka 'signed char &') for 1st argument\r\ninline void VarHolder::convert(Int8& /*val*/) const\r\n                       ^\r\n/usr/local/include/Poco/Dynamic/VarHolder.h:440:24: note: candidate function not viable: no known conversion from 'unsigned long long' to 'Int16 &' (aka 'short &') for 1st argument\r\ninline void VarHolder::convert(Int16& /*val*/) const\r\n                       ^\r\n/usr/local/include/Poco/Dynamic/VarHolder.h:446:24: note: candidate function not viable: no known conversion from 'unsigned long long' to 'Int32 &' (aka 'int &') for 1st argument\r\ninline void VarHolder::convert(Int32& /*val*/) const\r\n                       ^\r\n/usr/local/include/Poco/Dynamic/VarHolder.h:452:24: note: candidate function not viable: no known conversion from 'unsigned long long' to 'Int64 &' (aka 'long &') for 1st argument\r\ninline void VarHolder::convert(Int64& /*val*/) const\r\n                       ^\r\n/usr/local/include/Poco/Dynamic/VarHolder.h:458:24: note: candidate function not viable: no known conversion from 'unsigned long long' to 'UInt8 &' (aka 'unsigned char &') for 1st argument\r\ninline void VarHolder::convert(UInt8& /*val*/) const\r\n                       ^\r\n/usr/local/include/Poco/Dynamic/VarHolder.h:464:24: note: candidate function not viable: no known conversion from 'unsigned long long' to 'UInt16 &' (aka 'unsigned short &') for 1st argument\r\ninline void VarHolder::convert(UInt16& /*val*/) const\r\n                       ^\r\n/usr/local/include/Poco/Dynamic/VarHolder.h:470:24: note: candidate function not viable: no known conversion from 'unsigned long long' to 'UInt32 &' (aka 'unsigned int &') for 1st argument\r\ninline void VarHolder::convert(UInt32& /*val*/) const\r\n                       ^\r\n/usr/local/include/Poco/Dynamic/VarHolder.h:476:24: note: candidate function not viable: no known conversion from 'unsigned long long' to 'UInt64 &' (aka 'unsigned long &') for 1st argument\r\ninline void VarHolder::convert(UInt64& /*val*/) const\r\n                       ^\r\n/usr/local/include/Poco/Dynamic/VarHolder.h:482:24: note: candidate function not viable: no known conversion from 'unsigned long long' to 'Poco::DateTime &' for 1st argument\r\ninline void VarHolder::convert(DateTime& /*val*/) const\r\n                       ^\r\n/usr/local/include/Poco/Dynamic/VarHolder.h:488:24: note: candidate function not viable: no known conversion from 'unsigned long long' to 'Poco::LocalDateTime &' for 1st argument\r\ninline void VarHolder::convert(LocalDateTime& /*val*/) const\r\n                       ^\r\n/usr/local/include/Poco/Dynamic/VarHolder.h:494:24: note: candidate function not viable: no known conversion from 'unsigned long long' to 'Poco::Timestamp &' for 1st argument\r\ninline void VarHolder::convert(Timestamp& /*val*/) const\r\n                       ^\r\n/usr/local/include/Poco/Dynamic/VarHolder.h:518:24: note: candidate function not viable: no known conversion from 'unsigned long long' to 'bool &' for 1st argument\r\ninline void VarHolder::convert(bool& /*val*/) const\r\n                       ^\r\n/usr/local/include/Poco/Dynamic/VarHolder.h:524:24: note: candidate function not viable: no known conversion from 'unsigned long long' to 'float &' for 1st argument\r\ninline void VarHolder::convert(float& /*val*/) const\r\n                       ^\r\n/usr/local/include/Poco/Dynamic/VarHolder.h:530:24: note: candidate function not viable: no known conversion from 'unsigned long long' to 'double &' for 1st argument\r\ninline void VarHolder::convert(double& /*val*/) const\r\n                       ^\r\n/usr/local/include/Poco/Dynamic/VarHolder.h:536:24: note: candidate function not viable: no known conversion from 'unsigned long long' to 'char &' for 1st argument\r\ninline void VarHolder::convert(char& /*val*/) const\r\n                       ^\r\n/usr/local/include/Poco/Dynamic/VarHolder.h:542:24: note: candidate function not viable: no known conversion from 'unsigned long long' to 'std::string &' (aka 'basic_string<char, char_traits<char>, allocator<char> > &') for 1st argument\r\ninline void VarHolder::convert(std::string& /*val*/) const\r\n                       ^\r\n/usr/local/include/Poco/Dynamic/VarHolder.h:548:24: note: candidate function not viable: no known conversion from 'unsigned long long' to 'Poco::UTF16String &' (aka 'basic_string<unsigned short, Poco::UTF16CharTraits> &') for 1st argument\r\ninline void VarHolder::convert(Poco::UTF16String& /*val*/) const\r\n                       ^\r\n1 error generated.\r\n```"}}
{"actor":{"display_login":"xgdgsc"}}