[geos-devel] [GEOS] #645: Linux compile errors with GEOS 3.4.0 release (was: Linux 32-bit compile errors with GEOS 3.4.0 release)
GEOS
geos-trac at osgeo.org
Sat Aug 10 23:03:31 PDT 2013
#645: Linux compile errors with GEOS 3.4.0 release
------------------------+---------------------------------------------------
Reporter: mwtoews | Owner: geos-devel@…
Type: defect | Status: new
Priority: major | Milestone:
Component: Default | Version: 3.4.0
Severity: Unassigned | Keywords:
------------------------+---------------------------------------------------
Comment(by mwtoews):
Ok, not a 32-bit issue. Similar errors with Debian sid 64-bit with g++
4.8.1
{{{
In file included from ../../../include/geos/geom/Geometry.h:25:0,
from IndexedPointInAreaLocator.cpp:17:
../../../include/geos/platform.h:71:5: warning: #warning is a GCC
extension [enabled by default]
# warning "Could not find 64bit integer definition!"
^
../../../include/geos/platform.h:71:5: warning: #warning "Could not find
64bit integer definition!" [-Wcpp]
../../../include/geos/platform.h:110:2: error: #error "Can not compile
without isnan function or macro"
#error "Can not compile without isnan function or macro"
^
In file included from ../../../include/geos/geom/Coordinate.h:158:0,
from ../../../include/geos/geom/Envelope.h:25,
from ../../../include/geos/geom/Geometry.h:27,
from IndexedPointInAreaLocator.cpp:17:
../../../include/geos/geom/Coordinate.inl: In member function 'bool
geos::geom::Coordinate::isNull() const':
../../../include/geos/geom/Coordinate.inl:38:17: error: 'ISNAN' was not
declared in this scope
return (ISNAN(x) && ISNAN(y) && ISNAN(z));
^
../../../include/geos/geom/Coordinate.inl: In member function 'bool
geos::geom::Coordinate::equals3D(const geos::geom::Coordinate&) const':
../../../include/geos/geom/Coordinate.inl:77:28: error: 'ISNAN' was not
declared in this scope
((z == other.z)||(ISNAN(z) && ISNAN(other.z)));
^
make[5]: *** [IndexedPointInAreaLocator.lo] Error 1
make[5]: Leaving directory
`/home/mwtoews/src/geos-3.4.0/src/algorithm/locate'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/home/mwtoews/src/geos-3.4.0/src/algorithm/locate'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/mwtoews/src/geos-3.4.0/src/algorithm'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/mwtoews/src/geos-3.4.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mwtoews/src/geos-3.4.0'
make: *** [all] Error 2
}}}
--
Ticket URL: <http://trac.osgeo.org/geos/ticket/645#comment:1>
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