Boost C++ Libraries: Ticket #6966: future boost::future_category inconsistent dll linkage https://svn.boost.org/trac10/ticket/6966 <pre class="wiki">Test output: Rev 78804 / Mon, 4 Jun 2012 03:53:09 +0000 Report Time: Tue, 5 Jun 2012 20:20:25 +0000 Compile [2012-06-05 13:32:03 UTC]: succeed call "%BOOST_ROOT%/TestTools/VSVars32-VC9-STLPort.bat" x86 &gt;nul cl /Zm800 -nologo @"D:\BoostRT\results\boost\bin.v2\libs\thread\build\msvc-9.0~stlport5.2\debug\stdlib-stlport-5.2~vc9\future.obj.rsp" future.cpp ..\libs\thread\src\future.cpp(51) : warning C4273: 'boost::future_category' : inconsistent dll linkage D:\BoostRT\boost\boost/thread/future.hpp(98) : see previous definition of 'future_category' </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6966 Trac 1.4.3 viboes Tue, 05 Jun 2012 21:23:18 GMT owner, status changed https://svn.boost.org/trac10/ticket/6966#comment:1 https://svn.boost.org/trac10/ticket/6966#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Anthony Williams</span> to <span class="trac-author">viboes</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> <p> The following patch should fix the issue </p> <pre class="wiki">Index: future.cpp =================================================================== --- future.cpp (revision 78572) +++ future.cpp (working copy) @@ -46,7 +46,7 @@ } } - const system::error_category&amp; + BOOST_THREAD_DECL const system::error_category&amp; future_category() { static thread_detail::future_error_category f; </pre><p> Committed revision 78823. </p> Ticket viboes Thu, 21 Jun 2012 21:50:42 GMT status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/6966#comment:2 https://svn.boost.org/trac10/ticket/6966#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.50.0</span> </li> </ul> <p> Fixed with <a class="changeset" href="https://svn.boost.org/trac10/changeset/78919" title="Thread: rolled back breaking changes on windows.">[78919]</a> </p> Ticket lodos@… Tue, 09 Apr 2013 13:26:36 GMT status, milestone changed; resolution deleted https://svn.boost.org/trac10/ticket/6966#comment:3 https://svn.boost.org/trac10/ticket/6966#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> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.50.0</span> → <span class="trac-field-new">Boost 1.54.0</span> </li> </ul> <p> The changeset was rolled back. </p> Ticket viboes Tue, 09 Apr 2013 16:42:02 GMT <link>https://svn.boost.org/trac10/ticket/6966#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6966#comment:4</guid> <description> <p> I rolled back the change in <a class="changeset" href="https://svn.boost.org/trac10/changeset/78863" title="Thread: rollback unchecked an errored change">[78863]</a> as it was introducing a regression. I would not be able to check it again until next weekend. Does the patch work for you? </p> <p> Sorry I don't know MSVC well. Is this </p> <pre class="wiki"> const system::error_category&amp; BOOST_THREAD_DECL future_category() BOOST_NOEXCEPT; </pre><p> different from </p> <pre class="wiki"> BOOST_THREAD_DECL const system::error_category&amp; future_category() BOOST_NOEXCEPT; </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Sun, 14 Apr 2013 22:41:50 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6966#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6966#comment:5</guid> <description> <p> Changeset <a class="changeset" href="https://svn.boost.org/trac10/changeset/83908" title="Thread: #6966.">[83908]</a>. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Wed, 17 Apr 2013 04:30:51 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/6966#comment:6 https://svn.boost.org/trac10/ticket/6966#comment:6 <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">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/83938" title="Thread: merge from trunk to fix #6843,#6966.">[83938]</a>) Thread: merge from trunk to fix <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6843" title="#6843: Patches: [Intel C++] Compile Errors with '#include &lt;atomic&gt;' (closed: fixed)">#6843</a>,<a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6966" title="#6966: Bugs: future boost::future_category inconsistent dll linkage (closed: fixed)">#6966</a>. </p> Ticket