Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] KD tree "bug"?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] KD tree "bug"?


Chronological Thread 
  • From: "Yajun Wang" <>
  • To:
  • Subject: Re: [cgal-discuss] KD tree "bug"?
  • Date: Mon, 30 Apr 2007 22:10:13 +0800

Hi thetis:

I am working on Linux platform with gcc 3.4.6. I just think cgal
should add some assertion in the KD-tree code (actually, there are a
lot of assertion codes in cgal, which helps a lot when my program
fails). However, producing segment faults is not informative in the
debugging, :(

regards,
yalding

On 4/30/07, thetis guan
<>
wrote:
hi Yajun Wang

do you use .Net2005? if you do, please add some assert sentence!

in your solution,


In in "C/C++ | Preprocessor" Add

_CRT_SECURE_NO_DEPRECATE

_SECURE_SCL=0

_HAS_ITERATOR_DEBUGGING=0

to Preprocessor Definitions for both Debug and Release.
cheers,
thetis



On 4/29/07, Yajun Wang
<>
wrote:
>
> Hi cgal developers:
>
> I am using CGAL::Incremental_neighbor_search<Traits,
GeneralDistance,
> Splitter, SpatialTree> to do neighbor search. It turns out that if the
> Tree's size is 0, cgal will produce segment fault (the latest
> version). Is it possible to put an assertion check in the cgal code so
> that it is more visible to the users?
>
> thanks for the effort.
>
> regards,
> yalding
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://lists-sop.inria.fr/wws/info/cgal-discuss
>





Archive powered by MHonArc 2.6.16.

Top of Page