Boost C++ Libraries: Ticket #11687: context - Xcode (Apple clang) and thread_local https://svn.boost.org/trac10/ticket/11687 <p> Xcode version 6+ does not ship with support for the keyword thread_local. According to apple (<a class="ext-link" href="https://devforums.apple.com/thread/251372?tstart=0"><span class="icon">​</span>https://devforums.apple.com/thread/251372?tstart=0</a>) they have no plans of supporting the keyword anytime soon. This leaves the library unusable on all Apple platforms. </p> <p> I have attempted to fix it here (<a class="ext-link" href="https://github.com/boostorg/context/pull/20"><span class="icon">​</span>https://github.com/boostorg/context/pull/20</a>), but my implementation is flawed and I am not smart enough to know what to do to support this library on Apple platforms properly. </p> <p> As it stands, context, and subsequently coroutine2 can not be compiled via Xcode 6.3, 7, or 7.1. </p> <p> Can we bring in boost::thread_specific_ptr for coverage and not rely on thread_local until it has full support across all major platforms? If that is not possible please point me in the right direction so I may maintain and apple specific fork using boost::thread_specific_ptr in place of thread_local. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11687 Trac 1.4.3 olli Wed, 27 Apr 2016 08:12:02 GMT <link>https://svn.boost.org/trac10/ticket/11687#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11687#comment:1</guid> <description> <p> another developer is dealing with the thread_local issue on MAC - maybe we could add the workaround soon. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>olli</dc:creator> <pubDate>Mon, 05 Dec 2016 08:19:54 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/11687#comment:2 https://svn.boost.org/trac10/ticket/11687#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> I think we have to wait till Apple adds thread_local to Xcode. </p> Ticket olli Mon, 05 Dec 2016 08:20:12 GMT status changed; resolution deleted https://svn.boost.org/trac10/ticket/11687#comment:3 https://svn.boost.org/trac10/ticket/11687#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">fixed</span> </li> </ul> Ticket olli Mon, 05 Dec 2016 08:20:33 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/11687#comment:4 https://svn.boost.org/trac10/ticket/11687#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">reopened</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">wontfix</span> </li> </ul> Ticket