[gdal-dev] Resizing CPLErrorContext?

Even Rouault even.rouault at spatialys.com
Tue May 16 07:35:19 PDT 2017


On mardi 16 mai 2017 07:01:53 CEST Kurt Schwehr wrote:
> w.r.t. https://trac.osgeo.org/gdal/changeset/38405
> 
> Exactly why is it okay to resize this fixed size structure?

Well, this is a good old trick of grey-beard C programmers, isn't it ? Not sure 
what the C/C++ standards says about that, but it works pretty well in 
practice.

Some explanations at:
http://stackoverflow.com/a/3123792

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20170516/c0971268/attachment-0001.html>


More information about the gdal-dev mailing list