Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53455 - trunk/boost/wave/util
From: hartmut.kaiser_at_[hidden]
Date: 2009-05-30 09:07:46


Author: hkaiser
Date: 2009-05-30 09:07:46 EDT (Sat, 30 May 2009)
New Revision: 53455
URL: http://svn.boost.org/trac/boost/changeset/53455

Log:
Wave: fixed compilation problems on VC10 beta 1 (fixes #3106)
Text files modified:
   trunk/boost/wave/util/cpp_include_paths.hpp | 8 ++++----
   1 files changed, 4 insertions(+), 4 deletions(-)

Modified: trunk/boost/wave/util/cpp_include_paths.hpp
==============================================================================
--- trunk/boost/wave/util/cpp_include_paths.hpp (original)
+++ trunk/boost/wave/util/cpp_include_paths.hpp 2009-05-30 09:07:46 EDT (Sat, 30 May 2009)
@@ -57,10 +57,10 @@
 {
     typedef std::pair<FromType, ToType> value_type;
 
-#if defined(BOOST_NO_POINTER_TO_MEMBER_TEMPLATE_PARAMETERS) ||\
- defined(BOOST_MSVC)&&(BOOST_MSVC<1300) ||\
- defined(BOOST_INTEL_CXX_VERSION)&&defined(_MSC_VER)&&\
- (BOOST_INTEL_CXX_VERSION<=700)
+// _MSC_FULL_VER == 160020506 detects the VC10 Beta 1 compiler
+#if defined(BOOST_NO_POINTER_TO_MEMBER_TEMPLATE_PARAMETERS) || \
+ defined(BOOST_MSVC) && ((BOOST_MSVC < 1300) || (_MSC_FULL_VER == 160020506)) || \
+ defined(BOOST_INTEL_CXX_VERSION) && defined(_MSC_VER) && (BOOST_INTEL_CXX_VERSION <= 700)
 
     BOOST_STATIC_CONSTANT(unsigned, from_offset = offsetof(value_type, first));
     BOOST_STATIC_CONSTANT(unsigned, to_offset = offsetof(value_type, second));


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk