Boost C++ Libraries: Ticket #8466: Boost.TR1 misdetects Visual C++ 2012's support as nonexistent https://svn.boost.org/trac10/ticket/8466 <p> The test in <code>boost/tr1/detail/config.hpp</code> indicates native TR1 support only if the <code>_HAS_TR1</code> macro is set and non-zero. This was set by VC2010, but 2012 no longer defines this symbol. Consequently, Boost's implementation is used and conflicts ensue. </p> <p> <code>_HAS_TR1</code> is a private symbol that shouldn't be checked according to this: <a class="ext-link" href="http://lists.boost.org/Archives/boost/2011/06/182516.php"><span class="icon">​</span>http://lists.boost.org/Archives/boost/2011/06/182516.php</a> </p> <p> Attached patch fixes this by also checking for VC11+ via <code>_MSC_VER</code>. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8466 Trac 1.4.3 Vaclav Slavik <vslavik@…> Sat, 20 Apr 2013 11:30:05 GMT attachment set https://svn.boost.org/trac10/ticket/8466 https://svn.boost.org/trac10/ticket/8466 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">fix-vc11-tr1-detection.patch</span> </li> </ul> <p> patch to fix VC11 detection </p> Ticket