Source: xpdf
Version: 3.03-17
Severity: important

Hi,

xpdf fails to build with Poppler 0.38.0, which is currently in
experimental and targeted for unstable; extract of build log is:


g++ -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -I/usr/include/poppler -I/usr/include/poppler/goo 
-I/usr/include/poppler/splash -Wno-write-strings -Wno-format-extra-args 
-DHAVE_DIRENT_H -DSYSTEM_XPDFRC=\"/etc/xpdf/xpdfrc\"  -c -o build/XPDFViewer.o 
build/XPDFViewer.cc
build/XPDFViewer.cc: In static member function 'static void 
XPDFViewer::printPrintCbk(Widget, XtPointer, XtPointer)':
build/XPDFViewer.cc:3718:68: error: no matching function for call to 
'PSOutputDev::PSOutputDev(char*, PDFDoc*&, NULL, int&, int&, PSOutMode, int, 
int, GBool)'
           xpdfParams->getPSPaperHeight(), xpdfParams->getPSDuplex());
                                                                    ^
In file included from build/XPDFViewer.cc:49:0:
/usr/include/poppler/PSOutputDev.h:113:3: note: candidate: 
PSOutputDev::PSOutputDev(PSOutputFunc, void*, char*, PDFDoc*, const 
std::vector<int>&, PSOutMode, int, int, GBool, GBool, int, int, int, int, 
GBool, GBool, PSOutCustomCodeCbk, void*)
   PSOutputDev(PSOutputFunc outputFuncA, void *outputStreamA,
   ^
/usr/include/poppler/PSOutputDev.h:113:3: note:   no known conversion for 
argument 1 from 'char*' to 'PSOutputFunc {aka void (*)(void*, const char*, 
int)}'
/usr/include/poppler/PSOutputDev.h:98:3: note: candidate: 
PSOutputDev::PSOutputDev(const char*, PDFDoc*, char*, const std::vector<int>&, 
PSOutMode, int, int, GBool, GBool, int, int, int, int, GBool, GBool, 
PSOutCustomCodeCbk, void*)
   PSOutputDev(const char *fileName, PDFDoc *docA,
   ^
/usr/include/poppler/PSOutputDev.h:98:3: note:   no known conversion for 
argument 4 from 'int' to 'const std::vector<int>&'
/usr/include/poppler/PSOutputDev.h:93:7: note: candidate: 
PSOutputDev::PSOutputDev(const PSOutputDev&)
 class PSOutputDev: public OutputDev {
       ^
/usr/include/poppler/PSOutputDev.h:93:7: note:   candidate expects 1 argument, 
9 provided
build/XPDFViewer.cc:3765:72: error: no matching function for call to 
'PSOutputDev::PSOutputDev(char*, PDFDoc*&, NULL, int&, int&, PSOutMode, int, 
int, GBool)'
               xpdfParams->getPSPaperHeight(), xpdfParams->getPSDuplex());
                                                                        ^
In file included from build/XPDFViewer.cc:49:0:
/usr/include/poppler/PSOutputDev.h:113:3: note: candidate: 
PSOutputDev::PSOutputDev(PSOutputFunc, void*, char*, PDFDoc*, const 
std::vector<int>&, PSOutMode, int, int, GBool, GBool, int, int, int, int, 
GBool, GBool, PSOutCustomCodeCbk, void*)
   PSOutputDev(PSOutputFunc outputFuncA, void *outputStreamA,
   ^
/usr/include/poppler/PSOutputDev.h:113:3: note:   no known conversion for 
argument 1 from 'char*' to 'PSOutputFunc {aka void (*)(void*, const char*, 
int)}'
/usr/include/poppler/PSOutputDev.h:98:3: note: candidate: 
PSOutputDev::PSOutputDev(const char*, PDFDoc*, char*, const std::vector<int>&, 
PSOutMode, int, int, GBool, GBool, int, int, int, int, GBool, GBool, 
PSOutCustomCodeCbk, void*)
   PSOutputDev(const char *fileName, PDFDoc *docA,
   ^
/usr/include/poppler/PSOutputDev.h:98:3: note:   no known conversion for 
argument 4 from 'int' to 'const std::vector<int>&'
/usr/include/poppler/PSOutputDev.h:93:7: note: candidate: 
PSOutputDev::PSOutputDev(const PSOutputDev&)
 class PSOutputDev: public OutputDev {
       ^
/usr/include/poppler/PSOutputDev.h:93:7: note:   candidate expects 1 argument, 
9 provided
<builtin>: recipe for target 'build/XPDFViewer.o' failed


Thanks,
-- 
Pino

Reply via email to