<div dir="ltr">-1 (non-PSC). Please do not drop the C++ the C++ API. Some folks (e.g. me at Google) statically link GEOS and ABI compatibility is not an issue. Every build is a complete system. Working with C APIs is far harder. We end up having to wrap a C++ API back over C APIs. But do note that I don't use any of the provided build systems. It's unclear what you mean in RFC6 by not providing the C++ headers. I presume that you mean in the install destination or do you just mean that packagers can drop the C++ header?<div><br></div><div>It's perfectly reasonable for packages to only depend on the C API and I think that does make sense for PostGIS.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Oct 1, 2017 at 7:49 PM, Regina Obe <span dir="ltr"><<a href="mailto:lr@pcorp.us" target="_blank">lr@pcorp.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Okay I have created an RFC6 to officially drop GEOS C++ starting at GEOS 3.8 (so as soon as we release GEOS 3.7 (which should be next month), and flip the switch, we drop the C++ headers as well so developers won't be tempted to use them.<br>
<br>
<a href="https://trac.osgeo.org/geos/wiki/RFC6" rel="noreferrer" target="_blank">https://trac.osgeo.org/geos/<wbr>wiki/RFC6</a><br>
<br>
<br>
As Bas said already it causes packagers headaches. It causes PostGIS headaches because users can't easily migrate to newer versions of GEOS because the packages they rely on e.g osm2pgsql (which is going away because we broke ABI with C++ aPI between 3.5 and 3.6).<br>
<br>
If we can't support something, let's not provide it period. It's disservice to everybody.<br>
<br>
I know Sandro you think making it noisy would solve the issue. Trust me it won't. There is so much noise with all dependencies people compile with that most developers are trained to ignore them.<br>
The proof to them is it compiles and passes their tests. Unless of course you plan to introduce noise in production build, which makes GEOS useless anyway.<br>
<br>
<br>
It is my understanding that only osm2pgsql (which is dropping GEOS anyway) and osmium which has already dropped GEOS, were the only big projects using the C++ API. Lets not leave it in as that will just leave the whole open for newer projects to start using it.<br>
<br>
<br>
As GEOS PSC member I vote +1 for dropping GEOS C++ API.<br>
<br>
<br>
Thanks,<br>
Regina<br>
<br>
<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
geos-devel mailing list<br>
<a href="mailto:geos-devel@lists.osgeo.org">geos-devel@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geos-devel" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/geos-devel</a></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">--<div><a href="http://schwehr.org" target="_blank">http://schwehr.org</a></div></div>
</div>