invalid conversion from ‘const GooString*’ to ‘GooString*’
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
High
|
Patrick Storz |
Bug Description
I get the following error when trying to build Inkscape 0.92.3 on
Slackware-current:
CXX extension/
extension/
PdfParser:
extension/
conversion from ‘const GooString*’ to ‘GooString*’ [-fpermissive]
In file included from extension/
extension/
argument 1 of ‘void PdfParser:
void doShowText(
extension/
PdfParser:
extension/
conversion from ‘const GooString*’ to ‘GooString*’ [-fpermissive]
In file included from extension/
extension/
argument 1 of ‘void PdfParser:
void doShowText(
extension/
PdfParser:
extension/
conversion from ‘const GooString*’ to ‘GooString*’ [-fpermissive]
In file included from extension/
extension/
argument 1 of ‘void PdfParser:
void doShowText(
extension/
PdfParser:
extension/
conversion from ‘const GooString*’ to ‘GooString*’ [-fpermissive]
In file included from extension/
extension/
argument 1 of ‘void PdfParser:
void doShowText(
extension/
PdfParser:
extension/
conversion from ‘const char*’ to ‘char*’ [-fpermissive]
char *name = args[0].getName();
make[3]: *** [Makefile:9106:
extension/
make[3]: *** Waiting for unfinished jobs....
extension/
‘void Inkscape:
extension/
conversion from ‘const char*’ to ‘char*’ [-fpermissive]
make[3]: *** [Makefile:9106:
extension/
make[3]: Leaving directory '/tmp/SBo/
make[2]: *** [Makefile:5977: all] Error 2
make[2]: Leaving directory '/tmp/SBo/
make[1]: *** [Makefile:1473: all-recursive] Error 1
make[1]: Leaving directory '/tmp/SBo/
make: *** [Makefile:1129: all] Error 2
I'm using:
poppler-
poppler-
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
This is caused by an incompatible change in poppler 0.64.
Incidentally I just committed a fix to master a few hours ago: /gitlab. com/inkscape/ inkscape/ commit/ a600c6438fef2f4 c06f9a4a7d933d9 9fb054a973
https:/
You can either downgrade poppler or apply the fix from master to 0.92.3 (it should apply cleanly).
If no issues are found I'll commit the patch to 0.92.x eventually.