Opened 6 years ago

#12440 new Bugs

incorrect configuration in boost/graph/properties.hpp for Oracle Developer Studio

Reported by: Aparna Kumta <aparna.kumta@…> Owned by: Jeremiah Willcock
Milestone: To Be Determined Component: graph
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

Compiling libs/graph/test/subgraph_props.cpp and few other tests with Oracle Developer Studio 12.5 shows the following error:

%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

"../libs/graph/test/subgraph_props.cpp", line 102: Error: The operation "boost::subgraph<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, TestBundles::Node, boost::property<boost::edge_index_t, unsigned, TestBundles::Arc>, boost::no_property, boost::listS>>[unsigned]" is illegal.

"../libs/graph/test/subgraph_props.cpp", line 107: Error: The operation "boost::subgraph<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, TestBundles::Node, boost::property<boost::edge_index_t, unsigned, TestBundles::Arc>, boost::no_property, boost::listS>>[boost::local_property<unsigned>]" is illegal.

2 Error(s) detected.

%

See:

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

Solution: Commenting out/removing lines in boost/graph/propoerties.hpp

327 #if BOOST_WORKAROUND(SUNPRO_CC, BOOST_TESTED_AT(0x590)) && !defined (BOOST_GRAPH_NO_BUNDLED_

328 This compiler cannot define a partial specialization based on a

329 pointer-to-member type, as seen in boost/graph/subgraph.hpp line 985 (as of

330 trunk r53912

331 # define BOOST_GRAPH_NO_BUNDLED_PROPERTIES

332 #endif

seems to resolve the issue.

Change History (0)

Note: See TracTickets for help on using tickets.