Boost C++ Libraries: Ticket #12526: test_graphs.cpp :Error: The operation "boost::undirected_graph*** is illegal https://svn.boost.org/trac10/ticket/12526 <p> Compiling libs/graph/test/test_graphs.cpp with Oracle Developer Studio 12.5, wq see the following error: <br /> $ CC -compat=5 -library=stlport4 -xO4 -mt -erroff=%none -m32 -KPIC -DBOOST_ALL_NO_LIB=1 -DNDEBUG -I".." -c -o ./test_graphs.o ../libs/graph/test/test_graphs.cpp <br /> "../libs/graph/test/test_properties.hpp", line 20: Error: The operation "boost::undirected_graph&lt;<a class="missing wiki">VertexBundle</a>, <a class="missing wiki">EdgeBundle</a>, <a class="missing wiki">GraphBundle</a>&gt;[boost::graph_bundle_t]" is illegal. <br /> "../libs/graph/test/test_properties.hpp", line 120: Where: While instantiating "test_graph_bundle&lt;boost::undirected_graph&lt;VertexBundle, EdgeBundle, GraphBundle&gt;&gt;(boost::undirected_graph&lt;<a class="missing wiki">VertexBundle</a>, <a class="missing wiki">EdgeBundle</a>, <a class="missing wiki">GraphBundle</a>&gt;&amp;, mpl_::bool_&lt;1&gt;)". <br /> ... <br /> </p> <p> See: <br /> <a href="http://www.boost.org/development/tests/develop/developer/output/oracle-sparc-S2-12-5-stlport4-boost-bin-v2-libs-graph-test-test_graphs-test-sun-12-5_stlport4-release-threading-multi.html">http://www.boost.org/development/tests/develop/developer/output/oracle-sparc-S2-12-5-stlport4-boost-bin-v2-libs-graph-test-test_graphs-test-sun-12-5_stlport4-release-threading-multi.html</a> </p> <p> The following changes to boost/graph/properties.hpp resolves the issue. </p> <p> $diff properties.hpp properties.hpp_orig </p> <pre class="wiki">325a326,333 &gt; &gt; #if BOOST_WORKAROUND(__SUNPRO_CC, BOOST_TESTED_AT(0x590)) &amp;&amp; !defined (BOOST_GRAPH_NO_BUNDLED_PROPERTIES) &gt; // This compiler cannot define a partial specialization based on a &gt; // pointer-to-member type, as seen in boost/graph/subgraph.hpp line 985 (as of &gt; // trunk r53912) &gt; # define BOOST_GRAPH_NO_BUNDLED_PROPERTIES &gt; #endif &gt; </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12526 Trac 1.4.3