Subject: [Boost-bugs] [Boost C++ Libraries] #12440: incorrect configuration in boost/graph/properties.hpp for Oracle Developer Studio
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-09-06 21:35:22
#12440: incorrect configuration in boost/graph/properties.hpp for Oracle Developer
Studio
-------------------------------------------+----------------------
Reporter: Aparna Kumta <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/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.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12440> 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