Issue 17743 - IRIX: toolkit: no iterator != const_iterator
Summary: IRIX: toolkit: no iterator != const_iterator
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-01 07:07 UTC by nickb
Modified: 2010-11-10 16:52 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-01 07:07:19 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/dialogcontrol.o
/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/toolkit/source/controls/dialogcontrol.cxx
cc-1323 CC: ERROR File =
/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/toolkit/source/controls/dialogcontrol.cxx,
Line = 595
  No operator "!=" matches these operands.

            The operand types are:
                      std::list<UnoControlDialogModel::UnoControlModelHolder,
                      std::allocator<UnoControlDialogModel::UnoControlModelHold
                      er>>::iterator !=
                      std::list<UnoControlDialogModel::UnoControlModelHolder,
                      std::allocator<UnoControlDialogModel::UnoControlModelHold
                      er>>::const_iterator.
                if ( maModels.end() != aPos )
                                    ^

cc-1323 CC: ERROR File =
/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/toolkit/source/controls/dialogcontrol.cxx,
Line = 917
  No operator "!=" matches these operands.

            The operand types are:
                      std::list<UnoControlDialogModel::UnoControlModelHolder,
                      std::allocator<UnoControlDialogModel::UnoControlModelHold
                      er>>::iterator !=
                      std::list<UnoControlDialogModel::UnoControlModelHolder,
                      std::allocator<UnoControlDialogModel::UnoControlModelHold
                      er>>::const_iterator.
        if ( maModels.end() != aPos )
                            ^

2 errors detected in the compilation of
"/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/toolkit/source/controls/dialogcontrol.cxx".
dmake:  Error code 2, while making '../../unxirxm3.pro/slo/dialogcontrol.obj'



Think this will be essentially the same as the second problem in 17738
Comment 1 nickb 2003-08-01 07:12:30 UTC
Nope, wrong. Is comparing an iterator with a const_iterator. Changed
const_iterator to ::iterator and its happy.

Although, you'd think this would be ok!
Comment 2 nickb 2003-08-01 08:47:38 UTC
svx/source/dialog/pfiledlg.cxx - has this too
Comment 3 nickb 2003-08-04 04:36:12 UTC
stoc/source/security/file_policy.cxx
Comment 4 nickb 2003-08-05 06:16:42 UTC
source/filter/xml/xmlnexpi.cxx
Comment 5 nickb 2003-08-06 02:03:59 UTC
desktop/source/pkgchk/pkgchk_basic.cxx
Comment 6 Martin Hollmichel 2003-08-07 15:56:41 UTC
set target milestone to 1.1.1
Comment 7 Martin Hollmichel 2003-10-17 08:21:24 UTC
reassigned.
Comment 8 sander_traveling 2003-12-04 04:05:36 UTC
retarget to 1.1.2 - its not clear if it is code, or STLport / SGI
stlport issue
Comment 9 caolanm 2010-03-29 20:54:50 UTC
per issue 106845 sb removed the partial irix port, so this doesn't make sense in
isolation anymore
Comment 10 caolanm 2010-03-29 20:55:09 UTC
closing
Comment 11 enpizafapw 2010-11-10 16:52:11 UTC
Created attachment 73312