[Boost-bugs] [Boost C++ Libraries] #1412: BOOST_NO_TWO_PHASE_NAME_LOOKUP config test fails with VC++2008

Subject: [Boost-bugs] [Boost C++ Libraries] #1412: BOOST_NO_TWO_PHASE_NAME_LOOKUP config test fails with VC++2008
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-11-05 19:51:21


#1412: BOOST_NO_TWO_PHASE_NAME_LOOKUP config test fails with VC++2008
-------------------------------------+--------------------------------------
 Reporter: jrp_at_[hidden] | Owner: johnmaddock
     Type: Patches | Status: new
Milestone: Boost 1.35.0 | Component: config
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------+--------------------------------------
 The patch below fixes


 {{{
 C:\temp\regression-
 run\results\boost\bin.v2\status\config_test.test\msvc-9.0\deb
 ug\threading-multi>config_test.exe
 Failed test for BOOST_NO_TWO_PHASE_NAME_LOOKUP at: C:\temp\regression-
 run\boost\
 libs\config\test\config_test.cpp:1116
 }}}

 {{{
 C:\temp\regression-run\boost\boost\config\compiler>svn diff
 Index: visualc.hpp
 ===================================================================
 --- visualc.hpp (revision 40739)
 +++ visualc.hpp (working copy)
 @@ -70,8 +70,10 @@
  # define BOOST_NO_SWPRINTF
  #endif

 +#if _MSC_VER <= 1500 // 1500 == VC++ 9.0
  #if _MSC_VER <= 1400 // 1400 == VC++ 8.0
  # define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
 +#endif
  # define BOOST_NO_TWO_PHASE_NAME_LOOKUP
  #endif

 @@ -156,6 +158,8 @@
  # define BOOST_COMPILER_VERSION 7.1
  # elif _MSC_VER == 1400
  # define BOOST_COMPILER_VERSION 8.0
 +# elif _MSC_VER == 1500
 +# define BOOST_COMPILER_VERSION 9.0
  # else
  # define BOOST_COMPILER_VERSION _MSC_VER
  # endif
 @@ -170,8 +174,8 @@
  #error "Compiler not supported or configured - please reconfigure"
  #endif
  //
 -// last known and checked version is 1400 (VC8):
 -#if (_MSC_VER > 1400)
 +// last known and checked version is 1500 (VC8):
 +#if (_MSC_VER > 1500)
  # if defined(BOOST_ASSERT_CONFIG)
  # error "Unknown compiler version - please run the configure tests
 and report the results"
  # else
 }}}

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1412>
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:49:56 UTC