Issue 17694 - IRIX:ucb/source/core/ucb.cxx
Summary: IRIX:ucb/source/core/ucb.cxx
Status: CLOSED WONT_FIX
Alias: None
Product: porting
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 RC
Hardware: SGI IRIX
: P3 Trivial (vote)
Target Milestone: AOO PleaseHelp
Assignee: sander_traveling
QA Contact: issues@porting
URL:
Keywords:
Depends on:
Blocks: 809
  Show dependency tree
 
Reported: 2003-07-31 08:32 UTC by nickb
Modified: 2010-03-29 20:54 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description nickb 2003-07-31 08:32:28 UTC
CC -c -I.  -I. -I../inc -I../../inc -I../../unx/inc -I../../unxirxm3.pro/inc -I.
-I/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/solver/645/unxirxm3.pro/inc/stl
-I/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/solver/645/unxirxm3.pro/inc/external
-I/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/solver/645/unxirxm3.pro/inc
-I/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/solenv/unxirxm3/inc
-I/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/solenv/inc
-I/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/res
-I/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/solver/645/unxirxm3.pro/inc/stl
-I/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/solenv/inc/Xp31
-I/usr/java2/include -I/usr/java2/include/irix
-I/usr/java2/include/native_threads/include     -I. -I../../res -I. -O2  
-LANG:ansi-for-init-scope=OFF -LANG:std -LANG:libc_in_namespace_std=ON
-LANG:exceptions=ON   -KPIC -DIRIX -DUNX -DVCL -DC730 -DC730 -DMIPS -DCVER=C730
-D_USE_NAMESPACE -DSTLPORT_VERSION=0x450 -D_USE_NAMESPACE=1 -DNEW_SOLAR
-DSGI_STL -D__STL_THROW_RANGE_ERRORS -D__DMAKE -DUNIX -DCPPU_ENV=MipsPro
-DSUPD=645 -DBUILD=8639 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0
-DOPTIMIZE -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRX645  -DSHAREDLIB -D_DLL_ 
-DMULTITHREAD  -w -o ../../unxirxm3.pro/slo/ucb.o
/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/ucb/source/core/ucb.cxx
cc-3193 CC: ERROR File = ../inc/regexpmap.tpt, Line = 115
  The nontype "unnamed_ucb_regexpmap::List<Val>::iterator" is not a type name.

        typedef List< Val >::iterator ListIterator;
                ^

cc-1256 CC: ERROR File = ../inc/regexpmap.tpt, Line = 131
  The indicated qualified name is not allowed.

        List< Val >::iterator const & getIndex() const { return m_aIndex; }
        ^

cc-1077 CC: ERROR File = ../inc/regexpmap.tpt, Line = 131
  The indicated declaration has no storage class or type specifier.

        List< Val >::iterator const & getIndex() const { return m_aIndex; }
        ^

cc-1065 CC: ERROR File = ../inc/regexpmap.tpt, Line = 131
  A semicolon is expected at this point.

        List< Val >::iterator const & getIndex() const { return m_aIndex; }
                              ^

cc-3193 CC: ERROR File = ../inc/regexpmap.tpt, Line = 139
  The nontype "unnamed_ucb_regexpmap::List<Val>::iterator" is not a type name.

        List< Val >::iterator m_aIndex;
        ^

cc-1132 CC: ERROR File = ../inc/regexpmap.tpt, Line = 217
  The class template "ucb::RegexpMapIterImpl<Val>" has no member "next".

  void RegexpMapIterImpl< Val >::next()
                                 ^

6 errors detected in the compilation of
"/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/ucb/source/core/ucb.cxx".
dmake:  Error code 2, while making '../../unxirxm3.pro/slo/ucb.obj'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making
/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/ucb/source/core

Not sure about this one....
Comment 1 nickb 2003-08-01 04:44:34 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;
Comment 2 Martin Hollmichel 2003-08-07 15:56:52 UTC
set target milestone to 1.1.1
Comment 3 Martin Hollmichel 2003-10-17 08:21:35 UTC
reassigned.
Comment 4 sander_traveling 2004-03-25 11:02:41 UTC
1.1.2->2.0
Comment 5 caolanm 2010-03-29 20:53:43 UTC
per issue 106845 sb removed the partial irix port, so this doesn't make sense in
isolation anymore
Comment 6 caolanm 2010-03-29 20:54:07 UTC
closing