Apache OpenOffice (AOO) Bugzilla – Issue 17905
IRIX: sw No operator "!=" matches these operands (CurrentCharSet != const CurrentCharSet)
Last modified: 2010-03-29 21:01:00 UTC
sw/source/filter/ww8/wrtw8nds.cxx - this one is similar to 17743, but a little different, as we are not talking iterators... however is still a const != non const comparision. 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 -g -LANG:ansi-for-init-scope=OFF -LANG:std -LANG:libc_in_namespace_std=ON -LANG:exceptions=OFF -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_OFF -DCUI -DSOLAR_JAVA -DSRX645 -DNUM_RELSPACE -DVERTICAL_LAYOUT -DACCESSIBLE_LAYOUT -DBIDI -DSHAREDLIB -D_DLL_ -DMULTITHREAD -w -o ../../../unxirxm3.pro/slo/wrtw8nds.o /build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/sw/source/filter/ww8/wrtw8nds.cxx cc-1323 CC: ERROR File = /usr/include/CC/stl_algo.h, Line = 94 No operator "!=" matches these operands. The operand types are: CurrentCharSet != const CurrentCharSet. while (__first != __last && *__first != __val) ^ A template was detected during header processing. instantiation of "std::_List_iterator<CurrentCharSet, CurrentCharSet &, CurrentCharSet *> std::__find(std::_List_iterator<CurrentCharSet, CurrentCharSet &, CurrentCharSet *>, std::_List_iterator<CurrentCharSet, CurrentCharSet &, CurrentCharSet *>, const CurrentCharSet &, std::input_iterator_tag)" at line 194 instantiation of "std::_List_iterator<CurrentCharSet, CurrentCharSet &, CurrentCharSet *> std::find(std::_List_iterator<CurrentCharSet, CurrentCharSet &, CurrentCharSet *>, std::_List_iterator<CurrentCharSet, CurrentCharSet &, CurrentCharSet *>, const CurrentCharSet &)" at line 619 of "/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/sw/s ource/filter/ww8/wrtw8nds.cxx" 1 error detected in the compilation of "/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/sw/source/filter/ww8/wrtw8nds.cxx". dmake: Error code 2, while making '../../../unxirxm3.pro/slo/wrtw8nds.obj'
Adding bool operator!=(const CurrentCharSet &rSecond) const { return (mpPointer != rSecond.mpPointer); } into CurrentCharSet fixed this
set target milestone to 1.1.1
reassigned.
per issue 106845 sb removed the partial irix port, so this doesn't make sense in isolation anymore
closing