Boost C++ Libraries: Ticket #11365: execution_context.hpp gives errors when building with VS2015RC https://svn.boost.org/trac10/ticket/11365 <p> When building boost 1_58 wirh VS2015RC it gives the following errors: </p> <pre class="wiki">Unknown compiler version - please run the configure tests and report the results boost/context/execution_context.hpp(140): error C2492: 'boost::context::execution_context::main_ctx_': data with thread storage duration may not have dll interface boost/context/execution_context.hpp(140): warning C4251: 'boost::context::execution_context::main_ctx_': struct 'boost::context::execution_context::fcontext' needs to have dll-interface to be used by clients of class 'boost::context::execution_context' boost/context/execution_context.hpp(59): note: see declaration of 'boost::context::execution_context::fcontext' boost/context/execution_context.hpp(140): error C2492: 'private: static boost::context::execution_context::fcontext boost::context::execution_context::main_ctx_': data with thread storage duration may not have dll interface boost/context/execution_context.hpp(141): error C2492: 'boost::context::execution_context::current_ctx_': data with thread storage duration may not have dll interface boost/context/execution_context.hpp(141): warning C4251: 'boost::context::execution_context::current_ctx_': class 'boost::intrusive_ptr&lt;boost::context::execution_context::fcontext&gt;' needs to have dll-interface to be used by clients of class 'boost::context::execution_context' boost/context/execution_context.hpp(141): error C2492: 'private: static boost::intrusive_ptr&lt;boost::context::execution_context::fcontext&gt; boost::context::execution_context::current_ctx_': data with thread storage duration may not have dll interface boost/context/execution_context.hpp(143): warning C4251: 'boost::context::execution_context::ptr_': class 'boost::intrusive_ptr&lt;boost::context::execution_context::fcontext&gt;' needs to have dll-interface to be used by clients of class 'boost::context::execution_context' </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11365 Trac 1.4.3 viboes Mon, 01 Jun 2015 17:16:42 GMT description changed https://svn.boost.org/trac10/ticket/11365#comment:1 https://svn.boost.org/trac10/ticket/11365#comment:1 <ul> <li><strong>description</strong> modified (<a href="/trac10/ticket/11365?action=diff&amp;version=1">diff</a>) </li> </ul> Ticket viboes Mon, 01 Jun 2015 17:19:42 GMT owner, component changed https://svn.boost.org/trac10/ticket/11365#comment:2 https://svn.boost.org/trac10/ticket/11365#comment:2 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Anthony Williams</span> to <span class="trac-author">John Maddock</span> </li> <li><strong>component</strong> <span class="trac-field-old">thread</span> → <span class="trac-field-new">config</span> </li> </ul> <pre class="wiki">Unknown compiler version - please run the configure tests and report the results </pre><p> This is the message Boost.Config shows as error when the compiler version is not supported. </p> <p> I don't know if this is a version to support. Anyway, moving the ticket to Boost.Config </p> Ticket John Maddock Mon, 01 Jun 2015 18:11:38 GMT owner, component changed https://svn.boost.org/trac10/ticket/11365#comment:3 https://svn.boost.org/trac10/ticket/11365#comment:3 <ul> <li><strong>owner</strong> changed from <span class="trac-author">John Maddock</span> to <span class="trac-author">viboes</span> </li> <li><strong>component</strong> <span class="trac-field-old">config</span> → <span class="trac-field-new">thread</span> </li> </ul> <p> Sorry to ping this back to you - but the Config message is exactly that - an informative message to say you're using a version of Boost released before the compiler you're using. In point of fact we do have some VC2015 support in 1.58, but it might not be up to date with the latest VC RC (which does have a few new features I believe). </p> <p> The first *error* is definitely a Boost.Thread issue. </p> Ticket John Maddock Mon, 01 Jun 2015 18:12:29 GMT <link>https://svn.boost.org/trac10/ticket/11365#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11365#comment:4</guid> <description> <p> Forgot to say - we don't officially support pre-release compilers. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Mon, 01 Jun 2015 20:08:57 GMT</pubDate> <title>component changed https://svn.boost.org/trac10/ticket/11365#comment:5 https://svn.boost.org/trac10/ticket/11365#comment:5 <ul> <li><strong>component</strong> <span class="trac-field-old">thread</span> → <span class="trac-field-new">context</span> </li> </ul> <p> The errors are from Boost.Context :) </p> <p> moving the ticket to Boost.Context in case there is something to fix there. </p> Ticket anonymous Sun, 02 Aug 2015 23:24:33 GMT <link>https://svn.boost.org/trac10/ticket/11365#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11365#comment:6</guid> <description> <p> then how to solve the problem? </p> </description> <category>Ticket</category> </item> <item> <author>lcarreon@…</author> <pubDate>Thu, 13 Aug 2015 00:40:45 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/11365#comment:7 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11365#comment:7</guid> <description> <p> FYI, this same error message is now happening with VS 2015 RTM. I hope this is being fixed in Boost 1.59.0. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Thu, 13 Aug 2015 07:40:28 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/11365#comment:8 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11365#comment:8</guid> <description> <p> It appears to build fine in the master branch, so I believe this should be fixed in the next release (I haven't checked the release candidate though). </p> </description> <category>Ticket</category> </item> <item> <dc:creator>olli</dc:creator> <pubDate>Tue, 26 Jan 2016 17:03:30 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/11365#comment:9 https://svn.boost.org/trac10/ticket/11365#comment:9 <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> seams to be fixed - so closed </p> Ticket