[geos-devel] [GEOS] #549: Solaris 9 - fully qualified binaryop()
calls needed
GEOS
geos-trac at osgeo.org
Wed May 16 15:31:42 PDT 2012
#549: Solaris 9 - fully qualified binaryop() calls needed
------------------------+---------------------------------------------------
Reporter: tmitchell | Owner: geos-devel@…
Type: defect | Status: new
Priority: major | Milestone: 3.3.4
Component: Default | Version: 3.3.3
Severity: Unassigned | Keywords:
------------------------+---------------------------------------------------
When building (3.3.2) on Solaris 9, we were getting...
{{{
CC: Warning: Option -pedantic passed to ld, if ld is invoked, ignored
otherwise
"../include/geos/index/strtree/AbstractSTRtree.h", line 198: Warning:
nodes hides geos::index::strtree::AbstractSTRtree::nodes.
"../include/geos/algorithm/distance/DiscreteHausdorffDistance.h", line
227: Warning: g0 hides
geos::algorithm::distance::DiscreteHausdorffDistance::g0.
"../include/geos/algorithm/distance/DiscreteHausdorffDistance.h", line
227: Warning: g1 hides
geos::algorithm::distance::DiscreteHausdorffDistance::g1.
"geos_ts_c.cpp", line 1608: Error: BinaryOp is not defined.
"geos_ts_c.cpp", line 1609: Error: extern "C"
std::auto_ptr<geos::geom::Geometry>(*)() is not a structure type.
"geos_ts_c.cpp", line 1853: Error: BinaryOp is not defined.
"geos_ts_c.cpp", line 1854: Error: extern "C"
std::auto_ptr<geos::geom::Geometry>(*)() is not a structure type.
4 Error(s) and 3 Warning(s) detected.
*** Error code 1
make: Fatal error: Command failed for target `libgeos_c_la-geos_ts_c.lo'
}}}
We made a tweak to {{{capi/geos_ts_c.cpp}}}, making fully qualified
{{{BinaryOp()}}} calls with {{{geos::geom::BinaryOp()}}}.
This resolved compilation errors on Solaris 9. Hope that helps future
releases.
--
Ticket URL: <http://trac.osgeo.org/geos/ticket/549>
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