Unable to build with poppler 0.71.0
Andrey Cherepanov
cas at altlinux.org
Mon Nov 19 13:07:09 UTC 2018
If build with poppler 0.71.0 I get errors for missing type GBool:
In file included from
/usr/src/RPM/BUILD/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx:20:0:
/usr/src/RPM/BUILD/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:153:17:
error: 'GBool' does not name a type; did you mean 'bool'
virtual GBool upsideDown() override { return gTrue; }
^~~~~
bool
/usr/src/RPM/BUILD/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:156:17:
error: 'GBool' does not name a type; did you mean 'bool'
virtual GBool useDrawChar() override { return gTrue; }
^~~~~
bool
...
There is commit
https://gitlab.freedesktop.org/poppler/poppler/commit/163420b48bdddf9084208b3cadf04dafad52d40a
Replace GBool, gTrue, and gFalse by bool, true, false, resp.
So type GBool (and so on) is no longer exist and it should be replaced
by bool in sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx
--
Andrey Cherepanov
cas at altlinux.org
More information about the LibreOffice
mailing list