[poppler] poppler/Error.cc

Jeff Muizelaar jrmuizel at nit.ca
Fri Mar 11 08:20:36 PST 2005

On Fri, Mar 11, 2005 at 12:17:07AM +0100, Albert Astals Cid wrote:
> The problem is how to make this, as i said in kpdf we have removed altogheter 
> the Error.cc file, but if we do that in poppler that means the library is 
> missing one symbol and every program that links to it has to provide a custom 
> error() function that is not acceptable, so the best way would be give the 
> aplication the option of providing a custom error function, the question 
> is... how?

You could do something like 
poppler_register_error_handler(int (*err_fn)(char*, ...));


More information about the poppler mailing list