[geos-devel] Switching to C++14

Regina Obe lr at pcorp.us
Wed Jan 18 14:15:25 PST 2023


Just a side note to think about since we are discussing this.

The only issue I see possibly is with the Redhat/CentOS systems.

 

I know that yum.postgresql.org tries to offer the latest GEOS even on ancient systems such as CentOS 7 which sadly many of my clients are still on.  I think though it uses the GCC shipping with these.

 

Looking at one of these boxes, I see gcc 4.8.5 (and it’s running GEOS 3.10, PostGIS 3.1) – just cause I haven’t upgraded it.  I suspect I could upgrade this to PG 15 and would get GEOS 3.11/ PostGIS 3.3.1.  So I think that would mean some of these systems won’t be able to run say a GEOS 3.12.

Though I’m not saying that’s a reason to not push C++ 14.  Just throwing it out there as an observation point.  CentOS 7 is on its last legs anyway.

 

I haven’t checked what RHEL / Rocky Linux 8/9 ship with, I suspect it’s a C++ 14 GCC so not a huge concern if that is the case.

 

Thanks,

Regina

 

 

 

From: geos-devel [mailto:geos-devel-bounces at lists.osgeo.org] On Behalf Of Daniel Baston
Sent: Wednesday, January 18, 2023 1:25 PM
To: Greg Troxel <gdt at lexort.com>
Cc: GEOS Development List <geos-devel at lists.osgeo.org>
Subject: Re: [geos-devel] Switching to C++14

 

For what it's worth, I can confirm that my pull request builds in C++14 mode with gcc 4.9.4.

 

Dan

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geos-devel/attachments/20230118/99514410/attachment-0001.htm>


More information about the geos-devel mailing list