Cool! Just in time for the codefreeze! I will start preparing the release
candidate now, as planned for the 0.9.5 release.
On Mon, Jan 16, 2017 at 7:28 PM, zyx <z...@litepdf.cz> wrote:
> On Mon, 2017-01-16 at 17:14 +0000, Mark Rogers wrote:
> > Here’s a final patch for this release
>
> Hi,
> thanks for the patch. The gcc had been unhappy about this change:
>
> In file included from .../podofo/trunk/src/base/PdfEncrypt.h:39:0,
> from .../podofo/trunk/src/base/PdfString.cpp:36:
> .../podofo/trunk/src/base/PdfReference.h: In constructor
> ‘PoDoFo::PdfReference::PdfReference()’:
> .../podofo/trunk/src/base/PdfReference.h:175:19: warning:
> ‘PoDoFo::PdfReference::m_nObjectNo’ will be initialized after [-Wreorder]
> pdf_objnum m_nObjectNo;
> ^~~~~~~~~~~
> .../podofo/trunk/src/base/PdfReference.h:174:19:
> warning: ‘PoDoFo::pdf_gennum PoDoFo::PdfReference::m_nGenerationNo’
> [-Wreorder]
> pdf_gennum m_nGenerationNo;
> ^~~~~~~~~~~~~~~
> .../podofo/trunk/src/base/PdfReference.h:67:5: warning: when
> initialized here [-Wreorder]
> PdfReference()
> ^~~~~~~~~~~~
> .../podofo/trunk/src/base/PdfReference.h: In constructor
> ‘PoDoFo::PdfReference::PdfReference(PoDoFo::pdf_objnum,
> PoDoFo::pdf_gennum)’:
> .../podofo/trunk/src/base/PdfReference.h:175:19: warning:
> ‘PoDoFo::PdfReference::m_nObjectNo’ will be initialized after [-Wreorder]
> pdf_objnum m_nObjectNo;
> ^~~~~~~~~~~
> .../podofo/trunk/src/base/PdfReference.h:174:19:
> warning: ‘PoDoFo::pdf_gennum PoDoFo::PdfReference::m_nGenerationNo’
> [-Wreorder]
> pdf_gennum m_nGenerationNo;
> ^~~~~~~~~~~~~~~
> .../podofo/trunk/src/base/PdfReference.h:78:5: warning: when
> initialized here [-Wreorder]
> PdfReference( const pdf_objnum nObjectNo, const pdf_gennum
> nGenerationNo )
> ^~~~~~~~~~~~
>
> but I fixed it before committing, as revision 1811:
> http://sourceforge.net/p/podofo/code/1811
>
> > BTW There’s still a lot of wasted space inside PdfObject - about 28%
> > of the space allocated for PdfObject is alignment padding on 32-bit
> > platforms. Eliminating this will reduce memory requirements by 28%,
> > but requires bigger changes than just re-ordering members. I’ll look
> > at that for next release.
>
> That sounds pretty interesting.
>
> Thanks and 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
>
------------------------------------------------------------------------------
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