Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] errors in Delaunay code when using optimized CGAL lib on mac
Chronological Thread
- From: Sylvain Pion <>
- To:
- Subject: Re: [cgal-discuss] errors in Delaunay code when using optimized CGAL lib on mac
- Date: Wed, 17 Oct 2007 14:13:55 +0200
- Organization: INRIA
Andrei Zaharescu a écrit :
Hi everybody,
I am encountering an error when using the CGAL library compiled with optimization flags on mac intel (with -O1 or -O2 or -O3).
Basically, if I try the provided examples from:
/examples/Triangulation_2/regular
I get some precondition violations. This does not happen when no optimization flags are being used.
Thanks in advance to everyone. The error occurs when invoking the rt.is_valid() command.
CGAL error: precondition violation!
Expr: it1.e_ == it2.e_
File: ../../include/CGAL/iterator.h
Line: 563
Explanation:
terminate called after throwing an instance of 'CGAL::Precondition_exception'
what(): CGAL ERROR: precondition violation!
Expr: it1.e_ == it2.e_
File: ../../include/CGAL/iterator.h
Line: 563
Abort trap
I can reproduce it in the same conditions.
Note that with g++ 4.2 (easily installed with Fink), it works, though.
I have no clue what can happen, don't have enough to dig into this.
I'd suggest you uncomment the precondition, it's not an important one.
Maybe a compiler bug...
--
Sylvain Pion
INRIA Sophia-Antipolis
Geometrica Project-Team
CGAL, http://cgal.org/
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
- can gmp types overflow?, avaxman, 10/17/2007
- Re: [cgal-discuss] can gmp types overflow?, Sylvain Pion, 10/17/2007
- errors in Delaunay code when using optimized CGAL lib on mac, Andrei Zaharescu, 10/17/2007
- Re: [cgal-discuss] errors in Delaunay code when using optimized CGAL lib on mac, Andreas Fabri, 10/17/2007
- Re: [cgal-discuss] errors in Delaunay code when using optimized CGAL lib on mac, Sylvain Pion, 10/17/2007
- Re: [cgal-discuss] errors in Delaunay code when using optimized CGAL lib on mac, Andrei Zaharescu, 10/17/2007
- Re: [cgal-discuss] errors in Delaunay code when using optimized CGAL lib on mac, Sylvain Pion, 10/17/2007
- Re: [cgal-discuss] errors in Delaunay code when using optimized CGAL lib on mac, Andrei Zaharescu, 10/17/2007
- Re: [cgal-discuss] errors in Delaunay code when using optimized CGAL lib on mac, Andreas Fabri, 10/17/2007
Archive powered by MHonArc 2.6.16.