{"action":"created","issue":{"url":"https://api.github.com/repos/cgdb/cgdb/issues/86","repository_url":"https://api.github.com/repos/cgdb/cgdb","labels_url":"https://api.github.com/repos/cgdb/cgdb/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/cgdb/cgdb/issues/86/comments","events_url":"https://api.github.com/repos/cgdb/cgdb/issues/86/events","html_url":"https://github.com/cgdb/cgdb/issues/86","id":174430972,"number":86,"title":"Makefile Error","user":{"login":"hoaaoh","id":14070012,"avatar_url":"https://avatars.githubusercontent.com/u/14070012?v=3","gravatar_id":"","url":"https://api.github.com/users/hoaaoh","html_url":"https://github.com/hoaaoh","followers_url":"https://api.github.com/users/hoaaoh/followers","following_url":"https://api.github.com/users/hoaaoh/following{/other_user}","gists_url":"https://api.github.com/users/hoaaoh/gists{/gist_id}","starred_url":"https://api.github.com/users/hoaaoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoaaoh/subscriptions","organizations_url":"https://api.github.com/users/hoaaoh/orgs","repos_url":"https://api.github.com/users/hoaaoh/repos","events_url":"https://api.github.com/users/hoaaoh/events{/privacy}","received_events_url":"https://api.github.com/users/hoaaoh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-01T03:53:02Z","updated_at":"2016-09-16T11:08:27Z","closed_at":null,"body":"I noticed that cgdb had small updates these days, and I got errors when compiling scroll.cpp:\r\n\r\nerror: variable-sized array may not be initialized:\r\n      char rv[length] = {}; \r\n\r\nI fixed that problem with changing it to char* rv = new char[length];\r\n\r\nHowever, I think there must be an appropriate compiler that solves the variable-sized array problem.\r\n\r\nWhat appropriate compiler should I use when compiling, since I didn't get errors when doing autoconf?\r\n\r\nThank you and sorry for the disturbance.\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/cgdb/cgdb/issues/comments/247575093","html_url":"https://github.com/cgdb/cgdb/issues/86#issuecomment-247575093","issue_url":"https://api.github.com/repos/cgdb/cgdb/issues/86","id":247575093,"user":{"login":"step-","id":1414102,"avatar_url":"https://avatars.githubusercontent.com/u/1414102?v=3","gravatar_id":"","url":"https://api.github.com/users/step-","html_url":"https://github.com/step-","followers_url":"https://api.github.com/users/step-/followers","following_url":"https://api.github.com/users/step-/following{/other_user}","gists_url":"https://api.github.com/users/step-/gists{/gist_id}","starred_url":"https://api.github.com/users/step-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/step-/subscriptions","organizations_url":"https://api.github.com/users/step-/orgs","repos_url":"https://api.github.com/users/step-/repos","events_url":"https://api.github.com/users/step-/events{/privacy}","received_events_url":"https://api.github.com/users/step-/received_events","type":"User","site_admin":false},"created_at":"2016-09-16T11:08:27Z","updated_at":"2016-09-16T11:08:27Z","body":"I solved the same error by changing that line to\r\n`char rv[length];`\r\nMy compiler is gcc (GCC) 4.8.3 \r\n"}}
{"actor":{"display_login":"step-"}}