Boost logo

Boost-Commit :

From: dave_at_[hidden]
Date: 2007-11-26 17:01:51


Author: dave
Date: 2007-11-26 17:01:50 EST (Mon, 26 Nov 2007)
New Revision: 41408
URL: http://svn.boost.org/trac/boost/changeset/41408

Log:
Try to extend the workaround to SunPro 5.9, since we're marked as not working on 5.8

Text files modified:
   trunk/boost/python/object_protocol.hpp | 4 +++-
   1 files changed, 3 insertions(+), 1 deletions(-)

Modified: trunk/boost/python/object_protocol.hpp
==============================================================================
--- trunk/boost/python/object_protocol.hpp (original)
+++ trunk/boost/python/object_protocol.hpp 2007-11-26 17:01:50 EST (Mon, 26 Nov 2007)
@@ -10,9 +10,11 @@
 # include <boost/python/object_protocol_core.hpp>
 # include <boost/python/object_core.hpp>
 
+# include <boost/detail/workaround.hpp>
+
 namespace boost { namespace python { namespace api {
 
-# if BOOST_WORKAROUND(__SUNPRO_CC, <= 0x580)
+# if BOOST_WORKAROUND(__SUNPRO_CC, BOOST_TESTED_AT(0x590))
 // attempt to use SFINAE to prevent functions accepting T const& from
 // coming up as ambiguous with the one taking a char const* when a
 // string literal is passed


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