Date: prev next · Thread: first prev next last
2018 Archives by date, by thread · List index


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@altlinux.org


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.