Subject: CGAL users discussion list
List archive
- From: "Laurent Rineau (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Dealing with Point_set_2
- Date: Fri, 6 Mar 2009 18:27:46 +0100
- Organization: GeometryFactory
On Friday 06 March 2009 17:13:45 Christoph Weber wrote:
> Hello,
>
> I tried to compile the examle file
>
> /examples/Point_set_2/range_search.cpp
>
> and I got the following error:
>
>
> In file included from range_search.cpp:2:
> ../../include/CGAL/Point_set_2.h: In member function ‘void
> CGAL::Point_set_2<Gt, Tds>::init_dfs()’:
> ../../include/CGAL/Point_set_2.h:307: error: ‘INT_MAX’ was not declared
> in this scope
>
>
> Maybe, INT_MAX is declared somewhere else? The header, I've included
> are:
That is a platform-dependent problem. Please give us the information we need,
as explained here:
http://www.cgal.org/bug_report.html
That is a bug of your compiler. The C++ Standard (v2) says that both
<climits>
and <limits.h> must define the "constant" INT_MAX (I am not sure that the
standard says it is a macro).
--
Laurent Rineau, PhD
Engineer at GeometryFactory
http://www.geometryfactory.com/
- [cgal-discuss] Dealing with Point_set_2, Christoph Weber, 03/06/2009
- Re: [cgal-discuss] Dealing with Point_set_2, zengming, 03/06/2009
- Re: [cgal-discuss] Dealing with Point_set_2, Christoph Weber, 03/06/2009
- Re: [cgal-discuss] Dealing with Point_set_2, Laurent Rineau (GeometryFactory), 03/06/2009
- Re: [cgal-discuss] Dealing with Point_set_2, zengming, 03/06/2009
Archive powered by MHonArc 2.6.16.