pdf-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pdf-devel] Error module patches


From: gerel
Subject: Re: [pdf-devel] Error module patches
Date: Wed, 27 Feb 2008 16:25:24 -0300

 > Date: Wed, 27 Feb 2008 17:05:10 +0100
 > From: Aleksander Morgado <address@hidden>
 >
 > Hi Gerel,
 > 
 > I found a problem in the PDF_DEBUG_* macros in pdf-error.h. If the 
 > debugging is not enabled, these macros shouldn't be expanded to "". In 
 > addition to this, they should always be defined as variadic macros, to 
 > avoid compiler warnings.
 > 
 > So, the following line:
 > > #define PDF_DEBUG_BASE ""
 > Should be written as:
 > #define PDF_DEBUG_BASE(...)
 > 
 > And so on for the other PDF_DEBUG_* macros.
 > 
 > I attach the simple patch.
 > 
 > BTW, the `--enable-debug-[base|object|document|page]' configure options 
 > are still not available in configure.ac
 > 

Thank you Aleksander. I'll patch that and see how to add the autoconf options. 

cheers

-gerel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]