Reinaldo Escada Chohfi wrote: > Hello, > > The code compiles because it is part of a bigger program. This is > just the portion on Coordinate Transformation.
It doesn't matter actually how big is the program. Howard is referring to this particular assignment: OGRSpatialReference oSourceSRS, oTargetSRS; oSourceSRS="EPSG:4326"; oTargetSRS="EPSG:4989"; It is invalid C++ code and it would be surprising if this code even compiles, no matter what compiler you use. Best regards, -- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev