Issue 16201 - Latest gcc 3.3 is picking up new autodoc compile problem
Summary: Latest gcc 3.3 is picking up new autodoc compile problem
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 RC
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: nikolai.pretzell
QA Contact: issues@tools
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-29 07:23 UTC by foskey
Modified: 2003-07-21 13:36 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 foskey 2003-06-29 07:23:43 UTC
Debian have updated gcc 3.3 and it appears that the autodoc code is translating
from a number to a object reference.

/data3/office/autodoc/source/display/idl/hi_linkhelper.cxx: In member function
`const ary::idl::Module* LinkHelper::Search_Module(output::Node&) const':
/data3/office/autodoc/source/display/idl/hi_linkhelper.cxx:98: error: invalid
static_cast from type `UINT32' to type `ary::idl::Ce_id'
Comment 1 nikolai.pretzell 2003-06-30 14:55:54 UTC
That has nothing to do with casting from a number to an object
reference. The problem seems to be that gcc3 performs no template
instantiation of the type ary::idl::Ce_id (which is a template),
because there is no explicit c'tor call, but a static cast (which
should be required to perform a c'tor call). That is probably a gcc
bug. However to work around this, one can change the point to an
explicit c'tor call.

np->mh:
Is fixed on ooo11rc.
Comment 2 foskey 2003-06-30 15:23:12 UTC
Cerified now compiling.
Comment 3 nikolai.pretzell 2003-07-21 13:36:07 UTC
As ooo11rc is integrated, close now.