trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: April 2012

Re: [trinity-devel] rosegarden - gcc47 - need help - probably 5 second fix of "has no member named 'getAsEvent'"

From: "David C. Rankin" <drankinatty@...>
Date: Thu, 12 Apr 2012 16:01:53 -0500
On 04/12/2012 03:59 PM, David C. Rankin wrote:
> On 04/11/2012 01:59 PM, /dev/ammo42 wrote:
> <snip>
>>>   I have no idea how to chase this error through the stl container,
>>> etc....
>>>
>> getAsEvent here is a static member function of AbstractSet, this is why
>> this-> doesn't work.
>> Here getAsEvent(x) can be changed to AbstractSet::getAsEvent(x) (there
>> is no reference to an actual AbstractSet since the member function is
>> static). If it still doesn't work (I'm not a template guru...) you can
>> also try AbstractSet<Element,Container>::getAsEvent(x).
>>
> 
> 
> /dev/ammo42
> 
>   It required the 'AbstractSet<Element,Container>::getAsEvent(x)' type fix and
> other related fixes to 'this->push_back' to get past the initial errors. It
> built smoothly after that until it hit (a now very familiar looking)
> redeclaration error:
> 
<snip>
> 
>   That brings rosegarden to the point where my knowledge is exhausted. However,
> it is on par with the other failures in:
> 
> tde-kipi-plugins - error: redeclaration of 'TQListViewItemIterator it'
> 
> tde-tdepim - error: redeclaration of 'TQMap<TQGuardedPtr<KMFolder>,
> int>::Iterator it'
> 
> tde-k3b - error: redeclaration of 'K3bAudioEditorWidget::Range* r'
> 
> digiam - still dead with libpng15 issue.
> 
>   What is your thought on the redeclaration issue??
> 

Oops, forgot to attach the patch that got us this far....



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

Attachments: