Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] 64bits compatibility on VS2005

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] 64bits compatibility on VS2005


Chronological Thread 
  • From: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] 64bits compatibility on VS2005
  • Date: Fri, 19 Mar 2010 15:57:40 +0100
  • Organization: GeometryFactory

On Thursday 04 March 2010 19:00:50 Denis RENAUD wrote:
> Hi All,
>
> We have ported a piece of software using CGAL on x64 architecture, and
> encountered some compiler warnings.
>
> In Handle.h file some pointers are casted to unsigned long in Id() and
> Identical(). On VS2005 64bits model, the unsigned long size is 4 bytes and
> of course pointer size is 8 bytes.
>
> Do we have to worrie about this or not (I mean may be those function are
> not used ATM)?
>
> Can someone elaborate on that please?

Hi Denis!

I have found out that issue too, several months ago. It seems those functions
are not used, at least in the EPIC kernel. Anyway, I have already commited a
patch (use std::ptrdiff_t instead of long) for that in CGAL repository, and
that should be fixed in CGAL-3.6-beta1 (already published) and CGAL-3.6 (that
will probably be published during the week-end or on Monday).

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/



Archive powered by MHonArc 2.6.16.

Top of Page