Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53913 - trunk/boost/graph
From: jewillco_at_[hidden]
Date: 2009-06-14 20:55:36


Author: jewillco
Date: 2009-06-14 20:55:35 EDT (Sun, 14 Jun 2009)
New Revision: 53913
URL: http://svn.boost.org/trac/boost/changeset/53913

Log:
Turned off bundled properties for Sun CC due to compiler bug; refs #3134
Text files modified:
   trunk/boost/graph/properties.hpp | 8 ++++++++
   1 files changed, 8 insertions(+), 0 deletions(-)

Modified: trunk/boost/graph/properties.hpp
==============================================================================
--- trunk/boost/graph/properties.hpp (original)
+++ trunk/boost/graph/properties.hpp 2009-06-14 20:55:35 EDT (Sun, 14 Jun 2009)
@@ -13,6 +13,7 @@
 #include <boost/config.hpp>
 #include <cassert>
 #include <boost/pending/property.hpp>
+#include <boost/detail/workaround.hpp>
 
 // Include the property map library and extensions in the BGL.
 #include <boost/property_map/property_map.hpp>
@@ -357,6 +358,13 @@
 # define BOOST_GRAPH_NO_BUNDLED_PROPERTIES
 #endif
 
+#if BOOST_WORKAROUND(__SUNPRO_CC, BOOST_TESTED_AT(0x590)) && !defined (BOOST_GRAPH_NO_BUNDLED_PROPERTIES)
+// This compiler cannot define a partial specialization based on a
+// pointer-to-member type, as seen in boost/graph/subgraph.hpp line 985 (as of
+// trunk r53912)
+# define BOOST_GRAPH_NO_BUNDLED_PROPERTIES
+#endif
+
 #ifndef BOOST_GRAPH_NO_BUNDLED_PROPERTIES
   template<typename Graph, typename Descriptor, typename Bundle, typename T>
   struct bundle_property_map


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