|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r57192 - trunk/boost/wave/util
From: hartmut.kaiser_at_[hidden]
Date: 2009-10-28 10:29:04
Author: hkaiser
Date: 2009-10-28 10:29:04 EDT (Wed, 28 Oct 2009)
New Revision: 57192
URL: http://svn.boost.org/trac/boost/changeset/57192
Log:
Wave: fixing compilation for VC10 Beta2 (fixes #3106)
Text files modified:
trunk/boost/wave/util/cpp_include_paths.hpp | 9 ++++++---
1 files changed, 6 insertions(+), 3 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-10-28 10:29:04 EDT (Wed, 28 Oct 2009)
@@ -57,10 +57,13 @@
{
typedef std::pair<FromType, ToType> value_type;
-// _MSC_FULL_VER == 160020506 detects the VC10 Beta 1 compiler
+// _MSC_FULL_VER == 160020506 || 160021003 detects the VC10 Beta 1 and 2
+// compilers
#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)
+ (defined(BOOST_MSVC) && ((BOOST_MSVC < 1300) || \
+ (_MSC_FULL_VER == 160020506 || _MSC_FULL_VER == 160021003))) || \
+ (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