Hi list,
the attached patch fixes compile issues with pre-4.x GCC compilers.
Cheers,
Udo
Index: osdobjects.h =================================================================== --- osdobjects.h (Revision 812) +++ osdobjects.h (Arbeitskopie) @@ -214,6 +214,7 @@ virtual eOSState ProcessKey(eKeys Key); cOsdServerOsdItem* ParentOsdItem() { return (cOsdServerOsdItem*)Parent; } }; + friend class cPrivateOsdItem; cPrivateOsdItem* PrivateOsdItem() { return (cPrivateOsdItem*)Private; }
public: @@ -265,6 +266,7 @@ void SetTitle(const char *title) { cOsdMenu::SetTitle(title); } void SetCurrent(cOsdItem *Item) { cOsdMenu::SetCurrent(Item); } }; + friend class cPrivateMenu; cPrivateMenu* PrivateMenu() { return (cPrivateMenu*)Private; }
public: