Issue 19418 - autodoc - The indicated type is incomplete (cpp::PE_Namespace)
Summary: autodoc - The indicated type is incomplete (cpp::PE_Namespace)
Status: CLOSED FIXED
Alias: None
Product: porting
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 RC
Hardware: SGI IRIX
: P3 Trivial (vote)
Target Milestone: OOo 1.1.1
Assignee: Martin Hollmichel
QA Contact: issues@porting
URL:
Keywords:
Depends on:
Blocks: 809
  Show dependency tree
 
Reported: 2003-09-11 01:54 UTC by nickb
Modified: 2004-02-05 12:40 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-09-11 01:54:17 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'
Comment 1 nickb 2003-09-11 02:53:22 UTC
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
Comment 2 nickb 2003-09-11 03:03:37 UTC
Including those other files meant I also needed to include:
#include "pe_type.hxx"
#include "pe_vari.hxx"
#include "pe_funct.hxx"
Comment 3 nickb 2003-09-11 03:14:27 UTC
And these:
#include "pe_enum.hxx"
#include "pe_param.hxx"
Comment 4 nickb 2003-09-11 03:24:21 UTC
#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!
Comment 5 nickb 2003-09-18 02:43:20 UTC
Set target milestone
Comment 6 Martin Hollmichel 2003-10-21 10:48:30 UTC
added includes, fixed on ooo111fix1
Comment 7 Martin Hollmichel 2004-02-05 12:29:03 UTC
mark as verified.
Comment 8 Martin Hollmichel 2004-02-05 12:40:08 UTC
closing issue, feel free to reopen in case a problem is left.