{"action":"created","issue":{"url":"https://api.github.com/repos/tmolteno/necpp/issues/45","repository_url":"https://api.github.com/repos/tmolteno/necpp","labels_url":"https://api.github.com/repos/tmolteno/necpp/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/tmolteno/necpp/issues/45/comments","events_url":"https://api.github.com/repos/tmolteno/necpp/issues/45/events","html_url":"https://github.com/tmolteno/necpp/issues/45","id":212617163,"number":45,"title":"Build fails on safe array 'for' clause (-Werror=misleading-indentation)","user":{"login":"Pbtflakes","id":5778355,"avatar_url":"https://avatars1.githubusercontent.com/u/5778355?v=3","gravatar_id":"","url":"https://api.github.com/users/Pbtflakes","html_url":"https://github.com/Pbtflakes","followers_url":"https://api.github.com/users/Pbtflakes/followers","following_url":"https://api.github.com/users/Pbtflakes/following{/other_user}","gists_url":"https://api.github.com/users/Pbtflakes/gists{/gist_id}","starred_url":"https://api.github.com/users/Pbtflakes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pbtflakes/subscriptions","organizations_url":"https://api.github.com/users/Pbtflakes/orgs","repos_url":"https://api.github.com/users/Pbtflakes/repos","events_url":"https://api.github.com/users/Pbtflakes/events{/privacy}","received_events_url":"https://api.github.com/users/Pbtflakes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-03-08T02:07:57Z","updated_at":"2017-05-26T15:58:40Z","closed_at":null,"body":"Configuration was done with Lapack disabled, Makefile was invoked using `make -j 4`, this is the first error encountered.\r\n\r\nBuild log:\r\n```\r\nIn file included from safe_array_tb.cpp:20:0:\r\ncatch.hpp: In member function ‘bool Catch::TestSpec::Filter::matches(const Catch::TestCaseInfo&) const’:\r\ncatch.hpp:2813:17: error: this ‘for’ clause does not guard... [-Werror=misleading-indentation]\r\n                 for( std::vector<Ptr<Pattern> >::const_iterator it = m_patterns.begin(), itEnd\r\n= m_patterns.end(); it != itEnd; ++it )\r\n                 ^~~\r\ncatch.hpp:2816:21: note: ...this statement, but the latter is misleadingly indented as if it is\r\nguarded by the ‘for’\r\n                     return true;\r\n                     ^~~~~~\r\n```\r\nCompiler version:\r\n```\r\ng++ (SUSE Linux) 6.3.1 20170202 [gcc-6-branch revision 245119]\r\n```"},"comment":{"url":"https://api.github.com/repos/tmolteno/necpp/issues/comments/304320321","html_url":"https://github.com/tmolteno/necpp/issues/45#issuecomment-304320321","issue_url":"https://api.github.com/repos/tmolteno/necpp/issues/45","id":304320321,"user":{"login":"rounaksingh","id":2233968,"avatar_url":"https://avatars1.githubusercontent.com/u/2233968?v=3","gravatar_id":"","url":"https://api.github.com/users/rounaksingh","html_url":"https://github.com/rounaksingh","followers_url":"https://api.github.com/users/rounaksingh/followers","following_url":"https://api.github.com/users/rounaksingh/following{/other_user}","gists_url":"https://api.github.com/users/rounaksingh/gists{/gist_id}","starred_url":"https://api.github.com/users/rounaksingh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rounaksingh/subscriptions","organizations_url":"https://api.github.com/users/rounaksingh/orgs","repos_url":"https://api.github.com/users/rounaksingh/repos","events_url":"https://api.github.com/users/rounaksingh/events{/privacy}","received_events_url":"https://api.github.com/users/rounaksingh/received_events","type":"User","site_admin":false},"created_at":"2017-05-26T15:58:40Z","updated_at":"2017-05-26T15:58:40Z","body":"I think this is related to g++ 6 compiler. \r\n\r\nPlease read\r\n\r\n- https://stackoverflow.com/questions/37482904/why-didnt-the-compiler-warn-me-about-an-empty-if-statement\r\n\r\n- https://gcc.gnu.org/gcc-6/porting_to.html\r\n\r\n- https://github.com/pornel/pngquant/issues/215\r\n\r\n- https://github.com/dut-lang/squirrel/commit/36c308bf57fa5768d2f812a1cdd2cb10357f812f\r\n"}}
{"actor":{"display_login":"rounaksingh"}}