Apache OpenOffice (AOO) Bugzilla – Issue 17898
IRIX: sc - The expression must be a pointer to a complete object type.
Last modified: 2010-03-29 20:58:52 UTC
--- C++ prelinker: ../unxirxm3.pro/slo/xmlimprt.o --- CC -DEFAULT:abi=n32:isa=mips3 -c -I. -I/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/solver/645/unxirxm3.pro/inc/offuh -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=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 -n32 /build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/sc/source/filter/xml/xmlimprt.cxx -o ../../../unxirxm3.pro/slo/xmlimprt.o cc-3316 CC: ERROR File = /usr/include/CC/stl_vector.h, Line = 631 The expression must be a pointer to a complete object type. construct(_M_finish, *(_M_finish - 1)); ^ detected during instantiation of "void std::vector<ScXMLMapContent, std::allocator<ScXMLMapContent>>::_M_insert_aux(std::vector <ScXMLMapContent, std::allocator<ScXMLMapContent>>::iterator, const ScXMLMapContent &)" cc-1070 CC: ERROR File = /usr/include/CC/stl_construct.h, Line = 48 The indicated type is incomplete. new (__p) _T1(__value); ^ A template was detected during header processing. instantiation of "void std::construct(ScXMLMapContent *, const <error-type> &)" at line 631 of "/usr/include/CC/stl_vector.h" instantiation of "void std::vector<ScXMLMapContent, std::allocator<ScXMLMapContent>>::_M_insert_aux(std::vect or<ScXMLMapContent, std::allocator<ScXMLMapContent>>::iterator, const ScXMLMapContent &)" cc-3316 CC: ERROR File = /usr/include/CC/stl_vector.h, Line = 632 The expression must be a pointer to a complete object type. ++_M_finish; ^ detected during instantiation of "void std::vector<ScXMLMapContent, std::allocator<ScXMLMapContent>>::_M_insert_aux(std::vector <ScXMLMapContent, std::allocator<ScXMLMapContent>>::iterator, const ScXMLMapContent &)" cc-1070 CC: ERROR File = /usr/include/CC/stl_vector.h, Line = 633 The indicated type is incomplete. _Tp __x_copy = __x; ^ detected during instantiation of "void std::vector<ScXMLMapContent, std::allocator<ScXMLMapContent>>::_M_insert_aux(std::vector <ScXMLMapContent, std::allocator<ScXMLMapContent>>::iterator, const ScXMLMapContent &)" cc-3316 CC: ERROR File = /usr/include/CC/stl_vector.h, Line = 634 The expression must be a pointer to a complete object type. copy_backward(__position, _M_finish - 2, _M_finish - 1); ^ detected during instantiation of "void std::vector<ScXMLMapContent, std::allocator<ScXMLMapContent>>::_M_insert_aux(std::vector <ScXMLMapContent, std::allocator<ScXMLMapContent>>::iterator, const ScXMLMapContent &)" cc-3316 CC: ERROR File = /usr/include/CC/stl_vector.h, Line = 634 The expression must be a pointer to a complete object type. copy_backward(__position, _M_finish - 2, _M_finish - 1); ^ detected during instantiation of "void std::vector<ScXMLMapContent, std::allocator<ScXMLMapContent>>::_M_insert_aux(std::vector <ScXMLMapContent, std::allocator<ScXMLMapContent>>::iterator, const ScXMLMapContent &)" cc-1278 CC: ERROR File = /usr/include/CC/stl_vector.h, Line = 634 No instance of function template "std::copy_backward" matches the argument list. The argument types are: (std::vector<ScXMLMapContent, std::allocator<ScXMLMapContent>>::iterator, <error-type>, <error-type>). copy_backward(__position, _M_finish - 2, _M_finish - 1); ^ detected during instantiation of "void std::vector<ScXMLMapContent, std::allocator<ScXMLMapContent>>::_M_insert_aux(std::vector <ScXMLMapContent, std::allocator<ScXMLMapContent>>::iterator, const ScXMLMapContent &)" cc-3316 CC: ERROR File = /usr/include/CC/stl_vector.h, Line = 210 The expression must be a pointer to a complete object type. { return size_type(end() - begin()); } ^ A template was detected during header processing. instantiation of "std::vector<ScXMLMapContent, std::allocator<ScXMLMapContent>>::size_type std::vector<ScXMLMapContent, std::allocator<ScXMLMapContent>>::size() const" at line 638 instantiation of "void std::vector<ScXMLMapContent, std::allocator<ScXMLMapContent>>::_M_insert_aux(std::vect or<ScXMLMapContent, std::allocator<ScXMLMapContent>>::iterator, const ScXMLMapContent &)" cc-3316 CC: ERROR File = /usr/include/CC/stl_vector.h, Line = 210 The expression must be a pointer to a complete object type. { return size_type(end() - begin()); } ^ A template was detected during header processing. instantiation of "std::vector<ScXMLMapContent, std::allocator<ScXMLMapContent>>::size_type std::vector<ScXMLMapContent, std::allocator<ScXMLMapContent>>::size() const" at line 638 instantiation of "void std::vector<ScXMLMapContent, std::allocator<ScXMLMapContent>>::_M_insert_aux(std::vect or<ScXMLMapContent, std::allocator<ScXMLMapContent>>::iterator, const ScXMLMapContent &)" cc-1070 CC: ERROR File = /usr/include/CC/stl_alloc.h, Line = 199 The indicated type is incomplete. { return 0 == __n ? 0 : (_Tp*) _Alloc::allocate(__n * sizeof (_Tp)); } ^ A template was detected during header processing. instantiation of "ScXMLMapContent *std::simple_alloc<ScXMLMapContent, std::alloc>::allocate(std::size_t)" at line 93 of "/usr/include/CC/stl_vector.h" instantiation of "ScXMLMapContent *std::_Vector_alloc_base<ScXMLMapContent, std::allocator<ScXMLMapContent>, true>::_M_allocate(std::size_t)" at line 640 of "/usr/include/CC/stl_vector.h" instantiation of "void std::vector<ScXMLMapContent, std::allocator<ScXMLMapContent>>::_M_insert_aux(std::vect or<ScXMLMapContent, std::allocator<ScXMLMapContent>>::iterator, const ScXMLMapContent &)" cc-1070 CC: ERROR File = /usr/include/CC/stl_construct.h, Line = 48 The indicated type is incomplete. new (__p) _T1(__value); ^ A template was detected during header processing. instantiation of "void std::construct(std::vector<ScXMLMapContent, std::allocator<ScXMLMapContent>>::value_type *, const ScXMLMapContent &)" at line 644 of "/usr/include/CC/stl_vector.h" instantiation of "void std::vector<ScXMLMapContent, std::allocator<ScXMLMapContent>>::_M_insert_aux(std::vect or<ScXMLMapContent, std::allocator<ScXMLMapContent>>::iterator, const ScXMLMapContent &)" cc-3316 CC: ERROR File = /usr/include/CC/stl_vector.h, Line = 645 The expression must be a pointer to a complete object type. ++__new_finish; ^ detected during instantiation of "void std::vector<ScXMLMapContent, std::allocator<ScXMLMapContent>>::_M_insert_aux(std::vector <ScXMLMapContent, std::allocator<ScXMLMapContent>>::iterator, const ScXMLMapContent &)" cc-1070 CC: ERROR File = /usr/include/CC/stl_alloc.h, Line = 203 The indicated type is incomplete. { if (0 != __n) _Alloc::deallocate(__p, __n * sizeof (_Tp)); } ^ A template was detected during header processing. instantiation of "void std::simple_alloc<ScXMLMapContent, std::alloc>::deallocate(ScXMLMapContent *, std::size_t)" at line 95 of "/usr/include/CC/stl_vector.h" instantiation of "void std::_Vector_alloc_base<ScXMLMapContent, std::allocator<ScXMLMapContent>, true>::_M_deallocate(ScXMLMapContent *, std::size_t)" at line 648 of "/usr/include/CC/stl_vector.h" instantiation of "void std::vector<ScXMLMapContent, std::allocator<ScXMLMapContent>>::_M_insert_aux(std::vect or<ScXMLMapContent, std::allocator<ScXMLMapContent>>::iterator, const ScXMLMapContent &)" cc-3316 CC: ERROR File = /usr/include/CC/stl_vector.h, Line = 651 The expression must be a pointer to a complete object type. _M_deallocate(_M_start, _M_end_of_storage - _M_start); ^ detected during instantiation of "void std::vector<ScXMLMapContent, std::allocator<ScXMLMapContent>>::_M_insert_aux(std::vector <ScXMLMapContent, std::allocator<ScXMLMapContent>>::iterator, const ScXMLMapContent &)" cc-3316 CC: ERROR File = /usr/include/CC/stl_vector.h, Line = 651 The expression must be a pointer to a complete object type. _M_deallocate(_M_start, _M_end_of_storage - _M_start); ^ detected during instantiation of "void std::vector<ScXMLMapContent, std::allocator<ScXMLMapContent>>::_M_insert_aux(std::vector <ScXMLMapContent, std::allocator<ScXMLMapContent>>::iterator, const ScXMLMapContent &)" cc-3316 CC: ERROR File = /usr/include/CC/stl_vector.h, Line = 654 The expression must be a pointer to a complete object type. _M_end_of_storage = __new_start + __len; ^ detected during instantiation of "void std::vector<ScXMLMapContent, std::allocator<ScXMLMapContent>>::_M_insert_aux(std::vector <ScXMLMapContent, std::allocator<ScXMLMapContent>>::iterator, const ScXMLMapContent &)" cc-3316 CC: ERROR File = /usr/include/CC/stl_uninitialized.h, Line = 57 The expression must be a pointer to a complete object type. for ( ; __first != __last; ++__first, ++__cur) ^ detected during instantiation of "std::vector<ScXMLMapContent, std::allocator<ScXMLMapContent>>::value_type *std::__uninitialized_copy_aux(ScXMLMapContent *, ScXMLMapContent *, std::vector<ScXMLMapContent, std::allocator<ScXMLMapContent>>::value_type *, __false_type)" cc-3316 CC: ERROR File = /usr/include/CC/stl_uninitialized.h, Line = 57 The expression must be a pointer to a complete object type. for ( ; __first != __last; ++__first, ++__cur) ^ detected during instantiation of "std::vector<ScXMLMapContent, std::allocator<ScXMLMapContent>>::value_type *std::__uninitialized_copy_aux(ScXMLMapContent *, ScXMLMapContent *, std::vector<ScXMLMapContent, std::allocator<ScXMLMapContent>>::value_type *, __false_type)" cc-3316 CC: ERROR File = /usr/include/CC/stl_construct.h, Line = 60 The expression must be a pointer to a complete object type. for ( ; __first != __last; ++__first) ^ detected during instantiation of "void std::__destroy_aux(std::vector<ScXMLMapContent, std::allocator<ScXMLMapContent>>::value_type *, std::vector<ScXMLMapContent, std::allocator<ScXMLMapContent>>::value_type *, __false_type)" cc-1367 CC: ERROR File = /usr/include/CC/stl_construct.h, Line = 43 A pointer to an incomplete class type is not allowed. __pointer->~_Tp(); ^ A template was detected during header processing. instantiation of "void std::destroy(std::vector<ScXMLMapContent, std::allocator<ScXMLMapContent>>::value_type *)" at line 61 instantiation of "void std::__destroy_aux(std::vector<ScXMLMapContent, std::allocator<ScXMLMapContent>>::value_type *, std::vector<ScXMLMapContent, std::allocator<ScXMLMapContent>>::value_type *, __false_type)" 20 errors detected in the compilation of "/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/sc/source/filter/xml/xmlimprt.cxx".
It seems that ScXMLMapContent is not defined (it only has a forward declaration). xmlimprt.cxx includes xmlstyli.hxx, which contains the forward decl. xmlstyli.cxx contains the actual definition. I moved the definition from the cxx to the header.
set target milestone to 1.1.1
reassigned.
retarget
per issue 106845 sb removed the partial irix port, so this doesn't make sense in isolation anymore
closing