[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error compiling with last Master commit


Le 30/11/2024 à 20:43, vuott@xxxxxxxxxxxx a écrit :
Hello,
compiling last Master commit I obtain this error:

CXX      gb_pdf_la-CPdfDocument.lo
CPdfDocument.cpp: In function 'void PDFPAGE_select(void*, void*)':
CPdfDocument.cpp:1040:80: error: cannot convert 'bool' to 'bool (*)(void*)'
1040 | >page->createGfx(dev,72.0,72.0,0,false,true,-1, -1, -1, -1, false, NULL, NULL);
       |                                                             ^~~~~
       |                                                             |
       |                                                             bool

In file included from /usr/include/poppler/PDFDoc.h:63,
                  from CPdfDocument.h:29,
                  from CPdfDocument.cpp:26:
/usr/include/poppler/Page.h:224:158: note:   initializing argument 11 of 'Gfx* Page::createGfx(OutputDev*, double, double, int, bool, bool, int, int, int, int, bool (*)(void*), void*, XRef*)'   224 | rop, int sliceX, int sliceY, int sliceW, int sliceH, bool (*abortCheckCbk)(void *data), void *abortCheckCbkData, XRef *xrefA = nullptr);       | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~

make[4]: *** [Makefile:530: gb_pdf_la-CPdfDocument.lo] Error 1
make[3]: *** [Makefile:456: all-recursive] Error 1
make[2]: *** [Makefile:388: all] Error 2
make[1]: *** [Makefile:464: all-recursive] Error 1
make: *** [Makefile:405: all] Error 2



Please provide your full system information.

The GitLab CI does not fail, but the compilation of 'gb.pdf' is disabled on some systems, so it's hard to tell without that information.

Regards,

--
Benoît Minisini.