xpdfwrapper/pdfioutdev_gpl.hxx:227:22: error: ‘virtual void pdfi::PDFOutDev::drawString(GfxState*, const GooString*)’ marked ‘override’, but does not override

Дилян Палаузов dpa-libreoffice at aegee.org
Sun Jan 13 22:57:26 UTC 2019


Hello,

LO 6.0.7.3 fails compiling with gcc 8.2.1 20190101 I emitting:

[build SPP] scp2/source/ooo/ure
[build SCP] scp2/source/writer/file_writer
[build SPP] scp2/source/xsltfilter/file_xsltfilter
[build SPP] scp2/source/xsltfilter/module_xsltfilter
[build SPP] scp2/source/gnome/file_gnome
[build SPP] scp2/source/gnome/module_gnome
[build SPP] scp2/source/sdkoo/sdkoo
[build SCP] scp2/source/writer/module_writer
[build CXX] sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx
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:227:22: error: ‘virtual void
pdfi::PDFOutDev::drawString(GfxState*, const GooString*)’ marked ‘override’, but does not override
         virtual void drawString(GfxState *state, const GooString *s) override;
                      ^~~~~~~~~~
/src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:227:22: warning:   by ‘virtual void
pdfi::PDFOutDev::drawString(GfxState*, const GooString*)’ [-Woverloaded-virtual]
make[1]: *** [/src/libreoffice-6.0.7.3/solenv/gbuild/LinkTarget.mk:293: /src/libreoffice-
6.0.7.3/workdir/CxxObject/sdext/source/pdfimport/xpdfwrapper/pnghelper.o] Error 1
make[1]: *** Waiting for unfinished jobs....
[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:227:22: error: ‘virtual void
pdfi::PDFOutDev::drawString(GfxState*, const GooString*)’ marked ‘override’, but does not override
         virtual void drawString(GfxState *state, const GooString *s) override;
                      ^~~~~~~~~~
/src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:227:22: warning:   by ‘virtual void
pdfi::PDFOutDev::drawString(GfxState*, const GooString*)’ [-Woverloaded-virtual]
make[1]: *** [/src/libreoffice-6.0.7.3/solenv/gbuild/LinkTarget.mk:293: /src/libreoffice-
6.0.7.3/workdir/CxxObject/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.o] Error 1
[build CXX] sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
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:227:22: error: ‘virtual void
pdfi::PDFOutDev::drawString(GfxState*, const GooString*)’ marked ‘override’, but does not override
         virtual void drawString(GfxState *state, const GooString *s) override;
                      ^~~~~~~~~~
/src/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:227:22: warning:   by ‘virtual void
pdfi::PDFOutDev::drawString(GfxState*, const GooString*)’ [-Woverloaded-virtual]
make[1]: *** [/src/libreoffice-6.0.7.3/solenv/gbuild/LinkTarget.mk:293: /src/libreoffice-
6.0.7.3/workdir/CxxObject/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.o] Error 1

[ https://bugs.documentfoundation.org/show_bug.cgi?id=122690 ]

Regards
 Дилян



More information about the LibreOffice mailing list