Subject: CGAL users discussion list
List archive
- From: Edoardo Milotti <>
- To:
- Subject: [cgal-discuss] -frounding-math compiler option
- Date: Wed, 17 Feb 2010 12:14:11 +0100
I am using the Intel compiler on Mac OS X and cgal 3.5.0 compiled with g++
4.4 and the macports makefile. Since icc does not have the -frounding-math
option, the linked program returns an error (the internal rounding-math test
fails).
I found out that the internal test can be disabled simply changing lines
76-77 in the Interval_nt.h header file to
#if !defined(CGAL_DISABLE_ROUNDING_MATH_CHECK) && defined(__INTEL_COMPILER)
In the original file the internal test is disabled only on linux systems,
while in this way it is always disabled for the Intel compiler. With this fix
my program runs, however I wonder whether this is correct, and if it is,
shouldn't it be included in future versions of CGAL?
Edoardo Milotti
- [cgal-discuss] -frounding-math compiler option, Edoardo Milotti, 02/17/2010
- Re: [cgal-discuss] -frounding-math compiler option, Jens Seidel, 02/17/2010
- Re: [cgal-discuss] -frounding-math compiler option, Laurent Rineau (GeometryFactory), 02/18/2010
- Re: [cgal-discuss] -frounding-math compiler option, Jens Seidel, 02/17/2010
Archive powered by MHonArc 2.6.16.