Apache OpenOffice (AOO) Bugzilla – Issue 19418
autodoc - The indicated type is incomplete (cpp::PE_Namespace)
Last modified: 2004-02-05 12:40:08 UTC
--- C++ prelinker: ../../../unxirxm3.pro/obj/c_rcode.o --- CC -DEFAULT:abi=n32:isa=mips3 -DEFAULT:abi=n32:isa=mips3 -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/build1/nickb/java_1.3/usr/java/include -I/build1/nickb/java_1.3/usr/java/include/irix -I/build1/nickb/java_1.3/usr/java/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 -DMULTITHREAD -w -n32 /build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/autodoc/source/parser/cpp/c_rcode.cxx -o ../../../unxirxm3.pro/obj/c_rcode.o cc-1070 CC: ERROR File = ../inc/semantic/sub_pe.hxx, Line = 135 The indicated type is incomplete. SUB * pNewChild = new SUB( &rParent); ^ A template was detected during header processing. instantiation of "cpp::PE_Namespace &SubPe<cpp::PE_File, cpp::PE_Namespace>::CreateChild() const" at line 119 instantiation of "cpp::PE_Namespace &SubPe<cpp::PE_File, cpp::PE_Namespace>::Child() const" at line 126 instantiation of "ParseEnvironment &SubPe<cpp::PE_File, cpp::PE_Namespace>::Get() const" cc-1408 CC: ERROR File = ../inc/semantic/sub_pe.hxx, Line = 126 A reference of type "ParseEnvironment &" (not const-qualified) cannot be initialized with a value of type "cpp::PE_Namespace". return Child(); ^ detected during instantiation of "ParseEnvironment &SubPe<cpp::PE_File, cpp::PE_Namespace>::Get() const" cc-1070 CC: ERROR File = ../inc/semantic/sub_pe.hxx, Line = 135 The indicated type is incomplete. SUB * pNewChild = new SUB( &rParent); ^ A template was detected during header processing. instantiation of "cpp::PE_Typedef &SubPe<cpp::PE_File, cpp::PE_Typedef>::CreateChild() const" at line 119 instantiation of "cpp::PE_Typedef &SubPe<cpp::PE_File, cpp::PE_Typedef>::Child() const" at line 126 instantiation of "ParseEnvironment &SubPe<cpp::PE_File, cpp::PE_Typedef>::Get() const" cc-1408 CC: ERROR File = ../inc/semantic/sub_pe.hxx, Line = 126 A reference of type "ParseEnvironment &" (not const-qualified) cannot be initialized with a value of type "cpp::PE_Typedef". return Child(); ^ detected during instantiation of "ParseEnvironment &SubPe<cpp::PE_File, cpp::PE_Typedef>::Get() const" cc-1070 CC: ERROR File = ../inc/semantic/sub_pe.hxx, Line = 135 The indicated type is incomplete. SUB * pNewChild = new SUB( &rParent); ^ A template was detected during header processing. instantiation of "cpp::PE_VarFunc &SubPe<cpp::PE_File, cpp::PE_VarFunc>::CreateChild() const" at line 119 instantiation of "cpp::PE_VarFunc &SubPe<cpp::PE_File, cpp::PE_VarFunc>::Child() const" at line 126 instantiation of "ParseEnvironment &SubPe<cpp::PE_File, cpp::PE_VarFunc>::Get() const" cc-1408 CC: ERROR File = ../inc/semantic/sub_pe.hxx, Line = 126 A reference of type "ParseEnvironment &" (not const-qualified) cannot be initialized with a value of type "cpp::PE_VarFunc". return Child(); ^ detected during instantiation of "ParseEnvironment &SubPe<cpp::PE_File, cpp::PE_VarFunc>::Get() const" cc-1070 CC: ERROR File = ../inc/semantic/sub_pe.hxx, Line = 135 The indicated type is incomplete. SUB * pNewChild = new SUB( &rParent); ^ A template was detected during header processing. instantiation of "cpp::PE_TemplateTop &SubPe<cpp::PE_File, cpp::PE_TemplateTop>::CreateChild() const" at line 119 instantiation of "cpp::PE_TemplateTop &SubPe<cpp::PE_File, cpp::PE_TemplateTop>::Child() const" at line 126 instantiation of "ParseEnvironment &SubPe<cpp::PE_File, cpp::PE_TemplateTop>::Get() const" cc-1408 CC: ERROR File = ../inc/semantic/sub_pe.hxx, Line = 126 A reference of type "ParseEnvironment &" (not const-qualified) cannot be initialized with a value of type "cpp::PE_TemplateTop". return Child(); ^ detected during instantiation of "ParseEnvironment &SubPe<cpp::PE_File, cpp::PE_TemplateTop>::Get() const" cc-1070 CC: ERROR File = ../inc/semantic/sub_pe.hxx, Line = 135 The indicated type is incomplete. SUB * pNewChild = new SUB( &rParent); ^ A template was detected during header processing. instantiation of "cpp::PE_Defines &SubPe<cpp::PE_File, cpp::PE_Defines>::CreateChild() const" at line 119 instantiation of "cpp::PE_Defines &SubPe<cpp::PE_File, cpp::PE_Defines>::Child() const" at line 126 instantiation of "ParseEnvironment &SubPe<cpp::PE_File, cpp::PE_Defines>::Get() const" cc-1408 CC: ERROR File = ../inc/semantic/sub_pe.hxx, Line = 126 A reference of type "ParseEnvironment &" (not const-qualified) cannot be initialized with a value of type "cpp::PE_Defines". return Child(); ^ detected during instantiation of "ParseEnvironment &SubPe<cpp::PE_File, cpp::PE_Defines>::Get() const" cc-1070 CC: ERROR File = ../inc/semantic/sub_pe.hxx, Line = 135 The indicated type is incomplete. SUB * pNewChild = new SUB( &rParent); ^ A template was detected during header processing. instantiation of "cpp::PE_Ignore &SubPe<cpp::PE_File, cpp::PE_Ignore>::CreateChild() const" at line 119 instantiation of "cpp::PE_Ignore &SubPe<cpp::PE_File, cpp::PE_Ignore>::Child() const" at line 126 instantiation of "ParseEnvironment &SubPe<cpp::PE_File, cpp::PE_Ignore>::Get() const" cc-1408 CC: ERROR File = ../inc/semantic/sub_pe.hxx, Line = 126 A reference of type "ParseEnvironment &" (not const-qualified) cannot be initialized with a value of type "cpp::PE_Ignore". return Child(); ^ detected during instantiation of "ParseEnvironment &SubPe<cpp::PE_File, cpp::PE_Ignore>::Get() const" 12 errors detected in the compilation of "/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/autodoc/source/parser/cpp/c_rcode.cxx". C++ prelinker: Error compiling ../../../unxirxm3.pro/obj/c_rcode.o dmake: Error code 2, while making '../../../unxirxm3.pro/bin/autodoc'
In file autodoc/source/parser/cpp/c_rcode.cxx, I needed to include the following headers: pe_namsp.hxx pe_ignor.hxx pe_defs.hxx pe_vafu.hxx pe_tydef.hxx pe_tpltp.hxx
Including those other files meant I also needed to include: #include "pe_type.hxx" #include "pe_vari.hxx" #include "pe_funct.hxx"
And these: #include "pe_enum.hxx" #include "pe_param.hxx"
#include "pe_class.hxx" #include "pe_expression.hxx" #include "pe_base.hxx" #include "pe_enum.hxx" #include "pe_enval.hxx" that should be all now!
Set target milestone
added includes, fixed on ooo111fix1
mark as verified.
closing issue, feel free to reopen in case a problem is left.