{"action":"reopened","issue":{"url":"https://api.github.com/repos/hackcraft-de/linwarrior/issues/3","repository_url":"https://api.github.com/repos/hackcraft-de/linwarrior","labels_url":"https://api.github.com/repos/hackcraft-de/linwarrior/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/hackcraft-de/linwarrior/issues/3/comments","events_url":"https://api.github.com/repos/hackcraft-de/linwarrior/issues/3/events","html_url":"https://github.com/hackcraft-de/linwarrior/issues/3","id":318883095,"number":3,"title":"unable to compile","user":{"login":"DMJC","id":732515,"avatar_url":"https://avatars0.githubusercontent.com/u/732515?v=4","gravatar_id":"","url":"https://api.github.com/users/DMJC","html_url":"https://github.com/DMJC","followers_url":"https://api.github.com/users/DMJC/followers","following_url":"https://api.github.com/users/DMJC/following{/other_user}","gists_url":"https://api.github.com/users/DMJC/gists{/gist_id}","starred_url":"https://api.github.com/users/DMJC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DMJC/subscriptions","organizations_url":"https://api.github.com/users/DMJC/orgs","repos_url":"https://api.github.com/users/DMJC/repos","events_url":"https://api.github.com/users/DMJC/events{/privacy}","received_events_url":"https://api.github.com/users/DMJC/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-04-30T13:05:57Z","updated_at":"2018-05-09T12:44:51Z","closed_at":null,"author_association":"NONE","body":"Logging code error:\r\n\r\nc++ -Wp,-M,-MP,-MT,build/source/de/hackcraft/world/sub/cityscape/rBuilding.o,-MF,dep/build-source-de-hackcraft-world-sub-cityscape-rBuilding.o.d -std=gnu++11 -Wall -I source -O1 -funroll-loops -c source/de/hackcraft/world/sub/cityscape/rBuilding.cpp -o build/source/de/hackcraft/world/sub/cityscape/rBuilding.o\r\nIn file included from source/de/hackcraft/log/Logger.h:16:0,\r\n                 from source/de/hackcraft/world/sub/cityscape/rBuilding.cpp:6:\r\nsource/de/hackcraft/log/LevelStreamLogger.h: In instantiation of ‘LevelStreamLogger& LevelStreamLogger::operator<<(const T&) [with T = std::__cxx11::basic_stringstream<char>]’:\r\nsource/de/hackcraft/world/sub/cityscape/rBuilding.cpp:298:32:   required from here\r\nsource/de/hackcraft/log/LevelStreamLogger.h:44:19: error: no match for ‘operator<<’ (operand types are ‘std::stringstream {aka std::__cxx11::basic_stringstream<char>}’ and ‘const std::__cxx11::basic_stringstream<char>’)\r\n         logstream << val;\r\n         ~~~~~~~~~~^~~~~~\r\nIn file included from /usr/include/c++/6/istream:39:0,\r\n                 from /usr/include/c++/6/sstream:38,\r\n                 from source/de/hackcraft/log/LevelStreamLogger.h:15,\r\n                 from source/de/hackcraft/log/Logger.h:16,\r\n                 from source/de/hackcraft/world/sub/cityscape/rBuilding.cpp:6:\r\n/usr/include/c++/6/ostream:628:5: note: candidate: std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&&, const _Tp&) [with _CharT = char; _Traits = std::char_traits<char>; _Tp = std::__cxx11::basic_stringstream<char>] <near match>\r\n     operator<<(basic_ostream<_CharT, _Traits>&& __os, const _Tp& __x)\r\n     ^~~~~~~~\r\n/usr/include/c++/6/ostream:628:5: note:   conversion of argument 1 would be ill-formed:\r\nIn file included from source/de/hackcraft/log/Logger.h:16:0,\r\n                 from source/de/hackcraft/world/sub/cityscape/rBuilding.cpp:6:\r\nsource/de/hackcraft/log/LevelStreamLogger.h:44:9: error: cannot bind ‘std::basic_ostream<char>’ lvalue to ‘std::basic_ostream<char>&&’\r\n         logstream << val;\r\n         ^~~~~~~~~\r\nsource/de/hackcraft/log/LevelStreamLogger.h:44:19: note: candidate: operator<<(int, int) <built-in>\r\n         logstream << val;\r\n         ~~~~~~~~~~^~~~~~\r\nsource/de/hackcraft/log/LevelStreamLogger.h:44:19: note:   no known conversion for argument 2 from ‘const std::__cxx11::basic_stringstream<char>’ to ‘int’\r\nIn file included from /usr/include/c++/6/istream:39:0,\r\n                 from /usr/include/c++/6/sstream:38,\r\n                 from source/de/hackcraft/log/LevelStreamLogger.h:15,\r\n                 from source/de/hackcraft/log/Logger.h:16,\r\n                 from source/de/hackcraft/world/sub/cityscape/rBuilding.cpp:6:\r\n/usr/include/c++/6/ostream:108:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ostream_type& (*)(std::basic_ostream<_CharT, _Traits>::__ostream_type&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]\r\n       operator<<(__ostream_type& (*__pf)(__ostream_type&))\r\n       ^~~~~~~~\r\n"}}
{"actor":{"display_login":"hackcraft-de"}}