[geos-devel] Crunch
Norman Vine
nhv at cape.com
Mon Feb 17 14:13:45 EST 2003
Paul Ramsey
>
> Compile under GNU craps out early in GeometryFactory::buildGeometry
>
> GeometryFactory.cpp:102: name lookup of `i' changed for new ISO `for'
> scoping
> GeometryFactory.cpp:86: using obsolete binding at `i'
> make[2]: *** [GeometryFactory.lo] Error 1
Need to move 'i' out of the loop
Geometry* GeometryFactory::buildGeometry(vector<Geometry *> *geoms) {
string geomClass("NULL");
bool isHeterogeneous=false;
bool isCollection=geoms->size()>1;
unsigned int i;
for (i=0; i<geoms->size(); i++) {
........
Norman
More information about the geos-devel
mailing list