Opened 12 years ago
Closed 12 years ago
#549 closed defect (fixed)
Solaris 9 - fully qualified binaryop() calls needed
Reported by: | tmitchell | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 3.3.4 |
Component: | Default | Version: | 3.3.3 |
Severity: | Unassigned | Keywords: | |
Cc: |
Description
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.
Note:
See TracTickets
for help on using tickets.
As of r3620 there's no more BinaryOp use in the C-API implementation.