Boost logo

Boost-Commit :

From: markus.schoepflin_at_[hidden]
Date: 2007-10-19 10:45:06


Author: schoepflin
Date: 2007-10-19 10:45:06 EDT (Fri, 19 Oct 2007)
New Revision: 40186
URL: http://svn.boost.org/trac/boost/changeset/40186

Log:
Added support for Tru64/CXX.
Text files modified:
   trunk/boost/intrusive/detail/parent_from_member.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/intrusive/detail/parent_from_member.hpp
==============================================================================
--- trunk/boost/intrusive/detail/parent_from_member.hpp (original)
+++ trunk/boost/intrusive/detail/parent_from_member.hpp 2007-10-19 10:45:06 EDT (Fri, 19 Oct 2007)
@@ -28,7 +28,7 @@
    #if defined(BOOST_MSVC) || (defined (BOOST_WINDOWS) && defined(BOOST_INTEL))
    //This works with gcc, msvc, ac++, ibmcpp
    return *(const std::ptrdiff_t*)(void*)&ptr_to_member;
- #elif defined(__GNUC__) || defined(__HP_aCC) || defined(BOOST_INTEL) || defined (__IBMCPP__)
+ #elif defined(__GNUC__) || defined(__HP_aCC) || defined(BOOST_INTEL) || defined (__IBMCPP__) || defined (__DECCXX)
    const Parent * const parent = 0;
    const char *const member = reinterpret_cast<const char*>(&(parent->*ptr_to_member));
    return std::size_t(member - reinterpret_cast<const char*>(parent));


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