MantisBT - VTK
View Issue Details
0012988VTK(No Category)public2012-03-10 22:482016-08-12 09:55
Steve Robbins 
Dave DeMarle 
normalminorhave not tried
closedmoved 
5.8.0 
 
TBD
incorrect functionality
0012988: Infovis/vtkBoostBreadthFirstSearchTree.cxx depends on Boost internals, breaks with Boost 1.49
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?


No tags attached.
Issue History
2012-03-10 22:48Steve RobbinsNew Issue
2012-04-07 23:52Dave DeMarleNote Added: 0028434
2012-04-08 12:18domibelNote Added: 0028435
2013-06-05 09:25Jean-Christophe Fillion-RobinNote Added: 0030886
2013-06-20 17:41domibelNote Added: 0031016
2013-07-18 21:28Dave DeMarleAssigned To => Dave DeMarle
2013-07-18 21:28Dave DeMarleStatusbacklog => expired
2013-07-18 21:28Dave DeMarleResolutionopen => fixed
2013-07-18 21:28Dave DeMarleFixed in Version => 5.10.1
2016-08-12 09:55Kitware RobotNote Added: 0037270
2016-08-12 09:55Kitware RobotStatusexpired => closed
2016-08-12 09:55Kitware RobotFixed in Version5.10.1 =>
2016-08-12 09:55Kitware RobotResolutionfixed => moved

Notes
(0028434)
Dave DeMarle   
2012-04-07 23:52   
The part of the bug regarding not working with 1.49 was addressed with the following change.

The part about using the public API was not as the VTK change only moves to 1.49's new non-public API.

Author: Marcus D. Hanwell <marcus.hanwell@kitware.com> 2012-03-08 10:17:12
Branches: master, release, remotes/origin/master, remotes/origin/nightly-master, remotes/origin/release
Follows: v5.8.0
Precedes: v5.10.0-rc1

    COMP: API change in Boost Graph Library.
    
    The header states "shouldn't be exposed to users anymore", and so we
    should probably look at how we might achieve the same thing with the API
    that is intended to be exposed to users. This compiles and works with
    Boost 1.49.
    
    Change-Id: I2086f227c45692bd6aa224742369d70f71b5b264
(0028435)
domibel   
2012-04-08 12:18   
Here is the Debian bug.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667878 [^]
(0030886)
Jean-Christophe Fillion-Robin   
2013-06-05 09:25   
@Dominique: Is this still an issue ?
(0031016)
domibel   
2013-06-20 17:41   
Feel free to close this one. The referenced Debian bug has been resolved since a while.
(0037270)
Kitware Robot   
2016-08-12 09:55   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.