Added in https://github.com/OSGeo/gdal/issues/8440

Le 24/10/2025 à 14:10, Javier Jimenez Shaw via gdal-dev a écrit :
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.

_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

--
http://www.spatialys.com
My software is free, but my time generally not.

_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to