Dear PoDoFo users!

Recently we have tried to build PoDoFo by using Microsoft Visual Studio 2015.
We got compilation errors.
They are easy to fix, just insert additional spaces. It seems that VS2015 pre-processor works differently than previous versions of VS,

P.S.: I've attached our patch, so, please someone commit these changes into main PoDoFo SVN repository.

Thank you very much!

P.S.: Sorry, this is copy of the same email message which was sent when I wasn't subscriber of this mail list.

--
Cheers,
Peter

Index: tools/podofouncompress/Uncompress.cpp
===================================================================
--- tools/podofouncompress/Uncompress.cpp       (revision 1699)
+++ tools/podofouncompress/Uncompress.cpp       (working copy)
@@ -61,7 +61,7 @@
                 printf("-> Uncompressing object %i %i\n", 
                        (*it)->Reference().ObjectNumber(), 
(*it)->Reference().GenerationNumber() );
                 PdfMemStream* pStream = 
dynamic_cast<PdfMemStream*>((*it)->GetStream());
-                printf("-> Original Length: %"PDF_FORMAT_INT64"\n", 
+                printf("-> Original Length: %" PDF_FORMAT_INT64 "\n", 
                        static_cast<pdf_int64>(pStream->GetLength()) );
                 try {
                     pStream->Uncompress();
@@ -74,7 +74,7 @@
                     else
                         throw e;
                 }
-                printf("-> Uncompressed Length: %"PDF_FORMAT_INT64"\n", 
+                printf("-> Uncompressed Length: %" PDF_FORMAT_INT64 "\n", 
                        static_cast<pdf_int64>(pStream->GetLength()) );
             } catch( const PdfError & e ) {
                 e.PrintErrorMsg();
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to