Modify

Opened 11 years ago

Closed 11 years ago

#1412 closed Patches (fixed)

BOOST_NO_TWO_PHASE_NAME_LOOKUP config test fails with VC++2008

Reported by: jrp@… Owned by: John Maddock
Milestone: Boost 1.35.0 Component: config
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

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

Attachments (0)

Change History (1)

comment:1 Changed 11 years ago by John Maddock

Resolution: fixed
Status: newclosed

Fixed in SVN.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain John Maddock.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.