Boost C++ Libraries: Ticket #10158: Boost.Log: Linker error with MSVC14 https://svn.boost.org/trac10/ticket/10158 <p> MSVC14 has a completely refactored CRT: <a class="ext-link" href="http://blogs.msdn.com/b/vcblog/archive/2014/06/10/the-great-crt-refactoring.aspx"><span class="icon">​</span>http://blogs.msdn.com/b/vcblog/archive/2014/06/10/the-great-crt-refactoring.aspx</a> </p> <p> Trying to compile Boost.Log with it gives a linker error because there is no function <code>_getptd</code> (referenced in src\unhandled_exception_count.cpp). </p> <p> The function is now called <code>__vcrt_getptd</code>. It returns a pointer to a new struct <code>__vcrt_ptd</code>. The part before <code>_NLG_dwCode</code> from the old struct <code>_tiddata</code> is missing, apart from that it looks the same. </p> <p> See VC\crt\src\vcruntime\vcruntime_internal.h in the MSVC14 directory. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10158 Trac 1.4.3 Andrey Semashev Sat, 05 Jul 2014 16:23:40 GMT <link>https://svn.boost.org/trac10/ticket/10158#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10158#comment:1</guid> <description> <p> Fixed in <a class="ext-link" href="https://github.com/boostorg/log/commit/d90b4571102479495cd474c9e373cd0451af245e"><span class="icon">​</span>https://github.com/boostorg/log/commit/d90b4571102479495cd474c9e373cd0451af245e</a>. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Andrey Semashev</dc:creator> <pubDate>Sat, 05 Jul 2014 17:09:49 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/10158#comment:2 https://svn.boost.org/trac10/ticket/10158#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> Ticket marci_r@… Sat, 05 Jul 2014 17:14:56 GMT <link>https://svn.boost.org/trac10/ticket/10158#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10158#comment:3</guid> <description> <p> Wow, that was fast! Thank you very much! </p> </description> <category>Ticket</category> </item> <item> <author>garethsb@…</author> <pubDate>Thu, 26 Feb 2015 11:33:33 GMT</pubDate> <title>status changed; resolution deleted https://svn.boost.org/trac10/ticket/10158#comment:4 https://svn.boost.org/trac10/ticket/10158#comment:4 <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> <p> As of Visual Studio 2015 CTP 6, the <code>__vcrt_getptd</code> symbol isn't exported, but Microsoft have introduced <code>__processing_throw</code> as a direct accessor for the required value, which we can hope will be maintained going forward. </p> Ticket Andrey Semashev Sat, 28 Feb 2015 21:48:52 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/10158#comment:5 https://svn.boost.org/trac10/ticket/10158#comment:5 <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> <p> For whatever reason the latest MSVC CTP does not install half of the headers on my system and as a result is completely unusable. This looks worse than an alpha release to me. I'll probably not support CTPs and wait until the final release is out. If it's still not working then, I'll deal with it as the compiler gets officially supported by Boost. </p> Ticket Andrey Semashev Sun, 01 Mar 2015 18:24:11 GMT status changed; resolution deleted https://svn.boost.org/trac10/ticket/10158#comment:6 https://svn.boost.org/trac10/ticket/10158#comment:6 <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">wontfix</span> </li> </ul> Ticket Andrey Semashev Sun, 01 Mar 2015 18:25:22 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/10158#comment:7 https://svn.boost.org/trac10/ticket/10158#comment:7 <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> I tried to install MSVC on a clean system and it worked. Here is the fix: <a class="ext-link" href="https://github.com/boostorg/log/commit/4751a165366dd9d1cf55252c290eaacf39a59552"><span class="icon">​</span>https://github.com/boostorg/log/commit/4751a165366dd9d1cf55252c290eaacf39a59552</a>. </p> Ticket