[Boost-bugs] [Boost C++ Libraries] #12526: test_graphs.cpp :Error: The operation "boost::undirected_graph*** is illegal

Subject: [Boost-bugs] [Boost C++ Libraries] #12526: test_graphs.cpp :Error: The operation "boost::undirected_graph*** is illegal
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-10-13 21:34:24


#12526: test_graphs.cpp :Error: The operation "boost::undirected_graph*** is
illegal
-------------------------------------+----------------------
 Reporter: Aparna.kumta@… | Owner: jewillco
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: graph
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------+----------------------
 Compiling libs/graph/test/test_graphs.cpp with Oracle Developer Studio
 12.5, wq see the following error: \\
 $ 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 \\
 "../libs/graph/test/test_properties.hpp", line 20: Error: The operation
 "boost::undirected_graph<VertexBundle, EdgeBundle,
 GraphBundle>[boost::graph_bundle_t]" is illegal. \\
 "../libs/graph/test/test_properties.hpp", line 120: Where: While
 instantiating "test_graph_bundle<boost::undirected_graph<VertexBundle,
 EdgeBundle, GraphBundle>>(boost::undirected_graph<VertexBundle,
 EdgeBundle, GraphBundle>&, mpl_::bool_<1>)". \\
 ... \\

 See: \\
 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

 The following changes to boost/graph/properties.hpp resolves the issue.

 $diff properties.hpp properties.hpp_orig
 {{{
 325a326,333
>
> #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
>
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12526>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC