[gdal-dev] GDAL 2.2.0beta1 and old poppler libraries
Even Rouault
even.rouault at spatialys.com
Sun Apr 16 13:07:21 PDT 2017
On dimanche 16 avril 2017 22:03:11 CEST Mateusz Ĺoskot wrote:
> GCC 4.9 should be fine
>
> See C++11/14 status I collected for GEOS
Mateusz, the issue is not so much the compiler version, but the poppler version (or more
exactly the combination of them). New virtual methods have been added in successive
poppler versions, and the override qualifier probably only applies to the latest versions.
Some virtual methods might not exist in earlier version, which compiled fine before we
added the override qualifier.
Even
>
> https://trac.osgeo.org/geos/wiki/RFC5
> Mateusz
>
> On 16 Apr 2017, 21:55, at 21:55, Even Rouault <even.rouault at spatialys.com> wrote:
> >On dimanche 16 avril 2017 20:31:09 CEST Andrew C Aitchison wrote:
> >> GDAL 2.2.0 beta1
> >> Scientific Linux 6 (= CentOS6 = Red Hat EL 6).
> >> g++ 4.9.2 and g++ 5.3.1
> >>
> >> gdal-2.2.0/frmts/pdf/pdfdataset.cpp does not compile on my
> >> Scientific Linux 6 (= CentOS6 = Red Hat EL 6) machine.
> >>
> >> pdfio.h lines 87-90:
> >> private:
> >> /* Added in poppler 0.15.0 */
> >> virtual GBool hasGetChars() override;
> >> virtual int getChars(int nChars, Guchar *buffer) override;
> >
> >You can just remove the override qualifier in the above methods.
> >Supporting properly this old
> >version could be done but would be quite tedious. An alternative would
> >be that you disable C
> >++11 compilation mode with ./configure --without-cpp11 (you will loose
> >the CAD driver then)
--
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20170416/70c75ce0/attachment.html>
More information about the gdal-dev
mailing list