[poppler] 13 commits - fofi/FoFiType1C.cc glib/poppler-action.cc glib/poppler-document.cc glib/poppler-page.cc makefile.vc poppler/ArthurOutputDev.cc poppler/CairoOutputDev.cc poppler/CharCodeToUnicode.cc poppler/Error.cc poppler/Gfx.cc poppler/G

Pino Toscano toscano.pino at tiscali.it
Mon Sep 24 12:12:01 PDT 2007


Alle lunedì 24 settembre 2007, Krzysztof Kowalczyk ha scritto:
> On 9/24/07, Pino Toscano <toscano.pino at tiscali.it> wrote:
> > Why where they moved out of the private header?
> > What's the problem with them being here?
>
> GCC (rightly) complains about unused functions when those headers are
> included in *.cc files that don't use those static functions. That
> adds up to a lot of warnings.

Then why don't move the implementation of both in a poppler-private.cc?
With the current solution, using one of these functions in more than one files 
would mean copying → bloat and not maintainable.
Albert?

> They really should be in some common file shared between qt and qt4 to
> avoid duplication of code.

Please keep qt and qt4 separated.

-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/poppler/attachments/20070924/c24d1fc4/attachment.pgp 


More information about the poppler mailing list