{"action":"created","issue":{"url":"https://api.github.com/repos/boostorg/context/issues/20","labels_url":"https://api.github.com/repos/boostorg/context/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/boostorg/context/issues/20/comments","events_url":"https://api.github.com/repos/boostorg/context/issues/20/events","html_url":"https://github.com/boostorg/context/pull/20","id":108073311,"number":20,"title":"Support Xcode","user":{"login":"thejustinwalsh","id":72912,"avatar_url":"https://avatars.githubusercontent.com/u/72912?v=3","gravatar_id":"","url":"https://api.github.com/users/thejustinwalsh","html_url":"https://github.com/thejustinwalsh","followers_url":"https://api.github.com/users/thejustinwalsh/followers","following_url":"https://api.github.com/users/thejustinwalsh/following{/other_user}","gists_url":"https://api.github.com/users/thejustinwalsh/gists{/gist_id}","starred_url":"https://api.github.com/users/thejustinwalsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thejustinwalsh/subscriptions","organizations_url":"https://api.github.com/users/thejustinwalsh/orgs","repos_url":"https://api.github.com/users/thejustinwalsh/repos","events_url":"https://api.github.com/users/thejustinwalsh/events{/privacy}","received_events_url":"https://api.github.com/users/thejustinwalsh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-24T07:19:38Z","updated_at":"2015-09-25T19:54:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/boostorg/context/pulls/20","html_url":"https://github.com/boostorg/context/pull/20","diff_url":"https://github.com/boostorg/context/pull/20.diff","patch_url":"https://github.com/boostorg/context/pull/20.patch"},"body":"boost.context is not compatible with Xcode versions greater than 6.1 (as far as my google skills lead me to believe). A few things are required to work it out. I don't expect this pull request to be excepted as is, but wanted to provide something that builds as an example of what will need to be done.\r\n\r\n#### config.hpp\r\nI've added an additional workaround for detecting integer sequence w/ Xcode versions using clang 3.4 and up. if `_LIBCPP_STD_VER > 11` is pulled from the `<utility>` and is defined in this case.\r\n\r\n#### execution_context.ipp\r\nApple decided to block support for thread local storage for whatever reason, and it won't compile as is. Unfortunately I know nothing about thread local storage, and found this hack from a pull request that was submitted to Textmate. This change brings in a dependency on boost_thread.\r\n\r\n*Compiling, building, running on Xcode 7.*"},"comment":{"url":"https://api.github.com/repos/boostorg/context/issues/comments/143336815","html_url":"https://github.com/boostorg/context/pull/20#issuecomment-143336815","issue_url":"https://api.github.com/repos/boostorg/context/issues/20","id":143336815,"user":{"login":"thejustinwalsh","id":72912,"avatar_url":"https://avatars.githubusercontent.com/u/72912?v=3","gravatar_id":"","url":"https://api.github.com/users/thejustinwalsh","html_url":"https://github.com/thejustinwalsh","followers_url":"https://api.github.com/users/thejustinwalsh/followers","following_url":"https://api.github.com/users/thejustinwalsh/following{/other_user}","gists_url":"https://api.github.com/users/thejustinwalsh/gists{/gist_id}","starred_url":"https://api.github.com/users/thejustinwalsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thejustinwalsh/subscriptions","organizations_url":"https://api.github.com/users/thejustinwalsh/orgs","repos_url":"https://api.github.com/users/thejustinwalsh/repos","events_url":"https://api.github.com/users/thejustinwalsh/events{/privacy}","received_events_url":"https://api.github.com/users/thejustinwalsh/received_events","type":"User","site_admin":false},"created_at":"2015-09-25T19:54:26Z","updated_at":"2015-09-25T19:54:26Z","body":"[According to Apple](https://devforums.apple.com/thread/251372?tstart=0) they have disabled the C++11 keyword thread_local. My guess is that I will need to compile boost with clang directly and link it in.\r\n\r\nThat being said, a workaround is still needed from the header above for clang 3.4 as that is the version that Xcode forks off of for their in house clang fork.\r\n"}}