Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Compile errors for Filtered_exact.h and CGAL::Failure_function

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Compile errors for Filtered_exact.h and CGAL::Failure_function


Chronological Thread 
  • From: Sylvain Pion <>
  • To:
  • Subject: Re: [cgal-discuss] Compile errors for Filtered_exact.h and CGAL::Failure_function
  • Date: Fri, 05 Feb 2010 09:18:28 +0100

Le 05/02/10 08:35, Junjie Cao a écrit :
Dear,

I meet some compile errors using CGAL 3.5 to build a old (several years
ago) program.
The program seems need CGAL::Filtered_exact and CGAL::Failure_function.
But I failed to find them in CGAL 3.5.

*#include <CGAL/Filtered_exact.h>*
*typedef CGAL::Filtered_exact<double, CGAL::MP_Float> NT;*
*
*
*CGAL::Failure_function old_ff = CGAL::set_error_handler(failure_func);*

How could I compile the program?

Try adding #include <CGAL/assertions_behaviour.h>.

The function CGAL::set_error_handler is now declared in this header
(instead of <CGAL/assertions.h> previously).

--
Sylvain Pion
INRIA Sophia Antipolis
Geometrica Project-Team
CGAL, http://cgal.org/



Archive powered by MHonArc 2.6.16.

Top of Page