[Boost-bugs] [Boost C++ Libraries] #3070: [tr1] regression tests failures in MSVC10

Subject: [Boost-bugs] [Boost C++ Libraries] #3070: [tr1] regression tests failures in MSVC10
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-05-23 22:36:47


#3070: [tr1] regression tests failures in MSVC10
---------------------------------------------------------+------------------
 Reporter: Richard Webb <richard.webb_at_[hidden]> | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: TR1
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
---------------------------------------------------------+------------------
 A large number of the TR1 regression tests are failing in VC10 with error
 messages about syntax errors in <utility>. (see the RWVC10 runner on trunk
 for details).

 In VC10 with the C++0x bits enabled (the default), the <utility> header
 includes <type_traits>.
 Looking at some preprocessed compiler output, it seems that if the Boost
 TR1 directory is in the include path then the 'real' <type_traits> is
 never included, leading to errors when <utility> tries to use things
 defined in it.

 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

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3070>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:00 UTC