{"action":"created","issue":{"url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/1993","labels_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/1993/labels{/name}","comments_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/1993/comments","events_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/1993/events","html_url":"https://github.com/OpenRCT2/OpenRCT2/pull/1993","id":109229607,"number":1993,"title":"Partially fix compilation on OS X","user":{"login":"AaronVanGeffen","id":604665,"avatar_url":"https://avatars.githubusercontent.com/u/604665?v=3","gravatar_id":"","url":"https://api.github.com/users/AaronVanGeffen","html_url":"https://github.com/AaronVanGeffen","followers_url":"https://api.github.com/users/AaronVanGeffen/followers","following_url":"https://api.github.com/users/AaronVanGeffen/following{/other_user}","gists_url":"https://api.github.com/users/AaronVanGeffen/gists{/gist_id}","starred_url":"https://api.github.com/users/AaronVanGeffen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AaronVanGeffen/subscriptions","organizations_url":"https://api.github.com/users/AaronVanGeffen/orgs","repos_url":"https://api.github.com/users/AaronVanGeffen/repos","events_url":"https://api.github.com/users/AaronVanGeffen/events{/privacy}","received_events_url":"https://api.github.com/users/AaronVanGeffen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-01T04:56:22Z","updated_at":"2015-10-01T07:00:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/1993","html_url":"https://github.com/OpenRCT2/OpenRCT2/pull/1993","diff_url":"https://github.com/OpenRCT2/OpenRCT2/pull/1993.diff","patch_url":"https://github.com/OpenRCT2/OpenRCT2/pull/1993.patch"},"body":"Currently, building on OS X appears to be broken -- this is a step towards fixing the build process. The changes are made are relatively minor, and will still result in a broken compilation process:a fter my changes, the process errors on the inline assembly in addresses.h, stating \"brackets expression not supported on this target\". If anyone else could look at that, that'd be grand.\r\n\r\nAs for my changes: first off, OS X does not provide a `sha256sum` tool, which install.sh assumes to exist. Instead, we should use `shasum -a 256`.\r\n\r\nSecondly, `clang` does not support the `var-tracking-assignments` flag. I checked why it was introduced using `git blame`, but there does not seem to be a proper reason? Dropping it results in compilation continuing.\r\n\r\nFinally, `limits.h` was not included in rect.c, resulting in `CHAR_BITS` not being defined."},"comment":{"url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/comments/144638595","html_url":"https://github.com/OpenRCT2/OpenRCT2/pull/1993#issuecomment-144638595","issue_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/1993","id":144638595,"user":{"login":"pizza2004","id":1329261,"avatar_url":"https://avatars.githubusercontent.com/u/1329261?v=3","gravatar_id":"","url":"https://api.github.com/users/pizza2004","html_url":"https://github.com/pizza2004","followers_url":"https://api.github.com/users/pizza2004/followers","following_url":"https://api.github.com/users/pizza2004/following{/other_user}","gists_url":"https://api.github.com/users/pizza2004/gists{/gist_id}","starred_url":"https://api.github.com/users/pizza2004/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pizza2004/subscriptions","organizations_url":"https://api.github.com/users/pizza2004/orgs","repos_url":"https://api.github.com/users/pizza2004/repos","events_url":"https://api.github.com/users/pizza2004/events{/privacy}","received_events_url":"https://api.github.com/users/pizza2004/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T07:00:25Z","updated_at":"2015-10-01T07:00:25Z","body":"I can't speak to building from command line, but it's not nearly as nice as having an actual Xcode project to build from in my experience.  Anyway, I'm pretty sure he just means that he's not aiming to build the game for Mac, he's just aiming to get the build script to compile on Mac."}}