Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Mismatches between CGAL 3.6-1~squeeze1 and boost 1.40.0-4ubuntu4

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Mismatches between CGAL 3.6-1~squeeze1 and boost 1.40.0-4ubuntu4


Chronological Thread 
  • From: Andreas Fabri <>
  • To:
  • Subject: Re: [cgal-discuss] Mismatches between CGAL 3.6-1~squeeze1 and boost 1.40.0-4ubuntu4
  • Date: Mon, 28 Jun 2010 13:10:06 +0200
  • Organization: GeometryFactory

On 28/06/2010 12:55, Lehtonen, Matti/HIIT wrote:
Hi!

1) In /usr/include/CGAL/boost/graph/named_function_params.h is defined
template<typename Visitor>
cgal_bgl_named_params<Visitor, boost::graph_visitor_t>
visitor(const Visitor& p)
{
typedef cgal_bgl_named_params<Visitor, boost::graph_visitor_t> Params;
return Params(p);
}
which is also defined in
/usr/include/boost/graph/named_function_params.hpp:157
Error is raised when CGAL::mst_orient_normals() is called.

This happens with 3.5.1-1 also. Easy to 'fix' with #if 0 .. #endif in
/usr/include/CGAL/boost/graph/named_function_params.h



Hello,

Can you give me a minimal example so that we can reproduce and fix it.
Your recommendation seems not to be the real fix, although I must admit
that to overload a global function with the name visitor and a templated type as its argument is probably a bad idea.




2) Boost parametrization fails
/usr/include/boost/parameter/aux_/overloads.hpp:81: error: no matching
function
for call to �boost::parameter::aux::arg_list<...>::arg_list(...)

The only candidate is
/usr/include/boost/parameter/aux_/arg_list.hpp:214: note: candidates are:
boost::parameter::aux::arg_list<TaggedArg, Next>::arg_list(TaggedArg, const
Next&)

Problem is raised with call to CGAL::make_mesh_3<C3t3>( domain, criteria ).
Won't get fixed with call to CGAL::make_mesh_3_impl<C3t3>( c3t3, domain,
criteria, exude(), perturb(), no_odt(), no_lloyd() );


I don't understand what the bug is and what you propose.
Again, a minial example would be welcome.

andreas



Lehtonen, Matti
Researcher, head programmer - Helsinki Institute for Information Technology
HIIT
http://www.hiit.fi/




Archive powered by MHonArc 2.6.16.

Top of Page