{"action":"created","issue":{"url":"https://api.github.com/repos/r-lib/pkgbuild/issues/46","repository_url":"https://api.github.com/repos/r-lib/pkgbuild","labels_url":"https://api.github.com/repos/r-lib/pkgbuild/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/r-lib/pkgbuild/issues/46/comments","events_url":"https://api.github.com/repos/r-lib/pkgbuild/issues/46/events","html_url":"https://github.com/r-lib/pkgbuild/pull/46","id":361732773,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE2NjI2NzMw","number":46,"title":"Add -std=gnu99 to CFLAGS on Windows","user":{"login":"yutannihilation","id":1978793,"node_id":"MDQ6VXNlcjE5Nzg3OTM=","avatar_url":"https://avatars3.githubusercontent.com/u/1978793?v=4","gravatar_id":"","url":"https://api.github.com/users/yutannihilation","html_url":"https://github.com/yutannihilation","followers_url":"https://api.github.com/users/yutannihilation/followers","following_url":"https://api.github.com/users/yutannihilation/following{/other_user}","gists_url":"https://api.github.com/users/yutannihilation/gists{/gist_id}","starred_url":"https://api.github.com/users/yutannihilation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yutannihilation/subscriptions","organizations_url":"https://api.github.com/users/yutannihilation/orgs","repos_url":"https://api.github.com/users/yutannihilation/repos","events_url":"https://api.github.com/users/yutannihilation/events{/privacy}","received_events_url":"https://api.github.com/users/yutannihilation/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-19T12:49:03Z","updated_at":"2018-09-19T14:07:13Z","closed_at":"2018-09-19T14:06:39Z","author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/r-lib/pkgbuild/pulls/46","html_url":"https://github.com/r-lib/pkgbuild/pull/46","diff_url":"https://github.com/r-lib/pkgbuild/pull/46.diff","patch_url":"https://github.com/r-lib/pkgbuild/pull/46.patch"},"body":"I found AppVeyor keeps failing on tibble repo and it seems this is because of the absense of `-std=gnu99`: https://github.com/tidyverse/tibble/issues/485\r\n\r\npkgbuild defines `CFLAGS` by itself, but Windows seems to need `-std=gnu99` as the default is so.\r\n\r\n```ps1\r\nPS C:\\...> R.exe CMD config CFLAGS\r\n-O2 -Wall -std=gnu99 -mtune=generic\r\n\r\nPS C:\\...> R.exe CMD config CXXFLAGS\r\n-O2 -Wall -mtune=generic\r\n\r\nPS C:\\...> R.exe CMD config CXX11FLAGS\r\n-O2 -Wall -mtune=generic\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/r-lib/pkgbuild/issues/comments/422817673","html_url":"https://github.com/r-lib/pkgbuild/pull/46#issuecomment-422817673","issue_url":"https://api.github.com/repos/r-lib/pkgbuild/issues/46","id":422817673,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjgxNzY3Mw==","user":{"login":"jimhester","id":205275,"node_id":"MDQ6VXNlcjIwNTI3NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/205275?v=4","gravatar_id":"","url":"https://api.github.com/users/jimhester","html_url":"https://github.com/jimhester","followers_url":"https://api.github.com/users/jimhester/followers","following_url":"https://api.github.com/users/jimhester/following{/other_user}","gists_url":"https://api.github.com/users/jimhester/gists{/gist_id}","starred_url":"https://api.github.com/users/jimhester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimhester/subscriptions","organizations_url":"https://api.github.com/users/jimhester/orgs","repos_url":"https://api.github.com/users/jimhester/repos","events_url":"https://api.github.com/users/jimhester/events{/privacy}","received_events_url":"https://api.github.com/users/jimhester/received_events","type":"User","site_admin":false},"created_at":"2018-09-19T14:07:13Z","updated_at":"2018-09-19T14:07:13Z","author_association":"MEMBER","body":"Thanks for the PR! I decided to fix this in a different way instead."}}
{"actor":{"display_login":"jimhester"}}