[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

Re: [XaraXtreme-dev] extra qualification ‘CXFTreeDlg::’ on member ‘FindHandler’



Joachim Breitner wrote:
cxftree.h:290: error: extra qualification ‘CXFTreeDlg::’ on member ‘FindHandler’
we use:
g++ (GCC) 4.1.2 20060729 (prerelease) (Debian 4.1.1-10)

Yes. Luke went on holiday so noone is checking it builds against 4.1 :-)

I've committed the patch below (r1692), but you will need it as a local
patch for Debian to build 0.7 stable against 4.1.

Alex


Diff:
Index: Trunk/XaraLX/Kernel/cxftree.h
===================================================================
--- Trunk/XaraLX/Kernel/cxftree.h	(revision 1692)
+++ Trunk/XaraLX/Kernel/cxftree.h	(revision 1693)
@@ -287,7 +287,7 @@

INT32 AddDisplayNode(CXFNode* pNode,INT32 Index,INT32 Depth,BOOL ExpandAll);
 	void ShowNodeDebugInfoForNode(CXFNode *pNode);
-	CXaraFileRecordHandler* CXFTreeDlg::FindHandler(UINT32 Tag);
+	CXaraFileRecordHandler* FindHandler(UINT32 Tag);
 	void GetTagText(CXFNode* pNode,String_256& Str);

 	CXFNode* pRoot;