trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: April 2012

Re: [trinity-devel] SOLVED [was Re: [trinity-devel] tdepim - gcc47 - need help with "which redeclared 'it' is right 'it'?"]

From: "David C. Rankin" <drankinatty@...>
Date: Wed, 18 Apr 2012 23:53:47 -0500
On 04/18/2012 09:15 PM, Timothy Pearson wrote:
> The jmpbuf usage should be fixed in GIT hash 7d0d82b.  Let me know if you
> run into any further digikam build problems...
> 
> Tim

Thank you Tim,

  I had stumbled across a fix I am currently trying for pngloader.cpp (123):

    if (setjmp(png_jmpbuf(png_ptr)))

It looks like it made good progress past the original failure point, but then
failed with:

albummanager.cpp: In member function 'void
Digikam::AlbumManager::slotDatesJobData(KIO::Job*, const TQByteArray&)':
albummanager.cpp:1582:26: error: redeclaration of 'Digikam::AlbumIterator it'
albummanager.cpp:1557:43: error: 'TQMap<TQPair<int, int>, int>::iterator it'
previously declared here

  That one -- I think I can handle now :)  I'll pull the commit down tonight and
start again in the morning.

  I had picked through the firefox libpng15 updated to find:

    // we need to do the setjmp here otherwise bad things will happen
    - if (setjmp(decoder->mPNG->jmpbuf)) {
    + if (setjmp(png_jmpbuf(decoder->mPNG))) {

...but it was very slow going :)  I'll let you know in the morning. Things look
promising. The first setjmp error would fail with only 1 min. of build, now the
redeclaration hits at 4 minutes, so progress has been made!

-- 
David C. Rankin, J.D.,P.E.