[gdal-dev] Suggestion for GDAL 4.0

Javier Jimenez Shaw j1 at jimenezshaw.com
Fri Oct 24 05:10:44 PDT 2025


Hi

One breaking change for GDAL 4.0 could be to add "gdal" to the path of the
includes for external applications or libraries.

An external application should do :
#include <gdal/cpl_string.h>
instead of
#include <cpl_string.h>

in a similar way as many other libraries, like Eigen
#include <Eigen/Core>

It is really a big change for other libraries and applications, I know. But
I find useful and nice to know where are "those includes coming from" in my
application.

Cheers
Javier.

PS the same would be nice in other libraries, like libgeotiff. But I do not
expect a mayor release there.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20251024/30131812/attachment.htm>


More information about the gdal-dev mailing list