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: Ben Supnik <>
  • To:
  • Subject: Re: [cgal-discuss] Problems with OS X, GCC 4.2.1 and arrangement_2
  • Date: Mon, 30 Mar 2009 14:47:16 -0400

Hi Sylvain,

Aha!! -frounding-math was it!! Thank you!!!

Basically with -frounding-math 4.2.1 works even with -O3 and 0Os. :-)

-fno-rounding-math is listed as "experimental" in the man page...and yet it is the default - who knew??

Cheers
Ben





Sylvain Pion wrote:
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?





--
Scenery Home Page: http://scenery.x-plane.com/
Scenery blog: http://xplanescenery.blogspot.com/
Plugin SDK: http://www.xsquawkbox.net/xpsdk/
X-Plane Wiki: http://wiki.x-plane.com/
Scenery mailing list:

Developer mailing list:




Archive powered by MHonArc 2.6.16.

Top of Page