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

Bug#529331: luatex FTBFS wih libpoppler 0.11 because ~GfxFont() is protected



Package: luatex
Severity: wishlist

Hi,

Luatex FTBFS with lipoppler 0.11, as ~GfxFont() became protectedr.
in the log, you find the following comment:
2008-12-16	Make destructors private/protected since you are not supposed to use them

The error in the log is:
/usr/include/poppler/GfxFont.h:230: error: 'virtual GfxFont::~GfxFont()' is protected
.../../../source/texk/web2c/luatexdir/image/pdftoepdf.cc:669: error: within this context
.../../../source/texk/web2c/luatexdir/image/pdftoepdf.cc: In function 'void write_epdf1(image_dict*)':
.../../../source/texk/web2c/luatexdir/image/pdftoepdf.cc:963: warning: deprecated conversion from string constant to 'char*'
.../../../source/texk/web2c/luatexdir/image/pdftoepdf.cc:967: warning: deprecated conversion from string constant to 'char*'
.../../../source/texk/web2c/luatexdir/image/pdftoepdf.cc:972: warning: deprecated conversion from string constant to 'char*'
.../../../source/texk/web2c/luatexdir/image/pdftoepdf.cc:977: warning: deprecated conversion from string constant to 'char*'
make[6]: *** [libluatex_a-pdftoepdf.o] Error 1

As stated in libpoppler change log, the call to the virtual GfxFont destructor should not be done.

ÃThanks,
Fabrice

-- System Information:
Debian Release: squeeze/sid
  APT prefers karmic-updates
  APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 'karmic')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.28-11-generic (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash



Reply to: