Subject: CGAL users discussion list
List archive
- From: Jörn Ungermann <>
- To:
- Subject: [cgal-discuss] Warnings when compiling Delauney Triangulations
- Date: Thu, 13 Nov 2008 13:14:45 +0100
Hi all,
I am using CGAL for nearest neighbor interpolation in two and three
dimensions. The manual got me started well enough to implement both.
When compiling the code with gcc 4.2.1 *with* optimizations, I get
warnings with respect to some array subscripts being out of bounds.
2D and 3D Delauney triangulations set off different errors.
I attached example source files that I stripped down as much as I could
to generate the warnings. For each file, a log is contained that gives
the compilation command and the resulting output.
For 3D triangulation, simply inserting points seems to suffice, while
for 2D, the nearest neighbor calculation triggers it.
As we have a policy of treating warnings as errors this may prevent me
from using your nice library.
If somebody could assert that these warnings are (known) artifices of
gcc or even better how to get rid of them (without setting compiler
flags) I would be delighted.
I can easily supply further information about my system, if it would
help or do test compilations. As I am unfamiliar with the CGAL and I
have no clue what even triggers some of the warnings finding the cause
of this is a bit over my head.
Second, I'd like to do natural neighbor interpolations on the surface of
a sphere (i.e. earth surface being approximated as either sphere or
ellipsoid). Is something like this already contained within CGAL or easy
to add?
Thanks and kind regards,
Jörn
--
Jörn Ungermann
Dipl.-Mathematiker
ICG-1, Forschungszentrum Jülich
Tel.: +49 2461 61 1840
-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Jülich GmbH
52425 Jülich
Sitz der Gesellschaft: Jülich
Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Bärbel Brumme-Bothe
Geschäftsführung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr. Harald Bolt,
Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------
Attachment:
exa.tgz
Description: application/compressed-tar
- [cgal-discuss] Warnings when compiling Delauney Triangulations, Jörn Ungermann, 11/13/2008
- Re: [cgal-discuss] Warnings when compiling Delauney Triangulations, Sylvain Pion, 11/13/2008
- Re: [cgal-discuss] Warnings when compiling Delauney Triangulations, Jörn Ungermann, 11/13/2008
- Re: [cgal-discuss] Warnings when compiling Delauney Triangulations, Sylvain Pion, 11/13/2008
Archive powered by MHonArc 2.6.16.