Re: [Podofo-users] patch for PdfCompilerCompatPrivate.h

2009-07-28 Thread Craig Ringer
Dwight Kelly wrote: > Hello, I got a compiler error from GCC on Mac OS X 10.5. > > podofo/src/PdfCompilerCompatPrivate.h: In function ‘PoDoFo::pdf_uint32 > PoDoFo::compat::podofo_ntohl(PoDoFo::pdf_uint32)’: > podofo/src/PdfCompilerCompatPrivate.h:91: error: expected id-expression > before ‘(’ to

[Podofo-users] Missing #include

2009-07-28 Thread Zdenko Podobný
Hello, today I tried to build recent svn version of podofo on Mandriva linux (updated to the latest 64bit cooker version) and gcc (4.4.1) produced errors because of missing "#include " in following files: podofo/test/ContentParser/main.cpp podofo/test/CreationTest/CreationTest.cpp podofo/test/Fil

[Podofo-users] patch for PdfCompilerCompatPrivate.h

2009-07-28 Thread Dwight Kelly
Hello, I got a compiler error from GCC on Mac OS X 10.5. podofo/src/PdfCompilerCompatPrivate.h: In function ‘PoDoFo::pdf_uint32 PoDoFo::compat::podofo_ntohl(PoDoFo::pdf_uint32)’: podofo/src/PdfCompilerCompatPrivate.h:91: error: expected id-expression before ‘(’ token Here's the patch to fix th

[Podofo-users] Calling VC6, Borland, other Windows users (*IMPORTANT* FOR WINDOWS-BASED DEVELOPERS)

2009-07-28 Thread dennis jenkins
I meant to post this to the list, but accidentally sent it to Craig only. I can provide access to a Windows XP Pro instance (over RDP, running in VMWare) that has MSVC 6.0, SP6 and the Feb 2003 Platform SDK installed. Below is my original email/posting. MS VC 6.0 typically comes with a subscri

Re: [Podofo-users] Question about next release date of Podofo (Attn VC6, Borland users)

2009-07-28 Thread Craig Ringer
By the way, how on earth did you get Freetype to build with Borland? C:\Developer\lib\bcc32\freetype-2.3.9\builds\win32>make -fw32-bcc.mk MAKE Version 5.2 Copyright (c) 1987, 2000 Borland Error w32-bcc.mk 22: Command syntax error Error w32-bcc.mk 23: Command syntax error Error w32-bcc.mk 26: Comm

Re: [Podofo-users] Question about next release date of Podofo (Attn VC6, Borland users)

2009-07-28 Thread Craig Ringer
> PdfArray() is constructed, automatically PdfObject is constructed by the > compiler. > BUT PdfArray() and PdfObject are also destroyed automatically when the > function terminates. This is because PdfArray() is constructed on the > stack and not on the heap. Nope. Things are copied at every

Re: [Podofo-users] Question about next release date of Podofo (Attn VC6, Borland users)

2009-07-28 Thread Mirco Babin
> > > The PdfPainter is not the problem, but the CreatePage() is. > > > > 1) > > void PdfPagesTree::InsertPage( int nAfterPageNumber, PdfObject* > > pPage ) > > PdfObject* pPageBefore = this->GetPageNode( nAfterPageNumber, > > this->GetRoot(), lstParents ); //MEMORY EXCEPTION > > > > I have traced