[Gambas-bugtracker] Bug #2228: Build failure with poppler 21.06.0

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Wed Jun 2 19:03:13 CEST 2021


Evangelos FOUTRAS reported a new bug.


Build failure with poppler 21.06.0

Type             : Bug
Priority         : Low
Gambas version   : 3.15
Product          : Pdf component


OutlineItem::close was removed in https://gitlab.freedesktop.org/poppler/poppler/-/commit/8f9115bf4475

The above causes Gambas' build to fail with:

  CPdfDocument.cpp:770:23: error: ‘class OutlineItem’ has no member named ‘close’
    770 |                 item->close();

The attached patch allows the build to succeed but it needs to be reviewed for correctness.

System information

Arch Linux x86_64 with poppler 21.06.0 -- Gambas is currently at version 3.15.2

More information about the Bugtracker mailing list