Boost 1.28.0 and Visual C++ 2010

Hi, I'm trying to migrate a Visual C++ 6 workspace to Visual C++ 2010. When I try to compile the resulting solution, I get error messages like these: Unknown compiler version - please run the configure tests and report the results With the help of this page... http://social.msdn.microsoft.com/forums/en-US/vcgeneral/thread/09fa47e5-6e99... ...I've traced the problem to a compiler version check in boost/config/compiler/visualc.hpp: #define BOOST_COMPILER "Microsoft Visual C++ version " BOOST_STRINGIZE(_MSC_VER) // // versions check: // we don't support Visual C++ prior to version 6: #if _MSC_VER < 1200 #error "Compiler not supported or configured - please reconfigure" #endif // // last known and checked version is 1301: #if (_MSC_VER > 1301) # if defined(BOOST_ASSERT_CONFIG) # error "Unknown compiler version - please run the configure tests and report the results" # else # pragma message("Unknown compiler version - please run the configure tests and report the results") # endif #endif According to this page... http://msdn.microsoft.com/en-us/library/b0084kay.aspx ... _MSC_VER for Visual C++ 2010 is 1600. If I were to modify the version checking code in visualc.hpp, then would you anticipate problems? For a variety of reasons, I would like to avoid upgrading Boost if at all possible. Thanks, Greg _________________________________________________________________ The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail. http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5

AMDG Gregory Tyler wrote:
I'm trying to migrate a Visual C++ 6 workspace to Visual C++ 2010. When I try to compile the resulting solution, I get error messages like these:
Unknown compiler version - please run the configure tests and report the results <snip>
If I were to modify the version checking code in visualc.hpp, then would you anticipate problems?
The most likely problems are conflicts between Boost and the C++0x library. I don't think we've worked out all the kinks even now, unfortunately. However, I can't be certain that this will actually cause problems for you.
For a variety of reasons, I would like to avoid upgrading Boost if at all possible.
In Christ, Steven Watanabe
participants (2)
-
Gregory Tyler
-
Steven Watanabe