{"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/boydm/scenic_driver_glfw/pulls/4","id":214111796,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0MTExNzk2","html_url":"https://github.com/boydm/scenic_driver_glfw/pull/4","diff_url":"https://github.com/boydm/scenic_driver_glfw/pull/4.diff","patch_url":"https://github.com/boydm/scenic_driver_glfw/pull/4.patch","issue_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/issues/4","number":4,"state":"open","locked":false,"title":"Add c99 to the CFLAGS","user":{"login":"Gazler","id":477511,"node_id":"MDQ6VXNlcjQ3NzUxMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/477511?v=4","gravatar_id":"","url":"https://api.github.com/users/Gazler","html_url":"https://github.com/Gazler","followers_url":"https://api.github.com/users/Gazler/followers","following_url":"https://api.github.com/users/Gazler/following{/other_user}","gists_url":"https://api.github.com/users/Gazler/gists{/gist_id}","starred_url":"https://api.github.com/users/Gazler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gazler/subscriptions","organizations_url":"https://api.github.com/users/Gazler/orgs","repos_url":"https://api.github.com/users/Gazler/repos","events_url":"https://api.github.com/users/Gazler/events{/privacy}","received_events_url":"https://api.github.com/users/Gazler/received_events","type":"User","site_admin":false},"body":"Not including this results in a failure to build with the following\r\nerror (gcc 4.8.4).\r\n\r\n> ==> scenic_driver_glfw mkdir -p priv/prod\r\n>\r\n> cc -O3 -fPIC -o priv/prod/scenic_driver_glfw c_src/main.c c_src/comms.c\r\n> c_src/nanovg/nanovg.c c_src/utils.c c_src/render_script.c c_src/tx.c\r\n> `pkg-config --static --libs glfw3 glew` -lGL -lm -lrt\r\n>\r\n> c_src/render_script.c: In function ‘delete_all’:\r\n>\r\n> c_src/render_script.c:118:3: error: ‘for’ loop initial declarations are\r\n> only allowed in C99 mode for (GLuint i = 0; i < p_data->num_scripts; i++\r\n> ) { ^\r\n>\r\n> c_src/render_script.c:118:3: note: use option -std=c99 or -std=gnu99 to\r\n> compile your code\r\n>\r\n> c_src/render_script.c: In function ‘arc’:\r\n>\r\n> c_src/render_script.c:576:5: error: ‘for’ loop initial declarations are\r\n> only allowed in C99 mode\r\n>\r\n>      for (int i = 0; i <= segment_count; ++i) { ^\r\n>\r\n> c_src/render_script.c: In function ‘sector’:\r\n>\r\n> c_src/render_script.c:614:5: error: ‘for’ loop initial declarations are\r\n> only allowed in C99 mode\r\n>\r\n>      for (int i = 0; i <= segment_count; ++i) { ^ make: ***\r\n>      [priv/prod/scenic_driver_glfw] Error 1 could not compile dependency\r\n>      :scenic_driver_glfw, \"mix compile\" failed. You can recompile this\r\n>      dependency with \"mix deps.compile scenic_driver_glfw\", update it\r\n>      with \"mix deps.update scenic_driver_glfw\" or clean it with \"mix\r\n>      deps.clean scenic_driver_glfw\"","created_at":"2018-09-08T19:55:05Z","updated_at":"2018-09-08T19:55:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/pulls/4/commits","review_comments_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/pulls/4/comments","review_comment_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/pulls/comments{/number}","comments_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/issues/4/comments","statuses_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/statuses/fd319faf502ade1426c9a129926c11c74e90919e","head":{"label":"Gazler:fix/make-c99","ref":"fix/make-c99","sha":"fd319faf502ade1426c9a129926c11c74e90919e","user":{"login":"Gazler","id":477511,"node_id":"MDQ6VXNlcjQ3NzUxMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/477511?v=4","gravatar_id":"","url":"https://api.github.com/users/Gazler","html_url":"https://github.com/Gazler","followers_url":"https://api.github.com/users/Gazler/followers","following_url":"https://api.github.com/users/Gazler/following{/other_user}","gists_url":"https://api.github.com/users/Gazler/gists{/gist_id}","starred_url":"https://api.github.com/users/Gazler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gazler/subscriptions","organizations_url":"https://api.github.com/users/Gazler/orgs","repos_url":"https://api.github.com/users/Gazler/repos","events_url":"https://api.github.com/users/Gazler/events{/privacy}","received_events_url":"https://api.github.com/users/Gazler/received_events","type":"User","site_admin":false},"repo":{"id":147964917,"node_id":"MDEwOlJlcG9zaXRvcnkxNDc5NjQ5MTc=","name":"scenic_driver_glfw","full_name":"Gazler/scenic_driver_glfw","owner":{"login":"Gazler","id":477511,"node_id":"MDQ6VXNlcjQ3NzUxMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/477511?v=4","gravatar_id":"","url":"https://api.github.com/users/Gazler","html_url":"https://github.com/Gazler","followers_url":"https://api.github.com/users/Gazler/followers","following_url":"https://api.github.com/users/Gazler/following{/other_user}","gists_url":"https://api.github.com/users/Gazler/gists{/gist_id}","starred_url":"https://api.github.com/users/Gazler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gazler/subscriptions","organizations_url":"https://api.github.com/users/Gazler/orgs","repos_url":"https://api.github.com/users/Gazler/repos","events_url":"https://api.github.com/users/Gazler/events{/privacy}","received_events_url":"https://api.github.com/users/Gazler/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Gazler/scenic_driver_glfw","description":"Mac driver","fork":true,"url":"https://api.github.com/repos/Gazler/scenic_driver_glfw","forks_url":"https://api.github.com/repos/Gazler/scenic_driver_glfw/forks","keys_url":"https://api.github.com/repos/Gazler/scenic_driver_glfw/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Gazler/scenic_driver_glfw/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Gazler/scenic_driver_glfw/teams","hooks_url":"https://api.github.com/repos/Gazler/scenic_driver_glfw/hooks","issue_events_url":"https://api.github.com/repos/Gazler/scenic_driver_glfw/issues/events{/number}","events_url":"https://api.github.com/repos/Gazler/scenic_driver_glfw/events","assignees_url":"https://api.github.com/repos/Gazler/scenic_driver_glfw/assignees{/user}","branches_url":"https://api.github.com/repos/Gazler/scenic_driver_glfw/branches{/branch}","tags_url":"https://api.github.com/repos/Gazler/scenic_driver_glfw/tags","blobs_url":"https://api.github.com/repos/Gazler/scenic_driver_glfw/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Gazler/scenic_driver_glfw/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Gazler/scenic_driver_glfw/git/refs{/sha}","trees_url":"https://api.github.com/repos/Gazler/scenic_driver_glfw/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Gazler/scenic_driver_glfw/statuses/{sha}","languages_url":"https://api.github.com/repos/Gazler/scenic_driver_glfw/languages","stargazers_url":"https://api.github.com/repos/Gazler/scenic_driver_glfw/stargazers","contributors_url":"https://api.github.com/repos/Gazler/scenic_driver_glfw/contributors","subscribers_url":"https://api.github.com/repos/Gazler/scenic_driver_glfw/subscribers","subscription_url":"https://api.github.com/repos/Gazler/scenic_driver_glfw/subscription","commits_url":"https://api.github.com/repos/Gazler/scenic_driver_glfw/commits{/sha}","git_commits_url":"https://api.github.com/repos/Gazler/scenic_driver_glfw/git/commits{/sha}","comments_url":"https://api.github.com/repos/Gazler/scenic_driver_glfw/comments{/number}","issue_comment_url":"https://api.github.com/repos/Gazler/scenic_driver_glfw/issues/comments{/number}","contents_url":"https://api.github.com/repos/Gazler/scenic_driver_glfw/contents/{+path}","compare_url":"https://api.github.com/repos/Gazler/scenic_driver_glfw/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Gazler/scenic_driver_glfw/merges","archive_url":"https://api.github.com/repos/Gazler/scenic_driver_glfw/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Gazler/scenic_driver_glfw/downloads","issues_url":"https://api.github.com/repos/Gazler/scenic_driver_glfw/issues{/number}","pulls_url":"https://api.github.com/repos/Gazler/scenic_driver_glfw/pulls{/number}","milestones_url":"https://api.github.com/repos/Gazler/scenic_driver_glfw/milestones{/number}","notifications_url":"https://api.github.com/repos/Gazler/scenic_driver_glfw/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Gazler/scenic_driver_glfw/labels{/name}","releases_url":"https://api.github.com/repos/Gazler/scenic_driver_glfw/releases{/id}","deployments_url":"https://api.github.com/repos/Gazler/scenic_driver_glfw/deployments","created_at":"2018-09-08T19:47:50Z","updated_at":"2018-09-08T19:47:52Z","pushed_at":"2018-09-08T19:54:30Z","git_url":"git://github.com/Gazler/scenic_driver_glfw.git","ssh_url":"git@github.com:Gazler/scenic_driver_glfw.git","clone_url":"https://github.com/Gazler/scenic_driver_glfw.git","svn_url":"https://github.com/Gazler/scenic_driver_glfw","homepage":null,"size":490,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"boydm:master","ref":"master","sha":"5bed098694c119847e2d28a62e685398e7a92875","user":{"login":"boydm","id":176561,"node_id":"MDQ6VXNlcjE3NjU2MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/176561?v=4","gravatar_id":"","url":"https://api.github.com/users/boydm","html_url":"https://github.com/boydm","followers_url":"https://api.github.com/users/boydm/followers","following_url":"https://api.github.com/users/boydm/following{/other_user}","gists_url":"https://api.github.com/users/boydm/gists{/gist_id}","starred_url":"https://api.github.com/users/boydm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boydm/subscriptions","organizations_url":"https://api.github.com/users/boydm/orgs","repos_url":"https://api.github.com/users/boydm/repos","events_url":"https://api.github.com/users/boydm/events{/privacy}","received_events_url":"https://api.github.com/users/boydm/received_events","type":"User","site_admin":false},"repo":{"id":136531856,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY1MzE4NTY=","name":"scenic_driver_glfw","full_name":"boydm/scenic_driver_glfw","owner":{"login":"boydm","id":176561,"node_id":"MDQ6VXNlcjE3NjU2MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/176561?v=4","gravatar_id":"","url":"https://api.github.com/users/boydm","html_url":"https://github.com/boydm","followers_url":"https://api.github.com/users/boydm/followers","following_url":"https://api.github.com/users/boydm/following{/other_user}","gists_url":"https://api.github.com/users/boydm/gists{/gist_id}","starred_url":"https://api.github.com/users/boydm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boydm/subscriptions","organizations_url":"https://api.github.com/users/boydm/orgs","repos_url":"https://api.github.com/users/boydm/repos","events_url":"https://api.github.com/users/boydm/events{/privacy}","received_events_url":"https://api.github.com/users/boydm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/boydm/scenic_driver_glfw","description":"Mac driver","fork":false,"url":"https://api.github.com/repos/boydm/scenic_driver_glfw","forks_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/forks","keys_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/keys{/key_id}","collaborators_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/teams","hooks_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/hooks","issue_events_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/issues/events{/number}","events_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/events","assignees_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/assignees{/user}","branches_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/branches{/branch}","tags_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/tags","blobs_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/git/refs{/sha}","trees_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/git/trees{/sha}","statuses_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/statuses/{sha}","languages_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/languages","stargazers_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/stargazers","contributors_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/contributors","subscribers_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/subscribers","subscription_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/subscription","commits_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/commits{/sha}","git_commits_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/git/commits{/sha}","comments_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/comments{/number}","issue_comment_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/issues/comments{/number}","contents_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/contents/{+path}","compare_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/compare/{base}...{head}","merges_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/merges","archive_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/downloads","issues_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/issues{/number}","pulls_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/pulls{/number}","milestones_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/milestones{/number}","notifications_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/labels{/name}","releases_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/releases{/id}","deployments_url":"https://api.github.com/repos/boydm/scenic_driver_glfw/deployments","created_at":"2018-06-07T21:15:46Z","updated_at":"2018-09-08T00:22:13Z","pushed_at":"2018-09-08T18:57:49Z","git_url":"git://github.com/boydm/scenic_driver_glfw.git","ssh_url":"git@github.com:boydm/scenic_driver_glfw.git","clone_url":"https://github.com/boydm/scenic_driver_glfw.git","svn_url":"https://github.com/boydm/scenic_driver_glfw","homepage":null,"size":490,"stargazers_count":2,"watchers_count":2,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":3,"open_issues":4,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/boydm/scenic_driver_glfw/pulls/4"},"html":{"href":"https://github.com/boydm/scenic_driver_glfw/pull/4"},"issue":{"href":"https://api.github.com/repos/boydm/scenic_driver_glfw/issues/4"},"comments":{"href":"https://api.github.com/repos/boydm/scenic_driver_glfw/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/boydm/scenic_driver_glfw/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/boydm/scenic_driver_glfw/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/boydm/scenic_driver_glfw/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/boydm/scenic_driver_glfw/statuses/fd319faf502ade1426c9a129926c11c74e90919e"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"Gazler"}}