Subject: CGAL users discussion list
List archive
- From: "Laurent Rineau (CGAL/GeometryFactory)" <>
- To:
- Subject: Re: Re: [cgal-discuss] CGAL 4.1 compile errors with Intel C++ compiler
- Date: Wed, 21 Nov 2012 09:06:41 +0100
- Organization: GeometryFactory
Le mardi 20 novembre 2012 22:35:41 Garth N. Wells a écrit :
> On Tue, Nov 20, 2012 at 9:41 PM, Laurent Rineau (CGAL/GeometryFactory)
>
> <>
> wrote:
> > Le mardi 20 novembre 2012 21:13:01 Garth N. Wells a écrit :
> >> I've been using CGAL 4.1 for a while with gcc 4.7 without problems.
> >> I've just upgraded to CGAL 4.1 (from 4.0.2) on a machine that has
> >>
> >> Intel compilers installed. icpc -v gives:
> >> icpc version 12.1.4 (gcc version 4.4.6 compatibility))
> >>
> >> I now get a load of compiler errors from the file
> >> CGAL/internal/Intersections_3/Bbox_3_Triangle_3_do_intersect.h:
> >>
> >>
> >> CGAL/internal/Intersections_3/Bbox_3_Triangle_3_do_intersect.h(206):
> >> error:
> >> destructible entities are not allowed inside of a statement expression
> >>
> >> return CGAL_OR(
> >> (do_axis_intersect_aux<K,AXE,SIDE>(p_min.y()-j->y(),
> >>
> >> p_min.z()-j->z(), sides) <= 0),
> >>
> >>
> >> Any suggestions on how to work around this?
> >
> > Which compiler flags have you used?
>
> -fp-model strict -openmp -O3 -xHost
There are other flags, such as several -I.
My guess is that you are using the Intel compiler with the the
<CGAL/compiler_config.h> that was generated during the compilation of CGAL
libraries with g++. Please rebuild your CGAL libraries with that the Intel
Compiler. icpc version 12.1 should be supported. It is in the set of tested
compilers in the CGAL daily tests suite.
--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/
- [cgal-discuss] CGAL 4.1 compile errors with Intel C++ compiler, Garth N. Wells, 11/20/2012
- Re: [cgal-discuss] CGAL 4.1 compile errors with Intel C++ compiler, Laurent Rineau (CGAL/GeometryFactory), 11/20/2012
- Re: [cgal-discuss] CGAL 4.1 compile errors with Intel C++ compiler, Garth N. Wells, 11/20/2012
- Re: Re: [cgal-discuss] CGAL 4.1 compile errors with Intel C++ compiler, Laurent Rineau (CGAL/GeometryFactory), 11/21/2012
- Re: [cgal-discuss] CGAL 4.1 compile errors with Intel C++ compiler, Garth N. Wells, 11/20/2012
- Re: [cgal-discuss] CGAL 4.1 compile errors with Intel C++ compiler, Laurent Rineau (CGAL/GeometryFactory), 11/20/2012
Archive powered by MHonArc 2.6.18.