[geos-devel] Switching to C++14
Kurt Schwehr
schwehr at gmail.com
Wed Jan 18 09:02:01 PST 2023
All,
Related... especially since the GDAL RFC is based on GEOS RFC 5
https://trac.osgeo.org/geos/wiki/RFC5
https://gdal.org/development/rfc/rfc68_cplusplus11.html
And where does PROJ say the C/C++ requirements?
Even,
What is the current version of C++ required for PROJ and GDAL? If it's
newer, should we add an update to GDAL RFC 68?
And C version? Is it C99?
-kurt
On Wed, Jan 18, 2023 at 5:38 AM Daniel Baston <dbaston at gmail.com> wrote:
> What is the current lowest version? C++11 requires gcc 4.9, strictly,
>> but 4.8 is often enough. Is this "4.9 worked before and will still
>> work", or something else.
>>
>
> The lowest gcc version we test is 5. We know that GEOS does not build with
> gcc 4.8
> because we sometimes return std::unique_ptr<Derived> from functions with
> return
> type std::unique_ptr<Base>. I have not tried building this pull request
> with gcc 4.9
> (it does not appear to be available on the GitHub runner), but C++14 auto
> lambdas
> are claimed to be supported beginning in 4.9.
>
> Dan
> _______________________________________________
> geos-devel mailing list
> geos-devel at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geos-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geos-devel/attachments/20230118/c8be5c8e/attachment-0001.htm>
More information about the geos-devel
mailing list