FS#48763 - [cgal] 4.7-3 incompatible with boost 1.60

Attached to Project: Community Packages
Opened by hal clark (h4l) - Thursday, 31 March 2016, 03:11 GMT
Last edited by Kyle Keen (keenerd) - Monday, 18 April 2016, 12:24 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Kyle Keen (keenerd)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The up to date CGAL 4.7-3 package relies on a struct that has been deprecated in Boost 1.60 -- type_traits 'ice_and'.

Attempting to compile the CGAL triangulated surface mesh segmentation examples (e.g., listed in the documentation http://doc.cgal.org/latest/Surface_mesh_segmentation/index.html) results in compilation errors:

...
/usr/include/CGAL/internal/Surface_mesh_segmentation/AABB_traits.h:49:5: error: ‘ice_and’ is not a member of boost::type_traits’
boost::type_traits::ice_and<
^
/usr/include/CGAL/internal/Surface_mesh_segmentation/AABB_traits.h:49:5: error: ‘ice_and’ is not a member of ‘boost::type_traits’
...


Possible fixes:
* (Ideal fix:) Apply the small upstream patch from https://github.com/CGAL/cgal/commit/5614ed7500f6f0359643de890f412a3d382e56e8 and re-package.
* Impose a version lock < Boost 1.60 for CGAL until 4.8. (I do not know the release timeline for 4.8.)


Additional info:
* CGAL 4.7-3
* Boost 1.60.0-2


Steps to reproduce:
* Install recent CGAL and Boost.
* Compile attached test program.

This task depends upon

Closed by  Kyle Keen (keenerd)
Monday, 18 April 2016, 12:24 GMT
Reason for closing:  Fixed
Additional comments about closing:  cgal-4.8-1

Loading...