Apache OpenOffice (AOO) Bugzilla – Issue 16201
Latest gcc 3.3 is picking up new autodoc compile problem
Last modified: 2003-07-21 13:36:07 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'
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.
Cerified now compiling.
As ooo11rc is integrated, close now.