[vtk-developers] [VTK 0012988]: Infovis/vtkBoostBreadthFirstSearchTree.cxx depends on Boost internals, breaks with Boost 1.49
Mantis Bug Tracker
mantis at public.kitware.com
Sat Mar 10 22:48:53 EST 2012
The following issue has been SUBMITTED.
======================================================================
http://vtk.org/Bug/view.php?id=12988
======================================================================
Reported By: Steve Robbins
Assigned To:
======================================================================
Project: VTK
Issue ID: 12988
Category: (No Category)
Reproducibility: have not tried
Severity: minor
Priority: normal
Status: backlog
Project: TBD
Type: incorrect functionality
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 2012-03-10 22:48 EST
Last Modified: 2012-03-10 22:48 EST
======================================================================
Summary: Infovis/vtkBoostBreadthFirstSearchTree.cxx depends
on Boost internals, breaks with Boost 1.49
Description:
VTK depends on boost internals and fails to build with Boost 1.49:
[ 86%] Building CXX object
Infovis/CMakeFiles/vtkInfovis.dir/vtkBoostBreadthFirstSearchTree.cxx.o
/home/steve/Packages/boost-defaults/rebuilds/1.49/build/vtk/vtk-5.8.0/Infovis/vtkBoostBreadthFirstSearchTree.cxx:
In function 'vtkIdType {anonymous}::unwrap_edge_id(const
boost::detail::reverse_graph_edge_descriptor<vtkEdgeType>&)':
/home/steve/Packages/boost-defaults/rebuilds/1.49/build/vtk/vtk-5.8.0/Infovis/vtkBoostBreadthFirstSearchTree.cxx:56:14:
error: 'const class boost::detail::reverse_graph_edge_descriptor<vtkEdgeType>'
has no member named 'underlying_desc'
make[3]: ***
[Infovis/CMakeFiles/vtkInfovis.dir/vtkBoostBreadthFirstSearchTree.cxx.o] Error 1
The code in question is:
#if BOOST_VERSION >= 104800 // Boost 1.48.x
namespace {
vtkIdType unwrap_edge_id(vtkEdgeType const &e) {
return e.Id;
}
vtkIdType
unwrap_edge_id(boost::detail::reverse_graph_edge_descriptor<vtkEdgeType> const
&e) {
return e.underlying_desc.Id;
}
}
#endif
Note the usage of boost::detail, a non-public API. Can this be coded to use
public APIs?
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2012-03-10 22:48 Steve Robbins New Issue
======================================================================
More information about the vtk-developers
mailing list