Issue 17740 - IRIX: psprint/source/printergfx - incomplete type used in list
Summary: IRIX: psprint/source/printergfx - incomplete type used in list
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-08-01 05:42 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-08-01 05:42:03 UTC
CC -DEFAULT:abi=n32:isa=mips3 -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 -DSHAREDLIB -D_DLL_
-DMULTITHREAD -w -n32
/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/psprint/source/printergfx/printerjob.cxx
-o ../../unxirxm3.pro/slo/printerjob.o
cc-1070 CC: ERROR File = /usr/include/CC/stl_list.h, Line = 46
  The indicated type is incomplete.

    _Tp _M_data;
        ^
          A template was detected during header processing.
            instantiation of class "std::_List_node<psp::GlyphSet>" at line 235
            instantiation of "void std::_List_base<psp::GlyphSet,
                      std::allocator<psp::GlyphSet>>::clear()"

cc-1278 CC: ERROR File = /usr/include/CC/stl_list.h, Line = 239
  No instance of overloaded function "std::destroy" matches the argument list.

            The argument types are:  (<error-type>).
      destroy(&__tmp->_M_data);
      ^
          detected during instantiation of "void
                    std::_List_base<psp::GlyphSet,
                    std::allocator<psp::GlyphSet>>::clear()"

2 errors detected in the compilation of
"/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/psprint/source/printergfx/printerjob.cxx".
Comment 1 nickb 2003-08-01 05:47:51 UTC
The first issue, seems to be that the class GlyphSet only has a forward
declaration.

Added
#include "glyphset.hxx"

to psprint/source/printergfx/printerjob.cxx

psprint is built!
Comment 2 Martin Hollmichel 2003-08-07 15:56:32 UTC
set target milestone to 1.1.1
Comment 3 sander_traveling 2003-10-16 22:20:43 UTC
commited in ooo111fix1
Comment 4 Martin Hollmichel 2004-02-05 12:29:03 UTC
mark as verified.
Comment 5 Martin Hollmichel 2004-02-05 12:40:07 UTC
closing issue, feel free to reopen in case a problem is left.