Opened 15 years ago
Closed 15 years ago
#1413 closed Patches (duplicate)
BOOST_NO_TWO_PHASE_NAME_LOOKUP config test fails with VC++2008
Reported by: | 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 (1)
Change History (2)
by , 15 years ago
Attachment: | config_vc90.diff added |
---|
comment:1 by , 15 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Overlapping compiler patch + autolink patch