On 20.1.2017 20:49, Mark Rogers wrote:
> Thereā€˜s a problem in release builds. PdfPainter::~PdfPainter throws
> exceptions in release builds because PODOFO_ASSERT throws exceptions
> via PODOFO_RAISE_ERROR_INFO in release builds

        Hi,
that's after one of my changes.

> if( m_pCanvas ) PdfError::LogMessage( eLogSeverity_Error,
> "PdfPainter::~PdfPainter(): FinishPage() has to be called after a
> page is completed!" );

Are you sure you call the FinishPage() before the PdfPainter is 
destroyed? The error suggests that it's not done, but it should be. 
Alternatively, if you face this in any of the PoDoFo examples or tools, 
then they are supposed to be fixed.

In other words, I believe that this error is valid and should not be 
muted for non-debug builds.
        Bye,
        zyx

-- 
http://www.litePDF.cz                                    i...@litepdf.cz

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to