Description: Building LibreOffice 7.0.0-alpha1 with current poppler results in /home/bero/temp/abf/libreoffice/BUILD/libreoffice-7.0.0/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:567:64: error: member reference type 'const std::string' (aka 'const basic_string<char>') is not a pointer; did you mean to use '.'? const char* pURI = static_cast<LinkURI*>(pAction)->getURI()->c_str(); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ . 1 error generated. make[1]: *** [/home/bero/temp/abf/libreoffice/BUILD/libreoffice-7.0.0/solenv/gbuild/LinkTarget.mk:303: /home/bero/temp/abf/libreoffice/BUILD/libreoffice-7.0.0/workdir/CxxObject/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.o] Error 1 Steps to Reproduce: 1. Install current poppler 2. Build LibreOffice 7.0.0-alpha1 Actual Results: error: member reference type 'const std::string' (aka 'const basic_string<char>') is not a pointer; did you mean to use '.'? Expected Results: It compiles Reproducible: Always User Profile Reset: Yes Additional Info: Using poppler 0.88.0
Created attachment 161086 [details] Proposed fix
Hi Bernhard, Thanks for the report and the patch. The issue of building with new poppler has been reported as bug 131353, so I'm marking this as a DUPLICATE. Unfortunately that bug seems to be stuck with the original reporter's reluctance to provide a full license statement. I don't know how to proceed as I'm not a developer, but please have further discussion in that bug. *** This bug has been marked as a duplicate of bug 131353 ***