Hello, poppler-0.73.0/NEWS contains: Release 0.71.0: core: * Replace GBool, gTrue, and gFalse by bool, true, false, resp. Compiling LO 6.0.7.3 with system-wide poppler 0.73.0 fails with the erroro below and one of the reason is the assumption in LO, that GBool is defined. poppler-0.73.0/poppler/OutputDev.h declares: virtual void setDefaultCTM(const double *ctm); ⇐ with const, while sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hpp contains: virtual void setDefaultCTM(double *ctm) override; ⇐ without const without const… Regards Дилян ------ [build CXX] sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx [build CXX] sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx [build CXX] sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx In file included from /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx:20: /src/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 /src/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 /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:160:17: error: ‘GBool’ does not name a type; did you mean ‘bool’? virtual GBool interpretType3Chars() override { return gFalse; } ^~~~~ bool /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:163:17: error: ‘GBool’ does not name a type; did you mean ‘bool’? virtual GBool needNonText() override { return gTrue; } ^~~~~ bool /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:235:59: error: ‘GBool’ has not been declared int width, int height, GBool invert, ^~~~~ In file included from /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.hxx:24, from /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:20: /src/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 /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:237:36: error: ‘GBool’ has not been declared GBool interpolate, ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:239:36: error: ‘GBool’ has not been declared GBool inlineImg) override; ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:243:32: error: ‘GBool’ has not been declared GBool interpolate, ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:245:49: error: ‘GBool’ has not been declared int *maskColors, GBool inlineImg) override; ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:250:38: error: ‘GBool’ has not been declared GBool interpolate, ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:253:38: error: ‘GBool’ has not been declared GBool maskInvert ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:255:40: error: ‘GBool’ has not been declared , GBool maskInterpolate ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:262:42: error: ‘GBool’ has not been declared GBool interpolate, ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:268:44: error: ‘GBool’ has not been declared , GBool maskInterpolate ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:168:22: error: ‘virtual void pdfi::PDFOutDev::setDefaultCTM(double*)’ marked ‘override’, but does not override virtual void setDefaultCTM(double *ctm) override; ^~~~~~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:234:22: error: ‘virtual void pdfi::PDFOutDev::drawImageMask(GfxState*, Object*, Stream*, int, int, int, int, int)’ marked ‘override’, but does not override virtual void drawImageMask(GfxState *state, Object *ref, Stream *str, ^~~~~~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:240:22: error: ‘virtual void pdfi::PDFOutDev::drawImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, int, int*, int)’ marked ‘override’, but does not override virtual void drawImage(GfxState *state, Object *ref, Stream *str, ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:246:22: error: ‘virtual void pdfi::PDFOutDev::drawMaskedImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, int, Stream*, int, int, int, int)’ marked ‘override’, but does not override virtual void drawMaskedImage(GfxState *state, Object *ref, Stream *str, ^~~~~~~~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:258:22: error: ‘virtual void pdfi::PDFOutDev::drawSoftMaskedImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, int, Stream*, int, int, GfxImageColorMap*, int)’ marked ‘override’, but does not override virtual void drawSoftMaskedImage(GfxState *state, Object *ref, Stream *str, ^~~~~~~~~~~~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:258:22: warning: by ‘virtual void pdfi::PDFOutDev::drawSoftMaskedImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, int, Stream*, int, int, GfxImageColorMap*, int)’ [-Woverloaded-virtual] /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:246:22: warning: by ‘virtual void pdfi::PDFOutDev::drawMaskedImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, int, Stream*, int, int, int, int)’ [-Woverloaded-virtual] virtual void drawMaskedImage(GfxState *state, Object *ref, Stream *str, ^~~~~~~~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:240:22: warning: by ‘virtual void pdfi::PDFOutDev::drawImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, int, int*, int)’ [-Woverloaded- virtual] virtual void drawImage(GfxState *state, Object *ref, Stream *str, ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:234:22: warning: by ‘virtual void pdfi::PDFOutDev::drawImageMask(GfxState*, Object*, Stream*, int, int, int, int, int)’ [-Woverloaded-virtual] virtual void drawImageMask(GfxState *state, Object *ref, Stream *str, ^~~~~~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:168:22: warning: by ‘virtual void pdfi::PDFOutDev::setDefaultCTM(double*)’ [-Woverloaded-virtual] virtual void setDefaultCTM(double *ctm) override; ^~~~~~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:281:9: error: ‘Guchar’ does not name a type; did you mean ‘u_char’? typedef Guchar Output_t; ^~~~~~ u_char /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:282:22: error: ‘Output_t’ was not declared in this scope typedef std::vector< Output_t > OutputBuffer; ^~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:282:22: note: suggested alternative: ‘OutputDev’ typedef std::vector< Output_t > OutputBuffer; ^~~~~~~~ OutputDev /src/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 /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:282:31: error: template argument 1 is invalid typedef std::vector< Output_t > OutputBuffer; ^ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:282:31: error: template argument 2 is invalid /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:160:17: error: ‘GBool’ does not name a type; did you mean ‘bool’? virtual GBool interpretType3Chars() override { return gFalse; } ^~~~~ bool /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx: In function ‘int main(int, char**)’: /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx:72:31: error: ‘gTrue’ was not declared in this scope globalParams->setErrQuiet(gTrue); ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx:72:31: note: suggested alternative: ‘gfree’ globalParams->setErrQuiet(gTrue); ^~~~~ gfree /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:163:17: error: ‘GBool’ does not name a type; did you mean ‘bool’? virtual GBool needNonText() override { return gTrue; } ^~~~~ bool /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx:127:21: error: cannot declare variable ‘aOutDev’ to be of abstract type ‘pdfi::PDFOutDev’ pdfi::PDFOutDev aOutDev(&rDoc); ^~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:235:59: error: ‘GBool’ has not been declared int width, int height, GBool invert, ^~~~~ In file included from /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx:20: /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:132:11: note: because the following virtual functions are pure within ‘pdfi::PDFOutDev’: class PDFOutDev : public OutputDev ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:237:36: error: ‘GBool’ has not been declared GBool interpolate, ^~~~~ In file included from /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:39, from /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx:20: /usr/local/include/poppler/OutputDev.h:89:16: note: ‘virtual bool OutputDev::upsideDown()’ virtual bool upsideDown() = 0; ^~~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:239:36: error: ‘GBool’ has not been declared GBool inlineImg) override; ^~~~~ /usr/local/include/poppler/OutputDev.h:92:16: note: ‘virtual bool OutputDev::useDrawChar()’ virtual bool useDrawChar() = 0; ^~~~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:243:32: error: ‘GBool’ has not been declared GBool interpolate, ^~~~~ In file included from /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:20: /src/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/local/include/poppler/OutputDev.h:112:16: note: ‘virtual bool OutputDev::interpretType3Chars()’ virtual bool interpretType3Chars() = 0; ^~~~~~~~~~~~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:245:49: error: ‘GBool’ has not been declared int *maskColors, GBool inlineImg) override; ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:250:38: error: ‘GBool’ has not been declared GBool interpolate, ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:253:38: error: ‘GBool’ has not been declared GBool maskInvert ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:255:40: error: ‘GBool’ has not been declared , GBool maskInterpolate ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:262:42: error: ‘GBool’ has not been declared GBool interpolate, ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:268:44: error: ‘GBool’ has not been declared , GBool maskInterpolate ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:168:22: error: ‘virtual void pdfi::PDFOutDev::setDefaultCTM(double*)’ marked ‘override’, but does not override virtual void setDefaultCTM(double *ctm) override; ^~~~~~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:234:22: error: ‘virtual void pdfi::PDFOutDev::drawImageMask(GfxState*, Object*, Stream*, int, int, int, int, int)’ marked ‘override’, but does not override virtual void drawImageMask(GfxState *state, Object *ref, Stream *str, ^~~~~~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:240:22: error: ‘virtual void pdfi::PDFOutDev::drawImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, int, int*, int)’ marked ‘override’, but does not override virtual void drawImage(GfxState *state, Object *ref, Stream *str, ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:246:22: error: ‘virtual void pdfi::PDFOutDev::drawMaskedImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, int, Stream*, int, int, int, int)’ marked ‘override’, but does not override virtual void drawMaskedImage(GfxState *state, Object *ref, Stream *str, ^~~~~~~~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:258:22: error: ‘virtual void pdfi::PDFOutDev::drawSoftMaskedImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, int, Stream*, int, int, GfxImageColorMap*, int)’ marked ‘override’, but does not override virtual void drawSoftMaskedImage(GfxState *state, Object *ref, Stream *str, ^~~~~~~~~~~~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:258:22: warning: by ‘virtual void pdfi::PDFOutDev::drawSoftMaskedImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, int, Stream*, int, int, GfxImageColorMap*, int)’ [-Woverloaded-virtual] /src/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 /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:246:22: warning: by ‘virtual void pdfi::PDFOutDev::drawMaskedImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, int, Stream*, int, int, int, int)’ [-Woverloaded-virtual] virtual void drawMaskedImage(GfxState *state, Object *ref, Stream *str, ^~~~~~~~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:240:22: warning: by ‘virtual void pdfi::PDFOutDev::drawImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, int, int*, int)’ [-Woverloaded- virtual] virtual void drawImage(GfxState *state, Object *ref, Stream *str, ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:234:22: warning: by ‘virtual void pdfi::PDFOutDev::drawImageMask(GfxState*, Object*, Stream*, int, int, int, int, int)’ [-Woverloaded-virtual] virtual void drawImageMask(GfxState *state, Object *ref, Stream *str, ^~~~~~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:168:22: warning: by ‘virtual void pdfi::PDFOutDev::setDefaultCTM(double*)’ [-Woverloaded-virtual] virtual void setDefaultCTM(double *ctm) override; ^~~~~~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:281:9: error: ‘Guchar’ does not name a type; did you mean ‘u_char’? typedef Guchar Output_t; ^~~~~~ u_char /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:282:22: error: ‘Output_t’ was not declared in this scope typedef std::vector< Output_t > OutputBuffer; ^~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:282:22: note: suggested alternative: ‘OutputDev’ typedef std::vector< Output_t > OutputBuffer; ^~~~~~~~ OutputDev /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:160:17: error: ‘GBool’ does not name a type; did you mean ‘bool’? virtual GBool interpretType3Chars() override { return gFalse; } ^~~~~ bool /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:163:17: error: ‘GBool’ does not name a type; did you mean ‘bool’? virtual GBool needNonText() override { return gTrue; } ^~~~~ bool /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:282:31: error: template argument 1 is invalid typedef std::vector< Output_t > OutputBuffer; ^ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:282:31: error: template argument 2 is invalid /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:235:59: error: ‘GBool’ has not been declared int width, int height, GBool invert, ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:237:36: error: ‘GBool’ has not been declared GBool interpolate, ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:239:36: error: ‘GBool’ has not been declared GBool inlineImg) override; ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:243:32: error: ‘GBool’ has not been declared GBool interpolate, ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:245:49: error: ‘GBool’ has not been declared int *maskColors, GBool inlineImg) override; ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:250:38: error: ‘GBool’ has not been declared GBool interpolate, ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:253:38: error: ‘GBool’ has not been declared GBool maskInvert ^~~~~ In file included from /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:20: /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.hxx:56:48: error: ‘Output_t’ does not name a type; did you mean ‘OutputDev’? static sal_uInt32 deflateBuffer( const Output_t* i_pBuf, size_t i_nLen, OutputBuffer& o_rOut ); ^~~~~~~~ OutputDev /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:255:40: error: ‘GBool’ has not been declared , GBool maskInterpolate ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:262:42: error: ‘GBool’ has not been declared GBool interpolate, ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:268:44: error: ‘GBool’ has not been declared , GBool maskInterpolate ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:168:22: error: ‘virtual void pdfi::PDFOutDev::setDefaultCTM(double*)’ marked ‘override’, but does not override virtual void setDefaultCTM(double *ctm) override; ^~~~~~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:234:22: error: ‘virtual void pdfi::PDFOutDev::drawImageMask(GfxState*, Object*, Stream*, int, int, int, int, int)’ marked ‘override’, but does not override virtual void drawImageMask(GfxState *state, Object *ref, Stream *str, ^~~~~~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:240:22: error: ‘virtual void pdfi::PDFOutDev::drawImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, int, int*, int)’ marked ‘override’, but does not override virtual void drawImage(GfxState *state, Object *ref, Stream *str, ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:246:22: error: ‘virtual void pdfi::PDFOutDev::drawMaskedImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, int, Stream*, int, int, int, int)’ marked ‘override’, but does not override virtual void drawMaskedImage(GfxState *state, Object *ref, Stream *str, ^~~~~~~~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:258:22: error: ‘virtual void pdfi::PDFOutDev::drawSoftMaskedImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, int, Stream*, int, int, GfxImageColorMap*, int)’ marked ‘override’, but does not override virtual void drawSoftMaskedImage(GfxState *state, Object *ref, Stream *str, ^~~~~~~~~~~~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:258:22: warning: by ‘virtual void pdfi::PDFOutDev::drawSoftMaskedImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, int, Stream*, int, int, GfxImageColorMap*, int)’ [-Woverloaded-virtual] /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.hxx: In static member function ‘static void pdfi::PngHelper::append(sal_uInt32, OutputBuffer&)’: /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.hxx:42:40: error: request for member ‘size’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} size_t nCur = o_rOutputBuf.size(); ^~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.hxx:43:26: error: request for member ‘insert’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.insert( o_rOutputBuf.end(), 4, (Output_t)0 ); ^~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.hxx:43:47: error: request for member ‘end’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.insert( o_rOutputBuf.end(), 4, (Output_t)0 ); ^~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.hxx:43:58: error: ‘Output_t’ was not declared in this scope o_rOutputBuf.insert( o_rOutputBuf.end(), 4, (Output_t)0 ); ^~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.hxx:43:58: note: suggested alternative: ‘OutputDev’ o_rOutputBuf.insert( o_rOutputBuf.end(), 4, (Output_t)0 ); ^~~~~~~~ OutputDev /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:246:22: warning: by ‘virtual void pdfi::PDFOutDev::drawMaskedImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, int, Stream*, int, int, int, int)’ [-Woverloaded-virtual] virtual void drawMaskedImage(GfxState *state, Object *ref, Stream *str, ^~~~~~~~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:240:22: warning: by ‘virtual void pdfi::PDFOutDev::drawImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, int, int*, int)’ [-Woverloaded- virtual] virtual void drawImage(GfxState *state, Object *ref, Stream *str, ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:234:22: warning: by ‘virtual void pdfi::PDFOutDev::drawImageMask(GfxState*, Object*, Stream*, int, int, int, int, int)’ [-Woverloaded-virtual] virtual void drawImageMask(GfxState *state, Object *ref, Stream *str, ^~~~~~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:168:22: warning: by ‘virtual void pdfi::PDFOutDev::setDefaultCTM(double*)’ [-Woverloaded-virtual] virtual void setDefaultCTM(double *ctm) override; ^~~~~~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:281:9: error: ‘Guchar’ does not name a type; did you mean ‘u_char’? typedef Guchar Output_t; ^~~~~~ u_char /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:282:22: error: ‘Output_t’ was not declared in this scope typedef std::vector< Output_t > OutputBuffer; ^~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:282:22: note: suggested alternative: ‘OutputDev’ typedef std::vector< Output_t > OutputBuffer; ^~~~~~~~ OutputDev /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:282:31: error: template argument 1 is invalid typedef std::vector< Output_t > OutputBuffer; ^ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:282:31: error: template argument 2 is invalid In file included from /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:21: /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.hxx:56:48: error: ‘Output_t’ does not name a type; did you mean ‘OutputDev’? static sal_uInt32 deflateBuffer( const Output_t* i_pBuf, size_t i_nLen, OutputBuffer& o_rOut ); ^~~~~~~~ OutputDev /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx: At global scope: /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:76:44: error: ‘Output_t’ does not name a type; did you mean ‘OutputDev’? sal_uInt32 PngHelper::deflateBuffer( const Output_t* i_pBuf, size_t i_nLen, OutputBuffer& o_rOut ) ^~~~~~~~ OutputDev /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.hxx: In static member function ‘static void pdfi::PngHelper::append(sal_uInt32, OutputBuffer&)’: /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.hxx:42:40: error: request for member ‘size’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} size_t nCur = o_rOutputBuf.size(); ^~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.hxx:43:26: error: request for member ‘insert’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.insert( o_rOutputBuf.end(), 4, (Output_t)0 ); ^~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.hxx:43:47: error: request for member ‘end’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.insert( o_rOutputBuf.end(), 4, (Output_t)0 ); ^~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx: In static member function ‘static sal_uInt32 pdfi::PngHelper::deflateBuffer(const int*, size_t, OutputBuffer&)’: /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:78:31: error: request for member ‘size’ in ‘o_rOut’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} size_t nOrigSize = o_rOut.size(); ^~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.hxx:43:58: error: ‘Output_t’ was not declared in this scope o_rOutputBuf.insert( o_rOutputBuf.end(), 4, (Output_t)0 ); ^~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:87:48: error: invalid const_cast from type ‘const int*’ to type ‘Bytef*’ {aka ‘unsigned char*’} aStream.next_in = const_cast<Bytef*>(i_pBuf); ^ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:99:20: error: request for member ‘resize’ in ‘o_rOut’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOut.resize( nOrigSize ); ^~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:106:20: error: request for member ‘insert’ in ‘o_rOut’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOut.insert( o_rOut.end(), aOutBuf, aOutBuf+nCompressedBytes ); ^~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:106:35: error: request for member ‘end’ in ‘o_rOut’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOut.insert( o_rOut.end(), aOutBuf, aOutBuf+nCompressedBytes ); ^~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:113:31: error: request for member ‘size’ in ‘o_rOut’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} return sal_uInt32( o_rOut.size() - nOrigSize ); ^~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx: In static member function ‘static void pdfi::PngHelper::appendFileHeader(OutputBuffer&)’: /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:120:18: error: request for member ‘insert’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.insert( o_rOutputBuf.end(), aHeader, aHeader + SAL_N_ELEMENTS(aHeader) ); ^~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:120:39: error: request for member ‘end’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.insert( o_rOutputBuf.end(), aHeader, aHeader + SAL_N_ELEMENTS(aHeader) ); ^~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx: In static member function ‘static size_t pdfi::PngHelper::startChunk(const char*, OutputBuffer&)’: /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:125:46: error: request for member ‘size’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} size_t nIndex = sal_uInt32( o_rOutputBuf.size() ); ^~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:126:18: error: request for member ‘insert’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.insert( o_rOutputBuf.end(), 4, (Output_t)0 ); ^~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:126:39: error: request for member ‘end’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.insert( o_rOutputBuf.end(), 4, (Output_t)0 ); ^~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:126:50: error: ‘Output_t’ was not declared in this scope o_rOutputBuf.insert( o_rOutputBuf.end(), 4, (Output_t)0 ); ^~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.hxx:43:58: note: suggested alternative: ‘OutputDev’ o_rOutputBuf.insert( o_rOutputBuf.end(), 4, (Output_t)0 ); ^~~~~~~~ OutputDev /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:126:50: note: suggested alternative: ‘OutputDev’ o_rOutputBuf.insert( o_rOutputBuf.end(), 4, (Output_t)0 ); ^~~~~~~~ OutputDev /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:127:18: error: request for member ‘push_back’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.push_back( pChunkName[0] ); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:128:18: error: request for member ‘push_back’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.push_back( pChunkName[1] ); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:129:18: error: request for member ‘push_back’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.push_back( pChunkName[2] ); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:130:18: error: request for member ‘push_back’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.push_back( pChunkName[3] ); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx: In static member function ‘static void pdfi::PngHelper::set(sal_uInt32, OutputBuffer&, size_t)’: /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:136:30: error: invalid types ‘OutputBuffer {aka int}[size_t {aka long unsigned int}]’ for array subscript o_rOutputBuf[ i_nIndex ] = (i_nValue & 0xff000000) >> 24; ^ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:137:30: error: invalid types ‘OutputBuffer {aka int}[size_t {aka long unsigned int}]’ for array subscript o_rOutputBuf[ i_nIndex+1 ] = (i_nValue & 0x00ff0000) >> 16; ^ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:138:30: error: invalid types ‘OutputBuffer {aka int}[size_t {aka long unsigned int}]’ for array subscript o_rOutputBuf[ i_nIndex+2 ] = (i_nValue & 0x0000ff00) >> 8; ^ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:139:30: error: invalid types ‘OutputBuffer {aka int}[size_t {aka long unsigned int}]’ for array subscript o_rOutputBuf[ i_nIndex+3 ] = (i_nValue & 0x000000ff); ^ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx: In static member function ‘static void pdfi::PngHelper::endChunk(size_t, OutputBuffer&)’: /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:144:33: error: request for member ‘size’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} if( nStart+8 > o_rOutputBuf.size() ) ^~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:148:32: error: request for member ‘size’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} size_t nLen = o_rOutputBuf.size() - nStart; ^~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:153:87: error: invalid types ‘OutputBuffer {aka int}[size_t {aka long unsigned int}]’ for array subscript sal_uInt32 nChunkCRC = getCRC( reinterpret_cast<sal_uInt8*>(&o_rOutputBuf[nStart+4]), nLen-4 ); ^ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx: In static member function ‘static void pdfi::PngHelper::appendIHDR(OutputBuffer&, int, int, int, int)’: /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:162:18: error: request for member ‘push_back’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.push_back( Output_t(depth) ); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:162:29: error: ‘Output_t’ was not declared in this scope o_rOutputBuf.push_back( Output_t(depth) ); ^~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:162:29: note: suggested alternative: ‘OutputDev’ o_rOutputBuf.push_back( Output_t(depth) ); ^~~~~~~~ OutputDev /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:163:18: error: request for member ‘push_back’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.push_back( Output_t(colortype) ); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:164:18: error: request for member ‘push_back’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.push_back( 0 ); // compression method deflate ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:165:18: error: request for member ‘push_back’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.push_back( 0 ); // filtering method 0 (default) ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:166:18: error: request for member ‘push_back’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.push_back( 0 ); // no interlacing ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx: In static member function ‘static void pdfi::PngHelper::createPng(OutputBuffer&, Stream*, int, int, GfxRGB&, GfxRGB&, bool)’: /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:191:18: error: request for member ‘push_back’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.push_back(colToByte(zeroColor.r)); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:192:18: error: request for member ‘push_back’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.push_back(colToByte(zeroColor.g)); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:193:18: error: request for member ‘push_back’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.push_back(colToByte(zeroColor.b)); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:194:18: error: request for member ‘push_back’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.push_back(colToByte(oneColor.r)); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:195:18: error: request for member ‘push_back’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.push_back(colToByte(oneColor.g)); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:196:18: error: request for member ‘push_back’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.push_back(colToByte(oneColor.b)); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:204:22: error: request for member ‘push_back’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.push_back( 0xff ); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:205:22: error: request for member ‘push_back’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.push_back( 0 ); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:213:16: error: request for member ‘reserve’ in ‘aScanlines’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} aScanlines.reserve( nLineSize * height + height ); ^~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:219:20: error: request for member ‘push_back’ in ‘aScanlines’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} aScanlines.push_back( 0 ); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:221:24: error: request for member ‘push_back’ in ‘aScanlines’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} aScanlines.push_back( str->getChar() ); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:227:33: error: invalid types ‘OutputBuffer {aka int}[int]’ for array subscript deflateBuffer( &aScanlines[0], aScanlines.size(), o_rOutputBuf ); ^ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:227:47: error: request for member ‘size’ in ‘aScanlines’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} deflateBuffer( &aScanlines[0], aScanlines.size(), o_rOutputBuf ); ^~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx: In static member function ‘static void pdfi::PngHelper::createPng(OutputBuffer&, Stream*, int, int, GfxImageColorMap*, Stream*, int, int, GfxImageColorMap*)’: /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:245:5: error: ‘Guchar’ was not declared in this scope Guchar *p, *pm; ^~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:245:5: note: suggested alternative: ‘u_char’ Guchar *p, *pm; ^~~~~~ u_char /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:245:13: error: ‘p’ was not declared in this scope Guchar *p, *pm; ^ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:245:17: error: ‘pm’ was not declared in this scope Guchar *p, *pm; ^~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:245:17: note: suggested alternative: ‘tm’ Guchar *p, *pm; ^~ tm /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:257:16: error: request for member ‘reserve’ in ‘aScanlines’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} aScanlines.reserve( width*height*4 + height ); ^~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:261:20: error: request for member ‘push_back’ in ‘aScanlines’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} aScanlines.push_back( 0 ); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:266:24: error: request for member ‘push_back’ in ‘aScanlines’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} aScanlines.push_back(colToByte(rgb.r)); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:267:24: error: request for member ‘push_back’ in ‘aScanlines’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} aScanlines.push_back(colToByte(rgb.g)); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:268:24: error: request for member ‘push_back’ in ‘aScanlines’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} aScanlines.push_back(colToByte(rgb.b)); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:269:24: error: request for member ‘push_back’ in ‘aScanlines’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} aScanlines.push_back( 0xff ); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:301:32: error: invalid types ‘OutputBuffer {aka int}[int]’ for array subscript aScanlines[ nIndex ] = colToByte(alpha); ^ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:311:33: error: invalid types ‘OutputBuffer {aka int}[int]’ for array subscript deflateBuffer( &aScanlines[0], aScanlines.size(), o_rOutputBuf ); ^ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:311:47: error: request for member ‘size’ in ‘aScanlines’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} deflateBuffer( &aScanlines[0], aScanlines.size(), o_rOutputBuf ); ^~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx: In static member function ‘static void pdfi::PngHelper::createPng(OutputBuffer&, Stream*, int, int, GfxImageColorMap*, Stream*, int, int, bool)’: /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:331:5: error: ‘Guchar’ was not declared in this scope Guchar *p; ^~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:331:5: note: suggested alternative: ‘u_char’ Guchar *p; ^~~~~~ u_char /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:331:13: error: ‘p’ was not declared in this scope Guchar *p; ^ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:342:16: error: request for member ‘reserve’ in ‘aScanlines’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} aScanlines.reserve( width*height*4 + height ); ^~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:346:20: error: request for member ‘push_back’ in ‘aScanlines’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} aScanlines.push_back( 0 ); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:351:24: error: request for member ‘push_back’ in ‘aScanlines’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} aScanlines.push_back(colToByte(rgb.r)); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:352:24: error: request for member ‘push_back’ in ‘aScanlines’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} aScanlines.push_back(colToByte(rgb.g)); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:353:24: error: request for member ‘push_back’ in ‘aScanlines’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} aScanlines.push_back(colToByte(rgb.b)); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:354:24: error: request for member ‘push_back’ in ‘aScanlines’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} aScanlines.push_back( 0xff ); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:377:19: error: expected ‘;’ before ‘aPixel’ Guchar aPixel = 0; ^~~~~~~ ; /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:378:36: error: ‘aPixel’ was not declared in this scope imgStrMask->getPixel( &aPixel ); ^~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:383:36: error: invalid types ‘OutputBuffer {aka int}[int]’ for array subscript aScanlines[ nIndex ] = aPixel ? 0xff : 0x00; ^ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:385:36: error: invalid types ‘OutputBuffer {aka int}[int]’ for array subscript aScanlines[ nIndex ] = aPixel ? 0x00 : 0xff; ^ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:395:33: error: invalid types ‘OutputBuffer {aka int}[int]’ for array subscript deflateBuffer( &aScanlines[0], aScanlines.size(), o_rOutputBuf ); ^ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:395:47: error: request for member ‘size’ in ‘aScanlines’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} deflateBuffer( &aScanlines[0], aScanlines.size(), o_rOutputBuf ); ^~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx: In function ‘void pdfi::initBuf(OutputBuffer&)’: /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:131:16: error: request for member ‘reserve’ in ‘io_rBuffer’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} io_rBuffer.reserve(WRITE_BUFFER_INITIAL_CAPACITY); ^~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx: In function ‘void pdfi::writeBinaryBuffer(const OutputBuffer&)’: /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:140:18: error: request for member ‘empty’ in ‘rBuffer’, which is of non-class type ‘const OutputBuffer’ {aka ‘const int’} if( !rBuffer.empty() ) ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:141:30: error: invalid types ‘const OutputBuffer {aka const int}[int]’ for array subscript if( fwrite(&rBuffer[0], sizeof(char), ^ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:142:28: error: request for member ‘size’ in ‘rBuffer’, which is of non-class type ‘const OutputBuffer’ {aka ‘const int’} rBuffer.size(), g_binary_out) != (size_t)rBuffer.size() ) ^~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:142:69: error: request for member ‘size’ in ‘rBuffer’, which is of non-class type ‘const OutputBuffer’ {aka ‘const int’} rBuffer.size(), g_binary_out) != (size_t)rBuffer.size() ) ^~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx: In function ‘bool pdfi::ExtractJpegData(Stream*, OutputBuffer&)’: /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:166:20: error: request for member ‘push_back’ in ‘outBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} outBuf.push_back((Output_t)b1); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:166:31: error: ‘Output_t’ was not declared in this scope outBuf.push_back((Output_t)b1); ^~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:166:31: note: suggested alternative: ‘OutputDev’ outBuf.push_back((Output_t)b1); ^~~~~~~~ OutputDev /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:186:28: error: request for member ‘push_back’ in ‘outBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} outBuf.push_back((Output_t)0xFF); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:186:39: error: ‘Output_t’ was not declared in this scope outBuf.push_back((Output_t)0xFF); ^~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:186:39: note: suggested alternative: ‘OutputDev’ outBuf.push_back((Output_t)0xFF); ^~~~~~~~ OutputDev /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:187:28: error: request for member ‘push_back’ in ‘outBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} outBuf.push_back((Output_t)0xD8); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx: In function ‘void pdfi::writeJpeg_(OutputBuffer&, Stream*, bool)’: /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:225:18: error: request for member ‘clear’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.clear(); ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:228:43: error: request for member ‘size’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} printf( " JPEG %d", (int)o_rOutputBuf.size() ); ^~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx: In function ‘void pdfi::writePbm_(OutputBuffer&, Stream*, int, int, bool, bool)’: /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:238:18: error: request for member ‘clear’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.clear(); ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:239:18: error: request for member ‘resize’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.resize(WRITE_BUFFER_SIZE); ^~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:240:19: error: invalid types ‘OutputBuffer {aka int}[int]’ for array subscript o_rOutputBuf[0] = 'P'; ^ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:241:19: error: invalid types ‘OutputBuffer {aka int}[int]’ for array subscript o_rOutputBuf[1] = '4'; ^ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:242:19: error: invalid types ‘OutputBuffer {aka int}[int]’ for array subscript o_rOutputBuf[2] = 0x0A; ^ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:243:64: error: invalid types ‘OutputBuffer {aka int}[int]’ for array subscript char *pAsCharPtr = reinterpret_cast<char *>(&o_rOutputBuf[3]); ^ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:247:27: error: invalid types ‘OutputBuffer {aka int}[int]’ for array subscript o_rOutputBuf[3+nOutLen] =0x0A; ^ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:248:29: error: invalid types ‘OutputBuffer {aka int}[int]’ for array subscript o_rOutputBuf[3+nOutLen+1]=0; ^ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:258:18: error: request for member ‘resize’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.resize(header_size); ^~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:267:26: error: request for member ‘push_back’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.push_back(static_cast<char>(str->getChar() ^ 0xff)); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:272:26: error: request for member ‘push_back’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.push_back(static_cast<char>(str->getChar())); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx: In function ‘void pdfi::writePpm_(OutputBuffer&, Stream*, int, int, GfxImageColorMap*, bool)’: /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:286:18: error: request for member ‘clear’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.clear(); ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:287:18: error: request for member ‘resize’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.resize(WRITE_BUFFER_SIZE); ^~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:288:19: error: invalid types ‘OutputBuffer {aka int}[int]’ for array subscript o_rOutputBuf[0] = 'P'; ^ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:289:19: error: invalid types ‘OutputBuffer {aka int}[int]’ for array subscript o_rOutputBuf[1] = '6'; ^ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:290:19: error: invalid types ‘OutputBuffer {aka int}[int]’ for array subscript o_rOutputBuf[2] = '\n'; ^ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:291:64: error: invalid types ‘OutputBuffer {aka int}[int]’ for array subscript char *pAsCharPtr = reinterpret_cast<char *>(&o_rOutputBuf[3]); ^ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:295:27: error: invalid types ‘OutputBuffer {aka int}[int]’ for array subscript o_rOutputBuf[3+nOutLen] ='\n'; ^ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:296:29: error: invalid types ‘OutputBuffer {aka int}[int]’ for array subscript o_rOutputBuf[3+nOutLen+1]='2'; ^ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:297:29: error: invalid types ‘OutputBuffer {aka int}[int]’ for array subscript o_rOutputBuf[3+nOutLen+2]='5'; ^ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:298:29: error: invalid types ‘OutputBuffer {aka int}[int]’ for array subscript o_rOutputBuf[3+nOutLen+3]='5'; ^ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:299:29: error: invalid types ‘OutputBuffer {aka int}[int]’ for array subscript o_rOutputBuf[3+nOutLen+4]='\n'; ^ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:300:29: error: invalid types ‘OutputBuffer {aka int}[int]’ for array subscript o_rOutputBuf[3+nOutLen+5]=0; ^ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:310:18: error: request for member ‘resize’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.resize(header_size); ^~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:313:5: error: ‘Guchar’ was not declared in this scope Guchar *p; ^~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:313:5: note: suggested alternative: ‘u_char’ Guchar *p; ^~~~~~ u_char /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:313:13: error: ‘p’ was not declared in this scope Guchar *p; ^ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:328:26: error: request for member ‘push_back’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.push_back(colToByte(rgb.r)); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:329:26: error: request for member ‘push_back’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.push_back(colToByte(rgb.g)); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:330:26: error: request for member ‘push_back’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.push_back(colToByte(rgb.b)); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx: In function ‘void pdfi::writePng_(OutputBuffer&, Stream*, int, int, GfxRGB&, GfxRGB&, bool, bool)’: /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:347:18: error: request for member ‘clear’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.clear(); ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:352:42: error: request for member ‘size’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} printf( " PNG %d", (int)o_rOutputBuf.size() ); ^~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx: In function ‘void pdfi::writePng_(OutputBuffer&, Stream*, int, int, GfxImageColorMap*, Stream*, int, int, GfxImageColorMap*)’: /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:363:18: error: request for member ‘clear’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.clear(); ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:368:42: error: request for member ‘size’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} printf( " PNG %d", (int)o_rOutputBuf.size() ); ^~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx: In function ‘void pdfi::writePng_(OutputBuffer&, Stream*, int, int, GfxImageColorMap*, Stream*, int, int, bool)’: /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:378:18: error: request for member ‘clear’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} o_rOutputBuf.clear(); ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:383:42: error: request for member ‘size’ in ‘o_rOutputBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} printf( " PNG %d", (int)o_rOutputBuf.size() ); ^~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx: In function ‘void pdfi::writeImage_(OutputBuffer&, Stream*, int, int, GfxImageColorMap*)’: /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:418:13: error: ‘Guchar’ was not declared in this scope Guchar nIndex = 0; ^~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:418:13: note: suggested alternative: ‘u_char’ Guchar nIndex = 0; ^~~~~~ u_char /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:419:32: error: ‘nIndex’ was not declared in this scope colorMap->getRGB( &nIndex, &zeroColor ); ^~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:419:32: note: suggested alternative: ‘rindex’ colorMap->getRGB( &nIndex, &zeroColor ); ^~~~~~ rindex /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx: In constructor ‘pdfi::PDFOutDev::PDFOutDev(PDFDoc*)’: /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:531:41: error: ‘gTrue’ was not declared in this scope m_pUtf8Map( new UnicodeMap("UTF-8", gTrue, &mapUTF8) ), ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:531:41: note: suggested alternative: ‘gfree’ m_pUtf8Map( new UnicodeMap("UTF-8", gTrue, &mapUTF8) ), ^~~~~ gfree /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx: In member function ‘virtual void pdfi::PDFOutDev::processLink(AnnotLink*)’: /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:572:70: error: ‘const class GooString’ has no member named ‘getCString’; did you mean ‘GooString’? const char* pURI = static_cast<LinkURI*>(pAction)->getURI()->getCString(); ^~~~~~~~~~ GooString /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx: In member function ‘virtual void pdfi::PDFOutDev::updateFont(GfxState*)’: /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:770:74: error: ‘class GooString’ has no member named ‘getCString’; did you mean ‘GooString’? std::vector<char> aEsc( lcl_escapeLineFeeds(aFont.familyName.getCString()) ); ^~~~~~~~~~ GooString /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx: At global scope: /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:956:54: error: ‘GBool’ has not been declared int width, int height, GBool invert, ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:958:31: error: ‘GBool’ has not been declared GBool /*interpolate*/, ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:960:31: error: ‘GBool’ has not been declared GBool /*inlineImg*/ ) ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:989:27: error: ‘GBool’ has not been declared GBool /*interpolate*/, ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:991:44: error: ‘GBool’ has not been declared int* maskColors, GBool /*inlineImg*/ ) ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx: In member function ‘virtual void pdfi::PDFOutDev::drawImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, int, int*, int)’: /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:1006:22: error: request for member ‘push_back’ in ‘aMaskBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} aMaskBuf.push_back( (char)maskColors[0] ); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:1007:22: error: request for member ‘push_back’ in ‘aMaskBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} aMaskBuf.push_back( (char)maskColors[gfxColorMaxComps] ); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:1021:22: error: request for member ‘push_back’ in ‘aMaskBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} aMaskBuf.push_back( colToByte(aMinRGB.r) ); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:1022:22: error: request for member ‘push_back’ in ‘aMaskBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} aMaskBuf.push_back( colToByte(aMinRGB.g) ); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:1023:22: error: request for member ‘push_back’ in ‘aMaskBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} aMaskBuf.push_back( colToByte(aMinRGB.b) ); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:1024:22: error: request for member ‘push_back’ in ‘aMaskBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} aMaskBuf.push_back( colToByte(aMaxRGB.r) ); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:1025:22: error: request for member ‘push_back’ in ‘aMaskBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} aMaskBuf.push_back( colToByte(aMaxRGB.g) ); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:1026:22: error: request for member ‘push_back’ in ‘aMaskBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} aMaskBuf.push_back( colToByte(aMaxRGB.b) ); ^~~~~~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:1030:34: error: request for member ‘size’ in ‘aMaskBuf’, which is of non-class type ‘OutputBuffer’ {aka ‘int’} printf( " %d", (int)aMaskBuf.size() ); ^~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx: At global scope: /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:1040:33: error: ‘GBool’ has not been declared GBool /*interpolate*/, ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:1044:33: error: ‘GBool’ has not been declared GBool maskInvert ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:1046:35: error: ‘GBool’ has not been declared , GBool /*maskInterpolate*/ ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:1062:37: error: ‘GBool’ has not been declared GBool /*interpolate*/, ^~~~~ /src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:1068:39: error: ‘GBool’ has not been declared , GBool /*maskInterpolate*/ ^~~~~ make[1]: *** [/src/libreoffice-6.0.7.3/solenv/gbuild/LinkTarget.mk:293: /src/libreoffice- 6.0.7.3/build2/workdir/CxxObject/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [/src/libreoffice-6.0.7.3/solenv/gbuild/LinkTarget.mk:293: /src/libreoffice- 6.0.7.3/build2/workdir/CxxObject/sdext/source/pdfimport/xpdfwrapper/pnghelper.o] Error 1 make[1]: *** [/src/libreoffice-6.0.7.3/solenv/gbuild/LinkTarget.mk:293: /src/libreoffice- 6.0.7.3/build2/workdir/CxxObject/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.o] Error 1 _______________________________________________ LibreOffice mailing list LibreOffice@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/libreoffice