On 04/12/2012 04:01 PM, David C. Rankin wrote:
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....
OK,
I have solved the rosegarden build problem by basically backporting the current rosegarden-11.11.42-gcc-4.7.patch patch to the TDE version. There were files that didn't exist in our version, so I just used the sourceforge patch as a guide, but I think I have found all the gcc47 issues in the TDE version. (which foreshadows quite a bit of tedious work for the remaining TDE apps - not difficult, just a bit time consuming...)
I need somebody to signoff and push the patch to the GIT tree. Let me know what you think.
If a lawyer can do it, the rest of you coders will have no problem.... ;-)