Boost C++ Libraries: Ticket #12440: incorrect configuration in boost/graph/properties.hpp for Oracle Developer Studio https://svn.boost.org/trac10/ticket/12440 <blockquote> <p> Compiling libs/graph/test/subgraph_props.cpp and few other tests with Oracle Developer Studio 12.5 shows the following error: </p> </blockquote> <p> %CC -std=c++11 -std=c++11 -xO4 -mt -erroff=%none -m32 -KPIC -DBOOST_ALL_NO_LIB=1 -DNDEBUG -I".." -c -o ./subgraph_props.o ../libs/graph/test/subgraph_props.cpp </p> <p> "../libs/graph/test/subgraph_props.cpp", line 102: Error: The operation "boost::subgraph&lt;boost::adjacency_list&lt;boost::vecS, boost::vecS, boost::bidirectionalS, TestBundles::Node, boost::property&lt;boost::edge_index_t, unsigned, TestBundles::Arc&gt;, boost::no_property, boost::listS&gt;&gt;[unsigned]" is illegal. </p> <p> "../libs/graph/test/subgraph_props.cpp", line 107: Error: The operation "boost::subgraph&lt;boost::adjacency_list&lt;boost::vecS, boost::vecS, boost::bidirectionalS, TestBundles::Node, boost::property&lt;boost::edge_index_t, unsigned, TestBundles::Arc&gt;, boost::no_property, boost::listS&gt;&gt;[boost::local_property&lt;unsigned&gt;]" is illegal. </p> <p> 2 Error(s) detected. </p> <p> % </p> <p> See: </p> <p> <a href="http://www.boost.org/development/tests/develop/developer/output/oracle-intel-S2-12-5_next-cpp11-boost-bin-v2-libs-graph-test-subgraph_props-test-sun-12-5_next_cpp11-release-threading-multi.html">http://www.boost.org/development/tests/develop/developer/output/oracle-intel-S2-12-5_next-cpp11-boost-bin-v2-libs-graph-test-subgraph_props-test-sun-12-5_next_cpp11-release-threading-multi.html</a> </p> <p> Solution: Commenting out/removing lines in boost/graph/propoerties.hpp </p> <blockquote> <p> 327 #if BOOST_WORKAROUND(<span class="underline">SUNPRO_CC, BOOST_TESTED_AT(0x590)) &amp;&amp; !defined (BOOST_GRAPH_NO_BUNDLED_ </span></p> </blockquote> <blockquote> <p> 328 <em> This compiler cannot define a partial specialization based on a </em></p> </blockquote> <blockquote> <p> 329 <em> pointer-to-member type, as seen in boost/graph/subgraph.hpp line 985 (as of </em></p> </blockquote> <blockquote> <p> 330 <em> trunk <a class="changeset" href="https://svn.boost.org/trac10/changeset/53912" title="Added newline to end of file; refs #3134">r53912</a> </em></p> </blockquote> <blockquote> <p> 331 # define BOOST_GRAPH_NO_BUNDLED_PROPERTIES </p> </blockquote> <blockquote> <p> 332 #endif </p> </blockquote> <p> seems to resolve the issue. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12440 Trac 1.4.3