Issue 17906 - IRIX: autodoc unit_type is not a typename
Summary: IRIX: autodoc unit_type is not a typename
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-08-06 04:35 UTC by nickb
Modified: 2010-03-29 21:01 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-08-06 04:35:47 UTC
CC -c -I.  -I. -I../inc -I../../../source/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 -g  
-LANG:ansi-for-init-scope=OFF -LANG:std -LANG:libc_in_namespace_std=ON
-LANG:exceptions=ON     -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  -DMULTITHREAD  -w -o
../../../unxirxm3.pro/obj/i_reposypart.o
/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/autodoc/source/ary/idl/i_reposypart.cxx
if ( -e ../../../unxirxm3.pro/obj/i_reposypart.o) touch
../../../unxirxm3.pro/obj/i_reposypart.obj
Making: ../../../unxirxm3.pro/obj/i_reposypart.obj
cc-3193 CC: ERROR File = ../inc/store/st_iterator.hxx, Line = 292
  The nontype "ary::store::internal::IteratorBase<UNIT, FILTER>::unit_type" is
          not a type name.

      const unit_type &   operator*() const       /// @precond bool(*this);
            ^

cc-3193 CC: ERROR File = ../inc/store/st_iterator.hxx, Line = 319
  The nontype "ary::store::internal::IteratorBase<UNIT, FILTER>::unit_type" is
          not a type name.

      unit_type &         operator*() const       /// @precond bool(*this);
      ^

cc-3193 CC: ERROR File = ../inc/store/st_iterator.hxx, Line = 321
  The nontype "ary::store::internal::IteratorBase<UNIT, FILTER>::self" is not a
          type name.

      self &              operator=(
      ^
Comment 1 nickb 2003-08-06 04:44:58 UTC
Index: source/ary/inc/store/st_iterator.hxx
===================================================================
RCS file: /cvs/tools/autodoc/source/ary/inc/store/st_iterator.hxx,v
retrieving revision 1.1
diff -u -r1.1 st_iterator.hxx
--- source/ary/inc/store/st_iterator.hxx        1 Nov 2002 17:13:57
-0000       1.1
+++ source/ary/inc/store/st_iterator.hxx        6 Aug 2003 03:45:15 -0000
@@ -289,7 +289,7 @@
                                     i_rOther.EndBlock(),
                                     i_rOther.CurPosition() ) {}

-    const unit_type &   operator*() const       /// @precond bool(*this);
+    const UNIT&   operator*() const       /// @precond bool(*this);
                                                 { return CurUnit(); }
     self &              operator=(
                             const RootConstIterator<UNIT> &
@@ -316,9 +316,9 @@
                                     i_rOther.CurPosition() ) {}


-    unit_type &         operator*() const       /// @precond bool(*this);
+    UNIT&         operator*() const       /// @precond bool(*this);
                                                 { return CurUnit(); }
-    self &              operator=(
+    typename IteratorBase::self&              operator=(
                             const RootIterator<UNIT> &
                                                 i_rOther )
                             { Set(  i_rOther.CurBlock(),

This allows it to compile... although I'm not 100% sure this is correct.
Comment 2 Martin Hollmichel 2003-08-07 15:56:42 UTC
set target milestone to 1.1.1
Comment 3 Martin Hollmichel 2003-10-17 08:21:25 UTC
reassigned.
Comment 4 sander_traveling 2003-12-04 04:21:02 UTC
retarget
Comment 5 caolanm 2010-03-29 21:01:06 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 21:01:24 UTC
closing