{"action":"created","issue":{"url":"https://api.github.com/repos/shogun-toolbox/shogun/issues/3430","repository_url":"https://api.github.com/repos/shogun-toolbox/shogun","labels_url":"https://api.github.com/repos/shogun-toolbox/shogun/issues/3430/labels{/name}","comments_url":"https://api.github.com/repos/shogun-toolbox/shogun/issues/3430/comments","events_url":"https://api.github.com/repos/shogun-toolbox/shogun/issues/3430/events","html_url":"https://github.com/shogun-toolbox/shogun/issues/3430","id":171593555,"number":3430,"title":"StringFileFeatures.cpp:  unreachable code","user":{"login":"shogun-tester-AT","id":21075192,"avatar_url":"https://avatars.githubusercontent.com/u/21075192?v=3","gravatar_id":"","url":"https://api.github.com/users/shogun-tester-AT","html_url":"https://github.com/shogun-tester-AT","followers_url":"https://api.github.com/users/shogun-tester-AT/followers","following_url":"https://api.github.com/users/shogun-tester-AT/following{/other_user}","gists_url":"https://api.github.com/users/shogun-tester-AT/gists{/gist_id}","starred_url":"https://api.github.com/users/shogun-tester-AT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shogun-tester-AT/subscriptions","organizations_url":"https://api.github.com/users/shogun-tester-AT/orgs","repos_url":"https://api.github.com/users/shogun-tester-AT/repos","events_url":"https://api.github.com/users/shogun-tester-AT/events{/privacy}","received_events_url":"https://api.github.com/users/shogun-tester-AT/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-17T07:38:22Z","updated_at":"2016-08-17T07:55:12Z","closed_at":null,"body":"When compiling shogun-4.1.0  (and earlier version(s)) using the usual `cmake` and `make` commands,\r\nthe following warning occurs:\r\n\r\n_shogun-4.1.0/src/shogun/features/StringFileFeatures.cpp: In instantiation of_ \r\n`ST* shogun::CStringFileFeatures<ST>::get_line(uint64_t&, uint64_t&, int32_t&, uint64_t) [with ST = bool; uint64_t = long unsigned int; int32_t = int]:`\r\n_shogun-4.1.0/src/shogun/features/StringFileFeatures.cpp:125:16:   required from here_\r\n_shogun-4.1.0/src/shogun/features/StringFileFeatures.cpp:30:9: warning: comparison of constant ‘'\\012'’ with boolean expression is always false [-Wbool-compare]_\r\n`if (c == '\\n')`\r\n\r\nThe compiler warning might be eliminated by  replacing the if-clause by:\r\n`if ((char)c == '\\n') ` ,\r\n\r\nbut I doubt whether this is the real solution.\r\n\r\nOS: Ubuntu 16.04 LTS"},"comment":{"url":"https://api.github.com/repos/shogun-toolbox/shogun/issues/comments/240339963","html_url":"https://github.com/shogun-toolbox/shogun/issues/3430#issuecomment-240339963","issue_url":"https://api.github.com/repos/shogun-toolbox/shogun/issues/3430","id":240339963,"user":{"login":"shogun-tester-AT","id":21075192,"avatar_url":"https://avatars.githubusercontent.com/u/21075192?v=3","gravatar_id":"","url":"https://api.github.com/users/shogun-tester-AT","html_url":"https://github.com/shogun-tester-AT","followers_url":"https://api.github.com/users/shogun-tester-AT/followers","following_url":"https://api.github.com/users/shogun-tester-AT/following{/other_user}","gists_url":"https://api.github.com/users/shogun-tester-AT/gists{/gist_id}","starred_url":"https://api.github.com/users/shogun-tester-AT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shogun-tester-AT/subscriptions","organizations_url":"https://api.github.com/users/shogun-tester-AT/orgs","repos_url":"https://api.github.com/users/shogun-tester-AT/repos","events_url":"https://api.github.com/users/shogun-tester-AT/events{/privacy}","received_events_url":"https://api.github.com/users/shogun-tester-AT/received_events","type":"User","site_admin":false},"created_at":"2016-08-17T07:55:12Z","updated_at":"2016-08-17T07:55:12Z","body":"No, I just downloaded the latest release 4.1.0 (and previous) and compiled it on my computer."}}
{"actor":{"display_login":"shogun-tester-AT"}}