Apache OpenOffice (AOO) Bugzilla – Issue 18121
IRIX: sw operator= (for DrawObj) is private....
Last modified: 2010-03-29 21:04:47 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=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/wrtw8esh.o /build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/sw/source/filter/ww8/wrtw8esh.cxx cc-1304 CC: ERROR File = /usr/include/CC/stl_algobase.h, Line = 245 "DrawObj &DrawObj::operator=(const DrawObj &)" is inaccessible. *--__result = *--__last; ^ A template was detected during header processing. instantiation of "DrawObj *std::__copy_backward(std::vector<DrawObj, std::allocator<DrawObj>>::value_type *, std::vector<DrawObj, std::allocator<DrawObj>>::value_type *, DrawObj *, std::random_access_iterator_tag, std::__copy_backward_dispatch<std::vector<DrawObj, std::allocator<DrawObj>>::value_type *, DrawObj *, __type_traits<std::iterator_traits<DrawObj *>::value_type>::has_trivial_assignment_operator>::_Dista nce *)" at line 268 instantiation of "DrawObj *std::__copy_backward_dispatch<std::vector<DrawObj, std::allocator<DrawObj>>::value_type *, DrawObj *, __type_traits<std::iterator_traits<DrawObj *>::value_type>::has_trivial_assignment_operator>::copy(s td::vector<DrawObj, std::allocator<DrawObj>>::value_type *, std::vector<DrawObj, std::allocator<DrawObj>>::value_type *, DrawObj *)" at line 296 instantiation of "DrawObj *std::copy_backward(std::vector<DrawObj, std::allocator<DrawObj>>::value_type *, std::vector<DrawObj, std::allocator<DrawObj>>::value_type *, DrawObj *)" at line 634 of "/usr/include/CC/stl_vector.h" instantiation of "void std::vector<DrawObj, std::allocator<DrawObj>>::_M_insert_aux(std::vector<DrawO bj, std::allocator<DrawObj>>::iterator, const DrawObj &)" cc-1304 CC: ERROR File = /usr/include/CC/stl_vector.h, Line = 635 "DrawObj &DrawObj::operator=(const DrawObj &)" is inaccessible. *__position = __x_copy; ^ detected during instantiation of "void std::vector<DrawObj, std::allocator<DrawObj>>::_M_insert_aux(std::vector<DrawObj , std::allocator<DrawObj>>::iterator, const DrawObj &)" 2 errors detected in the compilation of "/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/sw/source/filter/ww8/wrtw8esh.cxx". dmake: Error code 2, while making '../../../unxirxm3.pro/slo/wrtw8esh.obj'
There is a comment saying 'No assignment'... but doesn't the operator need to be defined and public? Moved to public.
Hmmm, that results in a missing symbol.. and I can't find where DrawObj operator= is defined... created an empty definition for it... And libsw is now linked!
set target.
reassigned.
per issue 106845 sb removed the partial irix port, so this doesn't make sense in isolation anymore
closing