[poppler] [PATCH] add "const" typing to Error handling

Carl Worth cworth at cworth.org
Sun Apr 20 17:46:19 PDT 2008


On Sun, 20 Apr 2008 16:03:42 +0200, Albert Astals Cid wrote:
> > constant to 'char*' SplashOutputDev.cc:1042: warning: deprecated conversion
> > from string constant to 'char*' SplashOutputDev.cc:1053: warning:
> > deprecated conversion from string constant to 'char*' ...
>
> poppler code is full of those "char *" instead of "const char *" usage, we are
> not patching them because it will make merging with xpdf code harder. That's
> why we use -Wno-write-strings by default to not see those warnings.

I don't follow.

If there's a code improvement here, is there any reason not to push
this up to the xpdf code as well?

And is "merge with xpdf" intended to be a regular activity for the
foreseeable future? Is there any effort to get xpdf and poppler
unforked, (that is, to make xpdf depend on poppler)?

-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/poppler/attachments/20080420/28eef272/attachment.pgp 


More information about the poppler mailing list