D16388: Fix build with poppler 0.69

Rik Mills noreply at phabricator.kde.org
Fri Oct 26 08:02:16 BST 2018


rikmills added a comment.


  Build failure:
  
  https://build.neon.kde.org/job/bionic_stable_extras_calligra_bin_amd64/15/console
  
  00:38:25 [ 65%] Building CXX object filters/karbon/pdf/CMakeFiles/calligra_filter_pdf2svg.dir/SvgOutputDev.cpp.o
  00:38:25 filters/karbon/pdf/CMakeFiles/calligra_filter_pdf2svg.dir/build.make:110: recipe for target 'filters/karbon/pdf/CMakeFiles/calligra_filter_pdf2svg.dir/SvgOutputDev.cpp.o' failed
  00:38:25 make[3]: Leaving directory '/workspace/build/obj-x86_64-linux-gnu'
  00:38:25 /workspace/build/filters/karbon/pdf/SvgOutputDev.cpp: In member function ‘virtual void SvgOutputDev::drawString(GfxState*, GooString*)’:
  00:38:25 /workspace/build/filters/karbon/pdf/SvgOutputDev.cpp:412:89: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
  00:38:25          int n = font->getNextChar(p, len, &code, &u, &uLen, &dx, &dy, &originX, &originY);
  00:38:25                                                                                          ^
  00:38:25 In file included from /workspace/build/filters/karbon/pdf/SvgOutputDev.cpp:27:0:
  00:38:25 /usr/include/poppler/GfxFont.h:269:15: note:   initializing argument 1 of ‘virtual int GfxFont::getNextChar(char*, int, CharCode*, Unicode**, int*, double*, double*, double*, double*)’
  00:38:25    virtual int getNextChar(char *s, int len, CharCode *code,
  00:38:25                ^~~~~~~~~~~
  00:38:25 make[3]: *** [filters/karbon/pdf/CMakeFiles/calligra_filter_pdf2svg.dir/SvgOutputDev.cpp.o] Error 1
  00:38:25 CMakeFiles/Makefile2:39059: recipe for target 'filters/karbon/pdf/CMakeFiles/calligra_filter_pdf2svg.dir/all' failed

REPOSITORY
  R8 Calligra

REVISION DETAIL
  https://phabricator.kde.org/D16388

To: arojas, aacid, #calligra:_3.0
Cc: rikmills, Calligra-Devel-list, dcaliste, cochise, vandenoever
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20181026/fa35966a/attachment.htm>


More information about the calligra-devel mailing list