Boost C++ Libraries: Ticket #3070: [tr1] regression tests failures in MSVC10 https://svn.boost.org/trac10/ticket/3070 <p> A large number of the TR1 regression tests are failing in VC10 with error messages about syntax errors in &lt;utility&gt;. (see the RWVC10 runner on trunk for details). </p> <p> In VC10 with the C++0x bits enabled (the default), the &lt;utility&gt; header includes &lt;type_traits&gt;. Looking at some preprocessed compiler output, it seems that if the Boost TR1 directory is in the include path then the 'real' &lt;type_traits&gt; is never included, leading to errors when &lt;utility&gt; tries to use things defined in it. </p> <p> I'm not sure exactly why this happens, but defining BOOST_HAS_CPP_0X in config_all.hpp avoids the problem and results in a lot more tests passing </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3070 Trac 1.4.3 anonymous Wed, 19 May 2010 13:52:30 GMT <link>https://svn.boost.org/trac10/ticket/3070#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3070#comment:1</guid> <description> <p> This problem still exists in Boost 1.43.0 with VS 2010 Release. </p> <p> What's the rational about BOOST_HAS_CPP_0X ? </p> <p> Is this variable to be defined by the user? </p> <p> Maybe it should be always defined for MS VS &gt;= 2010 in config_all.hpp? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Thu, 20 May 2010 16:17:07 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/3070#comment:2 https://svn.boost.org/trac10/ticket/3070#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> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/62115" title="Fix VC++ 10 include problems. Fixes #3070.">[62115]</a>) Fix VC++ 10 include problems. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3070" title="#3070: Bugs: [tr1] regression tests failures in MSVC10 (closed: fixed)">#3070</a>. </p> Ticket