[geos-devel] status of C++ API - is it a bug to use it or not?

Mateusz Loskot mateusz at loskot.net
Sun Jan 22 11:47:40 PST 2017

On 22 January 2017 at 20:32, Greg Troxel <gdt at lexort.com> wrote:
> At:
>   https://trac.osgeo.org/geos
> it says
>   C and C++ API (C API gives long term ABI stability)
> and that gives a different impression.  It seems like the C++ API should
> be marked as "internal only,

GEOS C++ API is not an internal API.
GEOS C++ API is a public yet supported API offered by GEOS.
GEOS just does not promise to keep the API/ABI stable
and compatible across releases.

> and it's a bug for other packages to use it".

No, it's not a bug.
It's a freedom of choice GEOS users have.

If one decides to use GEOS, she/he has to decide which GEOS API to use
and the frontpage you link above clearly states which one is stable.

Best regards,
Mateusz Loskot, http://mateusz.loskot.net

More information about the geos-devel mailing list