Package: xpdf
Version: 3.02-12

In order to demonstrate the problem, execute the following commands:

aptitude build-depends xpdf
apt-get source xpdf
cd xpdf-3.02
./configure
make

Expected result: should build xpdf.
Instead gives error:

...
GfxFont.cc:1205: error: no matching function for call to
‘GlobalParams::getCMap(GString*&, GString*&)’
GlobalParams.h:268: note: candidates are: CMap*
GlobalParams::getCMap(GString*, GString*, Stream*)
GfxFont.cc:1207: warning: deprecated conversion from string constant to ‘char*’
GfxFont.cc:1217: warning: deprecated conversion from string constant to ‘char*’
GfxFont.cc:1231: warning: deprecated conversion from string constant to ‘char*’
GfxFont.cc:1232: warning: deprecated conversion from string constant to ‘char*’
GfxFont.cc:1240: warning: deprecated conversion from string constant to ‘char*’
GfxFont.cc:1246: warning: deprecated conversion from string constant to ‘char*’
GfxFont.cc:1265: warning: deprecated conversion from string constant to ‘char*’
GfxFont.cc:1285: warning: deprecated conversion from string constant to ‘char*’
GfxFont.cc:1291: warning: deprecated conversion from string constant to ‘char*’
GfxFont.cc:1303: warning: deprecated conversion from string constant to ‘char*’
GfxFont.cc:1317: warning: deprecated conversion from string constant to ‘char*’
GfxFont.cc:1340: warning: deprecated conversion from string constant to ‘char*’
GfxFont.cc:1367: warning: deprecated conversion from string constant to ‘char*’
GfxFont.cc:1375: warning: deprecated conversion from string constant to ‘char*’
GfxFont.cc: In constructor ‘GfxFontDict::GfxFontDict(XRef*, Ref*, Dict*)’:
GfxFont.cc:1540: warning: deprecated conversion from string constant to ‘char*’
make[1]: ** [GfxFont.o] Erro 1
make[1]: Saindo do diretório `/tmp/build/xpdf-3.02/xpdf'
make: ** [all] Erro 2

uname -a gives:
Linux limao 2.6.32-5-686 #1 SMP Mon Jan 16 16:04:25 UTC 2012 i686 GNU/Linux

NOTE: there is no error if using xpdf_3.02.orig.tar.gz without any patches.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to