View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012988VTK(No Category)public2012-03-10 22:482016-08-12 09:55
ReporterSteve Robbins 
Assigned ToDave DeMarle 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version5.8.0 
Target VersionFixed in Version 
Summary0012988: Infovis/vtkBoostBreadthFirstSearchTree.cxx depends on Boost internals, breaks with Boost 1.49
DescriptionVTK 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?


TagsNo tags attached.
ProjectTBD
Typeincorrect functionality
Attached Files

 Relationships

  Notes
(0028434)
Dave DeMarle (administrator)
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 (reporter)
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 (manager)
2013-06-05 09:25

@Dominique: Is this still an issue ?
(0031016)
domibel (reporter)
2013-06-20 17:41

Feel free to close this one. The referenced Debian bug has been resolved since a while.
(0037270)
Kitware Robot (administrator)
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.

 Issue History
Date Modified Username Field Change
2012-03-10 22:48 Steve Robbins New Issue
2012-04-07 23:52 Dave DeMarle Note Added: 0028434
2012-04-08 12:18 domibel Note Added: 0028435
2013-06-05 09:25 Jean-Christophe Fillion-Robin Note Added: 0030886
2013-06-20 17:41 domibel Note Added: 0031016
2013-07-18 21:28 Dave DeMarle Assigned To => Dave DeMarle
2013-07-18 21:28 Dave DeMarle Status backlog => expired
2013-07-18 21:28 Dave DeMarle Resolution open => fixed
2013-07-18 21:28 Dave DeMarle Fixed in Version => 5.10.1
2016-08-12 09:55 Kitware Robot Note Added: 0037270
2016-08-12 09:55 Kitware Robot Status expired => closed
2016-08-12 09:55 Kitware Robot Fixed in Version 5.10.1 =>
2016-08-12 09:55 Kitware Robot Resolution fixed => moved


Copyright © 2000 - 2018 MantisBT Team