[gdal-dev] [PROJ] RFC 102: Embedding resource files into libgdal (and PROJ)

Even Rouault even.rouault at spatialys.com
Tue Oct 1 10:28:28 PDT 2024


Greg,
> What's unclear is to what extent things continue to be ok on compilers
> not supporting C23, and if they are, if those systems start to be second
> class.    My overall feeling is that it is vastly too early to be
> depending on C23.

The RFC is clear enough this is an optional feature ("C23 is not 
required if EMBED_RESOURCE_FILES is not enabled"). If you need it, you 
will need a C23 compiler, which there is already one available (clang 
19), and another one in a near future (gcc 15).

C23 is only used to build the .c files where resources are embedded.

If you don't need that new feature, you can use the current minimum 
build requirements of GDAL/PROJ.

For once that GDAL/PROJ can use shiny new stuff, let's enjoy :-)

>
> But maybe c23 is c2x, and it's been supported in gcc for 6 years.

No way a gcc from 6 years ago can support #embed: support has literally 
landed in GCC master 2 weeks ago.

-- 
http://www.spatialys.com
My software is free, but my time generally not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20241001/c9663675/attachment-0001.htm>


More information about the gdal-dev mailing list