[geos-devel] Switching to C++14

Daniel Baston dbaston at gmail.com
Wed Jan 18 05:37:51 PST 2023


>
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geos-devel/attachments/20230118/fbf9b3fe/attachment.htm>


More information about the geos-devel mailing list