Hi Guys,

I think the reason of the define being there is: No one told me to remove it so 
far and just semed to have forgot about it.
I will remove it in a minute.

@Dennis: You can register a new LogMessageCallback with the PdfError class 
since a few revisiosn. I think this is what you are looking for.

Cheers,
        Dominik

Am Dienstag 07 September 2010 schrieb dennis jenkins:
>      I was curious about the same thing - and I would like the symbol
> undefined.  I use "svn" to maintain a PoDoFo source tree on my own
> system for this exact reason.  My personal copy of the source tree has
> this symbol undefined.  When Dominick mentions that he has committed
> changes to the repository I just do "svn up; make install".  So far
> this has worked for me, but I do wonder why the symbol is defined...
> and has been since svn r882 (2008-08-01, 10:41:42 -0500)
> 
> svn diff -r 881:882
> https://podofo.svn.sourceforge.net/svnroot/podofo/podofo/trunk/src/PdfParse
> r.cpp
> 
>      I think that it would be nice if it were possibly to insert a
> "hook" into PoDoFo's logging system so that PdfError::XXXXMessage
> would invoke a user (eg, me) supplied callback instead of just
> emitting to STDERR.  I would like to pre-pend my own error info to the
> error text and then write the entire even to my own log file (that my
> app already has opened).   I have no had time / requirements to do
> this yet, but I probably will at some point in the future.
> 
> On Mon, Sep 6, 2010 at 4:39 PM, Radu Braniste <[email protected]> wrote:
> > In PdfParser, line 49 there is this define:
> > #define PODOFO_VERBOSE_DEBUG
> > Any reason to have it there? Is at least annoying to have in production
> > code a bunch of debug lines every time this class is used
> > Thanks
> > Radu
> > -------------------------------------------------------------------------
> >----- This SF.net Dev2Dev email is sponsored by:
> >
> > Show off your parallel programming skills.
> > Enter the Intel(R) Threading Challenge 2010.
> > http://p.sf.net/sfu/intel-thread-sfd
> > _______________________________________________
> > Podofo-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/podofo-users
> 
> ---------------------------------------------------------------------------
> --- This SF.net Dev2Dev email is sponsored by:
> 
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
> _______________________________________________
> Podofo-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/podofo-users
> 


-- 
**********************************************************************
Dominik Seichter - [email protected]
KRename  - http://www.krename.net  - Powerful batch renamer for KDE
KBarcode - http://www.kbarcode.net - Barcode and label printing
PoDoFo - http://podofo.sf.net - PDF generation and parsing library
SchafKopf - http://schafkopf.berlios.de - Schafkopf, a card game,  for KDE
Alan - http://alan.sf.net - A Turing Machine in Java
**********************************************************************

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to