Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Problems with OS X, GCC 4.2.1 and arrangement_2

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Problems with OS X, GCC 4.2.1 and arrangement_2


Chronological Thread 
  • From: Sylvain Pion <>
  • To:
  • Subject: Re: [cgal-discuss] Problems with OS X, GCC 4.2.1 and arrangement_2
  • Date: Mon, 30 Mar 2009 20:31:49 +0200

Ben Supnik a écrit :
Hi Sylvain,

Happens with -O0. Are there other things I should shut off to try to produce even more "basic" output? My original test had only -I to find CGAL and the full path to the CGAL static archives.

You should also not forget -frounding-math.

Also, try CGAL 3.4.

Then, give a full description of "the assertion failures".

cheers
ben

Sylvain Pion wrote:
Ben Supnik a écrit :
Hi Y'all,

I've hit a case where I get assertion failures doing an insert_curves on the arrangement_2 class. (Exact numeric type, segment traits with history, CGAL 3.3.1.)

Here's the rub:

On Linux (GCC 4.2.4) my code runs properly.

On OS X (GCC 4.2.1 build 5566) my code hits a precondition violation.

Has anyone hit this before? Is anyone working with CGAL on a known good Mac compiler?

I am building GCC 4.3.3 now to try that...

Do compiler optimization options make a difference?




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



Archive powered by MHonArc 2.6.16.

Top of Page