{"action":"created","issue":{"url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/2473","labels_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/2473/labels{/name}","comments_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/2473/comments","events_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/2473/events","html_url":"https://github.com/OpenRCT2/OpenRCT2/pull/2473","id":121881007,"number":2473,"title":"Add message dialog and directory open dialog on OS X","user":{"login":"kkirby","id":34333,"avatar_url":"https://avatars.githubusercontent.com/u/34333?v=3","gravatar_id":"","url":"https://api.github.com/users/kkirby","html_url":"https://github.com/kkirby","followers_url":"https://api.github.com/users/kkirby/followers","following_url":"https://api.github.com/users/kkirby/following{/other_user}","gists_url":"https://api.github.com/users/kkirby/gists{/gist_id}","starred_url":"https://api.github.com/users/kkirby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kkirby/subscriptions","organizations_url":"https://api.github.com/users/kkirby/orgs","repos_url":"https://api.github.com/users/kkirby/repos","events_url":"https://api.github.com/users/kkirby/events{/privacy}","received_events_url":"https://api.github.com/users/kkirby/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/labels/work%20in%20progress","name":"work in progress","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":35,"created_at":"2015-12-12T21:13:23Z","updated_at":"2015-12-17T17:36:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/2473","html_url":"https://github.com/OpenRCT2/OpenRCT2/pull/2473","diff_url":"https://github.com/OpenRCT2/OpenRCT2/pull/2473.diff","patch_url":"https://github.com/OpenRCT2/OpenRCT2/pull/2473.patch"},"body":"This implements #2471.\r\n\r\nOne issue I had was compiling both Objective-C and C++ together. Apparently Objective-C doesn't like the `-std` flag. To get around this, I split up the `c`, `cpp` and `mm` files into their own variables in the `CMakelists` file. This way the `cpp` files get the `-std` flag, and the `mm` files don't. I don't know if there is a better option. There was apparently an issue filed in CMake to implement a `OBJC_FLAGS` variable, but they didn't do it. https://cmake.org/Bug/view.php?id=4756"},"comment":{"url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/comments/165523475","html_url":"https://github.com/OpenRCT2/OpenRCT2/pull/2473#issuecomment-165523475","issue_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/2473","id":165523475,"user":{"login":"janisozaur","id":550290,"avatar_url":"https://avatars.githubusercontent.com/u/550290?v=3","gravatar_id":"","url":"https://api.github.com/users/janisozaur","html_url":"https://github.com/janisozaur","followers_url":"https://api.github.com/users/janisozaur/followers","following_url":"https://api.github.com/users/janisozaur/following{/other_user}","gists_url":"https://api.github.com/users/janisozaur/gists{/gist_id}","starred_url":"https://api.github.com/users/janisozaur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janisozaur/subscriptions","organizations_url":"https://api.github.com/users/janisozaur/orgs","repos_url":"https://api.github.com/users/janisozaur/repos","events_url":"https://api.github.com/users/janisozaur/events{/privacy}","received_events_url":"https://api.github.com/users/janisozaur/received_events","type":"User","site_admin":false},"created_at":"2015-12-17T17:36:03Z","updated_at":"2015-12-17T17:36:03Z","body":"While I would like for this to happen, it unfortunately cannot, as this would break compilation, since CMake scans this file top-to-bottom. These need to stay where they are."}}