[geos-devel] [GEOS] #227: Deleting 'void*' is undefined in
IntervalRTreeLeafNode class.
GEOS
geos-trac at osgeo.org
Fri Jan 30 05:29:53 EST 2009
#227: Deleting 'void*' is undefined in IntervalRTreeLeafNode class.
-------------------------+--------------------------------------------------
Reporter: mloskot | Owner: geos-devel at lists.osgeo.org
Type: defect | Status: new
Priority: major | Milestone:
Component: Core | Version: svn-trunk
Severity: Significant | Keywords: void
-------------------------+--------------------------------------------------
According to section 5.3.5/3 of C++ Standard, there is undefined behavior
in
[source:trunk/source/headers/geos/index/intervalrtree/IntervalRTreeLeafNode.h at 2263#L50
IntervalRTreeLeafNode destructor] (line 50) because
[source:trunk/source/headers/geos/index/intervalrtree/IntervalRTreeLeafNode.h at 2263#L39
item] (line 39) is a pointer of type void.
--
Ticket URL: <http://trac.osgeo.org/geos/ticket/227>
GEOS <http://geos.refractions.net/>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
More information about the geos-devel
mailing list