Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | IRIX:ucb/source/core/ucb.cxx | ||
---|---|---|---|
Product: | porting | Reporter: | nickb |
Component: | code | Assignee: | sander_traveling |
Status: | CLOSED WONT_FIX | QA Contact: | issues@porting <issues> |
Severity: | Trivial | ||
Priority: | P3 | CC: | issues |
Version: | OOo 1.1 RC | ||
Target Milestone: | AOO PleaseHelp | ||
Hardware: | SGI | ||
OS: | IRIX | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- | ||
Issue Depends on: | |||
Issue Blocks: | 809 |
Description
nickb
2003-07-31 08:32:28 UTC
Ok, had to force the type using the typename keyword and then use the typedef everywhere: Index: source/inc/regexpmap.tpt =================================================================== RCS file: /cvs/ucb/ucb/source/inc/regexpmap.tpt,v retrieving revision 1.1 diff -u -r1.1 regexpmap.tpt --- source/inc/regexpmap.tpt 16 Oct 2000 14:53:07 -0000 1.1 +++ source/inc/regexpmap.tpt 1 Aug 2003 03:43:56 -0000 @@ -98,7 +98,6 @@ template< typename Val > class List: public std::list< Entry< Val > > {}; } - //============================================================================ // // RegexpMapIterImpl @@ -112,12 +111,14 @@ { public: typedef RegexpMapImpl< Val > MapImpl; - typedef List< Val >::iterator ListIterator; + //typedef List< Val >::iterator ListIterator; + typedef typename List< Val >::iterator ListIterator; // Solaris needs these for the ctor... inline RegexpMapIterImpl(); inline RegexpMapIterImpl(MapImpl * pTheMap, int nTheList, + //List< Val >::iterator aTheIndex); ListIterator aTheIndex); RegexpMapIterImpl(RegexpMapImpl< Val > * pTheMap, bool bBegin); @@ -128,7 +129,7 @@ int getList() const { return m_nList; } - List< Val >::iterator const & getIndex() const { return m_aIndex; } + ListIterator const & getIndex() const { return m_aIndex; } void next(); @@ -136,7 +137,7 @@ private: mutable RegexpMapEntry< Val > m_aEntry; - List< Val >::iterator m_aIndex; + ListIterator m_aIndex; RegexpMapImpl< Val > * m_pMap; int m_nList; mutable bool m_bEntrySet; set target milestone to 1.1.1 reassigned. 1.1.2->2.0 per issue 106845 sb removed the partial irix port, so this doesn't make sense in isolation anymore closing |