On 04/13/2012 12:40 AM, David C. Rankin wrote:
> On 04/12/2012 11:03 PM, David C. Rankin wrote:
>> On 04/10/2012 06:53 PM, Timothy Pearson wrote:
>>> I think I see the problem, but haven't recompiled to test if this idea
>>> resolves it for sure.
>>> It looks like for whatever reason gcc < 4.7 was't barfing when the new
>>> "it" object was created within the scope of the existing "it" object,
>>> which was created within the for loop definition. Thus, gcc's new
>>> behaviour is definitely correct.
>>> The easiest fix is to replace all instances of
>>> "TQListViewItemIterator it(d->listView);"
>>> "TQListViewItemIterator it2(d->listView);"
>>> or similar.
>> Thank you Tim!
>> I'll give it a go and report back.
> How do I confirm that the 'it' I have marked with the sidebar '->' are the
> correct 'it's to change to 'it6' and not 'it's that should remain 'it's under
> the KURL::List construct??
It Built! (now I dunno if it will work), but it did build on gcc47 w/o any major
I have attached the patch I created based on your suggestions for the others to
verify and confirm. Thanks! If this works out, then we are on to the next one...
David C. Rankin, J.D.,P.E.